Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: November 2018
 
 

Editing a Replication Package (CLI)

Replication packages are organized in the CLI in a flat view under shares replication packages, which displays all replication packages in the system.

  1. From the replication target, go to shares replication packages and enter list to list all replication packages in the system.
    hostname:> shares replication packages
    hostname:shares replication packages> list
    
    ID          STATE DATA TIMESTAMP      SOURCE       DATASET
    package-002 idle  2015-10-02 19:26:37 hostsource   berries
    package-001 idle  2015-10-02 19:26:10 hostsource   berries
    package-004 idle  2015-10-02 20:53:51 hostsource   berries/blackberry
    package-003 recv  2015-10-02 20:59:52 hostsource   cherries/maraschino

    The packages are sorted by SOURCE, DATASET, and DATA_TIMESTAMP (in descending order).

  2. Select a package.
    hostname:shares replication packages> select package-001
    hostname:shares replication packages package-001> show
    
    Properties:
                    id = d6137c89-7056-4788-a4d1-b5892fe315e0
           source_name = hostsource
            source_asn = a751dc0f-abcd-1234-6789-f5e8315eaffa
             source_ip = 00.000.00.00:000
           source_pool = poolS
           target_pool = poolT
            replica_of = berries
               enabled = true
                 state = idle
     state_description = Idle (no update in progress)
               offline = false
           import_path = 
        data_timestamp = Fri Oct 02 2015 19:26:10 GMT+0000 (UTC)
             last_sync = Fri Oct 02 2015 19:26:10 GMT+0000 (UTC)
              last_try = Fri Oct 02 2015 19:26:10 GMT+0000 (UTC)
           last_result = success
    
    Projects:
               berries

    A replication package can be selected directly by specifying its ID, as shown in the following example:

    hostname:shares replication packages> select d6137c89-7056-4788-a4d1-b5892fe315e0
    hostname:shares replication packages package-001>
  3. To edit project properties and shares, select a project.
    hostname:shares replication packages package-001> select berries
    hostname:shares replication packages package-001 berries> get mountpoint
                        mountpoint = /export
    hostname:shares replication packages package-001 berries> get sharenfs
                          sharenfs = on
    

    For a list of package properties that you can modify, see Replication Package Properties.

Related Topics