-
要从 NFS 服务器导入复制流,请导航到目标上的空数据包。
prefect:configuration services replication sources> ls
Sources:
source-000 203.80.49.153
PROJECT STATE LAST UPDATE
package-000 <awating import> idle unknown
-
选择与源系统的地址对应的源节点。
prefect:configuration services replication sources> select source-000
prefect:configuration services replication source-000> ls
Properties:
name = 203.80.49.153
ip_address = 203.80.49.153:216
asn = 2ea4670f-bc17-cf8f-a420-9211d6edda04
Packages:
PROJECT STATE LAST UPDATE
package-000 <awaiting import> idle unknown
-
选择等待导入的数据包。
prefect:configuration services replication source-000> select package-000
prefect:configuration services replication source-000 package-000> ls
Properties:
id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
enabled = true
state = idle
state_description = Idle (awaiting import)
offline = true
import_path =
last_sync = unknown
last_try = unknown
last_result = unknown
-
设置副本的导入路径,然后输入 commit。
prefect:configuration services replication source-000 package-000> set import_path=
nfs://bigfish25/export/init_repl
import_path = nfs://bigfish25/export/init_repl (uncommitted)
prefect:configuration services replication source-000 package-000> commit
prefect:configuration services replication source-000 package-000> ls
Properties:
id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
enabled = true
state = receiving
state_description = Importing update
offline = true
import_path = nfs://bigfish25/export/init_repl
last_sync = unknown
last_try = unknown
last_result = unknown
prefect:configuration services replication source-000 package-000> ls
Properties:
id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
enabled = true
state = idle
state_description = Idle (no update in progress)
offline = false
import_path =
last_sync = Tue Nov 18 2014 05:03:42 GMT+0000 (UTC)
last_try = Tue Nov 18 2014 05:03:42 GMT+0000 (UTC)
last_result = success
Projects:
default
prefect:configuration services replication source-000 package-000>