Update okvClient for linked or virtual CDBs
This topic describes how to update the okvClient field for linked or virtual CDB instances using the CLI.
Set okvClient for a single instance CDB
To set OKV Client for a single instance CDB, follow these steps:
-
Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.
CopyyourEngine> sourceconfig
yourEngine sourceconfig> -
Select the CDB source config you want to update and select the update operation. Set the
instance.okvClientparameter to the OKV client you want to use. Commit the change.CopyyourEngine sourceconfig> select yourCDB
yourEngine sourceconfig 'yourCDB'> update
yourEngine sourceconfig 'yourCDB' update *> set instance.okvClient=yourOkvClientName
yourEngine sourceconfig 'yourCDB' update *> commit
Unset okvClient for a single instance CDB
To unset OKV client for a single instance CDB, follow these steps:
-
Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.
CopyyourEngine> sourceconfig
yourEngine sourceconfig> -
Select the CDB source config you want to update and select the update operation, unset
instance.okvClientand commit the change.CopyyourEngine sourceconfig> select yourCDB
yourEngine sourceconfig 'yourCDB'> update
yourEngine sourceconfig 'yourCDB' update *> unset instance.okvClient
yourEngine sourceconfig 'yourCDB' update *> commit
Set okvClient for a RAC CDB
To set the OKV client for RAC CDB, follow these steps:
-
Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.
CopyyourEngine> sourceconfig
yourEngine sourceconfig> -
Select the CDB source config you want to update and select the update operation. Set the
okvClientparameter for each instance. Commit the change.CopyyourEngine sourceconfig> select yourCDB
yourEngine sourceconfig 'yourCDB'> update
yourEngine sourceconfig 'yourCDB' update *> set instances.0.okvClient=yourOkvClient1
yourEngine sourceconfig 'yourCDB' update *> set instances.1.okvClient=yourOkvClient2
yourEngine sourceconfig 'yourCDB' update *> commit
Unset okvClient for a RAC CDB
To unset the OKV client for RAC CDB, follow these steps:
-
Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.
Copy
yourEngine> sourceconfig
yourEngine sourceconfig> -
Select the CDB source config you want to update and select the update operation, unset
okvClientfor each instance and commit the change.CopyyourEngine sourceconfig> select yourCDB
yourEngine sourceconfig 'yourCDB'> update
yourEngine sourceconfig 'yourCDB' update *> unset instance.0.okvClient
yourEngine sourceconfig 'yourCDB' update *> unset instance.1.okvClient
yourEngine sourceconfig 'yourCDB' update *> commit