Difference between revisions of "RHEL 8.x Spectrum Protect Backup Agent installation in RHEL client"
From Notes_Wiki
(Created page with "Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Backup Agent installation in client == Register the client in the Backup Management server == #On the backup server, open backup console #:<pre> #::dsmadmc #:</pre> #Register the client in the Backup Management server #:<pre> #::> REGIST...") |
|||
Line 25: | Line 25: | ||
#::scp /spdata/spinst/cert256.arm root@192.168.1.27:/root | #::scp /spdata/spinst/cert256.arm root@192.168.1.27:/root | ||
#:</pre> | #:</pre> | ||
== Install Backup agent in client machine == | |||
#Copy the Spectrum protect backup agent installation files to /root/agent-temp directory | |||
#Login to client node using SSH | |||
#Extract the installation files | |||
#:<pre> | |||
#::cd /root/agent-temp | |||
#::tar -xvf 8.1.14.0-TIV-TSMBAC-LinuxX86.tar | |||
#:</pre> | |||
#Install the agent | |||
#:<pre> | |||
#::rpm -Uvh gskcrypt64-8.0.55.24.linux.x86_64.rpm gskssl64-8.0.55.24.linux.x86_64.rpm | |||
#::rpm -ivh TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm | |||
#::rpm -ivh TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm | |||
#:</pre> | |||
#Install the web gui client | |||
#:<pre> | |||
#::yum localinstall -y TIVsm-WEBGUI.x86_64.rpm | |||
#:</pre> | |||
#Rename and give permissions for required files | |||
#:<pre> | |||
#::cd /opt/tivoli/tsm/client/ba/bin | |||
#::cp dsm.opt.smp dsm.opt | |||
#::cp dsm.sys.smp dsm.sys | |||
#::chmod 777 dsm.opt dsm.sys | |||
#::mkdir /tmp/tsmlog | |||
#::chmod -R 777 /tmp/tsmlog | |||
#:</pre> | |||
#Delete the existing content and add the below lines in the /opt/tivoli/tsm/client/ba/bin/dsm.sys | |||
#:<pre> | |||
#::SErvername spclient1_BA // client-host-name | |||
#:::COMMMethod TCPIP | |||
#:::TCPPort 1500 | |||
#:::TCPServeraddress 172.31.2.56 // Backup server IP | |||
#:::TCPCLIENTAddress 192.168.1.27 // Backup client ip | |||
#:::NODename spclient1_BA // client-host-name | |||
#:::PASSWORDAccess generate | |||
#:::managedservices schedule webclient | |||
#:::httpport 1581 | |||
#:::ERRORLOGN /tmp/tsmlog/dsmerror.log | |||
#:::ERRORLOGR 30 D | |||
#:::SCHEDLOGN /tmp/tsmlog/dsmsched.log | |||
#:::SCHEDLOGR 10 D | |||
#:</pre> | |||
#Delete the existing content and add the below lines in the /opt/tivoli/tsm/client/ba/bin/dsm.opt | |||
#:<pre> | |||
#::SErvername spclient1_BA // client-host-name | |||
#:</pre> | |||
#From client machine, Registration of client with management server | |||
#:<pre> | |||
#::dsmcert -add -server <backup-server> -file /<path-to>/cert256.arm | |||
#::Ex: | |||
#::dsmcert -add -server bkserver -file /root/cert256.arm | |||
#:</pre> | |||
#From client machine, Enable password less login to the server | |||
#:<pre> | |||
#::dsmc | |||
#::Please enter your user id <SPCLIENT1_BA> | |||
#::password - <password> //admin123 | |||
#::quit | |||
#:</pre> | |||
#From client machine, Check password less login | |||
#:<pre> | |||
#::dsmc // password should not be asked | |||
#:</pre> | |||
#Start the dsmcad service in client node | |||
#:<pre> | |||
#::cd /opt/tivoli/tsm/client/ba/bin | |||
#::./dsmcad | |||
#:</pre> | |||
#Login to web browser for backup status | |||
#::https://<client-ip>:9081/bagui | |||
#::Username: admin | |||
[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Backup Agent installation in client|Spectrum Protect Backup Agent installation in client]] | [[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Backup Agent installation in client|Spectrum Protect Backup Agent installation in client]] |
Revision as of 11:44, 2 May 2023
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Backup Agent installation in client
Register the client in the Backup Management server
- On the backup server, open backup console
- dsmadmc
- Register the client in the Backup Management server
- > REGISTER NODE <client-host-name>_BA <Password> PASSEXP=0 DOMAIN=DEVQAFSDOM ARCHDEL=YES BACKDEL=YES maxnummp=999 FORCEPWRESET=NO SSLREQUIRED=DEFault SESSIONSECurity=STRict
- Ex:
- REGISTER NODE spclient1_BA admin123 PASSEXP=0 DOMAIN=RNDDOM ARCHDEL=YES BACKDEL=YES maxnummp=999 FORCEPWRESET=NO SSLREQUIRED=DEFault SESSIONSECurity=STRict
- Client Web gui access to admin user
- > grant auth <userid> cl=node auth=access node=<client-name>_BA
- Ex:
- > grant auth admin cl=node auth=access node=spclient1_BA
- From backup server, Copy cert256.arm file to client node
- scp /<path-to>/cert256.arm root@<client-node-ip>:/root
- Ex:
- scp /spdata/spinst/cert256.arm root@192.168.1.27:/root
Install Backup agent in client machine
- Copy the Spectrum protect backup agent installation files to /root/agent-temp directory
- Login to client node using SSH
- Extract the installation files
- cd /root/agent-temp
- tar -xvf 8.1.14.0-TIV-TSMBAC-LinuxX86.tar
- Install the agent
- rpm -Uvh gskcrypt64-8.0.55.24.linux.x86_64.rpm gskssl64-8.0.55.24.linux.x86_64.rpm
- rpm -ivh TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm
- rpm -ivh TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm
- Install the web gui client
- yum localinstall -y TIVsm-WEBGUI.x86_64.rpm
- Rename and give permissions for required files
- cd /opt/tivoli/tsm/client/ba/bin
- cp dsm.opt.smp dsm.opt
- cp dsm.sys.smp dsm.sys
- chmod 777 dsm.opt dsm.sys
- mkdir /tmp/tsmlog
- chmod -R 777 /tmp/tsmlog
- Delete the existing content and add the below lines in the /opt/tivoli/tsm/client/ba/bin/dsm.sys
- SErvername spclient1_BA // client-host-name
- COMMMethod TCPIP
- TCPPort 1500
- TCPServeraddress 172.31.2.56 // Backup server IP
- TCPCLIENTAddress 192.168.1.27 // Backup client ip
- NODename spclient1_BA // client-host-name
- PASSWORDAccess generate
- managedservices schedule webclient
- httpport 1581
- ERRORLOGN /tmp/tsmlog/dsmerror.log
- ERRORLOGR 30 D
- SCHEDLOGN /tmp/tsmlog/dsmsched.log
- SCHEDLOGR 10 D
- SErvername spclient1_BA // client-host-name
- Delete the existing content and add the below lines in the /opt/tivoli/tsm/client/ba/bin/dsm.opt
- SErvername spclient1_BA // client-host-name
- From client machine, Registration of client with management server
- dsmcert -add -server <backup-server> -file /<path-to>/cert256.arm
- Ex:
- dsmcert -add -server bkserver -file /root/cert256.arm
- From client machine, Enable password less login to the server
- dsmc
- Please enter your user id <SPCLIENT1_BA>
- password - <password> //admin123
- quit
- From client machine, Check password less login
- dsmc // password should not be asked
- Start the dsmcad service in client node
- cd /opt/tivoli/tsm/client/ba/bin
- ./dsmcad
- Login to web browser for backup status
- https://<client-ip>:9081/bagui
- Username: admin
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Backup Agent installation in client