RHEL 8.x Spectrum Protect Backup Agent installation in RHEL client

From Notes_Wiki

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Backup Agent installation in RHEL client

Register the client in the Backup Management server

  1. On the backup server, open backup console
    dsmadmc
  2. 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
    If we forget the nodepassword lateron, it can be reset using:
    update node spclient1_BA admin123 FORCEP=yes
  3. 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
  4. 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

  1. Copy the Spectrum protect backup agent installation files to /root/agent-temp directory
  2. Login to client node using SSH
  3. Extract the installation files
    cd /root/agent-temp
    tar -xvf 8.1.14.0-TIV-TSMBAC-LinuxX86.tar
  4. 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
  5. Install the web gui client
    yum localinstall -y TIVsm-WEBGUI.x86_64.rpm
  6. 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
  7. 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
  8. 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
  9. 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
  10. From client machine, Enable password less login to the server
    dsmc
    Please enter your user id <SPCLIENT1_BA>
    password - <password> //admin123
    quit
    Use the password set during 'REGISTER NODE' command suggested above.
  11. From client machine, Check password less login
    dsmc // password should not be asked
  12. Start the dsmcad service in client node
    cd /opt/tivoli/tsm/client/ba/bin
    ./dsmcad
  13. Login to web browser for backup status
    https://<client-ip>:9081/bagui
    Username: admin
  14. If there is some issue in dsmc startup or if we have created multiple opt file (eg due to multiple hostnames for same host _BA, _TAPE) then we can run the scheduler with appropriate opt file using at client machine:
    nohup dsmc schedule -optfile=/opt/tivoli/tsm/client/ba/bin/dsm.opt1 &
    nohup dsmc schedule -optfile=/opt/tivoli/tsm/client/ba/bin/dsm.opt &


Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Backup Agent installation in RHEL client