在 CLI 中,复制数据包按源组织在 shares replication sources 下方。管理员先选择一个源,然后选择一个数据包。在此节点上可以执行数据包级操作,还可以选择项目以像管理本地项目和共享资源那样管理项目属性和共享资源(上述为例外情况)。例如:
loader:> shares replication sources
loader:shares replication sources> show
Sources:
source-000 ayu
PROJECT STATE LAST UPDATE
package-000 oldproj idle unknown
package-001 aproj1 receiving Sun Feb 21 2010 22:04:35 GMT+0000 (UTC)
loader:shares replication sources> select source-000
loader:shares replication source-000> select package-001
loader:shares replication source-000 package-001> show
Properties:
enabled = true
state = receiving
state_description = Receiving update
last_sync = Sun Feb 21 2010 22:04:40 GMT+0000 (UTC)
last_try = Sun Feb 21 2010 22:04:40 GMT+0000 (UTC)
Projects:
aproj1
loader:shares replication source-000 package-001> select aproj1
loader:shares replication source-000 package-001 aproj1> get mountpoint
mountpoint = /export
loader:shares replication source-000 package-001 aproj1> get sharenfs
sharenfs = on
您也可通过 configuration services replication 显示复制源。例如:
loader:configuration services replication> show
Properties:
<status> = online
Children:
targets => Configure replication targets
sources => View and manage replication packages