Use XML to create Oracle subclients. Run the operation from the command line, or automate configuration by combining command line operations in a script.
The XML parameters can be included in the XML file, or specified on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.
Procedure
-
On the Oracle Agent host, run the qlogin command to log on to the CommServe computer.
-
Download the CreateSubclient.xml file to the computer where you will run the command.
-
Open the CreateSubclient.xml file, add your specific parameters and save the file.
For information on supported subclient XML parameters, see Available XML Parameters for Oracle Subclient Configuration.
-
On the command line, go to Software_Installation_Directory/Base and type the following command.
qoperation execute -af xml_path\create_subclient_template.xml -appName 'Oracle' -clientName clientName -instanceName Instance_name -subclientName SubclientName -storagePolicyName storagepolicyname -isSnapBackupEnabled true -snapShotEngineName Snapshot_engineisRMANEnableForTapeMovement enable_RMAN -backupCopyInterface interface -useRmanForLogBackup use_RMAN_for_Log_Backup
Examples
Adding a Selective Online Full Subclient
To create a selective online full IntelliSnap subclient, set the following parameters:
|
Parameter |
Value |
|---|---|
|
data |
'true' |
|
selectiveOnlineFull |
'true' |
|
dataBackupStoragePolicy/storagePolicyName |
Storage Policy Name (in this example, 'data_sp') |
|
isSnapBackupEnabled |
'true' |
qoperation execute -af /CLI/create_subclient_template.xml -appName 'Oracle' -clientName 'client1' -instanceName 'dbname' -subclientName 'subclient1' -selectiveOnlineFull true -dataBackupStoragePolicy/storagePolicyName 'data_sp' -isSnapBackupEnabled true
Adding an Online Subclient
To create an online IntelliSnap subclient, set the following parameters:
|
Parameter |
Value |
|---|---|
|
data |
'true' |
|
backupMode |
'true' |
|
dataBackupStoragePolicy/storagePolicyName |
Storage Policy Name (in this example, 'data_sp') |
|
isSnapBackupEnabled |
'true' |
qoperation execute -af /CLI/create_subclient_template.xml -appName 'Oracle' -clientName 'client1' -instanceName 'dbname' -subclientName 'subclient1' -data true -backupMode ONLINE_DB -dataBackupStoragePolicy/storagePolicyName 'data_sp' -isSnapBackupEnabled true
Adding an Offline Subclient
To create an offline IntelliSnap subclient, set the following parameters:
|
Parameter |
Value |
|---|---|
|
data |
'true' |
|
backupMode |
'OFFLINE_DB' |
|
dataBackupStoragePolicy/storagePolicyName |
Storage Policy Name (in this example, 'data_sp') |
|
isSnapBackupEnabled |
'true' |
qoperation execute -af /CLI/create_subclient_template.xml -appName 'Oracle' -clientName 'client1' -instanceName 'dbname' -subclientName 'offlinesubclient' -data true -backupMode OFFLINE_DB -dataBackupStoragePolicy/storagePolicyName 'data_sp' -isSnapBackupEnabled true