Installing the Tivoli Storage Manager (TSM) server on Linux
Deployment options: Netezza Performance Server for Cloud Pak for Data System
Learn how to install the Tivoli Storage Manager (TSM) server on the Linux system.
Before you begin
Note:
- Do not install the TSM server is on IBM Cloud Pak for Data System.
- If you have any issues when you're installing and or setting up TSM, contact TSM Support.
Procedure
- Install the TSM server:
- Download
TSM/IBM Spectrum Protect
from Fix Central and save it on the server system. For example:8.1.10.000-IBM-SPSRV-Linuxx86_64.bin
. - As
root
, unpack the installation package:
Example:./8.1.10.000-IBM-SPSRV-Linuxx86_64.bin.
[root@~ ~]# ./8.1.10.000-IBM-SPSRV-Linuxx86_64.bin
- Run the install.sh script to start the
installation:
Example:./install.sh
[root@~ ~]# ./install.sh
- Select the software packages for installation:
- Type
1
to start installing the packages:=====> IBM Installation Manager Select: 1. Install - Install software packages -----> 1
- Type
[C] 1
to select theIBM Spectrum Protect server 8.1.10.20200521_1523
package for installation:
Type=====> IBM Installation Manager> Install Select packages to install: 1. [ ] IBM Spectrum Protect server 8.1.10.20200521_1523 2. [ ] IBM Spectrum Protect languages 8.1.10.20200521_1521 3. [ ] IBM Spectrum Protect storage agent 8.1.10.20200521_1521 4. [ ] IBM Spectrum Protect device driver 8.1.10.20200521_1522 5. [ ] IBM Spectrum Protect Operations Center 8.1.10000.20200519_112 C. Cancel -----> [C] 1
1
to choose the version for installation:=====> IBM Installation Manager> Install> Select IBM Spectrum Protect server 8.1.10.20200521_1523 Options: 1. Choose version 8.1.10.20200521_1523 for installation. 2. Show all available versions of the package. C. Cancel -----> [1]
- Type
[N] 2
to select theIBM Spectrum Protect languages 8.1.10.20200521_1521
package for installation:=====> IBM Installation Manager> Install Select packages to install: 1. [X] IBM Spectrum Protect server 8.1.10.20200521_1523 2. [ ] IBM Spectrum Protect languages 8.1.10.20200521_1521 3. [ ] IBM Spectrum Protect storage agent 8.1.10.20200521_1521 4. [ ] IBM Spectrum Protect device driver 8.1.10.20200521_1522 5. [ ] IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120 O. Check for Other Versions, Fixes, and Extensions N. Next, C. Cancel -----> [N] 2
- Type
1
to select the version for installation:=====> IBM Installation Manager> Install> Select IBM Spectrum Protect languages 8.1.10.20200521_1521 Options: 1. Choose version 8.1.10.20200521_1521 for installation. 2. Show all available versions of the package. C. Cancel -----> [1]
- To select packages
3
,4
, and5
tor installation, repeat the steps. - After you selected all of the packages, type
N
:=====> IBM Installation Manager> Install Select packages to install: 1. [X] IBM Spectrum Protect server 8.1.10.20200521_1523 2. [X] IBM Spectrum Protect languages 8.1.10.20200521_1521 3. [X] IBM Spectrum Protect storage agent 8.1.10.20200521_1521 4. [X] IBM Spectrum Protect device driver 8.1.10.20200521_1522 5. [X] IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120 O. Check for Other Versions, Fixes, and Extensions N. Next, C. Cancel -----> [N]
- Type
- Type
11090
to specify a secure https port:Specify the secure communication settings - Secure (https) port -----> [11090]
- and set a password of your
choice:
---- Create password Password length: - Minimum: 6 characters - Maximum: 64 characters The password must contain at least: - One uppercase letter (A - Z) - One lowercase letter (a - z) - One digit (0 - 9) - Two non-alphanumeric characters: ~ # $ % ^ @ * _ - + = | ( ) { } [ ] : ; < > , . ? / Create password Confirm password
- Type
1
to select the product that you purchased:---- Configuration for IBM Spectrum Protect server 8.1.10.20200521_1523 Select the product that you purchased: 1. IBM Spectrum Protect 2. IBM Spectrum Protect Extended Edition 3. IBM Spectrum Protect for Data Retention -----> 1
- Read and accept IBM Spectrum Protect - Software License Agreement and IBM Spectrum Protect -
Non-IBM Terms.Type the number that is assigned to each license to read it, and type
A
to accept the terms:Read the following license agreements carefully. View a license agreement by entering the number: 1. IBM Spectrum Protect - Software License Agreement 2. IBM Spectrum Protect - Non-IBM Terms Options: A. [ ] I accept the terms in the license agreements. D. [ ] I do not accept the terms in the license agreements. -----> A Read the following license agreements carefully. View a license agreement by entering the number: 1. IBM Spectrum Protect - Software License Agreement 2. IBM Spectrum Protect - Non-IBM Terms Options: A. [X] I accept the terms in the license agreements. D. [ ] I do not accept the terms in the license agreements.
- Read and accept IBM Spectrum Protect for Storage Area Networks - Software License Agreement and
IBM Spectrum Protect for Storage Area Networks - Non-IBM Terms.Type the number that is assigned to each license to read it, and type
A
to accept the terms:---- Configuration for IBM Spectrum Protect storage agent 8.1.10.20200521_1521 Read the following license agreements carefully. View a license agreement by entering the number: 1. IBM Spectrum Protect for Storage Area Networks - Software License Agreement 2. IBM Spectrum Protect for Storage Area Networks - Non-IBM Terms Options: A. [ ] I accept the terms in the license agreements. D. [ ] I do not accept the terms in the license agreements. -----> A Read the following license agreements carefully. View a license agreement by entering the number: 1. IBM Spectrum Protect for Storage Area Networks - Software License Agreement 2. IBM Spectrum Protect for Storage Area Networks - Non-IBM Terms Options: A. [X] I accept the terms in the license agreements. D. [ ] I do not accept the terms in the license agreements.
- Type
N
to proceed to the installation screen:B. Back, N. Next, C. Cancel -----> [N]
- Type
I
to install the packages:=====> IBM Installation Manager> Install> Prerequisites> Shared Directory> Location> Features> Custom panels> Summary Target Location: Package Group Name : IBM Spectrum Protect Installation Directory : /opt/tivoli/tsm Shared Resources Directory : /opt/IBM/IBMIMShared Translations: English Packages to be installed: IBM Spectrum Protect server 8.1.10.20200521_1523 IBM Spectrum Protect languages 8.1.10.20200521_1521 IBM Spectrum Protect storage agent 8.1.10.20200521_1521 IBM Spectrum Protect device driver 8.1.10.20200521_1522 IBM Spectrum Protect Operations Center 8.1.10000.20200519_1120 Options: G. Generate an Installation Response File B. Back, I. Install, C. Cancel -----> [I] 25% 50% 75% 100% ------------------|------------------|------------------|------------------| ............................................................................
- When the packages are installed, type
[F] V
to view message details:=====> IBM Installation Manager> Install> Prerequisites> Shared Directory> Location> Features> Custom panels> Summary> Completion V. View Message Details Options: F. Finish -----> [F] V
- Type
O
to hide detailsINFORMATION: The IBM Spectrum Protect Operations Center is now installed. You can access it at the following URL: https://tsmtest.test.ibm.com:11090/oc O. OK, D. Hide Details -----> [O]
- Type
F
to finish installing the TSM server:=====> IBM Installation Manager> Install> Prerequisites> Shared Directory> Location> Features> Custom panels> Summary> Completion V. View Message Details Options: F. Finish -----> [F]
- Download
- Set up the TSM Installation Manager:
- Create a group:
groupadd tsmsrvrs
- Add a user to the group:
useradd -g tsmsrvrs tsminst1
- Set a password for the
user:
Example:passwd tsminst1
# passwd tsminst1 Changing password for user tsminst1. New password: Retype new password: passwd: all authentication tokens updated successfully.
- Log in to
tsminst1
and create a directory:# su - tsminst1 $ pwd /home/tsminst1 $ mkdir /home/tsminst1/tsminst1 $ mkdir tsm71_storage $ cd tsm71_storage $ mkdir tsm71_storage;mkdir tsmarchlog;mkdir tsmarchlogfailover;mkdir tsmdb001;mkdir tsmdb002;mkdir tsmdb003;mkdir tsmdb004;mkdir tsmlog;mkdir tsmlogmirror;mkdir tsminst1; $ ls tsm71_storage tsmarchlog tsmarchlogfailover tsmdb001 tsmdb002 tsmdb003 tsmdb004 tsminst1 tsmlog tsmlogmirror $ pwd /home/tsminst1/tsm71_storage $ logout # groupadd nz # useradd -g nz nz # chown nz:nz /opt/IBM
- As
root
, create adb2
instance:
Example:/opt/tivoli/tsm/db2/instance/db2icrt -a server -u tsminst1 tsminst1
# /opt/tivoli/tsm/db2/instance/db2icrt -a server -u tsminst1 tsminst1 DBI1070I Program db2icrt completed successfully.
- Update the default database
path:
su - tsminst1
/opt/tivoli/tsm/db2/bin/db2 update dbm cfg using dftdbpath /home/tsminst1
export PATH=/opt/tivoli/tsm/db2/bin:$PATH
db2 update dbm cfg using dftdbpath /home/tsminst1
- Copy
dsmserv.opt.smp
to /home/tsminst1 and formatdsmserv
:cp -rp /opt/tivoli/tsm/server/bin/dsmserv.opt.smp /home/tsminst1/dsmserv.opt
pwd /home/tsminst1
Example output:dsmserv -i /home/tsminst1/tsminst1 format dbdir=/home/tsminst1/tsm71_storage/tsmdb001 activelogdir=/home/tsminst1/tsm71_storage/tsmlog archlogdir=/home/tsminst1/tsm71_storage/tsmarchlog
ANR0152I Database manager successfully started. ANR2976I Offline DB backup for database TSMDB1 started. ANR2974I Offline DB backup for database TSMDB1 completed successfully. ANR0992I Server's database formatting complete. ANR0369I Stopping the database manager because of a server shutdown.
- Go to the
tsminst1
directory and start thedsmserv
service:cd /home/tsminst1/tsminst1
dsmserv
- Create a group:
- Set up the
dsmserv
service.Run the commands in thedsmserv
prompt:- Set the server
name:
Exampleset servername CHOOSE_NAME
set servername SQA_TSM_SERVER
- Register
tsminst1
:register admin tsminst1 tsminst1
- Grant authority to
tsminst1
:grant authority tsminst1 classes=system
- Set the server password:
set serverpassword server_console
- Stop
dsmserv
:halt
- Start
dsmserv
again:dsmserv
- Set the server
name:
- Create a domain, policy set, and activate the newly created policy. Run the commands from the
dsmserv
prompt.Change the names that are used in the commands as per your requirements.- Copy the domain:
copy domain standard NETEZZA
- Update the copy
group:
update copygroup NETEZZA standard standard standard type=backup verexists=10
- Validate the policy set:
validate policyset NETEZZA standard
- Activate the policy set:
activate policyset NETEZZA standard
- Register the node
:
register node 9.70.203.26 netezza1 domain=NETEZZA
9.70.203.26
is the IP address where the client is installed. - Register node:
register node 9.70.203.26_IPS netezza1 domain=NETEZZA
- Grant proxy
node:
grant proxynode agent=9.70.203.26 target=9.70.203.26_IPS
- Grant proxy
node:
grant proxynode agent=9.70.203.26_IPS target=9.70.203.26
- Define the storage pool:
define stgpool NETEZZA disk maxsize=800G
maxsize
specifies the maximum size for a physical file that the server can storage in the storage pool. - Define volume based on the external mount name and
path:
define volume BACKUPPOOL /external_mnt/SAN/backup formatsize=800000
- Display the defined volumes:
q vol
- Display the defined nodes:
q node
- Change the path based on the external mount name and path.You can define multiple volumes based on the available size and requirement.
define volume BACKUPPOOL /external_mnt/SAN/backup formatsize=800000
- Display the defined nodes:
q node
- Copy the domain: