CLI cookbook: toggle new DBID generation upon refresh options for Oracle VDBs
This topic describes how to toggle Generate new DBID upon refresh option for Oracle VDBs.
Procedure
-
Log in to the Delphix CLI.
-
Go to source.
Copydelphix> source
-
Select the VDB that you need to update
Copydelphix> source select 'VDBOMSRE71EE4_QGE'
-
Toggle new DBID value. The new DBID value can be true or false. If the
newDBID
parameter is set to false then the new DBID generation will stop.Copydelphix source VDBOMSRE71EE4_QGE> update
delphix source VDBOMSRE71EE4_QGE> set newDBID=<new value> -
Finally, commit the changes to save the changes.
Copydelphix source VDBOMSRE71EE4_QGE> commit
-
Refresh the VDB through CLI to generate a new DBID if the
newDBID
parameter was set to true. If thenewDBID
parameter was set to false, the Delphix engine will use the same DBID as the parent.Copydelphix> /database
delphix database> select 'VDBO_QGE'
delphix database 'VDBO_QGE'> refresh
delphix database 'VDBO_QGE' refresh> commit