User Tools

Site Tools


tsm:tsm_tdpvmware_lnx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tsm:tsm_tdpvmware_lnx [2021/12/03 16:56]
manu
tsm:tsm_tdpvmware_lnx [2022/07/28 15:19] (current)
manu
Line 1: Line 1:
 ===== TSM Data Protection for Virtual Environment v7 on Linux ===== ===== TSM Data Protection for Virtual Environment v7 on Linux =====
  
 +For info:\\
 +If you only want to backup VM using command line, and not schedule, VMCLI config is not needed. VMCLI node is used by TDP for VE GUI
  
 Install Centos 6.4 x64 minimal Desktop OS (base OS installation) Install Centos 6.4 x64 minimal Desktop OS (base OS installation)
 +
 +=== Disable Log4J ===
 +
 +Current security issue, with Log4J. As workaround disable it
 +<cli prompt='>'>​
 +export LOG4J_FORMAT_MSG_NO_LOOKUPS=true
 +</​cli>​
  
 === Disable SElinux === === Disable SElinux ===
Line 8: Line 17:
 Required, else nothing will work Required, else nothing will work
 <cli prompt='>'>​ <cli prompt='>'>​
-cat /​etc/​selinux/​config ​+cat /​etc/​selinux/​config ​
  
 # This file controls the state of SELinux on the system. # This file controls the state of SELinux on the system.
Line 151: Line 160:
  ​TCPPORT 1500  ​TCPPORT 1500
  ​COMMMETHOD TCPIP  ​COMMMETHOD TCPIP
- ​NODENAME ​VMPRD_IRIS_LUXEMBOURG_DM+ ​NODENAME ​VMPRD_LUXEMBOURG_DM
  
 ERRORLOGNAME "/​opt/​tivoli/​tsm/​client/​ba/​bin/​dsmerror.log"​ ERRORLOGNAME "/​opt/​tivoli/​tsm/​client/​ba/​bin/​dsmerror.log"​
Line 194: Line 203:
 (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved. (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved.
  
-Node Name: VMPRD_IRIS_LUXEMBOURG_DM +Node Name: VMPRD_LUXEMBOURG_DM 
-Please enter your user id <VMPRD_IRIS_LUXEMBOURG_DM>: +Please enter your user id <VMPRD_LUXEMBOURG_DM>: 
  
-Please enter password for user id "VMPRD_IRIS_LUXEMBOURG_DM": ​+Please enter password for user id "VMPRD_LUXEMBOURG_DM": ​
  
 Session established with server TSMSRV: AIX Session established with server TSMSRV: AIX
Line 204: Line 213:
  
 tsm> quit tsm> quit
-[root@luittdpve bin]# dsmc -asnode=VMPRD_IRIS_LUXEMBOURG+[root@luittdpve bin]# dsmc -asnode=VMPRD_LUXEMBOURG
 IBM Tivoli Storage Manager IBM Tivoli Storage Manager
 Command Line Backup-Archive Client Interface Command Line Backup-Archive Client Interface
Line 211: Line 220:
 (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved. (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved.
  
-Node Name: VMPRD_IRIS_LUXEMBOURG_DM+Node Name: VMPRD_LUXEMBOURG_DM
 Session established with server TSMSRV: AIX Session established with server TSMSRV: AIX
   Server Version 6, Release 3, Level 4.200   Server Version 6, Release 3, Level 4.200
   Server date/time: 11/07/2013 10:​54:​05 ​ Last access: 11/07/2013 10:53:44   Server date/time: 11/07/2013 10:​54:​05 ​ Last access: 11/07/2013 10:53:44
  
-Accessing as node: VMPRD_IRIS_LUXEMBOURG+Accessing as node: VMPRD_LUXEMBOURG
 tsm> ​ tsm> ​
 </​cli>​ </​cli>​
Line 282: Line 291:
   # Description:​ Start dsmcad to enable scheduler and Web GUI.   # Description:​ Start dsmcad to enable scheduler and Web GUI.
   ### END INIT INFO   ### END INIT INFO
-  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/​opt/​tivoli/​tsm/​client/​ba/​bin+ 
   DSMCAD_DIR=/​opt/​tivoli/​tsm/​client/​ba/​bin   DSMCAD_DIR=/​opt/​tivoli/​tsm/​client/​ba/​bin
 +  export JAVA_HOME=/​opt/​tivoli/​tsm/​tdpvmware/​common/​jre/​jre
 +  export LD_LIBRARY_PATH=$DSMCAD_DIR:​$JAVA_HOME/​lib/​amd64/​classic
 +  export PATH=$JAVA_HOME/​bin:​$PATH
   DSMCAD_BIN=$DSMCAD_DIR/​dsmcad   DSMCAD_BIN=$DSMCAD_DIR/​dsmcad
   ......   ......
Line 291: Line 303:
  
 If you want to test a backup or restore VM from the datamover server, use the option asnode If you want to test a backup or restore VM from the datamover server, use the option asnode
-<box 80% round orange|TSM client command line>​dsmc -asnode=VMPRD_IRIS_LUXEMBOURG</​box> ​  +<box 80% round orange|TSM client command line>​dsmc -asnode=VMPRD_LUXEMBOURG</​box> ​  
-<box 80% round orange|TSM client graphical>​dsmj -asnode=VMPRD_IRIS_LUXEMBOURG</​box>​+<box 80% round orange|TSM client graphical>​dsmj -asnode=VMPRD_LUXEMBOURG</​box>​
  
 Test the backup in preview mode: Test the backup in preview mode:
 <cli prompt='#'>​ <cli prompt='#'>​
 [root@luittdpve ~]# export LD_LIBRARY_PATH=/​opt/​tivoli/​tsm/​client/​ba/​bin:/​opt/​tivoli/​tsm/​tdpvmware/​common/​jre/​jre/​bin/​classic ​ [root@luittdpve ~]# export LD_LIBRARY_PATH=/​opt/​tivoli/​tsm/​client/​ba/​bin:/​opt/​tivoli/​tsm/​tdpvmware/​common/​jre/​jre/​bin/​classic ​
-[root@luittdpve ~]# dsmc -asnode=VMPRD_IRIS_LUXEMBOURG ​+[root@luittdpve ~]# dsmc -asnode=VMPRD_LUXEMBOURG ​
 IBM Tivoli Storage Manager IBM Tivoli Storage Manager
 Command Line Backup-Archive Client Interface Command Line Backup-Archive Client Interface
Line 304: Line 316:
 (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved. (c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved.
  
-Node Name: VMPRD_IRIS_LUXEMBOURG_DM+Node Name: VMPRD_LUXEMBOURG_DM
 Session established with server ARWEN: AIX Session established with server ARWEN: AIX
   Server Version 6, Release 3, Level 4.200   Server Version 6, Release 3, Level 4.200
   Server date/time: 11/15/2013 16:​41:​24 ​ Last access: 11/15/2013 16:40:45   Server date/time: 11/15/2013 16:​41:​24 ​ Last access: 11/15/2013 16:40:45
  
-Accessing as node: VMPRD_IRIS_LUXEMBOURG+Accessing as node: VMPRD_LUXEMBOURG
 </​cli>​ </​cli>​
 <cli prompt='>'>​ <cli prompt='>'>​
Line 332: Line 344:
        ​VMDK[1]Name: ​   '​[LUITPRD_Drive_9] IIT-APPLIANCE3/​IIT-APPLIANCE3.vmdk'​        ​VMDK[1]Name: ​   '​[LUITPRD_Drive_9] IIT-APPLIANCE3/​IIT-APPLIANCE3.vmdk'​
        ​VMDK[1]Status: ​ Included        ​VMDK[1]Status: ​ Included
 +</​cli>​
 +
 +Here is the syntax to using bash command
 +<cli prompt='>'>​
 +[root@luittdpve ~]# dsmc ba vm '​*'​ -preview -asnodename=VMPRD_LUXEMBOURG
 +</​cli>​
 +
 +To list ALL VM on the Vcenter use:
 +<cli prompt='>'>​
 +[root@luittdpve ~]# export LD_LIBRARY_PATH=/​opt/​tivoli/​tsm/​client/​ba/​bin:/​opt/​tivoli/​tsm/​tdpvmware/​common/​jre/​jre/​bin/​classic
 +[root@luittdpve ~]# dsmc show vm all -optfile="/​opt/​tivoli/​tsm/​client/​ba/​bin/​dsm.opt"​
 +
 </​cli>​ </​cli>​
  
Line 339: Line 363:
 REGISTER NODE VMPRD_VMCLI ?***? domain=PRDLUX backdel=yes auth=local sslreq=no REGISTER NODE VMPRD_VMCLI ?***? domain=PRDLUX backdel=yes auth=local sslreq=no
 REGISTER NODE VMPRD_VCVC ?***? domain=PRDLUX backdel=yes url=https://​xx.xx.xx.xx:​9081/​TsmVMwareUI REGISTER NODE VMPRD_VCVC ?***? domain=PRDLUX backdel=yes url=https://​xx.xx.xx.xx:​9081/​TsmVMwareUI
-REGISTER NODE VMPRD_IRIS_LUXEMBOURG ​?***? domain=PRDLUX backdel=yes maxnummp=20 +REGISTER NODE VMPRD_LUXEMBOURG ​?***? domain=PRDLUX backdel=yes maxnummp=20 
-REGISTER NODE VMPRD_IRIS_LUXEMBOURG_DM ​?***? domain=PRDLUX backdel=yes+REGISTER NODE VMPRD_LUXEMBOURG_DM ​?***? domain=PRDLUX backdel=yes
  
 GRANT PROXYNODE target=VMPRD_VCVC agent=VMPRD_VMCLI GRANT PROXYNODE target=VMPRD_VCVC agent=VMPRD_VMCLI
-GRANT PROXYNODE target=VMPRD_IRIS_LUXEMBOURG ​agent=VMPRD_VMCLI,​VMPRD_IRIS_LUXEMBOURG_DM ​ +GRANT PROXYNODE target=VMPRD_LUXEMBOURG ​agent=VMPRD_VMCLI,​VMPRD_LUXEMBOURG_DM ​ 
-GRANT PROXYNODE target=VMPRD_VCVC agent=VMPRD_IRIS_LUXEMBOURG+GRANT PROXYNODE target=VMPRD_VCVC agent=VMPRD_LUXEMBOURG
 </​code>​ </​code>​
  
Line 361: Line 385:
                         Action: Backup                         Action: Backup
                      ​Subaction:​ VM                      ​Subaction:​ VM
-                       ​Options:​ -vmfulltype=vstor -vmbackuptype=fullvm -asnodename=VMPRD_IRIS_LUXEMBOURG ​-domain.vmfull="​VM=HMCv7"​ -MODE=IFIncremental+                       ​Options:​ -vmfulltype=vstor -vmbackuptype=fullvm -asnodename=VMPRD_LUXEMBOURG ​-domain.vmfull="​VM=HMCv7"​ -MODE=IFIncremental
                        ​Objects: ​                        ​Objects: ​
                       Priority: 5                       Priority: 5
Line 374: Line 398:
 </​cli>​ </​cli>​
  
-To define a TSM scheduler for the node VMPRD_IRIS_LUXEMBOURG_DM, take care to the syntax:+To define a TSM scheduler for the node VMPRD_LUXEMBOURG_DM, take care to the syntax:
 <​code>​ <​code>​
-TSM> def sched PRD TEST_VM2 act=b subact=VM options='"​-vmfulltype=vstor -vmbackuptype=fullvm -asnodename=VMPRD_IRIS_LUXEMBOURG ​-domain.vmfull="​VM=HMCv7"​ -MODE=IFIncremental"'​ startt=......+TSM> def sched PRD TEST_VM2 act=b subact=VM options='"​-vmfulltype=vstor -vmbackuptype=fullvm -asnodename=VMPRD_LUXEMBOURG ​-domain.vmfull="​VM=HMCv7"​ -MODE=IFIncremental"'​ startt=......
 </​code>​ </​code>​
  
Line 427: Line 451:
 #PARAM TASK_NAME=test_vm #PARAM TASK_NAME=test_vm
 #PARAM BACKUP_TYPE=TSM_IFINCR #PARAM BACKUP_TYPE=TSM_IFINCR
-#PARAM DATACENTER_NODE_NAME=VMPRD_IRIS_LUXEMBOURG +#PARAM DATACENTER_NODE_NAME=VMPRD_LUXEMBOURG 
-#PARAM OFFLOAD_HOST_NAME=VMPRD_IRIS_LUXEMBOURG_DM+#PARAM OFFLOAD_HOST_NAME=VMPRD_LUXEMBOURG_DM
 .... ....
 </​cli>​ </​cli>​
Line 473: Line 497:
 VMCLI_LOG_DIR ​                     logs VMCLI_LOG_DIR ​                     logs
 DERBY_HOME ​     /​home/​tdpvmware/​tdpvmware DERBY_HOME ​     /​home/​tdpvmware/​tdpvmware
-VE_DATACENTER_NAME ​      IRIS Luxembourg::​VMPRD_IRIS_LUXEMBOURG+VE_DATACENTER_NAME ​      ​Luxembourg::​VMPRD_LUXEMBOURG
 <<<​ <<<​
 </​cli>​ </​cli>​
tsm/tsm_tdpvmware_lnx.1638547000.txt.gz · Last modified: 2021/12/03 16:56 by manu