Go to main content
Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.0

Exit Print View

Updated: July 2017
 
 

Importing a Replication Stream from the NFS Server (CLI)

  1. To import the replication stream from the NFS server, navigate to shares replication packages on the target, and then enter ls to list the packages.
    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. Select the package you want to import.

    To view the properties, enter 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. Set the import path of the replicated data, and then enter 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
    

Next Steps

After the replication stream is imported to the target appliance, proceed with one of the following: