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:

  1. Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.

    Copy
    yourEngine> sourceconfig
    yourEngine sourceconfig>
  2. Select the CDB source config you want to update and select the update operation. Set the instance.okvClient parameter to the OKV client you want to use. Commit the change.

    Copy
    yourEngine 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:

  1. Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.

    Copy
    yourEngine> sourceconfig
    yourEngine sourceconfig>
  2. Select the CDB source config you want to update and select the update operation, unset instance.okvClient and commit the change.

    Copy
    yourEngine 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:

  1. Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.

    Copy
    yourEngine> sourceconfig
    yourEngine sourceconfig>
  2. Select the CDB source config you want to update and select the update operation. Set the okvClient parameter for each instance. Commit the change.

    Copy
    yourEngine 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:

  1. Log into the CLI using admin or a user with Admin privileges and go to sourceconfig.
    Copy
    yourEngine> sourceconfig
    yourEngine sourceconfig>
  2. Select the CDB source config you want to update and select the update operation, unset okvClient for each instance and commit the change.

    Copy
    yourEngine 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