Go to main content
Oracle® ZFS Storage Appliance 管理ガイド、Release OS8.7.0

印刷ビューの終了

更新: 2017 年 3 月
 
 

NFS サーバーからレプリケーションストリームをインポートする (CLI)

  1. NFS サーバーからレプリケーションストリームをインポートするには、ターゲット上の shares replication packages に移動し、「ls」と入力してパッケージを一覧表示します。
    target_a:> shares replication packages
    target_a:shares replication packages> ls
    Packages:
    
    ID          STATE DATA_TIMESTAMP      SOURCE     DATASET
    package-000 idle  unknown             sourceA   <unknown>
    
  2. インポートするパッケージを選択します。

    プロパティーを表示するには、「ls」と入力します。

    target_a:shares replication packages> select package-000
    target_a:shares replication package-000> ls
    Properties:
    
                                id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
                       source_name = sourceA
                        source_asn = d1fce51d-b8a9-6cf8-d71e-fcd4fe42cd0e
                         source_ip = 10.000.000.000:216
                       target_pool = poolA
                        replica_of = <unknown>
                           enabled = true
                             state = idle
                 state_description = Idle (no update in progress)
                           offline = false
                       import_path =
                    data_timestamp = unknown
                         last_sync = unknown
                          last_try = unknown
                       last_result = unknown
    
    
  3. レプリケートされたデータのインポートパスを設定し、commit と入力します。
    target_a:shares replication package-000> set import_path=
    nfs://nfs_server/export/init_repl
                      import_path = nfs://nfs_server/export/init_repl (uncommitted)
    target_a:shares replication package-000> commit
    target_a:shares replication package-000> ls
    Properties:
    
                                id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
                       source_name = sourceA
                        source_asn = d1fce51d-b8a9-6cf8-d71e-fcd4fe42cd0e
                         source_ip = 10.000.000.000:216
                       target_pool = poolA
                        replica_of = <unknown>
                           enabled = true
                             state = receiving
                 state_description = Importing update
                           offline = true
                       import_path = nfs://nfs_server/export/init_repl
                    data_timestamp = unknown
                         last_sync = unknown
                          last_try = unknown
                       last_result = unknown
    

次の手順

レプリケーションストリームがターゲットのアプライアンスにインポートされたあとで、次のうちの 1 つに進みます。