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
------------------------------
Original Message:
Sent: 05-28-2023 10:41:30 PM
From: Nitin Gupta
Subject: VDB provision on clustered environment using dxtoolkit
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
Original Message:
Sent: 05-26-2023 09:27:48 AM
From: Neal Stack
Subject: VDB provision on clustered environment using dxtoolkit
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
Original Message:
Sent: 05-26-2023 12:36:39 AM
From: Nitin Gupta
Subject: VDB provision on clustered environment using dxtoolkit
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
------------------------------