Oracle® ZFS Storage Appliance 管理指南,发行版 2013.1.5.0

退出打印视图

更新时间: 2016 年 2 月
 
 

如何编辑复制数据包 (CLI)

在 CLI 中,复制数据包按源组织在 shares replication sources 下方。

  1. 在目标设备中,导航到 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)
  2. 选择源,然后选择数据包。

    可以在此节点上执行数据包级操作。

    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
    
  3. 要编辑项目属性和共享资源,请选择项目。有关可以修改的属性的列表,请参见About Replication Packages
  4. 要从 configuration services replication 显示复制源,请使用 show 属性:
    loader:configuration services replication> show 
    Properties: 
                         <status> = online 
    Children: 
                             targets => Configure replication targets 
                             sources => View and manage replication packages
    

另请参见