Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  VDB provision on clustered environment using dxtoolkit

    Posted 05-26-2023 12:37:00 AM

    Dear community Users,

    I am trying to create a VDB on a clustered target env, using dxtoolkit command. However, it is failing with error instance not found on the server. If I try from front end. I can see same instance name is coming against the environment and able to provision the VDB as well. Can you please advise if I need to pass an additional parameter to perform the same task via dxtoolkit.

    Thanks in advance.

    Regards,
    Nitin



    ------------------------------
    Nitin Gupta
    Data engineer
    Delphix Community Members
    ------------------------------


  • 2.  RE: VDB provision on clustered environment using dxtoolkit

    Posted 05-26-2023 09:28:00 AM

    Hello,

    Can you provide more details? Can you show us the exact syntax being used (replace passwords if any as necessary)? Show us the exact error?

    Thanks,
    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: VDB provision on clustered environment using dxtoolkit

    Posted 05-28-2023 10:42:00 PM

    I am using below command.

    call dx_provision_vdb -d delphix02 -sourcename "apv001achp021.unix.anz" dbname FTQ GC VDB 2 -targetname FTQ_GC_VDB_2 -group FTQ_NEDS -creategroup -environment SQVAU000MEL0041_TDMS -type mssql -envinst FTQ

    Error is:

    Instance FTQ in environment SQVAU000MEL0041_TDMS not found. vDB won't be created.



    ------------------------------
    Nitin Gupta
    Data engineer
    Delphix Community Members
    ------------------------------



  • 4.  RE: VDB provision on clustered environment using dxtoolkit

    Posted 05-30-2023 10:08:00 AM

    Hello,

    Does the SQL Server instance have spaces or special characters in its name? From your command line, it looks like maybe is "FTQ GC VDB 2"? Also, I can't tell if you are missing a dash in from of the "dbname" parameter? If there are spaces in the name, you need to surround it with quotes:
    dx_provision_vdb -d delphix02 -sourcename "apv001achp021.unix.anz" -dbname "FTQ GC VDB 2" -targetname FTQ_GC_VDB_2 -group FTQ_NEDS -creategroup -environment SQVAU000MEL0041_TDMS -type mssql -envinst FTQ

    Thanks,
    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------