Use XML to create Db2 MultiNode 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 DB2 MultiNode Agent host, run the qlogin command to log on to the CommServe computer.
-
Download the CreateMultiNode_Subclient.xml file to the computer where you will run the command.
-
Open the CreateMultiNode_Subclient.xml file, add your specific parameters and save the file.
For information on supported subclient XML parameters, see Available XML Parameters for DB2 MultiNode Subclient Configuration.
-
On the command line, go to Software_Installation_Directory/Base and type the following command.
UNIX
qoperation execute -af xml_pathCreateMultiNode_Subclient.xml -appName 'DB2 MultiNode' -clientName 'client1' -instanceName 'dbname' -backupsetName 'backupset_name'-subclientName 'subclient_name'Windows
qoperation execute -af xml_pathCreateMultiNode_Subclient.xml -appName 'DB2 MultiNode' -clientName 'client1' -instanceName 'dbname' -backupsetName 'backupset_name'-subclientName 'subclient_name'
Examples
Create a DB2 MultiNode Subclient
qoperation execute -af xml_pathCreateMultiNode_Subclient.xml -appName 'DB2 MultiNode' -clientName DB2DPF_DB2MULTI1_SingleNode -instanceName 'part1011' -backupsetName 'PARTDB' -subclientName 'OnlineFull' -enableBackup 'true' -dataBackupStoragePolicy/storagePolicyName 'DB2Data' -db2BackupMode 'ONLINE_BACKUP' -db2BackupData 'true' -db2BackupType 'ENTIRE_DATABASE' -db2BackupLogFiles 'True' -db2DeleteLogFilesAfter 'true' -db2SubclientProp/numberOfBackupStreams '1'