Skip to main content
Skip table of contents

CLI cookbook: mapping replication specs to objects

After creating replication specs often you will want to see what is mapping to which target, this document will show you how to find that information in the CLI. It will also show you how to navigate the replication directory in the CLI.

  1. ssh into the CLI as a user with delphix_admin privileges.

    CODE
    ssh admin@yourengine
  2. Next go to the replication directory in the CLI and list all of the specs.

    CODE
    delphix > replication
    delphix replication > spec
    delphix replication spec > ls
    Objects
    REFERENCE           TARGETHOST
    REPLICATION_SPEC-1  test1
    Operations
    create
  3. Select the replication spec to list its mapped objects and replication target host.

    CODE
    delphix replication spec> select REPLICATION_SPEC-1
    delphix replication spec 'test'> ls
    Properties
        type: ReplicationSpec
        name: test
        bandwidthLimit: 0
        description: (unset)
        enabled: false
        encrypted: false
        numberOfConnections: 1
        objectSpecification:
            type: ReplicationList
            name: (unset)
            objects: Untitled/dbdhcp3
        reference: REPLICATION_SPEC-1
        runtime:
            type: ReplicationSpecRuntime
        schedule: (unset)
        tag: 0ddae174-9486-4363-9704-bfc3398e547e
        targetCredential:
            type: PasswordCredential
            password: ********
        targetHost: test1
        targetPort: 8415
        targetPrincipal: delphix
        useSystemSocksSetting: false
    Operations
    delete
    update
    execute
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.