• 0
  • 1
  • Question
  • Updated 11 months ago
  • Answered
  • (Edited)
How to find out which one(s) is the child of a dsource from dx_get_hierarchy?
Please see the following output from my delphix environment:

PS D:\delphix\scripts\bin> dx_get_hierarchy -engine delphixoracleengine -dsource alli_source -printhierarchy p2c
delphixoracleengine : alli_source --> alli_source --> alli_source
delphixoracleengine : alli_source --> alli_source

PS D:\delphix\scripts\bin> dx_get_hierarchy -engine delphixoracleengine -dsource alli_source -format csv
#Appliance,Database,Group,Type,dSource,dS time,Physical DB,First child DB
delphixoracleengine,alli_source,sqldsmra_group,VDB,alli_source,2018-05-29 03:31:21 EDT,alli_source,alli_source
delphixoracleengine,alli_source,sqlusmra_group,VDB,alli_source,2018-05-29 03:31:21 EDT,alli_source,alli_source

Or any other command that I can use to find out the relationship between source and target other than dx_get_hierarchy ?
Photo of Albert Li

Albert Li

  • 70 Points

Posted 11 months ago

  • 0
  • 1
Photo of Jatinder Luthra

Jatinder Luthra, Employee

  • 3,058 Points 3k badge 2x thumb
Official Response
Hello Albert,
                  Please look into dx_get_db_env script too. This will list down the mapping for environments, VDBs, Sources etc. This script can also display the result in CSV or JSON format, using -format option.

Hope this helps.