Getting Started - DB2 Configuration

Configuration

Once the DB2 iDataAgent is installed, configure an Instance and a Backup Set to facilitate backups. Each Backup Set references a DB2 database. Also it is recommended to create separate subclients for data backups and archive log backups.

The following sections provide the necessary steps required to create and configure these components for a first SnapProtect backup of the DB2 database.

1.
  • From the CommCell Browser, navigate to Client Computers | <Client>.
  • Right-click the client and select Properties.
2.
  • Click on the Advanced tab.
  • Select the Enable SnapProtect option to enable SnapProtect backup for the client.
  • Click OK.

 

3.
  • From the CommCell Browser, navigate to Client Computers | <Client>.
  • Right-click DB2 and click All Tasks | New Instance.
4.
  • In the Instance Name field, type a name.
  • In the Home field, click Browse and select the path to the DB2 application files.
5.
  • Click Change.
  • In the User Account field, type the user name to access the DB2 application.
  • In the Password field, type the password for the user.
  • In the Confirm Password field, re-type the password for the user.
  • Click OK.
6.
  • Click the Storage Device tab.
  • In the Default Storage Policy box, select a storage policy name for data backups.
7.
  • Click the Command Line Backup tab.
  • In the Storage Policy for Command Line Backup box, select a storage policy name.
8.
  • Click the Logs Backup tab.
  • In the Storage Policy for All Log Files box, select a storage policy name for log backups.
  • Click OK.
9.
  • From the CommCell Browser, navigate to Client Computers | <Client> | DB2.
  • Right-click the <Instance> and click All Tasks | Create New Backup Set.
10.
  • Under Available DB Names, click the database name, and then click the arrow button to move the database name to the Selection box.
  • Click OK.
11.
  • From the CommCell Browser, navigate to the <Instance>.
  • Right-click the <Backup Set> and click All Tasks | New Subclient.
12. In the Subclient Name field, type a name.
13.
  • Click the SnapProtect Operations tab.
  • Click SnapProtect option to enable SnapProtect backup for the selected subclient.
  • Select the storage array from the Available Snap Engine drop-down list.
  • From the Use Proxy list, select the MediaAgent where backup copy operation will be performed.

    When performing IntelliSnap backup copy using proxy, ensure that the operating system of the proxy server is either same or higher version than the client computer.
14.
  • Click the Storage Device tab.
  • In the Data Storage Policy list, select the same storage policy used for data backups in Step 6.
      The subclient should use the same storage policy set for data backups at the instance level in order to prevent job failure.
  • Click OK.

 

15. Click OK.
16.
  • From the CommCell Browser, navigate to the <Instance>.
  • Right-click the <Backup Set> and click All Tasks | New Subclient.
 
17. In the Subclient Name field, type a name.
18.
  • Click the Content tab.
  • Clear the Backup Data checkbox.
 
19.
  • Click the Backup Arguments tab.
  • Click the Back up Log Files checkbox.
  • Click OK.
 
20. Click OK.

Skip this section if not using Solaris.

Click to Continue.

Enable SnapProtect Backups on Solaris Zone

Follow the steps given below to enable SnapProtect backups on each of the non-global zone clients containing the application data.

1.
  • From the CommCell Console, navigate to Client Computers | <Client>.
  • Right-click the client and select Properties.
2.
  • Click Advanced tab.
  • Select the Global Zone host name from the drop-down list.
  • Click OK.
 
  • We support disks on a global zone mounted using loopback File System on a non global zone.
  • This option need not be enabled if you are using a NFS share. This is because when using NFS mount paths, the operations are limited to the non-global zone and does not use the global zone.
3. Repeat the above steps on all the non-global zone clients containing the application data.  

Skip this section if you already created a snapshot copy.

Click to Continue.

Create a Snapshot Copy

Create a snapshot copy for the Storage Policy. The following section provides step-by-step instructions for creating a Snapshot Copy.

1.
  • From the CommCell Console, navigate to Policies | Storage Policies.
  • Right-click the <storage policy> and click All Tasks | Create New Snapshot Copy.

 

2.
  • Enter the copy name in the Copy Name field.
  • Select the Library, MediaAgent, master Drive Pool and Scratch Pool from the lists (not applicable for disk libraries).
  • Click OK.

Configure Backup Copy

Follow the steps given below to configure Backup Copy for moving snapshots to media.

1.
  • From the CommCell Browser, navigate to Policies | Storage Policies.
  • Right-click the <storage policy> and click Properties.
 

 

2.
  • Click the Snapshot tab.
  • Select Enable Backup Copy option to enable movement of snapshots to media.
  • Click OK.