Skip to content

"January 25th 2023: To add printing parent object for replicated vDBs in dx_get_hierarchy" #224

@carloscuellar87d

Description

@carloscuellar87d

** Expected Behavior**
When using dx_get_hierarchy , if you have VDB1 replicated from engine 1 to engine 2 and in engine 2, you create VDB2 from VDB1; you would expect that dx_get_hierarchy for engine2 will display that VDB2 was created from VDB1 as an additional column and not only the dSource where it originally came from.

** Actual Behavior**
When using dx_get_hierarchy ,if you have VDB1 replicated from engine 1 to engine 2 and in engine 2, you create VDB2 from VDB1; you would expect that dx_get_hierarchy for engine2 will display that VDB2 was created from VDB1 as an additional column and not only the dSource where it originally came from.

For instance, this is an example where we created VDBREP2 from VDBTST1(replicated from a source engine) but it is only displayed that is original dsource came from another engine:

> ./dx_get_hierarchy -d dxcarloscd07.dcol2.delphix.com
> 
> Appliance  Database                       Group           Type     dSource                        dS time                             Physical DB                    First child DB
> ---------- ------------------------------ --------------- -------- ------------------------------ ----------------------------------- ------------------------------ ------------------------------
> dxcarloscd VDBREP2                        MSSQL VDBS 2    VDB      dSource on other DE            N/A                                 N/A                            N/A
> dxcarloscd VDBTST1@dxcarloscd7.dcol2-3    MSSQL VDBS@dxca VDB      dSource on other DE            N/A                                 N/A                            N/A
> dxcarloscd VDBREP1                        ORACLE VDBS 2   VDB      dSource on other DE            N/A                                 N/A                            N/A
> dxcarloscd VDBT1@dxcarloscd7.dcol2-1      ORACLE VDBS@dxc VDB      dSource on other DE            N/A                                 N/A                            N/A

Version
Tested with latest dxtoolkit 2.4.17.2 and Delphix engine 7.0 and 6.0.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions