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.
ssh into the CLI as a user with delphix_admin privileges.
CODEssh admin@yourengine
Next go to the replication directory in the CLI and list all of the specs.
CODEdelphix > replication delphix replication > spec delphix replication spec > ls Objects REFERENCE TARGETHOST REPLICATION_SPEC-1 test1 Operations create
Select the replication spec to list its mapped objects and replication target host.
CODEdelphix 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