request_method:GET
url:http://192.168.72.70:58080/api/fsp/move/nic_list?bk_uuid=F85DFEC0-149E-373D-0B9E-3DA9A5C43940&wk_uuid=42614852-BB62-1EF7-FED0-D2354BF3149D&_=0.38475803123831
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_nic_list' => 
    array (
      0 => 
      array (
        'name' => 'eth2',
        'type' => '0',
        'ip' => '192.168.71.77/255.255.240.0',
        'gw' => '192.168.64.1',
        'dns' => '210.22.84.3',
      ),
      1 => 
      array (
        'name' => 'virbr0',
        'type' => '0',
        'ip' => '192.168.122.1/255.255.255.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
      2 => 
      array (
        'name' => 'virbr0-nic',
        'type' => '0',
        'ip' => '0.0.0.0/0.0.0.0',
        'gw' => '0.0.0.0',
        'dns' => '210.22.84.3',
      ),
    ),
    'bk_nic_list' => 
    array (
      0 => 
      array (
        'name' => 'eth2',
        'type' => '0',
        'ip' => '192.168.71.78/255.255.240.0',
        'gw' => '192.168.64.1',
        'dns' => '0.0.0.0',
      ),
      1 => 
      array (
        'name' => 'virbr0',
        'type' => '0',
        'ip' => '192.168.122.1/255.255.255.0',
        'gw' => '0.0.0.0',
        'dns' => '0.0.0.0',
      ),
      2 => 
      array (
        'name' => 'virbr0-nic',
        'type' => '0',
        'ip' => '0.0.0.0/0.0.0.0',
        'gw' => '0.0.0.0',
        'dns' => '0.0.0.0',
      ),
    ),
  ),
  1 => NULL,
)

Time: 767 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/move/dir_list?fsp_uuid=&wk_uuid=42614852-BB62-1EF7-FED0-D2354BF3149D&_=0.81539473716508
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'hd_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
      ),
    ),
    'dir_list' => 
    array (
      0 => 
      array (
        'wk_path' => '/',
        'type' => '1',
      ),
      1 => 
      array (
        'wk_path' => '/bin/',
        'type' => '0',
      ),
      2 => 
      array (
        'wk_path' => '/boot/',
        'type' => '0',
      ),
      3 => 
      array (
        'wk_path' => '/cgroup/',
        'type' => '2',
      ),
      4 => 
      array (
        'wk_path' => '/dev/',
        'type' => '2',
      ),
      5 => 
      array (
        'wk_path' => '/etc/',
        'type' => '0',
      ),
      6 => 
      array (
        'wk_path' => '/etc/X11/xorg.conf/',
        'type' => '2',
      ),
      7 => 
      array (
        'wk_path' => '/etc/init.d/i2node/',
        'type' => '2',
      ),
      8 => 
      array (
        'wk_path' => '/etc/rc.d/init.d/i2node/',
        'type' => '2',
      ),
      9 => 
      array (
        'wk_path' => '/etc/sdata/',
        'type' => '2',
      ),
      10 => 
      array (
        'wk_path' => '/lib/',
        'type' => '0',
      ),
      11 => 
      array (
        'wk_path' => '/lib64/',
        'type' => '0',
      ),
      12 => 
      array (
        'wk_path' => '/lost+found/',
        'type' => '2',
      ),
      13 => 
      array (
        'wk_path' => '/media/',
        'type' => '2',
      ),
      14 => 
      array (
        'wk_path' => '/mnt/',
        'type' => '2',
      ),
      15 => 
      array (
        'wk_path' => '/proc/',
        'type' => '2',
      ),
      16 => 
      array (
        'wk_path' => '/root/',
        'type' => '0',
      ),
      17 => 
      array (
        'wk_path' => '/run/',
        'type' => '2',
      ),
      18 => 
      array (
        'wk_path' => '/sbin/',
        'type' => '0',
      ),
      19 => 
      array (
        'wk_path' => '/selinux/',
        'type' => '2',
      ),
      20 => 
      array (
        'wk_path' => '/sys/',
        'type' => '2',
      ),
      21 => 
      array (
        'wk_path' => '/tmp/',
        'type' => '2',
      ),
      22 => 
      array (
        'wk_path' => '/usr/bin/',
        'type' => '0',
      ),
      23 => 
      array (
        'wk_path' => '/usr/lib/',
        'type' => '0',
      ),
      24 => 
      array (
        'wk_path' => '/usr/lib64/',
        'type' => '0',
      ),
      25 => 
      array (
        'wk_path' => '/usr/libexec/',
        'type' => '0',
      ),
      26 => 
      array (
        'wk_path' => '/usr/local/',
        'type' => '0',
      ),
      27 => 
      array (
        'wk_path' => '/usr/local/sdata/',
        'type' => '2',
      ),
      28 => 
      array (
        'wk_path' => '/usr/sbin/',
        'type' => '0',
      ),
      29 => 
      array (
        'wk_path' => '/var/i2/',
        'type' => '2',
      ),
      30 => 
      array (
        'wk_path' => '/var/i2data/',
        'type' => '2',
      ),
      31 => 
      array (
        'wk_path' => '/var/lib/nfs/',
        'type' => '0',
      ),
      32 => 
      array (
        'wk_path' => '/var/lock/',
        'type' => '2',
      ),
      33 => 
      array (
        'wk_path' => '/var/run/vmblock-fuse/',
        'type' => '2',
      ),
    ),
    'os_type' => NULL,
  ),
  1 => NULL,
)

Time: 741 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940"}
url:http://192.168.72.70:58080/api/fsp/move/verify_license
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 1.06 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940"}
url:http://192.168.72.70:58080/api/fsp/move/verify_old_rule
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 550 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","sync_item":"\/"}
url:http://192.168.72.70:58080/api/fsp/move/verify_volume_space
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_vol_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
        'size' => 2,
        'free' => 1,
      ),
    ),
    'bk_vol_list' => 
    array (
      0 => 
      array (
        'label' => '/',
        'is_system' => 1,
        'size' => 3,
        'free' => 2,
      ),
    ),
  ),
  1 => NULL,
)

Time: 605 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940"}
url:http://192.168.72.70:58080/api/fsp/move/verify_os_version
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'wk_os_ver' => 'Red Hat 6.5 x86_64',
    'bk_os_ver' => 'Red Hat 6.5 x86_64',
  ),
  1 => NULL,
)

Time: 748 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_move":{"fsp_name":"testMove","service_uuid":"","monitor_type":0,"bk_path":["\/I2FFO\/bin\/","\/I2FFO\/boot\/","\/I2FFO\/etc\/","\/I2FFO\/lib\/","\/I2FFO\/lib64\/","\/I2FFO\/root\/","\/I2FFO\/sbin\/","\/I2FFO\/usr\/bin\/","\/I2FFO\/usr\/lib\/","\/I2FFO\/usr\/lib64\/","\/I2FFO\/usr\/libexec\/","\/I2FFO\/usr\/local\/","\/I2FFO\/usr\/sbin\/","\/I2FFO\/var\/lib\/nfs\/"],"compress":"0","net_mapping":[],"bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","encrypt_switch":"0","mirr_open_type":"0","sync_item":"\/","mirr_sync_flag":"0","net_mapping_type":"2","mirr_sync_attr":"1","band_width":"","excl_path":["\/etc\/X11\/xorg.conf\/","\/etc\/init.d\/i2node\/","\/etc\/rc.d\/init.d\/i2node\/","\/etc\/sdata\/"],"fsp_wk_shut_flag":"2","secret_key":"","wk_path":["\/bin\/","\/boot\/","\/etc\/","\/lib\/","\/lib64\/","\/root\/","\/sbin\/","\/usr\/bin\/","\/usr\/lib\/","\/usr\/lib64\/","\/usr\/libexec\/","\/usr\/local\/","\/usr\/sbin\/","\/var\/lib\/nfs\/"],"mirr_file_check":"0","wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","failover":"2"}}
url:http://192.168.72.70:58080/api/fsp/move
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 3.03 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:PUT
body:{"uuid":"11111111-1111-1111-1111-111111111111","fsp_move":{"fsp_name":"testMove","service_uuid":"","monitor_type":0,"bk_path":["\/I2FFO\/bin\/","\/I2FFO\/boot\/","\/I2FFO\/etc\/","\/I2FFO\/lib\/","\/I2FFO\/lib64\/","\/I2FFO\/root\/","\/I2FFO\/sbin\/","\/I2FFO\/usr\/bin\/","\/I2FFO\/usr\/lib\/","\/I2FFO\/usr\/lib64\/","\/I2FFO\/usr\/libexec\/","\/I2FFO\/usr\/local\/","\/I2FFO\/usr\/sbin\/","\/I2FFO\/var\/lib\/nfs\/"],"compress":"0","net_mapping":[],"bk_uuid":"F85DFEC0-149E-373D-0B9E-3DA9A5C43940","encrypt_switch":"0","mirr_open_type":"0","sync_item":"\/","mirr_sync_flag":"0","net_mapping_type":"2","mirr_sync_attr":"1","band_width":"","excl_path":["\/etc\/X11\/xorg.conf\/","\/etc\/init.d\/i2node\/","\/etc\/rc.d\/init.d\/i2node\/","\/etc\/sdata\/"],"fsp_wk_shut_flag":"2","secret_key":"","wk_path":["\/bin\/","\/boot\/","\/etc\/","\/lib\/","\/lib64\/","\/root\/","\/sbin\/","\/usr\/bin\/","\/usr\/lib\/","\/usr\/lib64\/","\/usr\/libexec\/","\/usr\/local\/","\/usr\/sbin\/","\/var\/lib\/nfs\/"],"mirr_file_check":"0","wk_uuid":"42614852-BB62-1EF7-FED0-D2354BF3149D","failover":"2","random_str":"11111111-1111-1111-1111-111111111111"}}
url:http://192.168.72.70:58080/api/fsp/move/11111111-1111-1111-1111-111111111111
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 3.13 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/move/11111111-1111-1111-1111-111111111111
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'fsp_move' => 
    array (
      'id' => '8',
      'auto_start' => '0',
      'band_width' => '',
      'bkup_one_time' => 0,
      'bkup_policy' => 2,
      'bkup_schedule' => NULL,
      'compress' => '0',
      'cmp_file_check' => '0',
      'cmp_schedule' => NULL,
      'cmp_switch' => '0',
      'create_time' => '1547188506',
      'encrypt_switch' => '0',
      'mirr_file_check' => '0',
      'mirr_open_type' => '0',
      'mirr_sync_attr' => '1',
      'mirr_sync_flag' => '0',
      'mirr_skip' => '0',
      'random_str' => '11111111-1111-1111-1111-111111111111',
      'secret_key' => '',
      'snapshot_interval' => '24',
      'snapshot_limit' => '2',
      'snapshot_policy' => '0',
      'snapshot_start' => NULL,
      'snapshot_switch' => '0',
      'bk_path_policy' => '0',
      'uuid' => '11111111-1111-1111-1111-111111111111',
      'wk_node_name' => '71.77',
      'bk_node_name' => '71.78',
      'wk_ip' => '192.168.71.77',
      'wk_port' => '26821',
      'bk_ip' => '192.168.71.78',
      'bk_port' => '26821',
      'username' => 'admin',
      'backup_type' => '0',
      'boot_time' => NULL,
      'excl_path' => 
      array (
        0 => '/etc/X11/xorg.conf/',
        1 => '/etc/init.d/i2node/',
        2 => '/etc/rc.d/init.d/i2node/',
        3 => '/etc/sdata/',
      ),
      'failover' => '2',
      'fsp_name' => 'testMove',
      'fsp_type' => 1,
      'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      'fsp_wk_shut_flag' => '2',
      'wk_path' => 
      array (
        0 => '/bin/',
        1 => '/boot/',
        2 => '/etc/',
        3 => '/lib/',
        4 => '/lib64/',
        5 => '/root/',
        6 => '/sbin/',
        7 => '/usr/bin/',
        8 => '/usr/lib/',
        9 => '/usr/lib64/',
        10 => '/usr/libexec/',
        11 => '/usr/local/',
        12 => '/usr/sbin/',
        13 => '/var/lib/nfs/',
      ),
      'wk_data_type' => 1,
      'heartbeat' => '10',
      'max_fail_times' => '6',
      'monitor_ips' => '',
      'monitor_type' => 0,
      'move_type' => NULL,
      'net_mapping' => 
      array (
      ),
      'net_mapping_type' => '2',
      'post_over_script' => '',
      'pre_over_script' => '',
      'recovery_data_path' => NULL,
      'restore_point' => NULL,
      'running_service' => 
      array (
        0 => 'sshd',
      ),
      'snapshot' => '0',
      'wk_uuid' => '42614852-BB62-1EF7-FED0-D2354BF3149D',
      'status' => 'M_STOP',
      'sync_item' => '/',
      'bk_path' => 
      array (
        0 => '/I2FFO/bin/',
        1 => '/I2FFO/boot/',
        2 => '/I2FFO/etc/',
        3 => '/I2FFO/lib/',
        4 => '/I2FFO/lib64/',
        5 => '/I2FFO/root/',
        6 => '/I2FFO/sbin/',
        7 => '/I2FFO/usr/bin/',
        8 => '/I2FFO/usr/lib/',
        9 => '/I2FFO/usr/lib64/',
        10 => '/I2FFO/usr/libexec/',
        11 => '/I2FFO/usr/local/',
        12 => '/I2FFO/usr/sbin/',
        13 => '/I2FFO/var/lib/nfs/',
      ),
      'bk_uuid' => 'F85DFEC0-149E-373D-0B9E-3DA9A5C43940',
      'bk_data_type' => 1,
      'user_uuid' => '1BCFCAA3-E3C8-3E28-BDC5-BE36FDC2B5DC',
      'biz_grp_list' => 
      array (
      ),
      'biz_grp_name' => 
      array (
      ),
    ),
  ),
  1 => NULL,
)

Time: 558 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:DELETE
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"]}
url:http://192.168.72.70:58080/api/fsp/move
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 831 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/move?search_field=&limit=10&page=1&search_value=&_=0.15398496343436
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'info_list' => 
    array (
      0 => 
      array (
        'band_width' => '',
        'bk_path_policy' => '0',
        'random_str' => '11111111-1111-1111-1111-111111111111',
        'wk_node_name' => '71.77',
        'bk_node_name' => '71.78',
        'username' => 'admin',
        'bk_uuid' => 'F85DFEC0-149E-373D-0B9E-3DA9A5C43940',
        'fsp_name' => 'testMove',
        'fsp_type' => 1,
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
        'wk_uuid' => '42614852-BB62-1EF7-FED0-D2354BF3149D',
      ),
    ),
    'total' => 1,
  ),
  1 => NULL,
)

Time: 706 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"start"}
url:http://192.168.72.70:58080/api/fsp/move/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 2.88 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:POST
body:{"fsp_uuids":["11111111-1111-1111-1111-111111111111"],"operate":"stop"}
url:http://192.168.72.70:58080/api/fsp/move/operate
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'success_list' => 
    array (
      0 => 
      array (
        'code' => 0,
        'message' => '[0] success',
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
      ),
    ),
  ),
  1 => NULL,
)

Time: 2.85 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/fsp/move/status?fsp_uuids[]=11111111-1111-1111-1111-111111111111&_=0.91443908797792
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'status' => 
    array (
      0 => 
      array (
        'fsp_uuid' => '11111111-1111-1111-1111-111111111111',
        'status' => 'M_STOP',
      ),
    ),
  ),
  1 => NULL,
)

Time: 671 ms, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0
