Step 1: Review Requirements and Supported Features
Refer to the following information to learn more about the requirements for the DB2 Agent:
Step 2: Determine the Installation Location
In a DB2 DPF configuration, install the DB2 Data Agent on the physical clients where the instances of the partitioned databases are running.
In a DB2 pureScale configuration, install the DB2 Data Agent on DB2 member clients.
The DB2 Agent software must be installed at the same location for all the DB2 MultiNode client computers. For example, if the software is installed on client1 at location /data/software, install the software at the same location on client2 or client3, etc.
If the software is installed at different locations, use the soft link command to ensure the software is installed at the same location on all the clients.
For example, if the software on client1 is installed in the /data/software directory, and the software on client2 is installed in the /data1/software directory, to use the /data/software directory as the common destination installation location, run the following command on client2:
ln -s /data1 /data.
Step 3: Install the DB2 Database Agent
To set up your environment, you must install the DB2 Agent and optionally the MediaAgent package. MediaAgent is required if you plan to use IntelliSnap backups.
On UNIX
-
Plan the Installation on UNIX, Linux, and Macintosh Computers
To prepare for the installation, review general guidelines, such as gathering the information that you must provide during the installation.
-
Preinstallation Checklist for the DB2 Agent on UNIX and the Preinstallation Checklist for the MediaAgent
To prepare for the installation, review general guidelines, such as gathering the information that you must provide during the installation.
-
Select the installation method that is most appropriate for your environment.
-
After you complete the installation, review and make any necessary changes to the client UNIX groups and permissions.
-
Review the required permissions. For more information, see Database Group and Folder Permissions.
-
Change permissions as needed. For more information, see Changing UNIX Groups and Permissions on UNIX Clients.
-
Step 4: Configure Your Environment
-
Configure a storage device. For more information, see one of the following:
-
If you have not done so already, configure a storage policy.
-
Configure the DB2 parameters. For more information, see Additional Configuration for the DB2 Agent.
-
Create a DB2 pseudo-client.
Step 5: Run Your First Backup and Restore
Step 6: What to Do Next
-
Plan to rapidly recover critical data and to restore business functions if a disaster occurs. Review Full System Recovery: DB2 Database Agent.
-
Configure data retention and data aging for this agent. For more information, see Data Aging.