生产站点发生故障后,在恢复站点执行反转复制,然后将客户机操作重定向至恢复站点。
host-offsite:> shares replication
host-offsite:shares default replication> sources
在本例中,source-001 是源设备编号,host-prod 是源设备名称。kmm2 是编号为 package-001 的复制数据包中的本地项目名称。
source-001 host-prod PROJECT STATE LAST UPDATE package-000 <unknown> idle unknown package-001 kmm2 idle Wed May 01 2015 20:06:27 GMT+0000(UTC)
host-offsite:shares default replication sources> select source-001
host-offsite:shares default replication source-001> select package-001
host-prod:shares replication source-005 package-000> pkgreverse
pkgreverse 命令保留原始复制操作的属性,包括调度表。
host-prod:shares replication source-000 package-000 pkgreverse> set new_project_name=new-kmm2 new_project_name = new-kmm2 host-prod:shares replication source-000 package-000 pkgreverse> set enable_action_upon_reversal=true enable_action_upon_reversal = true
host-prod:shares replication source-000 package-000 pkgreverse> show Properties: new_project_name = new-kmm2 enable_action_upon_reversal = true host-prod:shares replication source-000 package-000 pkgreverse> commit This action will move the contents of this package to a new local project configured to replicate back to the source. Any data or metadata changes made on the source since the last successful update will be lost when the new project is replicated back to the source. If replication actions on the source are not disabled, future updates to this package will fail.
根据使用的协议,使用恢复站点中设备的 IP 地址或名称映射(SMB 客户机)或重新挂载(NFS 客户机)共享资源。