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
Login to the Delphix CLI.
Go to source.
CODEdelphix> source
Select the VDB that you need to update
CODEdelphix> 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.CODEdelphix source VDBOMSRE71EE4_QGE> update delphix source VDBOMSRE71EE4_QGE> set newDBID=<new value>
Finally, commit the changes to save the changes.
CODEdelphix 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.CODEdelphix> /database delphix database> select 'VDBO_QGE' delphix database 'VDBO_QGE'> refresh delphix database 'VDBO_QGE' refresh> commit