Tags

,


Before the installation, it is good to get familiar with TSM Data Protection for VMware Architecture.

image

 

OK, let’s roll. Login into the ‘Data Protection for VMware vCenter Plug-in Server’ showing in the first figure. This server plays the role of proxy node for backing up VMware.

You can install only one Data Protection for VMware vCenter plug-in on a machine. As a result, multiple Data Protection for VMware vCenter plug-ins are not allowed on the same machine.

You need to install TSM BA client first if you have not (make sure you include VMware backup tools when install the BA client), then continue the following steps:

image

1) Copy the installation to local and choose X86 0r X64 folder accordingly, then double click the setup.exe.

image

image

image

image

image

(If you get the warning ‘port is busy’, you need to click the Advanced button to change the eWAS port from 9080 to something else, e.g. 9081).

image

image

image

image

image

image

Check the Start menu after the service is back online. You should be able to find the ‘Data Protection for VMware’.

image

2) Login into the vSphere client and check the plug-in manager. The ‘Tivoli Data Protection for VMware Plug-in’ should be installed.

image

Also you should be able to see it in the Home > Solutions and Applications

image

3) There are 4 types of nodes: vCenter node, Data Center node, VCLI node and Data mover node. We need to register all of them in TSM server.

image_thumb33_thumb

image

In my example, I have one vCenter server which only manages one Data Center. And initially I will create two Data Mover for the Data Center. So the nodes that I need to register in TSM server are:

VC1
VC1_DC1
VC1_VCLI1
VC1_DC1_DM1
VC1_DC1_DM2

Firstly, Login into TSM server and create the VMWARE domain and its associated policy, management class and copy group. (just ignore the warning when activate the policy, as I don’t use the migration here).

define domain VMWARE
define policy VMWARE NORMAL desc=”Normal VMware backup policy”
define mgmt VMWARE NORMAL DAILY
define copygroup VMWARE NORMAL DAILY type=backup dest=DEDUPPOOL verexists=7 retextra=30 verd=7 reto=30
define copygroup VMWARE NORMAL DAILY type=archive dest=DEDUPPOOL retver=30
assign defmgmtclass VMWARE NORMAL DAILY
validate policy VMWARE NORMAL
activate policy VMWARE NORMAL

image

Secondly, register the 5 nodes for VMware backup.

register node VC1 ****** domain=VMware
register node VC1_DC1 ****** domain=VMware
register node VC1_VCLI1 ****** domain=VMware
register node VC1_DC1_DM1 ****** domain=VMware
register node VC1_DC1_DM2 ****** domain=VMware

Double check the node has been registered.

image

Lastly, grant the proxy.

grant proxynode target=VC1 agent=VC1_DC1,VC1_VCLI1
grant proxynode target=VC1_DC1 agent=VC1_VCLI1,VC1_DC1_DM1,VC1_DC1_DM2

image

4) Set up TSM BA client for each Data Mover on the VMware backup server

Create the following two option files under ‘C:\Program Files\Tivoli\TSM\baclient’.

Specify the TSM server, Data Mover node name, vCenter name and vCenter username.

VC1_DC1_DM1.opt

** TSM server connection options
TCPSERVERADDRESS TSM_Sandbox
tcpp             1500
PASSWORDACCESS   generate
SCHEDMODE PROMPTED
MANAGEDSERVICES  schedule webclient

** Node name and backup scope
NODENAME         VC1_DC1_DM1

** VMware connection options
VMBACKUPTYPE     FULLVM
VMCHOST          myvCenter
VMCUSER          admin
VMCPW            ****

VC1_DC1_DM2.opt

** TSM server connection options
TCPSERVERADDRESS TSM_Sandbox
tcpp 1500
PASSWORDACCESS generate
SCHEDMODE PROMPTED
MANAGEDSERVICES schedule webclient

** Node name and backup scope
NODENAME VC1_DC1_DM2

** VMware connection options
VMBACKUPTYPE FULLVM
VMCHOST myvCenter
VMCUSER admin
VMCPW ****

Configure the vCenter password

cd “C:\Program Files\Tivoli\TSM\baclient”
dsmc set password -type=vm myvCenter admin ******

Use the ‘Setup Wizard’ in BA client to create scheduler, CAD and web client for the two Data Mover.

image

5) Login into the VMware Backup Server and modify the ‘C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts\vmcliprofile’ to specify your variables.

NOTE: For VE_DATACENTER_NAME entry, you need to use your real DataCenter Name that is showing in your vCenter. e.g If your Data Center name is NewYorkDC, that entry will be: VE_DATACENTER_NAME NewYorkDC:VC1_DC1. Otherwise, your Data Mover dropdown list will be empty in the VE plugin.

image

Open a command line Window, then run the following commands: (****** is the node register password in the above step).

cd “C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts”
echo ******> pwd.txt
vmcli -f set_password -I pwd.txt

image

Run vmcli –f inquire_config ton confirm your settings

image

Then restart the following two services.

image

5) Till now the TSM for VE should be ready. Login into your vSphere client and go the TSM plugin to check if you can see the following page.

image

image

Advertisements