Configuring IBM Spectrum Protect with a tape library - IBM Documentation
Configuring IBM Spectrum Protect with a tape library - IBM Documentation
The Spectrum Protect Client writes the backup data through the Spectrum Protect Storage Agent (residing on the same server as the Spectrum Protect
SAN storage, bypassing the Spectrum Protect server instance. The default SAN storage used in this topic is a SAN attached tape library (real or VTL). Yo
attached tape library (real or VTL) to configure IBM Spectrum Protect for LAN-free backups.
Important: In order to run LAN-Free operations, contact IBM Support for initial setup and then continue with the following steps.
appkg_install lintapeinstaller -h
This ensures that the device names for the tape library and drives do not change after a Linux reboot.
4. Run the following commands from either the administrative command-line client dsmadmc on the IBM Spectrum Protect server or the IBM Spectrum
Center, by using the command builder:
https://< IBM_Spectrum_Protect_Server_IP>:11090/oc/login
If you do not have the IBM Spectrum Protect Operations Center configured, configure it as in Configuring the Operations Center.
For installation process, see Installing the Operations Center.
Procedure
1. Ensure that IBM Spectrum Protect server is set up for server-to-server communication by confirming that its server name, server password, hl add
are specified.
Using the dsmadmc or command builder in the Operations Center on IBM Spectrum Protect Server, confirm whether or not this step has been co
Example:
Server Name | Comm. Method | High-level Address | Low-level Address | Days Since Last Access | Server Password Set | Virtual Volume Password Set
If IBM Spectrum Protect server isn’t set up for server-to-server communication, run the following commands for server-server communication, inc
sharing and library sharing:
Example:
Then, verify whether the server has been added by running the
https://www.ibm.com/docs/en/ias?topic=versions-configuring-spectrum-protect-tape-library 1/5
03/12/2024 11:37 Configuring IBM Spectrum Protect with a tape library - IBM Documentation
command.
2. Define the tape library as a storage pool to receive backup data.
a. Define library.
▪ For a real tape, run:
b. Define the path to the library based on the library name in the /dev/lin_tap/by-id file.
Set mountw to 10 to give the library 10 minutes to mount a tape before posting a mount time out. The default is 1 hour.
The estcap parameter should match the native capacity of the volume. For a real tape LTO3, the native capacity is 400 GB.
d. Issue a full database backup to verify that IBM Spectrum Protect server can write to the tape library.
ba db t=f dev=ltodc
https://www.ibm.com/docs/en/ias?topic=versions-configuring-spectrum-protect-tape-library 2/5
03/12/2024 11:37 Configuring IBM Spectrum Protect with a tape library - IBM Documentation
The storage pool uses a maximum of 800 tape volumes, collocating only 1 node's backup data per volume.
If the tape library has limited volumes, no collocation might be preferred. You can set the colloc parameter to no.
To help performance and manage tape space, set the reclaimpr parameter to 4. The db2-tape pool will run 4 processes when it reclaims space
unless you issue a command or create an administrative schedule.
The reclaim parameter is set to 100, which means that the tape volume must be empty in 100% before it can be reclaimed.
6. Create a domain that can write to the storage pool.
To define a new policy domain, follow the steps that are provided in Creating a policy domain
def do db2_backups
For more information, see DEFINE DOMAIN (Define a new policy domain)
b. Define a policy set under the db2_backups domain. Give the policy set the same name as the domain.
Note: The full name of the policy set is the domain name and the policy set name.
a. Define a default management class under the db2_backups db2_backups policy set.
Name the management class database and add the migdest parameter to prevent a warning from appearign when the policy set is activated
def co db2_backups db2_backups database t=backup vere=3 verd=1 rete=30 retd=30 dest=db2-tape
For more information, see DEFINE COPYGROUP (Define a backup copy group).
Note: The active version has no retention and will never expire automatically.
For more information, see DEFINE COPYGROUP (Define an archive copy group).
9. Register IBM Spectrum Protect Client to IBM Spectrum Protect Server as described in REGISTER NODE (Register a node).
Set the password to passw0rd.
To ensure that the nodes are in the db2_backups domain, set do to db2_backups.
To allow Db2 to control the deletion of its backups, set backdel to yes.
Example:
https://www.ibm.com/docs/en/ias?topic=versions-configuring-spectrum-protect-tape-library 3/5
03/12/2024 11:37 Configuring IBM Spectrum Protect with a tape library - IBM Documentation
reg node0104-fab passw0rd do=db2_backups backdel=yes maxnummp=8 comp=no dedupl=serveronly
.
.
10. Define each Storage Agent on the IBM Spectrum Protect server by running the def ser command.
Example:
Note: def ser refers to the storage agent name that pertains to each node, not the IBM Spectrum Protect Server name.
Note: As the Spectrum Protect Server Instance controls all mounts and unmounts of the tape volumes, no library or library path is defined
Agents.
The IBM Spectrum Protect Server communicates to the Storage Agent how to write to the storage pool by telling the Storage Agent what path it can
shared location.
Use the device name listed on the /dev/lin_tape/by-id file of the Storage Agent. Ensure that the serial number of the Storage Agent tape devic
serial number of the Server Instance device name.
12. On the IBM® Integrated Analytics System (IAS) appliance, run the following commands:
a. Log in to the docker container:
b. Issue command to validate the server and storage agent are communicating:
13. On IBM Spectrum Protect server, run the following commands to test if the configuration is completed successfully:
a. Show the number of sessions from Spectrum Storage Agent. The number depends on the number of configured Spectrum Storage Agents.
q sess
b. Show the other side of the settings for IBM Spectrum Protect server and Spectrum Storage Agent. This command routes the q sess command
Storage Agent that is specified by sta_name.
sta_name:q sess
c. Check whether Spectrum Storage Agent is pinged successfully, where sta_name is the name of Spectrum Storage Agent.
d. Check whether IBM Spectrum Protect server is pinged successfully, where sta_name is the name of Spectrum Storage Agent, and name is the
Spectrum Protect server.
If any of these tests fails, update the security for the node session for all nodes by running the following command:
https://www.ibm.com/docs/en/ias?topic=versions-configuring-spectrum-protect-tape-library 4/5
03/12/2024 11:37 Configuring IBM Spectrum Protect with a tape library - IBM Documentation
Parent topic:
Configuring IBM Spectrum Protect on IAS 1.0.18.0 and higher versions
https://www.ibm.com/docs/en/ias?topic=versions-configuring-spectrum-protect-tape-library 5/5