Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  How to use dx_provision_vdb to create VDB on Delphix Replica?

    Posted 07-05-2019 03:23:00 AM
    HI Community,
    My source replica name is: Delphix5230-3
    Source folder: EasyTravel_for_Azure/
    Replication profile: EasyTravel_to_Azure/

    I try to run:

    dx_provision_vdb -d delphix-admin -sourcename "Delphix5230-3/EasyTravel_for_Azure/XE_ETMSK" -targetname VXEDEV8 -group EasyTravel -environment EasyTravelTarget -type oracle -path "/mnt/provision" -envinst "/u01/app/oracle/product/11.2.0/xe" -dbname VXEDEV8

    And i've got:
    Source database not found.

    Also I've try:
    -sourcename "EasyTravel_for_Azure/XE_ETMSK"
    -sourcename "XE_ETMSK"

    And i've got:
    Source database not found.

    It is possible to provision VDB from a replica at all using dx_provision_vdb?

    Regards
    Marcin



    ------------------------------
    Marcin Kwasninski
    Technical Principal
    Spica Solutions
    ------------------------------


  • 2.  RE: How to use dx_provision_vdb to create VDB on Delphix Replica?
    Best Answer

    Posted 07-05-2019 06:35:00 AM
    I've check, ok it is passible ;)
    You need to look at SOURCES in you Engine CLI :

    engine> source
    engine source> ls

    And choose right NAME from replica. In my example it is: 
    -sourcename "XE_ETMSK@Delphix5230-3"

    And now i'm able to run:


    dx_provision_vdb -d delphix-admin -sourcename "XE_ETMSK@Delphix5230-3" -targetname VXEDEV8 -group EasyTravel -environment EasyTravelTarget -type oracle -path "/mnt/provision" -envinst "/u01/app/oracle/product/11.2.0/xe" -dbname VXEDEV8


    Regards
    Marcin



    ------------------------------
    Marcin Kwasninski
    Technical Principal
    Spica Solutions
    ------------------------------



  • 3.  RE: How to use dx_provision_vdb to create VDB on Delphix Replica?

    Posted 09-17-2019 02:14:00 PM
    I was really in need of this, I have to setup 25 VDBs using replica and the dxtoolkit was not working for replica. I will try this and if that works it will be of great help.

    Thanks,
    Sushil

    ------------------------------
    Sushil Krishn
    Oracle DBA
    Unisys
    ------------------------------