data protection forvmware installation guide · data protection forvmware installation guide. ......

134
IBM Tivoli Storage Manager for Virtual Environments Version 7.1.2 Data Protection for VMware Installation Guide

Upload: lyhuong

Post on 04-May-2018

228 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

IBM Tivoli Storage Manager for Virtual EnvironmentsVersion 7.1.2

Data Protection for VMware InstallationGuide

���

Page 2: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates
Page 3: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

IBM Tivoli Storage Manager for Virtual EnvironmentsVersion 7.1.2

Data Protection for VMware InstallationGuide

���

Page 4: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Note:Before you use this information and the product it supports, read the information in “Notices” on page 113.

Third edition (April 2015)

This edition applies to version 7, release 1, modification 2 of IBM Tivoli Storage Manager for Virtual Environments(product number 5725-A44) and to all subsequent releases and modifications until otherwise indicated in neweditions.

© Copyright IBM Corporation 2011, 2015.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

Page 5: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Contents

About this publication . . . . . . . . vWho should read this publication . . . . . . . vPublications . . . . . . . . . . . . . . v

New for Data Protection for VMwareVersion 7.1.2 . . . . . . . . . . . . vii

Chapter 1. Preparing to install DataProtection for VMware . . . . . . . . 1Installation roadmap. . . . . . . . . . . . 6Required installation permissions . . . . . . . 8Required communication ports . . . . . . . . 9Hardware requirements . . . . . . . . . . 11Environment requirements . . . . . . . . . 12Supported operating systems . . . . . . . . 14

Chapter 2. Installing Data Protection forVMware . . . . . . . . . . . . . . 15Installing all features on Microsoft Windows 64-bit(Typical Installation) . . . . . . . . . . . 16Installing selected features on Microsoft Windows32-bit or 64-bit (Advanced Installation) . . . . . 19Installing selected features on Linux withInstallAnywhere mode . . . . . . . . . . 22

Running a clean installation of Data Protectionfor VMware on Linux . . . . . . . . . . 25

Installing language packs . . . . . . . . . . 26Installing a language pack on Windows . . . . 26Installing a language pack on Windows in silentmode . . . . . . . . . . . . . . . 27Installing a language pack on Linux . . . . . 27

Installing Data Protection for VMware in silentmode . . . . . . . . . . . . . . . . 28

Installing all features on a Windows 32-bitsystem in silent mode with Suite installer . . . 28Installing features on a Windows 64-bit system insilent mode with Suite installer . . . . . . . 29Installing selected Data Protection for VMwarefeatures on a Windows 32-bit system in silentmode . . . . . . . . . . . . . . . 32Installing selected Data Protection for VMwarefeatures on a Windows 64-bit system in silentmode . . . . . . . . . . . . . . . 34Installing selected Data Protection for VMwarefeatures on a Linux system in silent mode . . . 38

Uninstalling Data Protection for VMware . . . . 41Uninstalling Data Protection for VMware withthe Microsoft Windows Installer Tool . . . . . 42Uninstalling Data Protection for VMware for aWindows 32-bit system in silent mode . . . . 42Uninstalling Data Protection for VMware forWindows 64-bit system in silent mode . . . . 43Uninstalling Data Protection for VMware a Linuxsystem . . . . . . . . . . . . . . . 44

Data Protection for VMware log files . . . . . . 45

Chapter 3. Upgrading Data Protectionfor VMware . . . . . . . . . . . . . 47Upgrading Data Protection for VMware fromVersion 7.1.x . . . . . . . . . . . . . . 47Upgrading Data Protection for VMware from TivoliStorage FlashCopy Manager for VMware Version 4.x 49Upgrading Data Protection for VMware from TivoliStorage FlashCopy Manager for VMware Version4.1.x and Data Protection for VMware Version 7.1.x . 50Upgrading Data Protection for VMware on aWindows 32-bit system in silent mode . . . . . 53Upgrading Data Protection for VMware on aWindows 64-bit system in silent mode . . . . . 53Upgrading Data Protection for VMware on a Linuxsystem in silent mode . . . . . . . . . . . 54Upgrading the data mover nodes on the vStorageBackup Server . . . . . . . . . . . . . 54

Chapter 4. Configuring Data Protectionfor VMware . . . . . . . . . . . . . 57Creating an initial configuration with the wizard . . 57Editing an existing configuration with the notebook 59Configuring the Tivoli Storage Manager recoveryagent GUI . . . . . . . . . . . . . . . 60VMware vCenter Server user privilege requirements 65Data Protection for VMware GUI registration keys 69Locale settings . . . . . . . . . . . . . 70Starting and running services for Data Protection forVMware . . . . . . . . . . . . . . . 70

Appendix A. Advanced configurationtasks . . . . . . . . . . . . . . . 73Setting up the Tivoli Storage Manager nodes in avSphere environment . . . . . . . . . . . 73Setting up the data mover nodes in a vSphereenvironment . . . . . . . . . . . . . . 75Setting up the data mover nodes in a vCloudenvironment . . . . . . . . . . . . . . 79Configuring the Data Protection for VMwarecommand-line interface in a vSphere environment . 83vSphere environment command-line interfaceconfiguration checklist. . . . . . . . . . . 85Tape configuration guidelines . . . . . . . . 88Manually configuring an iSCSI device on a Linuxsystem . . . . . . . . . . . . . . . . 91Manually configuring an iSCSI device on aWindows system . . . . . . . . . . . . 94Manually configuring the mount proxy nodes on aLinux system . . . . . . . . . . . . . . 96Manually configuring the mount proxy nodes on aremote Windows system . . . . . . . . . . 98

© Copyright IBM Corp. 2011, 2015 iii

|||

Page 6: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Manually configuring multiple client acceptorservices on a Linux system . . . . . . . . . 100Modifying the VMCLI configuration file . . . . 102

Appendix B. Migrating to anincremental forever backup strategy . 105

Appendix C. Integrating Tivoli StorageManager for Virtual Environmentswith Tivoli Storage FlashCopyManager for VMware . . . . . . . . 109

Appendix D. Accessibility features forthe Tivoli Storage Manager productfamily . . . . . . . . . . . . . . . 111

Notices . . . . . . . . . . . . . . 113

Glossary . . . . . . . . . . . . . 117

Index . . . . . . . . . . . . . . . 119

iv IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 7: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

About this publication

IBM® Tivoli® Storage Manager for Virtual Environments provides off-hostblock-level incremental backup and file recovery and instant restore from a full-VMbackup for Windows and Linux guest machines. Block level incremental backupsare available when you use IBM Tivoli Storage Manager for Virtual Environmentswith the Tivoli Storage Manager backup-archive client. In addition, protection ofvApps and Organization VDCs in a vCloud Director environment is also available.

Who should read this publicationThis publication is intended for users and administrators who want to install andconfigure IBM Tivoli Storage Manager for Virtual Environments.

Overview information, user tasks, backup and restore scenarios, commandreference, and error messages are documented in the IBM Tivoli Storage Manager forVirtual Environments 7.1.2: Data Protection for VMware User's Guide.

PublicationsThe Tivoli Storage Manager product family includes IBM Tivoli StorageFlashCopy® Manager, IBM Tivoli Storage Manager for Space Management, IBMTivoli Storage Manager for Databases, and several other storage managementproducts from IBM.

To view IBM product documentation, see www.ibm.com/support/knowledgecenter.

© Copyright IBM Corp. 2011, 2015 v

Page 8: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

vi IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 9: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

New for Data Protection for VMware Version 7.1.2

The Tivoli Storage Manager for Virtual Environments: Data Protection for VMwareproduct complements other Tivoli Storage Manager for Virtual Environmentsproducts. Documentation updates are available for Tivoli Storage Manager forVirtual Environments: Data Protection for VMware Version 7.1.2.

New and changed information is indicated by a vertical bar (|) to the left of thechange.

Set VMware vCenter Server user privilegesYou can view updated vCenter Server user privileges that are required torun Data Protection for VMware operations. For instructions, see “VMwarevCenter Server user privilege requirements” on page 65.

Install language packs on Windows in silent modeYou can now install a language pack on a Windows operating system insilent mode. For instructions, see “Installing a language pack on Windowsin silent mode” on page 27.

Prevent a Tivoli Storage Manager Recovery Agent connection timeoutView updated instructions on how to prevent a connection timeout whenyou use the recovery agent in an iSCSI network without a data mover. Forinstructions, see Step 6 in “Configuring the Tivoli Storage Managerrecovery agent GUI” on page 60.

© Copyright IBM Corp. 2011, 2015 vii

||

||||

||||

|||||

Page 10: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

viii IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 11: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Chapter 1. Preparing to install Data Protection for VMware

Review product information before you attempt to install Data Protection forVMware.

Data Protection for VMware eliminates the impact of running backups on a VM byoffloading backup workloads from a VMware ESX or ESXi-based host to avStorage Backup server. Data Protection for VMware works with the Tivoli StorageManager backup-archive client (installed on the vStorage Backup server) tocomplete full and incremental backups of VMs. The client node installed on thevStorage Backup server is called the data mover node. This node "moves" the datato the Tivoli Storage Manager server for storage, and for VM image-level restore ata later time. Instant restore is available at the disk volume level and full VM level.In addition, protection of vApps and organization vDCs in a vCloud Directorenvironment is also available.

The Tivoli Storage Manager backup-archive client is a separately licensedcomponent that contains its own user interfaces and documentation. Familiaritywith this product and its documentation is necessary in order to adequatelyintegrate a comprehensive plan for protecting your VMs with Data Protection forVMware. Tivoli Storage Manager for Virtual Environments for Microsoft Windows64-bit includes the Tivoli Storage Manager backup-archive client data moverfeatures on the product DVD or download package.

© Copyright IBM Corp. 2011, 2015 1

Page 12: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Data Protection for VMware provides several components to assist with protectingyour VMs.

IBM Data Protection extension

This component is a vSphere Web Client extension that connects to a DataProtection for VMware vSphere GUI (web GUI) to restore virtual machines in IBMstorage. It provides the basic virtual machine restore functionality that is availablein the Data Protection for VMware vSphere GUI. For example, you can restorevirtual machines from Tivoli Storage Manager server storage to their original (oralternate) location. When Tivoli Storage FlashCopy Manager for VMware isavailable, you can restore your virtual machines from local disk storage.

Web browser

vCenterServer

vStorage API(VADP)

Proxy

Tivoli StorageManager

server

Storage hierarchy

vStorage backup server

Data Protection forVMware vSphere

GUI

Data Protection forVMware CLI

Tivoli StorageManager

API

Tivoli StorageManager

Recovery Agent

Data mover(Tivoli Storage

Managerbackup-archive

client)Guestmachines

Host machines(ESX, ESXi)

VMDKVMFSNAS/local

Datastore

SAN

DatastoreDatastore

vSphereclient

Data Protectionfor VMwarevSphere GUI plug-in

IBM Data Protectionextension

(in VMware vSphereWeb Client)

Figure 1. Tivoli Storage Manager for Virtual Environments system components in a VMware vSphere user environment

2 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 13: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

To access the IBM Data Protection extension function, click Register the vSphereWeb Client extension during installation.

Data Protection for VMware vSphere GUI

This component is a graphical user interface (GUI) that accesses VM data on theVMware vCenter Server. This GUI is accessed by the following methods:v A stand-alone web browser GUI. This GUI is accessed through a URL bookmark

to the GUI web server. For example:https://guihost.mycompany.com:9081/TsmVMwareUI/

v A vSphere Web Client extension that connects to a GUI web server to accessvirtual machines in IBM storage (referred to as the IBM Data Protectionextension). The content is a subset of what is provided in the plug-in and webbrowser GUI.

v A plug-in that integrates with the VMware vSphere Client. This plug-in isaccessed as a vCenter Server extension in the Solutions and Applications panelof your vCenter Server System.

Tip: The plug-in access method is not supported in a VMware vSphere 6environment.

You can specify one or more access methods during installation.

The Data Protection for VMware vSphere GUI is the primary interface from whichto complete these tasks:v Initiate a backup of your VMs to a Tivoli Storage Manager server, or schedule a

backup for a later time.v Initiate a full recovery of your VMs from a Tivoli Storage Manager server.v Issue reports about the progress of your tasks, the most recent events that

completed, backup status, and space usage. This information can help youtroubleshoot your backups.

Important: Information about how to complete tasks with the Data Protection forVMware vSphere GUI is provided in the online help that is installed with the GUI.Click Learn More in any of the GUI windows to open the online help for taskassistance.

The Data Protection for VMware vSphere GUI can be installed on any system thatmeets the operating system prerequisites. The Data Protection for VMware vSphereGUI resource requirements are minimal as it does not process I/O data transfers.Installing the Data Protection for VMware vSphere GUI on the vStorage BackupServer is the most common configuration.

You can register multiple Data Protection for VMware vSphere GUIs to a singlevCenter Server. This scenario reduces the number of datacenters (and their VMguest backups) that are managed by a single VMware Data Protection for VMwarevSphere GUI. Each plug-in can then manage a subset of the total number ofdatacenters that are defined on the vCenter Server. For each plug-in that isregistered to the vCenter Server, one Data Protection for VMware package must beinstalled on a separate host. To update the managed datacenters, go toConfiguration > Edit TSM Configuration. In the GUI Domain page, reduce thelist of datacenters that are managed by the plug-in. Managing a subset of allavailable datacenters reduces the query and processing time that is required by theplug-in to complete operations.

Chapter 1. Preparing to install Data Protection for VMware 3

|||

||

Page 14: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

When you register multiple Data Protection for VMware vSphere GUIs to a singlevCenter Server, the following guidelines apply:v Each datacenter can be managed by only one installed Data Protection for

VMware vSphere GUI.v A unique VMCLI node name is required for each installed Data Protection for

VMware vSphere GUI.v Using unique data mover node names for each installed Data Protection for

VMware vSphere GUI simplifies managing the nodes.

The Data Protection for VMware vSphere GUI must have network connectivity tothe following systems:v vStorage Backup Serverv Tivoli Storage Manager serverv vCenter Server

In addition, ports for the Derby Database (default 1527) and GUI web server(default 9081) must be available.

Tivoli Storage Manager recovery agent

This service enables the mounting of any snapshot volume from the Tivoli StorageManager server. You can view the snapshot locally, with read-only access, on theclient system, or use an iSCSI protocol to access the snapshot from a remotecomputer. In addition, the recovery agent provides the instant restore function. Avolume used in instant restore processing remains available while the restoreprocess proceeds in the background. The recovery agent is accessed with therecovery agent GUI or command-line interface.

The recovery agent command-line interface is installed on a Windows system toperform the following tasks from a remote machine:v Gather information about available restorable data, including lists of:

– Backed-up VMs– Snapshots available for a backed-up machine– Partitions available in a specific snapshot

v Mount a snapshot as a virtual device.v Get a list of virtual devices.v Remove a virtual device.

Data Protection for VMware command-line interface

The Data Protection for VMware CLI is a full-function command-line interface thatis installed with the Data Protection for vSphere GUI. You can use it to completethese tasks:v Initiate a backup of your VMs to a Tivoli Storage Manager server, or schedule a

backup for a later time.v Initiate a full recovery of your VMs, VM files, or VM Disks (VMDKs) from a

Tivoli Storage Manager server.v View configuration information about the backup database and environment.

Although the Data Protection for vSphere GUI is the primary task interface, theData Protection for VMware CLI provides a useful secondary interface. Forexample, it can be used to implement a scheduling mechanism different from theone implemented by the Data Protection for vSphere GUI. Also, it is useful when

4 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 15: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

evaluating automation results with scripts.

Data Protection for VMware vCloud GUI

This component is a GUI that protects vApps and organization vDCs in a vCloudDirector environment. This GUI is accessed through a URL bookmark to the GUIweb server. For example:https://guihost.mycompany.com:9081/TsmVMwareUI/

The Data Protection for VMware vCloud GUI is the primary interface from whichto complete these tasks:v Run immediate or schedule incremental forever backups of specific vApps, or

vApps contained in an organization vDC to Tivoli Storage Manager serverstorage.

v Restore single or multiple vApps.v Generate reports to display progress information about your tasks and space

usage information about your backups.

Tivoli�StorageManager�server

Storage�hierarchy

DB2database

Physical�resources

Network DataStores ESXi�servers

vSphere�VMs

vCloud�vApps Service�VMs

vShield

vCloudConnector

vCloud

vCenter

Data�Protectionfor�VMware

Recovery Agent

Data�Protectionfor�VMware

Recovery Agent

Data�mover(Tivoli�Storage

Managerbackup-archive

client)

Data�mover(Tivoli�Storage

Managerbackup-archive

client)

Data�Protection�forVMware�vCloud�GUI

Data�Protection�forVMware�CLI

GUI�webserver

DerbyDatabase

Figure 2. Tivoli Storage Manager for Virtual Environments system components in a VMware vCloud Director userenvironment

Chapter 1. Preparing to install Data Protection for VMware 5

Page 16: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v Display information about the progress of your tasks, the most recent events thatcompleted, the backup status of your vApps, and space usage. This informationcan help you troubleshoot errors that occurred in backup processing.

Important: Information about how to complete tasks with the Data Protection forVMware vCloud GUI is provided in the online help that is installed with the GUI.Click Learn More in any of the GUI windows to open the online help for taskassistance.

Installation roadmapThis list of prerequisites, installation, and configuration tasks guides you throughthe complete installation process.

Tip: To assist with planning the quantity of proxy hosts required for your specificTivoli Storage Manager for Virtual Environments backup environment, thefollowing publication is available on the Tivoli Storage Manager Wiki:Step by Step Guide To vStorage Backup Server (Proxy) SizingThis publication is available in the Tivoli Storage Manager for VirtualEnvironments product section.

Windows

Install all features on a single Microsoft Windows 64-bit system(Typical Installation)

Table 1. Installation tasks for new Data Protection for VMware customer

Step Task Get started here

1Check operating system requirements Make sure the system on which Data

Protection for VMware is to be installedmeets the system requirements.

2Check user permission requirements Avoid potential installation errors or

delays by using the required userpermission levels.

3

Check availability of requiredcommunication ports

Prevent installation failure or delays byopening the required communicationports before you attempt to install DataProtection for VMware.

4

Install all features on a single MicrosoftWindows 64-bit system

Each installation package presents youwith a user licensing file (EULA). If youdo not accept the file, the installationends.

5

Configure Data Protection for VMware Use the configuration wizard for aninitial configuration. Depending on thefeatures that are installed, moreconfiguration tasks might be required asdescribed in this section.

Windows

6 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 17: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Install selected features on Microsoft Windows 32-bit or 64-bit(Advanced Installation)

Table 2. Installation tasks for new Data Protection for VMware customer

Step Task Get started here

1Check operating system requirements Make sure the system on which Data

Protection for VMware is to be installedmeets the system requirements.

2Check user permission requirements Avoid potential installation errors or

delays by using the required userpermission levels.

3

Check availability of requiredcommunication ports

Prevent installation failure or delays byopening the required communicationports before you attempt to install DataProtection for VMware.

4

Install selected features on MicrosoftWindows 32-bit or 64-bit

Each installation package presents youwith a user licensing file (EULA). If youdo not accept the file, the installationends.

5

Configure Data Protection for VMware Use the configuration wizard for aninitial configuration. Depending on thefeatures that are installed, moreconfiguration tasks might be required asdescribed in this section.

Linux

Install selected features on Linux with InstallAnywhere mode

Table 3. Installation tasks for new Data Protection for VMware customer

Step Task Get started here

1Check operating system requirements Make sure the system on which Data

Protection for VMware is to be installedmeets the system requirements.

2Check user permission requirements Avoid potential installation errors or

delays by using the required userpermission levels.

3

Check availability of requiredcommunication ports

Prevent installation failure or delays byopening the required communicationports before you attempt to install DataProtection for VMware.

4

Installing selected features on a Linuxsystem with InstallAnywhere mode

Each installation package presents youwith a user licensing file (EULA). If youdo not accept the file, the installationends.

5

Configure Data Protection for VMware Use the configuration wizard for aninitial configuration. Depending on thefeatures that are installed, moreconfiguration tasks might be required asdescribed in this section.

Linux Windows

Chapter 1. Preparing to install Data Protection for VMware 7

Page 18: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Existing Data Protection for VMware customer installationroadmap

Table 4. Installation tasks for existing Data Protection for VMware customer

Step Task Get started here

1Check operating system requirements Make sure the system on which Data

Protection for VMware is to be installedmeets the system requirements.

2Check user permission requirements Avoid potential installation errors or

delays by using the required userpermission levels.

3

Check availability of requiredcommunication ports

Prevent installation failure or delays byopening the required communicationports before you attempt to install DataProtection for VMware.

4

Upgrade Data Protection for VMware You can upgrade Data Protection forVMware from a previous version of thesoftware. Upgrading Data Protection forVMware also requires upgrading othercomponents, such as Tivoli StorageFlashCopy Manager for VMware orTivoli Storage Manager backup-archiveclient.

5Configure Data Protection for VMware Depending on the components that are

installed, more configuration tasks mightbe required as described in this section.

Required installation permissionsBefore you begin to install Data Protection for VMware, ensure that your user IDcontains the required permission level.

About this task

Table 5. Users permissions required to install and configure Data Protection for VMware

System Required permission

Windows Administrator

Linux Root

vCenter Server

Administrator privileges

The vCenter Server role requires these privileges:Extension > Register extension, Unregister extension,Update extension This new role must be applied to thevCenter object in the VMware vCenter Server hierarchy

for the user ID that is specified during installation.

Tivoli Storage Manager server

(This server must be availableand running.)

Administrative access

(System or Unrestricted Policy Domain privilege)

8 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 19: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Required communication portsView a list of communication ports that are required to be open in the firewallwhen you install Data Protection for VMware.

Table 6. Required communication ports. This table identifies the ports that are accessed byData Protection for VMware.

TCP Port Initiator: Out-Bound (From Host) Target: In-Bound (To Host)

443 vStorage Backup Server vCenter Server (secure HTTP)

443 Data Protection for VMware vSphereGUI Server

vCenter Server

902

443

vCenter Server ESXi hosts

902

443

vStorage Backup Server (proxy) ESXi hosts (all protected hosts)

1500(tcpport)

vStorage Backup Server (proxy) Tivoli Storage Manager Server

1500(tcpadminport)

Data Protection for VMware vSphereGUI Server

v 1500 (tcpadminport) is non-SSLcommunication

v For SSL communication,tcpadminport is the only port thatsupports SSL communication withthe Tivoli Storage Manager server.The correct port number to use forthe SSL protocol is typically thevalue that is specified by thessltcpadminport option in the TivoliStorage Manager server dsmserv.optfile. However, if adminonclient no isspecified in the dsmserv.opt file,then the correct port number to usefor the SSL protocol is the value thatis specified by the ssltcpadminportoption. The ssltcpadminport optiondoes not have a default value.Therefore, the value must bespecified by the user.

Tivoli Storage Manager Server

1501

1581(httpport)

Tivoli Storage Manager server vStorage Backup Server

v backup-archive clientscheduler

v Web client

v Client Acceptor Daemon

1581(httpport)

1582, 1583(webports)

Data Protection for VMware vSphereGUI Server

vStorage Backup Server

9080 vSphere Client Data Protection for VMwarevSphere GUI Server (HTTP portfor access to vCenter as plug-in)

Chapter 1. Preparing to install Data Protection for VMware 9

Page 20: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 6. Required communication ports (continued). This table identifies the ports that areaccessed by Data Protection for VMware.

TCP Port Initiator: Out-Bound (From Host) Target: In-Bound (To Host)

9081 vSphere Client Data Protection for VMwarevSphere GUI Server (secureHTTPS port for access tovCenter through web browser)

22 Linux Tivoli Storage Manager recoveryagent

Data Protection for VMwareWindows "mount" host

v SSH for Linux Tivoli StorageManager recovery agent

3260 Linux Data Protection for VMwarefile-level recovery

Data Protection for VMwareWindows "mount" host

v iSCSI

3260 Windows target with Dynamic disk forfile-level recovery

Data Protection for VMwareWindows "mount" host

v iSCSI

10 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 21: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Hardware requirementsTo implement Data Protection for VMware components, your system must meetappropriate hardware requirements.

Hardware requirements vary and depend on the following items:v Number of protected serversv Number of protected volumesv Data set sizesv LAN and SAN connectivity

ESXi hosts

vStorage backup server

vCenter server

Data Protection for VMwareGUI server

Tivoli Storage Manager server

WINDOWSData Protection for

VMwareiSCSI mount

process owner

LINUXData Protection for

VMwareFile level recoveryusing iSCSI mount

443

443

9080, 9081

WINDOWSData Protection for

VMwareFile level recovery using iSCSI mount

1500

1581, 1582, 1583

1500

1500

1501, 1581

22, 3260

3260

443, 902

443, 902

Figure 3. Communication ports that are accessed by Data Protection for VMware

Chapter 1. Preparing to install Data Protection for VMware 11

Page 22: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Note: The Tivoli Storage Manager recovery agent component does not supportoperations in a LAN-free environment.

The following table describes the hardware requirements that are needed to installData Protection for VMware.

Table 7. Hardware requirements for Data Protection for VMware.

Component Minimal requirement Preferred

System IntelPentium D 3 GHz DualCore processor or compatible

Not applicable

Memory 2 GB RAM, 2 GB virtualaddress space

Not applicable

Available hard disk 200 MB for 'Documents andSettings' folder

2 GB

NIC Card 1 NIC - 100 Mbps 1 NIC - 1 Gbps

A Windows proxy host is required for Tivoli Storage Manager recovery agent onLinux. This Windows proxy host must have the Tivoli Storage Manager recoveryagent installed.

Restriction: Each individual VMDK involved in a backup operation cannot exceed2 TB. If a VMDK exceeds 2 TB, the backup operation fails. To prevent a failure,you can skip processing the VMDK by specifying the vmskipmaxvmdks yes in theTivoli Storage Manager backup-archive client options file.

Environment requirementsEnsure that the environment meets these requirements before you install TivoliStorage Manager for Virtual Environments.

Microsoft Windows 32-bit environment requirements

The following environment is required to install Tivoli Storage Manager for VirtualEnvironments on a Microsoft Windows 32-bit system:v A user ID with administrator privilege access.v Network connectivity to a VMware vCenter Server 5.x (or later) with

administrator privilege access.v Network connectivity to a Tivoli Storage Manager server with administrator

access (System or Unrestricted Policy Domain privilege). This server must beavailable and running.

v The Oracle Java™ Runtime Environment (JRE) is not part of the setup.exe file,and it is located under the Extra directory. To install the JRE, you must have theproduct DVD. If you did not install the JRE, you must run the setup.exe fromthe DVD so that the JRE can be copied to C:\Program Files\Tivoli\TSM\TDPVMware directory. The JRE is installed if you install the Tivoli Storage Managerrecovery agent.

The following directories are the default installation locations for these TivoliStorage Manager for Virtual Environments features:v Tivoli Storage Manager recovery agent:

C:\Program Files (x86)\Tivoli\TSM\recoveryagent\mount

12 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 23: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v Tivoli Storage Manager recovery agent CLI:C:\Program Files (x86)\Tivoli\TSM\recoveryagent\shell

v Data Protection for VMware vSphere GUI:C:\IBM\tivoli\tsm\tdpvmware\webserver\

v Data Protection for VMware vCloud GUI:C:\IBM\tivoli\tsm\tdpvmware\webserver\

v Tivoli Storage Manager backup-archive client:C:\Program Files (x86)\Tivoli\TSM\baclient\

Microsoft Windows 64-bit environment requirements

The following environment is required to install Tivoli Storage Manager for VirtualEnvironments on a Microsoft Windows 64-bit system:v A user ID with administrator privilege access.v Network connectivity to a VMware vCenter Server 5.x (or later) with

administrator privilege access.v Network connectivity to a Tivoli Storage Manager server with administrator

access (System or Unrestricted Policy Domain privilege). This server must beavailable and running.

v The following TCP ports must be open and available:– 1527: Internal Derby Database– 9081: GUI web server (HTTPS protocol)

The Data Protection for VMware vSphere GUI uses this port to access thevCenter through a web browser.The Data Protection for VMware vCloud GUI uses this port to access thevCloud through a web browser.

The following directories are the default installation locations for these TivoliStorage Manager for Virtual Environments features:v Tivoli Storage Manager recovery agent:

C:\Program Files\Tivoli\TSM\recoveryagent\mount

v Tivoli Storage Manager recovery agent CLI:C:\Program Files\Tivoli\TSM\recoveryagent\shell

v Data Protection for VMware vSphere GUI:C:\IBM\tivoli\tsm\tdpvmware\webserver\

v Data Protection for VMware vCloud GUI:C:\IBM\tivoli\tsm\tdpvmware\webserver\

v Tivoli Storage Manager backup-archive client:C:\Program Files\Tivoli\TSM\baclient\

Linux 64-bit environment requirements

The following environment is required to install Tivoli Storage Manager for VirtualEnvironments on a Linux 64-bit system:v Make sure that the user ID has the required permission level and that the

required communication ports are open before you proceed.v The installation process creates user tdpvmware. You must issue all vmcli

commands as user tdpvmware, and with root user ID.v X Window Server is required when you install in console mode.v The following TCP ports must be open and available:

– 22: SSH default port for Tivoli Storage Manager recovery agent

Chapter 1. Preparing to install Data Protection for VMware 13

Page 24: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

– 3260: iSCSI default port for Tivoli Storage Manager recovery agent– 1527: Internal Derby Database– 9081: GUI web server (HTTPS protocol)

The Data Protection for VMware vSphere GUI uses this port to access thevCenter through a web browser.The Data Protection for VMware vCloud GUI uses this port to access thevCloud through a web browser.

The following directories are the default installation locations for these TivoliStorage Manager for Virtual Environments features:v Tivoli Storage Manager recovery agent:

/opt/tivoli/tsm/tdpvmware/mount

v Data Protection for VMware vSphere GUI:/opt/tivoli/tsm/tdpvmware/common/webserver/

v Data Protection for VMware vCloud GUI:/opt/tivoli/tsm/tdpvmware/common/webserver/

v Tivoli Storage Manager backup-archive client:/opt/tivoli/tsm/client/ba/bin

Supported operating systemsTo implement Data Protection for VMware components, your system must meetappropriate operating system requirements.

Important: Details of the software and operating system requirements can changeover time. For current software requirements, see the Hardware and SoftwareRequirements: Data Protection for VMware technote at http://www.ibm.com/support/docview.wss?uid=swg21505139

14 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 25: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Chapter 2. Installing Data Protection for VMware

Before installing or upgrading Data Protection for VMware, verify that your systemmeets all operating system, hardware, and software requirements.

Before you begin

For the system requirements, see “Supported operating systems” on page 14 forcomplete details about supported versions.

Important: Each installation package presents you with an user licensing file(EULA). If you do not accept the file, the installation ends.

About this task

Depending on your operating system environment, the following Data Protectionfor VMware components are available for installation:

Table 8. Available Data Protection for VMware features by operating system

Component Linux Windows

Tivoli Storage Manager recovery agent

Provides virtual mount and instant restore capabilities.Used in Microsoft Exchange Server and SQL Serverdatabase-level restore from application protectionbackups.

' '

Recovery Agent command-line interface

Command-line interface used for mount operations.

'RecoveryAgentShell.exe

Documents

Installs the readme file and notices file.

' '

Data Protection for VMware Enablement File

Enables Tivoli Storage Manager to run the followingbackup types:

v Periodic incremental VM backup

v Full VM incremental-forever backup

v Incremental-forever-incremental VM backup

It is also required for application protection. If youoffload backup workloads, this file must be installedon the vStorage Backup Server.

' '

Data Protection for VMware vSphere GUI

Provides a web-based GUI that is accessible as aplug-in with the VMware vSphere client or directlythrough a web browser. Use this GUI to back up,restore, and manage VMs in the vCenter. Includes theData Protection for VMware command-line interface.

' '1

© Copyright IBM Corp. 2011, 2015 15

||||

Page 26: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 8. Available Data Protection for VMware features by operating system (continued)

Component Linux Windows

Data Protection for VMware vCloud GUI

Provides a web-based GUI that protects and managesvApps and organization vDC in a vCloud Directorenvironment. Includes the Data Protection for VMwarecommand-line interface.

' '1

Data mover

The Tivoli Storage Manager backup-archive clientinstalled on the vStorage Backup server.

' '1

Note: Windows 1. Not available for 32-bit operating systems.

Data Protection for VMware offloads the backup workload from VMs to a vStorageBackup Server. To accomplish this task, the Tivoli Storage Manager backup-archiveclient V7.1.2 must be installed on the vStorage Backup Server.

Installing all features on Microsoft Windows 64-bit (Typical Installation)Install all Tivoli Storage Manager for Virtual Environments and data moverfeatures on a single Windows 64-bit system from the product DVD, or otherinstallation media.

Before you begin

This procedure installs all the features from the following two applications:

Table 9. Available features on Microsoft Windows 64-bit

Tivoli Storage Manager for VirtualEnvironments features

Tivoli Storage Manager backup-archiveclient features

-Tivoli Storage Manager Recovery Agent-Recovery Agent Command-Line Interface-Documentation-Data Protection for VMware EnablementFile-Data Protection for VMware vSphereor vCloud GUI

-Backup-Archive Client GUI Files-Backup-Archive Client Web Files-Client API (64-bit) Runtime Files-Administrative Client CommandLine Files-VMware vStorage API runtime files

About this task

To install Tivoli Storage Manager for Virtual Environments on a MicrosoftWindows 64-bit system, complete the following tasks:

Procedure1. Either insert the Tivoli Storage Manager for Virtual Environments product

DVD into the DVD drive or download the image from IBM PassportAdvantage®.

2. To start the installation program, double-click the DVD\x64\setup.exe file.Choose the language for the installation process, then click Next.

3. On the Installation Type page, click Typical Installation.The program begins installing the Tivoli Storage Manager backup-archiveclient data mover and Tivoli Storage Manager for Virtual Environments. This

16 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 27: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

process might take several minutes to complete. When the Welcome to theInstallShield Wizard page displays, click Next.

4. On the Software License Agreement page, read the terms of the licenseagreement. Click I accept the terms in the license agreement. If you do notaccept the terms of the license agreement, the installation ends. Click Next

5. On the Environment Protection page, select one of the following protectiontypes:v To protect data in a vSphere environment, click vSphere Protection.

This option installs the Data Protection for VMware vSphere GUI. This GUIintegrates the product with the VMware vSphere client to back up, restore,and manage VMs in a VMware vCenter environment. It includes the DataProtection for VMware command-line interface. You can install only oneData Protection for VMware vSphere GUI on a system. As a result, multipleData Protection for VMware vSphere GUIs are not allowed on the samesystem.

v To protect data in a vCloud Director environment, click vCloud Protection.This option installs the Data Protection for VMware vCloud GUI. This GUIintegrates the product with the vCloud Director environment to back up,restore, and manage vApps and organization virtual data centers (vDCs). Itincludes the Data Protection for VMware command-line interface.

After installation completes, the environment protection type cannot bechanged except by reinstalling the product. Click Next to continue.

6. (vSphere Protection only) On the vSphere Protection GUI Information page,select one or more of the following GUI access methods:v To access the GUI in a web browser, click Enable access to the GUI by a

web browser.The Data Protection for VMware vSphere GUI is accessed through a URLbookmark to the GUI web server.

v To access the GUI as an extension accessible in the VMware vSphere WebClient, click Register the vSphere Web Client extension.

v To access the GUI as a plug-in extension on the Solutions and Applicationspanel of your vCenter Server System, click Register GUI as vCenterPlug-in.

Tip: The plug-in access method is not supported in a VMware vSphere 6environment.

After you select the GUI access method, click Next.7. Register the GUI to the appropriate server:

v If you clicked vCloud Protection on the Environment Protection page,specify the vCloud Server IP address or name. Then, click Next andproceed to Step 8.

v If you clicked vSphere Protection on the Environment Protection page,complete the following tasks:a. Enter the vCenter Server IP address or name.b. Enter the vCenter user ID. This user ID must be a VMware

administrator that has permission to register and unregister extensions.c. Enter the vCenter password.d. Set the communication ports:

Chapter 2. Installing Data Protection for VMware 17

||

||

||

|||

||

Page 28: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

To accept the default port values for the internal Derby Database (1527)and GUI web server (HTTP protocol 9080, HTTPS protocol 9081), clickNext and proceed to Step 8.To modify the port values, click Advanced, and complete the followingtasks:1) Enter the TCP/IP port number for the Derby Database, and click

Next.2) Enter the port for the GUI web server HTTP protocol.3) Enter the port for the GUI web server HTTPS protocol.4) Enter the keystore password for the GUI web server. The password

must be a minimum of six valid characters (a-z A-Z 0-9).5) The installation process generates a self-signed SSL certificate. Enter

the number of years to keep this SSL certificate active. The defaultvalue is 10.

After you set the communication ports, click Next.8. Click Install to begin installing Tivoli Storage Manager for Virtual

Environments on your system.

Tip: The installation process might take several minutes to complete.

Important: When the Tivoli Storage Manager recovery agent is selected forinstallation, you are prompted to install the IBM Virtual Volume driver. Thisdriver is required for mount operations. Click Yes to install the driver. If youdo not install the driver now, you are prompted again to install it when youattempt to mount a volume.

9. After the installation completes, restart your system.10. After your system restarts, log on and complete the following task for your

environment:v (vSphere Protection) If you clicked Enable access to the GUI by a web

browser in Step 6, the Data Protection for VMware vSphere GUI opens in aweb browser with the following URL:https://<hostname where GUI is installed>:<HTTPS port>/TsmVMwareUI

Log on to this GUI with the vCenter user ID and password.If you did not select Enable access to the GUI by a web browser in Step 6,start the VMware vSphere Client and log on with the vCenter user ID andpassword. In the Solutions and Applications panel of the vSphere Client,click the Data Protection for VMware vSphere GUI icon to start the GUI.

v (vCloud Protection) The Data Protection for VMware vCloud GUI opens ina web browser with the following URL:https://<hostname where GUI is installed>:<HTTPS port>/TsmVMwareUI

Log on to this GUI with the vCloud Director user ID and password.

18 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 29: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Installing selected features on Microsoft Windows 32-bit or 64-bit(Advanced Installation)

Install only the Tivoli Storage Manager for Virtual Environments and data moverfeatures that you select on a Windows 32-bit or 64-bit system from the productDVD, or other installation media.

Before you begin

During the installation, you select which features to install from the following twoapplications:

Table 10. Available features on Microsoft Windows 64-bit

Tivoli Storage Manager for VirtualEnvironments features

Tivoli Storage Manager backup-archiveclient features

-Tivoli Storage Manager Recovery Agent-Recovery Agent Command-Line Interface-Documentation-Data Protection for VMware EnablementFile-Data Protection for VMware vSphereor vCloud GUI

-Backup-Archive Client GUI Files-Backup-Archive Client Web Files-Client API (64-bit) Runtime Files-Administrative Client CommandLine Files-VMware vStorage API runtime files

Table 11. Available features on Microsoft Windows 32-bit

Tivoli Storage Manager for Virtual Environments features (32-bit)

-Tivoli Storage Manager Recovery Agent-Recovery Agent Command-Line Interface-Documentation-Data Protection for VMware EnablementFile

About this task

To install Tivoli Storage Manager for Virtual Environments on a MicrosoftWindows 32-bit or 64-bit system, complete the following tasks:

Procedure1. (32-bit and 64-bit) Either insert the Tivoli Storage Manager for Virtual

Environments product DVD into the DVD drive or download the image fromIBMPassport Advantage.

2. (32-bit and 64-bit) To start the installation program, double-click the file foryour operating system:v (32-bit) DVD\x86\setup.exev (64-bit) DVD\x64\setup.exea. Choose the language for the installation process, then click Next.b. On the Welcome page, verify that the requirements are met, then click

Next.3. (32-bit and 64-bit) On the Installation Type page, click Advanced Installation.

Note:

v (32-bit) The Typical Installation type is not available for 32-bit systems.

Chapter 2. Installing Data Protection for VMware 19

Page 30: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v (64-bit) If you want to install all available features, click Back, then clickTypical Installation. Follow the instructions that are provided in “Installingall features on Microsoft Windows 64-bit (Typical Installation)” on page 16.

4. (32-bit and 64-bit) On the Advanced Installation page, complete the followingtask for your operating system:v (32-bit) Click Install Tivoli Storage Manager recovery agent only and

proceed to Step 8.v (64-bit) Click one of the following installation types:

Customized InstallationSelect this type if you know which features you want to install. Bydefault, all features are selected.

Install Data Protection for VMware vSphere or vCloud GUI onlySelect this type to install the Data Protection for VMware vSphereor vCloud GUI with no other features (such as the data mover).Since a Data Mover is required for backup and restore operations, itmust be installed separately if this type is selected.

Install Data Protection for VMware Instant Restore onlySelect this type to install features that run instant restores of fullVMs (Recovery Agent CLI), restore files from a VM (RecoveryAgent GUI), or restore SQL databases from a VM.

Install the Data Mover onlySelect this type to install the Data Mover on this system. If the DataProtection for VMware vSphere GUI or Data Protection for VMwarevCloud GUI is also installed on this system, use the GUIconfiguration wizard to create a data mover node and associatedservices.

Install Tivoli Storage Manager recovery agent onlySelect this type to install the Tivoli Storage Manager recovery agentfeature that mounts a database for an in-guest file-level restore froma VM.

5. (64-bit) On the Environment Protection page, select one of the followingprotection types:v To protect data in a vSphere environment, click vSphere Protection.

This option installs the Data Protection for VMware vSphere GUI. This GUIintegrates the product with the VMware vSphere client to back up, restore,and manage VMs in a VMware vCenter environment. It includes the DataProtection for VMware command-line interface. You can install only oneData Protection for VMware vSphere GUI on a system. As a result, multipleData Protection for VMware vSphere GUIs are not allowed on the samesystem.

v To protect data in a vCloud Director environment, click vCloud Protection.This option installs the Data Protection for VMware vCloud GUI. This GUIintegrates the product with the vCloud Director environment to back up,restore, and manage vApps and organization virtual data centers (vDCs). Itincludes the Data Protection for VMware command-line interface.

After installation completes, the environment protection type cannot bechanged except by reinstalling the product. Click Next to continue.

6. (64-bit) vSphere Protection only: On the vSphere Protection GUI Informationpage, select one or more of the following GUI access methods:

20 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 31: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v To access the GUI in a web browser, click Enable access to the GUI by aweb browser.The Data Protection for VMware vSphere GUI is accessed through a URLbookmark to the GUI web server.

v To access the GUI as an extension accessible in the VMware vSphere WebClient, click Register the vSphere Web Client extension.

v To access the GUI as a plug-in extension on the Solutions and Applicationspanel of your vCenter Server System, click Register GUI as vCenterPlug-in.

Tip: The plug-in access method is not supported in a VMware vSphere 6environment.

After you select the access method, click Next.7. (64-bit) Register the GUI to the appropriate server:

v If you clicked vCloud Protection on the Environment Protection page,specify the vCloud Server address or name. Then, click Next and proceed toStep 8.

v If you clicked vSphere Protection on the Environment Protection page,complete the following tasks:a. Enter the vCenter Server IP address or name.b. Enter the vCenter user ID. This user ID must be a VMware

administrator that has permission to register and unregister extensions.c. Enter the vCenter password.d. Set the communication ports:

To accept the default port values for the internal Derby Database (1527)and GUI web server (HTTPS protocol 9081), click Next and proceed toStep 8.To modify the port values, click Advanced, and complete the followingtasks:1) Enter the TCP/IP port number for the Derby Database, and click

Next.2) Enter the port for the GUI web server HTTP protocol.3) Enter the port for the GUI web server HTTPS protocol.4) Enter the keystore password for the GUI web server. The password

must be a minimum of six valid characters (a-z A-Z 0-9).5) The installation process generates a self-signed SSL certificate. Enter

the number of years to keep this SSL certificate active. The defaultvalue is 10.

After you set the communication ports, click Next.8. (32-bit and 64-bit) Click Install to begin installing the selected features on

your system.

Tip: The installation process might take several minutes to complete.

Important: (32-bit) When the Tivoli Storage Manager recovery agent isselected for installation, you are prompted to install the IBM Virtual Volumedriver. This driver is required for mount operations. Click Yes to install thedriver. If you do not install the driver now, you are prompted again to installit when you attempt to mount a volume.

9. (32-bit and 64-bit) After the installation completes, click Finish.

Chapter 2. Installing Data Protection for VMware 21

||

||

||

|||

||

Page 32: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Important: (32-bit and 64-bit) When the Tivoli Storage Manager recoveryagent is installed, you must restart your system. After your system restarts,log on to the system and the Tivoli Storage Manager recovery agent is readyfor use. The 32-bit installation process is complete.

10. (64-bit) If you installed the Data Protection for VMware vSphere GUI or DataProtection for VMware vCloud GUI, complete one of the following tasks:v (vSphere Protection) If you clicked Enable access to the GUI by a web

browser in Step 6, the Data Protection for VMware vSphere GUI opens in aweb browser with the following URL:https://<hostname where GUI is installed>:<HTTPS port>/TsmVMwareUI

Log on to this GUI with the vCenter user ID and password.If you did not select Enable access to the GUI by a web browser in Step 6,start the VMware vSphere Client and log on with the vCenter user ID andpassword. In the Solutions and Applications panel of the vSphere Client,click the Data Protection for VMware vSphere GUI icon to start the GUI.

v (vCloud Protection) The Data Protection for VMware vCloud GUI opens ina web browser with the following URL:https://<hostname where GUI is installed>:<HTTPS port>/TsmVMwareUI

Log on to this GUI with the vCloud Director user ID and password.

Installing selected features on Linux with InstallAnywhere modeInstall only the Tivoli Storage Manager for Virtual Environments and data moverfeatures that you select on a Linux system from the product DVD, or otherinstallation media.

About this task

To install Tivoli Storage Manager for Virtual Environments on a Linux 64-bitsystem by using the InstallAnywhere mode, complete the following tasks:

Procedure1. Either insert the Tivoli Storage Manager for Virtual Environments product

DVD into the DVD drive or download the image from IBM PassportAdvantage.

2. Change to the directory where the packages are stored on the DVD:cd /CD/Linux/DataProtectionForVMware

a. Start the installation program by issuing the following command:

./install-Linux.bin

b. Select the language for the installation process, then click OK.c. On the Welcome page, review the information, then click Next.d. Read the license terms on the Software License Agreement page. Select I

accept the terms in the license agreement and click Next. If you do notaccept the terms of the license agreement, the installation ends.

Note: The IBM Autonomic Deployment Engine begins installing. Thisutility is a common technology that is shared by IBM products to managethe lifecycles and relationships of their components that are installed onthe machine.

22 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 33: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

e. On the Select Installation Directory page, specify where to install TivoliStorage Manager for Virtual Environments. You can accept the defaultlocation that is shown in the Installation location field, enter a differentlocation, or click Choose to find another location.

f. After you enter an installation location, click Next.3. On the Environment Protection page, select one of the following environment

protection types:v To protect data in a vSphere environment, click vSphere Protection.

This option installs the Data Protection for VMware vSphere GUI. This GUIintegrates the product with the VMware vSphere client to back up, restore,and manage VMs in a VMware vCenter environment. It includes the DataProtection for VMware command-line interface. You can install only oneData Protection for VMware vSphere GUI on a system. As a result, multipleData Protection for VMware vSphere GUIs are not allowed on the samesystem.

v To protect data in a vCloud Director environment, click vCloud Protection.This option installs the Data Protection for VMware vCloud GUI. This GUIintegrates the product with the vCloud Director environment to back up,restore, and manage vApps and organization virtual data centers (vDCs). Itincludes the Data Protection for VMware command-line interface.

After installation completes, the environment protection type cannot bechanged except by reinstalling the product. Click Next to continue.

4. On the Install Set page, select which Tivoli Storage Manager for VirtualEnvironments features to install:v Use the Custom install set to specify only those features you want to install.v Select Complete in the Install Set list to install all of the features.

After you complete your selection, click Next.5. (vCloud Protection only) On the vCloud Configuration page, specify the

vCloud Server IP address or name. Then, click Next and proceed to Step 8.6. (vSphere Protection only) On the vSphere Protection GUI Information page,

select one or more of the following GUI access methods:v To access the GUI in a web browser, click Enable access to the GUI by a

web browser.The Data Protection for VMware vSphere GUI is accessed through a URLbookmark to the GUI web server.

v To access the GUI as an extension accessible in the VMware vSphere WebClient, click Register the vSphere Web Client extension.

v To access the GUI as a plug-in extension on the Solutions and Applicationspanel of your vCenter Server System, click Register GUI as vCenterPlug-in.

Tip: The plug-in access method is not supported in a VMware vSphere 6environment.

After you select the GUI access method, click Next.7. (vSphere Protection only) On the vSphere Protection GUI Information page,

complete the following tasks:a. Enter the vCenter Server IP address or name.b. Enter the vCenter user ID. This user ID must be a VMware administrator

that has permission to register and unregister extensions.c. Enter the vCenter password and click Next.

Chapter 2. Installing Data Protection for VMware 23

||

||

||

|||

||

Page 34: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

8. On the Installation Mode page, set the Tivoli Storage Manager for VirtualEnvironments user name and communication ports:v To accept the default user name (tdpvmware), internal Derby Database port

(1527), and GUI web server port (HTTPS protocol 9081), click Next andproceed to Step 9.

v To modify the user name and port values, click Custom, then click Next.Complete the following tasks:a. Enter a user name. A profile for this user name is created in

/home/<username>/tdpvmware/config.b. Enter the TCP/IP port number for the Derby Database, then click Next.c. Enter the port for the GUI web server HTTP protocol.d. Enter the port for the GUI web server HTTPS protocol.e. Enter the keystore password for the GUI web server. The password

must be a minimum of six valid characters (a-z A-Z 0-9).f. The installation process generates a self-signed SSL certificate. Enter the

number of years to keep this SSL certificate active. The default value is10.

After entering the custom information, click Next.9. On the Preinstallation Summary page, review the list of settings you provided

as shown in the page.v If your install settings are not correct, click Previous to change your

settings.v If your install settings are correct, click Install to begin installing the files.

10. On the Installation Complete page, review the information. Click Next, thenclick Done to exit the Tivoli Storage Manager for Virtual Environmentsinstallation program.

The following steps install the Tivoli Storage Manager backup-archive client datamover packages:11. Change to the directory where the Tivoli Storage Manager backup-archive

client data mover packages are on the DVD:cd /dvd/Linux/DataMover/bacli

v If the Tivoli Storage Manager API is not already installed on the system,proceed to Step 12.

v If the Tivoli Storage Manager API is already installed on the system,proceed to Step 14.

12. Install the 64-bit GSKit packages. In this example, the "8.x.x.x" charactersrepresent the GSKIT version on the DVD:rpm -U gskcrypt64-8.x.x.x.linux.x86_64.rpm gskssl64-8.x.x.x.linux.x86_64.rpm

13. Install the 64-bit Tivoli Storage Manager API.a. Required: Install the Tivoli Storage Manager API:

rpm -ivh TIVsm-API64.x86_64.rpm

b. Optional: Install the Common Inventory Technology package that is usedby the API to supports processor value unit (PVU) calculations. Thispackage is dependent on the API so it must be installed after the APIpackage is installed.rpm -ivh TIVsm-APIcit.x86_64.rpm

14. Install the backup-archive Java client, command-line client, administrativeclient, web client, and the documentation:rpm -ivh TIVsm-BA.x86_64.rpm

24 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 35: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

15. Optional: The following packages are available for installation:a. Install the Common Inventory Technology package the client uses to send

PVU metrics to the server. This package is dependent on the clientpackage so it must be installed after the client package is installed.rpm -ivh TIVsm-BAcit.x86_64.rpm

b. The default language that is installed with the backup-archive client isAmerican English. Use the general syntax that is shown in this step toinstall more languages. Substitute the language identifier that is shown inthe following table for the language_ID variable in the sample command:rpm -ivh TIVsm-msg.language_ID.x86_64.rpm

Results

If you receive any warnings or errors, check the log files for more information. See“Data Protection for VMware log files” on page 45.

If you are unable to install Tivoli Storage Manager for Virtual Environmentssuccessfully, see the "Manually removing Data Protection for VMware" procedurein “Uninstalling Data Protection for VMware a Linux system” on page 44.

Running a clean installation of Data Protection for VMware onLinux

If a Linux installation is interrupted, you can usually restart it. However, if theinstallation fails to restart, a clean installation is required.

About this task

Before starting a clean installation, ensure that product is removed. Performfollowing steps to ensure a clean environment:

Procedure1. If the Data Protection for VMware vSphere GUI is installed, complete these

tasks:a. Stop the Data Protection for VMware command-line interface by issuing this

command:/etc/init.d/vmcli stop

b. Stop the Data Protection for VMware GUI Web Server by issuing thiscommand:/etc/init.d/webserver stop

c. Remove the .rpm package by issuing this command:rpm -e TIVsm-TDPVMwarePlugin

2. Remove the Deployment Engine product entries:a. Issue the following command to list all Deployment Engine entries:

/usr/ibm/common/acsi/bin/de_lsrootiu.sh

b. Issue the following command to remove all Deployment Engine entries:/usr/ibm/common/acsi/bin/deleteRootIU.sh <UUID> <discriminant>

c. Remove the /var/ibm/common directory.d. Remove the /usr/ibm/common directory.e. Clean up the /tmp directory by removing the acu_de.log file, if it exists.f. Remove the /tmp directory that contains the ID of the user that installed the

Deployment Engine.

Chapter 2. Installing Data Protection for VMware 25

Page 36: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

g. Remove all Deployment Engine entries from the /etc/inittab system file.The entries are delimited by #Begin AC Solution Install block and #EndAC Solution Install block. Remove all text between those delimiters, andremove the delimiting text itself.

h. Remove all Deployment Engine references from the /etc/services systemfile.

3. Remove all Data Protection for VMware files from the failed installation:a. Remove files in the <USER_INSTALL_DIR>, which is the path where the failed

installation was attempted. For example: /opt/tivoli/tsm/TDPVMware/b. Remove any desktop shortcuts.

4. Back up the global registry file (/var/.com.zerog.registry.xml). After backingup this file, remove all tags that reference Data Protection for VMware.

5. Remove log files under root that contain the TDPVMware string. For example,IA-TDPVMware-00.log or IA-TDPVMware_Uninstall-00.log.

6. Remove the user that ran the Data Protection for VMware command-lineinterface by issuing the following command:userdel -r tdpvmware groupdel tdpvmware

Results

After you complete these steps, start the clean installation.

Installing language packsLanguage packs can be installed after Data Protection for VMware is installed. Thelanguage packs are available on the product DVD.

Installing a language pack on WindowsYou can install a Windows language pack after Data Protection for VMware hasbeen installed. You can install one or more languages from the single package.

Before you begin

Data Protection for VMware supports installation of components on non-Englishversions of Windows, as well as non-ASCII objects (for example, host names,volume names, user names, passwords, and policies).

About this task

To install a language pack on a supported Windows operating system, completethe following steps:

Procedure1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. From the Windows Start menu, select Run and enter the following command

(where X represents the DVD drive letter or installation folder):X:\LanguagePacks\Windows\setup.exe

Click OK

3. Follow the installation instructions contained in the prompt windows.4. Click Finish.

26 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 37: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Installing a language pack on Windows in silent modeYou can install a Windows language pack after Data Protection for VMware isinstalled. You can install one or more languages from the single package.

About this task

To install a language pack on a supported Windows operating system in silentmode, complete the following steps:

Procedure1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. From the Windows Start menu, select Run and enter the following command

for your operating system (where X represents the DVD drive):v (32-bit)

X:\DVD\tsm4ve\LanguagePack\x86\setup.exe /s /v"/qn ADDLOCAL=LanguageNameLP"

v (64-bit)X:\DVD\tsm4ve\LanguagePack\x64\setup.exe /s /v"/qn ADDLOCAL=LanguageNameLP"

The LanguageNameLP is one (or more) of the following values:ChineseS_LPChineseT_LPCzech_LPGerman_LPFrench_LPHungarian_LPItalian_LPJapanese_LPKorean_LPPolish_LPPortuguese_LPRussian_LPSpanish_LP

When multiple LanguageNameLP values are specified, separate each value by acomma. Do not include a space between the comma or the value. For example:X:\DVD\tsm4ve\LanguagePack\x64\setup.exe /s /v"/qn ADDLOCAL=German_LP,French_LP,Czech_LP"

3. Click OK after you enter the setup.exe command and LanguageNameLP value.

Installing a language pack on LinuxYou can install a Linux language pack after Data Protection for VMware isinstalled.

About this task

To install a language pack on a supported Linux operating system, complete thefollowing steps:

Procedure1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. Open a command prompt window and navigate to the /media directory. For

example, type the cd /media command where /media represents the DVDmount point.

Chapter 2. Installing Data Protection for VMware 27

|

||

|

||

|

||

||

|

|

|

|

|

|||||||||||||

||

||

|

|

Page 38: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

3. Run the installation process. For example, type the ./cdrom/TDPVMware/LanguagePacks/Linux/installLP-Linux.bin command. A Welcome page isdisplayed.

4. Follow the installation instructions contained in the windows.5. Click Finish.

Installing Data Protection for VMware in silent modeYou can install Data Protection for VMware in the background. During this silentinstallation, no messages are displayed. After a silent installation completes, youmust restart the system.

Before you begin

You can use the silent installation method for the following Data Protection forVMware components:

v Linux Windows Tivoli Storage Manager recovery agent

v Linux Windows Data Protection for VMware documents

v Linux Windows Data Protection for VMware vSphere GUI

v Linux Windows Data Protection for VMware vCloud GUI

v Windows Command line

v Windows Enablement file

The Data Protection for VMware virtual volume kernel driver is not installedduring the installation process. The virtual volume kernel driver is installed whenTivoli Storage Manager recovery agent is started for the first time.

Procedure

Use the procedure for your operating system:v “Installing selected Data Protection for VMware features on a Windows 32-bit

system in silent mode” on page 32v “Installing selected Data Protection for VMware features on a Windows 64-bit

system in silent mode” on page 34v “Installing selected Data Protection for VMware features on a Linux system in

silent mode” on page 38

Installing all features on a Windows 32-bit system in silentmode with Suite installer

Install the Tivoli Storage Manager recovery agent GUI and the Recovery Agentcommand-line interface silently on a Windows 32-bit operating system.

About this task

Restriction: All features are installed to their default location. You cannot silentlyinstall Data Protection for VMware features to a non-default location. See“Microsoft Windows 32-bit environment requirements” on page 12 for a list ofdefault installation directories for each feature.

28 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 39: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Procedure1. Either insert the Tivoli Storage Manager for Virtual Environments product DVD

into the DVD drive or download the image from IBM Passport Advantage.2. From a command prompt window, use the cd command to change to one of

the following folders:v If you downloaded the product image from Passport Advantage, go to

<extract folder>TSM4VE_WIN.v If you inserted the product DVD into the DVD drive, go to <DVD>\.

3. Enter the following command:

setup.exe /silent

4. Restart the system after installation completes.

Note: The following message displays the first time that you mount a volume:

The Virtual Volume Driver is not yet registered. Recovery Agent can registerthe driver now. During registration, a Microsoft Windows Logo warning may be displayed.Accept this warning to allow the registration to complete.Do you want to register the Virtual Volume Driver now?

You must register the Virtual Volume Driver to proceed with Tivoli StorageManager recovery agent operations.

Related tasks:“Uninstalling Data Protection for VMware for a Windows 32-bit system in silentmode” on page 42

Installing features on a Windows 64-bit system in silent modewith Suite installer

Install selected Tivoli Storage Manager for Virtual Environments and data moverfeatures silently on a single Windows 64-bit system from the product DVD, orother installation media.

Before you begin

Use the following Data Protection for VMware parameters with the silentinstallation features:

Table 12. Data Protection for VMware silent installation parameters

Parameter Description Default value

ISFeatureInstallTo install all Data Protection for VMwarefeatures, specify ISFeatureInstall=TSMVE.

To install the backup-archive client, specifyISFeatureInstall=Client.

Separate multiple entries with a comma ( , ).For example:

ISFeatureInstall=TSM4VE,Client

None

Chapter 2. Installing Data Protection for VMware 29

||

||

|||

|||

||

||

|

|

Page 40: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 12. Data Protection for VMware silent installation parameters (continued)

Parameter Description Default value

GUI_MODETo protect data in a vSphere environment,specify GUI_MODE=vcenter.This parameter installs the Data Protectionfor VMware vSphere GUI. This GUIintegrates the product with the VMwarevSphere client to back up, restore, andmanage VMs in a VMware vCenterenvironment. Includes the Data Protectionfor VMware command-line interface. Youcan install only one Data Protection forVMware vSphere GUI on a machine. As aresult, multiple Data Protection for VMwarevSphere GUI sessions are not allowed on thesame machine. vcenter is the default valuewhen GUI_MODE is specified.

To protect data in a vCloud environment,specify GUI_MODE=vcloud.This parameter installs the Data Protectionfor VMware vCloud GUI. This GUIintegrates the product with the vCloudDirector environment to back up, restore,and manage vApps and organization vDCs.Includes the Data Protection for VMwarecommand-line interface.

vcenter

VCENTER_HOSTNAME The vCenter Server IP address or name. Thisfeature is required when GUI_MODE=vcenteris specified.

None

VCENTER_USERNAME The vCenter user ID. This user ID must be aVMware administrator that has permissionto register and unregister extensions. Thisfeature is required when GUI_MODE=vcenteris specified.

None

VCENTER_PASSWORD The vCenter password. This feature isrequired when GUI_MODE=vcenter isspecified.

None

VCLOUD_HOSTNAME The vCloud Server address or name. Thisfeature is required when GUI_MODE=vcloud isspecified.

None

VCLOUD_USERNAME The vCloud user ID. This feature is requiredwhen GUI_MODE=vcloud is specified.

None

VCLOUD_PASSWORD The vCloud password. This feature isrequired when GUI_MODE=vcloud is specified.

None

DIRECT_START(vSphere only) To access the Data Protectionfor VMware vSphere GUI in a web browser,specify DIRECT_START=1.The Data Protection for VMware vSphereGUI is accessed through a URL bookmark tothe GUI web server. If you do not want toaccess the Data Protection for VMwarevSphere GUI in a web browser, specifyDIRECT_START=0.

1Important: Afterinstallationcompletes, theDIRECT_START valuecannot be changedexcept byreinstalling theproduct.

30 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

|

|||

||||||||||||||||

|||||||||

|

||||

|

||||||

|

||||

|

||||

|

||||

||||

||||||||||

|||||||||

Page 41: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 12. Data Protection for VMware silent installation parameters (continued)

Parameter Description Default value

REGISTER_PLUGIN (vSphere only) To access the Data Protectionfor VMware vSphere GUI as an extension inthe Solutions and Applications panel of yourvCenter Server System, specifyREGISTER_PLUGIN=1.Tip: The REGISTER_PLUGIN access method isnot supported in a VMware vSphere 6environment.If you do not want to accessthe Data Protection for VMware vSphereGUI as an extension, specifyREGISTER_PLUGIN=0.

0

REGISTER_EXTENSION (vSphere only) To access the GUI as anextension accessible in the VMware vSphereWeb Client, specify REGISTER_EXTENSION=1.If you do not want to access the DataProtection for VMware vSphere GUI as anextension, specify REGISTER_EXTENSION=0.

0

Use the following backup-archive client data mover parameters with the silentinstallation features:

Table 13. Backup-archive client data mover silent installation parameters

Parameter Description Default value

BackupArchiveGUI Tivoli Storage Manager backup-archiveclient GUI

None

BackupArchiveWeb Tivoli Storage Manager backup-archive webclient

None

Api64Runtime Tivoli Storage Manager API Runtimes None

AdministrativeCmd Tivoli Storage Manager AdministrativeCommand Line

None

About this task

Restriction: All features are installed to their default location. You cannot silentlyinstall Tivoli Storage Manager for Virtual Environments and data mover features toa non-default location. See “Environment requirements” on page 12 for a list ofdefault installation directories for each feature.

Procedure1. Either insert the Tivoli Storage Manager for Virtual Environments product DVD

into the DVD drive or download the image from IBM Passport Advantage.2. From a command prompt window, use the cd command to change to one of

the following folders:v If you downloaded the product image from Passport Advantage, go to

<extract folder>TSM4VE_WIN.v If you inserted the product DVD into the DVD drive, go to <DVD>\.

3. Issue the silent installation command. The following sample commands areprovided.v This sample command silently installs all Data Protection for VMware

features in a vSphere environment:

Chapter 2. Installing Data Protection for VMware 31

|

|||

||||||||||||

|

|||||||

|

|

||

||

|||

||||

||||

|||

||||

|

|

||

||

Page 42: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

setup.exe ISFeatureInstall=TSM4VE /silent GUI_MODE=vcenterVCENTER_HOSTNAME=<host_name> VCENTER_USERNAME=<user>VCENTER_PASSWORD=<pwd> REGISTER_PLUGIN=1 DIRECT_START=1

v This sample command silently installs all Data Protection for VMwarefeatures in a vCloud environment:

setup.exe ISFeatureInstall=TSM4VE /silent GUI_MODE=vcloudVCLOUD_HOSTNAME=<host_name> VCLOUD_USERNAME=<user>VCLOUD_PASSWORD=<pwd>

v This sample command silently installs all backup-archive client features:

setup.exe ISFeatureInstall=Client /silentADDLOCAL=BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd

4. Restart the system after installation completes.

Note: When you specify ISFeatureInstall=TSMVE, the following messagedisplays the first time that you mount a volume:

The Virtual Volume Driver is not yet registered. Recovery Agent can registerthe driver now. During registration, a Microsoft Windows Logo warning may be displayed.Accept this warning to allow the registration to complete.Do you want to register the Virtual Volume Driver now?

You must register the Virtual Volume Driver to proceed with Tivoli StorageManager recovery agent operations.

Related tasks:“Uninstalling Data Protection for VMware for Windows 64-bit system in silentmode” on page 43

Installing selected Data Protection for VMware features on aWindows 32-bit system in silent mode

You can silently install the Tivoli Storage Manager recovery agent GUI and theRecovery Agent command-line interface on a Windows 32-bit operating system.

Before you begin

Data Protection for VMware provides the following silent installation features forWindows 32-bit operating systems:

Table 14. Data Protection for VMware silent installation features

Feature Description Installed by default?

Mount Tivoli Storage Manager recovery agent

Provides virtual mount and instant restorecapabilities.

Yes

Shell Recovery Agent command-line interface

Command-line interface that is used formount operations.(RecoveryAgentShell.exe)

Yes

LAP Data Protection for VMware License Yes

32 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

|||||

||

|||||

|

||||

||

||||||

Page 43: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 14. Data Protection for VMware silent installation features (continued)

Feature Description Installed by default?

TSMLicence Data Protection for VMware Enablement File

Enables Tivoli Storage Manager to run thefollowing backup types:

v Periodic incremental VM backup

v Full VM incremental-forever backup

v Incremental-forever-incremental VMbackup

If you offload backup workloads, this filemust be installed on the vStorage BackupServer.

Yes

Documents Readme file, quick start guide Yes

About this task

To install Data Protection for VMware, complete the following steps:

Procedure1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. In the folder for Data Protection for VMware, go to the X86 folder.3. Open the setup.iss file in a text editor:

v For a default installation, complete these tasks:a. In the SERVER_IP= string, specify the host name or IP address of the

Microsoft Windows system where the Tivoli Storage Manager recoveryagent is to be installed.

b. Save and close the setup.iss file.c. From a command prompt window, enter the following command:

setup.exe /s /f1"<absolute_path_to_the_setup.iss_file>"

v For a custom installation, complete these tasks:a. In the SERVER_IP= string, specify the host name or IP address of the

Microsoft Windows system where the Tivoli Storage Manager recoveryagent is to be installed.

b. Specify only those features you want to install.c. Save and close the setup.iss file.d. From a command prompt window, enter the following command:

setup.exe /s /f1"<absolute_path_to_the_setup.iss_file>"

4. Restart the system.

Note: If you installed the Mount feature, the following message displays thefirst time that you mount a volume:

Chapter 2. Installing Data Protection for VMware 33

Page 44: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

The Virtual Volume Driver is not yet registered. Recovery Agent can registerthe driver now. During registration, a Microsoft Windows Logo warning may be displayed.Accept this warning to allow the registration to complete.Do you want to register the Virtual Volume Driver now?

You must register the Virtual Volume Driver to proceed with Tivoli StorageManager recovery agent operations.

5. (Optional) To use the updated setup.iss file to silently install Data Protectionfor VMware on another system, complete these tasks:a. During initial installation, enter the following command to record the

setup.iss file in the location specified after the f1 parameter:

setup.exe /r /f1"<absolute_path_to_the_setup.iss_file>"

b. After installation completes successfully, copy the updated setup.iss file tothe system where you want to silently install Data Protection for VMware.

c. On this system where the updated setup.iss file was copied, complete Step1 and Step 2 in this procedure.

d. From a command prompt window, enter the following command:

setup.exe /s /f1"<absolute_path_to_the_setup.iss_file>"

e. Restart the system.

Installing selected Data Protection for VMware features on aWindows 64-bit system in silent mode

You can customize which Data Protection for VMware features to silently install ona Windows 64-bit operating system.

Before you begin

Data Protection for VMware provides the following silent installation features forWindows 64-bit operating systems:

Table 15. Data Protection for VMware silent installation features

Feature Description Installed by default?

mount Tivoli Storage Manager recovery agent

Provides virtual mount and instant restorecapabilities.

Yes

shell Recovery Agent command-line interface

Command-line interface that is used formount operations.(RecoveryAgentShell.exe)

Yes

LAP Data Protection for VMware License Yes

34 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 45: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 15. Data Protection for VMware silent installation features (continued)

Feature Description Installed by default?

TSMLicence Data Protection for VMware EnablementFile

Enables Tivoli Storage Manager to run thefollowing backup types:

v Periodic incremental VM backup

v Full VM incremental-forever backup

v Incremental-forever-incremental VMbackup

If you offload backup workloads, this filemust be installed on the vStorage BackupServer.

Yes

documents Readme file Yes

gui Data Protection for VMware vSphere GUIor Data Protection for VMware vCloud GUI

No

Use the following Data Protection for VMware parameters with the silentinstallation features:

Table 16. Data Protection for VMware silent installation parameters

Parameter Description Default value

GUI_MODE To protect data in a vSphere environment,specify GUI_MODE=vcenter.This parameter installs the Data Protectionfor VMware vSphere GUI. This GUIintegrates the product with the VMwarevSphere client to back up, restore, andmanage VMs in a VMware vCenterenvironment. Includes the Data Protectionfor VMware command-line interface. Youcan install only one Data Protection forVMware vSphere GUI on a machine. As aresult, multiple Data Protection for VMwarevSphere GUIs are not allowed on the samemachine. vcenter is the default value whenGUI_MODE is specified.

To protect data in a vCloud environment,specify GUI_MODE=vcloud.This parameter installs the Data Protectionfor VMware vCloud GUI. This GUIintegrates the product with the vCloudDirector environment to back up, restore,and manage vApps and organization vDCs.Includes the Data Protection for VMwarecommand-line interface.

vcenter

VCENTER_HOSTNAME The vCenter Server IP address or name. Thisfeature is required when GUI_MODE=vcenteris specified.

None

Chapter 2. Installing Data Protection for VMware 35

Page 46: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 16. Data Protection for VMware silent installation parameters (continued)

Parameter Description Default value

VCENTER_USERNAME The vCenter user ID. This user ID must be aVMware administrator that has permissionto register and unregister extensions. Thisfeature is required when GUI_MODE=vcenteris specified.

None

VCENTER_PASSWORD The vCenter password. This feature isrequired when GUI_MODE=vcenter isspecified.

None

VCLOUD_HOSTNAME The vCloud Server address or name. Thisfeature is required when GUI_MODE=vcloud isspecified.

None

VCLOUD_USERNAME The vCloud user ID. This feature is requiredwhen GUI_MODE=vcloud is specified.

None

VCLOUD_PASSWORD The vCloud password. This feature isrequired when GUI_MODE=vcloud is specified.

None

DIRECT_START (vSphere only) To access the Data Protectionfor VMware vSphere GUI in a web browser,specify DIRECT_START=1.The Data Protection for VMware vSphereGUI is accessed through a URL bookmark tothe GUI web server. If you do not want toaccess the Data Protection for VMwarevSphere GUI in a web browser, specifyDIRECT_START=0.

1Important: Afterinstallationcompletes, theDIRECT_START valuecannot be changedexcept byreinstalling theproduct.

REGISTER_PLUGIN (vSphere only) To access the Data Protectionfor VMware vSphere GUI as an extension inthe Solutions and Applications panel of yourvCenter Server System, specifyREGISTER_PLUGIN=1.Tip: The REGISTER_PLUGIN access method isnot supported in a VMware vSphere 6environment.If you do not want to accessthe Data Protection for VMware vSphereGUI as an extension, specifyREGISTER_PLUGIN=0.

0

DB_PORT The TCP/IP port number for the DerbyDatabase.

1527

WC_DEFAULTHOST The HTTP protocol for the GUI web server. 9080

WEBSERVER_SECUREPORT The HTTPS protocol for the GUI web server. 9081

KEYSTORE_PASSWORD The keystore password for the GUI webserver. The password must be a minimum ofsix valid characters (a-z A-Z 0-9).

None

SSL_CERTIFICATE The installation process generates aself-signed SSL certificate. Enter the numberof years to keep this SSL certificate active.

10

Use the following Tivoli Storage Manager backup-archive client data moverparameters with the silent installation features:

36 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

||||||||||||

Page 47: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 17. Tivoli Storage Manager backup-archive client data mover silent installationparameters

Parameter Description Default value

BackupArchiveGUI Tivoli Storage Manager backup-archiveclient GUI

None

BackupArchiveWeb Tivoli Storage Manager backup-archive webclient

None

Api64Runtime Tivoli Storage Manager API Runtimes None

AdministrativeCmd Tivoli Storage Manager AdministrativeCommand Line

None

Procedure

To silently install Data Protection for VMware, follow these steps:1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. In the folder for Data Protection for VMware, go to the X64 folder.3. From a command prompt window, use the cd command to change the

directory to the installation folder.4. For a default installation, enter the following command:

setup.exe /s /v"/qn REBOOT=ReallySuppress"

5. For a custom installation, complete the following tasks:a. Specify the features to install with the ADDLOCAL property. For example, all

features are installed with the following value:

ADDLOCAL=mount,shell,LAP,TSMLicence,documents,gui

You must specify all features on a single line within quotation marks, whichare separated by commas, with no spaces before or after the commas.

b. Specify the feature parameters as described in Table 16 on page 35.The following example installs all features to protect VMs in a vSphereenvironment:setup.exe /s /v"/qn ADDLOCAL=mount,shell,LAP,documents,TSMLicence,guiGUI_MODE=vcenter REGISTER_PLUGIN=1 DIRECT_START=1VCENTER_HOSTNAME=9.123.45.678 VCENTER_USERNAME=adminVCENTER_PASSWORD=adminpsd DB_PORT=1527 WC_DEFAULTHOST=9080WEBSERVER_SECUREPORT=9081 KEYSTORE_PASSWORD=keypassSSL_CERTIFICATE=10"

Note: If you installed the Mount feature, the following message displays thefirst time that you mount a volume:

The Virtual Volume Driver is not yet registered. Recovery Agent can registerthe driver now. During registration, a Microsoft Windows Logo warning may bedisplayed. Accept this warning to allow the registration to complete.Do you want to register the Virtual Volume Driver now?

You must register the Virtual Volume Driver to proceed with Tivoli StorageManager recovery agent operations.

Chapter 2. Installing Data Protection for VMware 37

Page 48: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

The following example installs all features to protect vApps andorganization vDCs in a vCloud Director environment:setup.exe /s /v"/qn ADDLOCAL=mount,shell,LAP,documents,TSMLicence,guiGUI_MODE=vcloud VCLOUD_HOSTNAME=9.123.45.678 VCLOUD_USERNAME=AdministratorVCLOUD_PASSWORD=pass4vcld DB_PORT=1527 WC_DEFAULTHOST=9080WEBSERVER_SECUREPORT=9081 KEYSTORE_PASSWORD=keypassSSL_CERTIFICATE=10"

The following example installs all Tivoli Storage Manager backup-archiveclient data mover features:setup.exe /s /a /s /v"/qnADDLOCAL=BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,AdministrativeCmd"/L1033

The /L feature installs the language pack for the preferred language.

Note: The example is shown on separate lines to accommodate pageformatting.

6. Restart the system.

Installing selected Data Protection for VMware features on aLinux system in silent mode

You can customize which Data Protection for VMware features to silently install ona Linux operating system.

Before you begin

Data Protection for VMware provides the following silent installation features forLinux operating systems:

Table 18. Data Protection for VMware silent installation features

Feature DescriptionInstalled bydefault?

Docs Readme file Yes

RecoveryAgent Tivoli Storage Manager recovery agent

Provides virtual mount and instant restorecapabilities.

Yes

TDPVMwareEnableFile Data Protection for VMware Enablement File

Enables Tivoli Storage Manager to run thefollowing backup types:

v Periodic incremental VM backup

v Full VM incremental-forever backup

v Incremental-forever-incremental VMbackup

If you offload backup workloads, this filemust be installed on the vStorage BackupServer.

Yes

TDPVMwareGUI Data Protection for VMware vSphere GUI orData Protection for VMware vCloud GUI

No

Use the following Data Protection for VMware parameters with the silentinstallation features:

38 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 49: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 19. Data Protection for VMware silent installation parameters for theinstaller.properties file

Parameter Description Default value

PRODUCT_PROTECT_TYPE

To protect data in a vSphere environment,specify PRODUCT_PROTECT_TYPE=VSPHERE.This parameter installs the Data Protectionfor VMware vSphere GUI. This GUIintegrates the product with the VMwarevSphere client to back up, restore, andmanage VMs in a VMware vCenterenvironment. Includes the Data Protectionfor VMware command-line interface. Youcan install only one Data Protection forVMware vSphere GUI on a machine. As aresult, multiple Data Protection for VMwarevSphere GUIs are not allowed on the samemachine.

To protect data in a vCloud environment,specify PRODUCT_PROTECT_TYPE=VCLOUD.This parameter installs the Data Protectionfor VMware vCloud GUI. This GUIintegrates the product with the vCloudDirector environment to back up, restore,and manage vApps and organization vDCs.Includes the Data Protection for VMwarecommand-line interface.

VSPHERE

VCENTER_HOSTNAME The vCenter Server IP address or name.This parameter is required whenPRODUCT_PROTECT_TYPE=VSPHERE is specified.

None

VCENTER_USERNAME The vCenter user ID. This user ID must bea VMware administrator that haspermission to register and unregisterextensions. This parameter is requiredwhen PRODUCT_PROTECT_TYPE=VSPHERE isspecified.

None

VCENTER_PASSWORD The vCenter password. This parameter isrequired whenPRODUCT_PROTECT_TYPE=VSPHERE is specified.

None

VCLOUD_HOSTNAME The vCloud Server address or name. Thisparameter is required whenPRODUCT_PROTECT_TYPE=VCLOUD is specified.

None

VCLOUD_USERNAME The vCloud user ID. This parameter isrequired whenPRODUCT_PROTECT_TYPE=VCLOUD is specified.

None

VCLOUD_PASSWORD The vCloud password. This parameter isrequired whenPRODUCT_PROTECT_TYPE=VCLOUD is specified.

None

Chapter 2. Installing Data Protection for VMware 39

Page 50: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 19. Data Protection for VMware silent installation parameters for theinstaller.properties file (continued)

Parameter Description Default value

DIRECT_START (vSphere only) To access the DataProtection for VMware vSphere GUI in aweb browser, specify DIRECT_START=YES.The Data Protection for VMware vSphereGUI is accessed through a URL bookmarkto the GUI web server. If you do not wantto access the Data Protection for VMwarevSphere GUI in a web browser, specifyDIRECT_START=NO.

YESImportant: Afterinstallation completes,the DIRECT_STARTvalue cannot bechanged except byreinstalling theproduct.

USERNAME User name. A profile for this user name iscreated in /home/<username>/tdpvmware/config.

tdpvmware

REGISTER_PLUGIN (vSphere only) To access the DataProtection for VMware vSphere GUI as aplug-in extension in the Solutions andApplications panel of your vCenter ServerSystem, specify REGISTER_PLUGIN=YES.Tip: The REGISTER_PLUGIN access method isnot supported in a VMware vSphere 6environment.If you do not want to accessthe Data Protection for VMware vSphereGUI as an extension, specifyREGISTER_PLUGIN=No.

NO

VMCLI_DB_PORT The TCP/IP port number for the DerbyDatabase.

1527

WC_defaulthost The HTTP protocol for the GUI web server. 9080

WebServer_Https The HTTPS protocol for the GUI webserver.

9081

Keystore_Password The keystore password for the GUI webserver. The password must be a minimumof six valid characters (a-z A-Z 0-9).

None

SSL_Certificate The installation process generates aself-signed SSL certificate. Enter the numberof years to keep this SSL certificate active.

10

About this task

To silently install Data Protection for VMware, complete the following steps:

Procedure1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. Uncomment this entry in the installer.properties file to accept the license:

#LICENSE_ACCEPTED=TRUE

As a result, the entry must be exactly as shown in the following example:

LICENSE_ACCEPTED=TRUE

40 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

||||||||||||

Page 51: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

3. For a default installation, open the Linux folder (which is in the Data Protectionfor VMware folder) and issue the following command:

./install-Linux.bin -i silent -DLICENSE_ACCEPTED=true

4. For a custom installation, complete the following tasks:a. Edit the installer.properties file with the appropriate values:

1) Specify INSTALL_MODE=Custom. Make sure the number sign (#) is removedfrom this statement.

2) Specify the features to install with the CHOSEN_INSTALL_FEATURE_LISToption. For example, all features are installed with the following value:

CHOSEN_INSTALL_FEATURE_LIST=Docs,RecoveryAgent,TDPVMwareEnableFile,TDPVMwareGUI

3) Specify the installer.properties parameters as described in Table 19on page 39.

b. Open the Linux folder (in the Data Protection for VMware folder) and issuethe following command:

./install-Linux.bin -i silent -f <full_path_to_properties_file_name>

Uninstalling Data Protection for VMwareThe process for uninstalling Data Protection for VMware is the same for a newinstallation and for an upgraded version.

Before you begin

Restriction: You must unmount all virtual volumes before uninstalling TivoliStorage Manager recovery agent. Otherwise, these mounted virtual volumes cannotbe unmounted after Tivoli Storage Manager recovery agent is reinstalled.

Procedure1. Start the uninstall process:

v Windows Either run the setup.exe file, or select Add or Remove Programsfrom the Windows Control Panel.This command uninstalls only the Data Protection for VMware features. TheTivoli Storage Manager backup-archive client data mover features must bemanually uninstalled as described in the following steps:a. From your Windows Control Panel, go to Programs and Features.b. Remove or uninstall the IBM Tivoli Storage Manager Client entry.

v Linux Run this command:

<installation path>/_uninst/TDPVMware/Uninstall_Tivoli_Data_Protection_for_VMware

2. A screen opens. Select Modify, Repair, or Remove. Before you click Remove,review these considerations:v If other Data Protection for VMware web GUI hosts use the IBM Data

Protection extension, do not unregister the web client extension.v When the Data Protection for VMware vSphere GUI plug-in is uninstalled,

the IBM Data Protection extension is also uninstalled. The IBM DataProtection extension cannot be uninstalled by itself.

Chapter 2. Installing Data Protection for VMware 41

Page 52: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v When you uninstall the IBM Data Protection extension from a VMwarevSphere 5.5 environment, only its associated privilege labels and descriptionsare removed. The actual privileges remain installed. This issue is a knownVMware limitation. For more information, see the following VMwareKnowledge Base article: http://kb.vmware.com/kb/2004601.

v The Data Protection for VMware Enablement File is not removed after theproduct is uninstalled.

3. Click Remove. Data Protection for VMware is completely uninstalled.

4. Windows For a Windows uninstallation of Tivoli Storage Manager recoveryagent, you are asked to reboot the computer, to complete the uninstallation ofTivoli Storage Manager recovery agent drivers. You can choose to reboot later.

Uninstalling Data Protection for VMware with the MicrosoftWindows Installer Tool

Uninstall Data Protection for VMware from a Microsoft Windows Server Core withthe Microsoft Windows Installer Tool.

Procedure1. Locate the Data Protection for VMware UninstallString in the Wow6432Node

registry path. For example:[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4D11E402-4480-4A4D-B6E5-B98A7E5FA97F}]

2. Run the following command:C:\"C:\Program Files (x86)\InstallShield Installation Information\{4D11E402-4480-4A4D-B6E5-B98A7E5FA97F}\Setup.exe" -remove -runfromtemp

Uninstalling Data Protection for VMware for a Windows 32-bitsystem in silent mode

You can silently uninstall Data Protection for VMware on a Windows 32-bitoperating system.

About this task

To uninstall Data Protection for VMware, complete the following steps:

Procedure1. From a command prompt window, use the cd command to change to one of

the following folders:v To uninstall Data Protection for VMware with an uninstall.iss file, go to

the X64 folder.v To uninstall Data Protection for VMware with Suite installer, go to one of the

following folders:– If you downloaded the product image from Passport Advantage, go to

<extract folder>TSM4VE_WIN.– If you inserted the product DVD into the DVD drive, go to <DVD>\.

2. Enter one of the following commands:v To uninstall Data Protection for VMware with an uninstall.iss file, enter

the following command:setup.exe /s /f1"<full absolute path_to_the_uninstall.iss_file and uninstall.iss>"

42 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 53: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Note: The command must be entered on one line. This example shows twolines to accommodate page formatting.

v To uninstall Data Protection for VMware with Suite installer, enter thefollowing command:setup.exe /silent /remove

3. Restart the system after uninstallation completes.

Uninstalling Data Protection for VMware for Windows 64-bitsystem in silent mode

You can silently uninstall Data Protection for VMware on a Windows 64-bitoperating system.

Procedure

To uninstall Data Protection for VMware, complete the following steps:1. From a command prompt window, use the cd command to change to one of

the following folders:v To customize the uninstall operation, go to the X64 folder.v To uninstall Data Protection for VMware with Suite installer, go to one of the

following folders:– If you downloaded the product image from Passport Advantage, go to

<extract folder>TSM4VE_WIN.– If you inserted the product DVD into the DVD drive, go to <DVD>\.

2. In the command prompt window, run the following command:v For a custom uninstall operation, select from the following commands:

– Enter this command to uninstall Data Protection for VMware andunregister the Data Protection for VMware vSphere GUI:setup.exe /s /v"/qn REBOOT=ReallySuppress REMOVE=ALLVCENTER_HOSTNAME=<vCenter hostname or IP>VCENTER_USERNAME=<vCenter user name>VCENTER_PASSWORD=<vCenter password>IGNORE_VCENTER_UNREGISTER=0UNREGISTER_EXTENSION=1"

– To uninstall Data Protection for VMware and skip Data Protection forVMware vSphere GUI unregistration, enter this command:setup.exe /s /v"/qn REBOOT=ReallySuppress REMOVE=ALLIGNORE_VCENTER_UNREGISTER=1"

– Enter this command to uninstall Data Protection for VMware andunregister the Data Protection for VMware vCloud GUI:setup.exe /s /v"/qn REBOOT=ReallySuppress REMOVE=ALLVCLOUD_HOSTNAME=<vCloud Server IP address or name>"

– To uninstall Data Protection for VMware and skip Data Protection forVMware vCloud GUI unregistration, enter this command:setup.exe /s /v"/qn REBOOT=ReallySuppress REMOVE=ALLIGNORE_VCLOUD_UNREGISTER=1"

v To uninstall all features with Suite installer, enter the following command:setup.exe /silent /remove VCENTER_HOSTNAME=<vCenter hostname or IP>VCENTER_USERNAME=<vCenter user name> VCENTER_PASSWORD=<vCenter password>IGNORE_VCENTER_UNREGISTER=0 UNREGISTER_EXTENSION=1

3. Restart the system after uninstallation completes.

Chapter 2. Installing Data Protection for VMware 43

||

||||||

|

|||

Page 54: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Uninstalling Data Protection for VMware a Linux systemYou can uninstall Data Protection for VMware on a supported Linux operatingsystem.

About this task

When you uninstall Data Protection for VMware on a Linux system, by default, thetype of uninstallation is the same process as the type of original installation. To usea different uninstallation process, specify the correct parameter. For example, if youused a silent installation process, you can use the installation wizard to uninstallby specifying the –i swing parameter. Run the uninstallation process as the rootuser. The root user profile must be sourced. If you use the su command to switchto root, use the su - command to source the root profile.

When the uninstall process begins removing program files, canceling the uninstallprocess does not return the system to a clean state. This situation might cause thereinstallation attempt to fail. As a result, clean the system by completing the tasksdescribed in “Manually removing Data Protection for VMware from a Linuxsystem” on page 45.

To uninstall Data Protection for VMware, complete the following steps:

Procedure1. Change to the directory for the uninstallation program. The following path is

the default location to the uninstallation program: /opt/tivoli/tsm/tdpvmware/_uninst/TDPVMware/

2. Depending on the type of installation, use one of the following methods touninstall Data Protection for VMware:

Note: The commands in this procedure must be entered on one line. Theseexamples show two lines to accommodate page formatting.v To use the installation wizard to uninstall Data Protection for VMware, enter

this command:./Uninstall_Tivoli_Data_Protection_for_VMware –i swing

v To use the console to uninstall Data Protection for VMware, enter thiscommand:./Uninstall_Tivoli_Data_Protection_for_VMware -i console

v To silently uninstall Data Protection for VMware, enter this command:./Uninstall_Tivoli_Data_Protection_for_VMware -i silent-f uninstall.properties

The uninstall.properties file contains the vCenter or vCloud connectioninformation. This information is needed to uninstall the Data Protection forVMware vSphere GUI or Data Protection for VMware vCloud GUI.

44 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 55: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Manually removing Data Protection for VMware from a LinuxsystemAbout this task

When Data Protection for VMware cannot be uninstalled using the standarduninstallation procedure, you must manually remove Data Protection for VMwarefrom the system as described in these steps. Complete this process as the root user.

Procedure1. If you installed the Data Protection for VMware vSphere GUI or Data

Protection for VMware vCloud GUI, remove its package from the PackageManager database with this command:rpm -e TIVsm-TDPVMwarePlugin

2. Remove the Tivoli Storage Manager API with this command:rpm -e TIVsm-API64

3. Remove the product entries from the Deployment Engine:a. Issue this command to view a list of all entries:

/usr/ibm/common/acsi/bin/de_lsrootiu.sh

b. Issue this command to remove the installed unit entries that are related toData Protection for VMware:/usr/ibm/common/acsi/bin/deleteRootIU.sh <UUID> <discriminant>

4. Back up the global registry file (/var/.com.zerog.registry.xml). After the fileis backed up, remove all tags related to Data Protection for VMware.

5. Remove all files located in the installation directory (/opt/tivoli/tsm/tdpvmware). Also remove any shortcuts located on the desktop.

6. Back up the log files located in the root directory that contain TDPVMware in thefile name. For example, IA-TDPVMware-00.log or IA-TDPVMware_Uninstall-00.log. Remove these log files after they are backed up. By removing them,you can view any error issued if the installation process fails again.

7. Attempt to install the product again as described in “Installing selected featureson Linux with InstallAnywhere mode” on page 22.

Data Protection for VMware log filesData Protection for VMware creates and modifies several log files duringinstallation, backup, mount, and restore operations.

Data Protection for VMware log files are plain text files that use an .sf fileextension. For example, the Tivoli Storage Manager recovery agent log file isTDP_FOR_VMWARE_MOUNTnnn.sf. The log file with the most recent data is stored in thelog file with the 040 number (TDP_FOR_VMWARE_MOUNT040.sf). When a log filereaches the maximum size limit, a new log file is created. The log file name is thesame except that the log file number decrements by one. Specifically, the data inthe log file with the 040 number is copied to a log file with the 039 number. Thelog file with the 040 number contains the newest log file data. When 040 againreaches maximum file size, the 039 file contents move to 038 and the 040information goes to 039 again.

Important: Existing log files are overwritten every time an installation is started. Ifyou encounter an installation issue and must reinstall the product, retrieve theexisting TDPVMwareInstallation.log file from the %allusersprofile% directorybefore trying the installation again.

Chapter 2. Installing Data Protection for VMware 45

Page 56: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Log file locations on Windows operating systems

Logs are placed in the following directories on these Windows operating systems:%ALLUSERSPROFILE%\Tivoli\TSM\TDPVMwareThe directories contain a subdirectory for each Data Protection for VMwarecomponent. For example, the Tivoli Storage Manager recovery agent subdirectoryis \mount, and the Recovery Agent command-line interface subdirectory is \shell.

The Data Protection for VMware command-line interface places log files in thisdirectory:C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\logs

The Data Protection for VMware vSphere GUI or Data Protection for VMwarevCloud GUI places log files in this directory:C:\IBM\tivoli\tsm\tdpvmware\webserver\usr\servers\veProfile\logsWhen you are collecting log files, make sure to include all subdirectories in yourcompressed file.

You can search for log files from the Windows Start menu, by selecting ControlPanel > Search and entering *.log.

Log file locations on Linux systems

Logs are placed in the following paths on Linux systems:<user.home>/tivoli/tsm/ve/mount/log/opt/tivoli/tsm/TDPVMware/mount/engine/var

The Data Protection for VMware command-line interface places log files in thispath:/opt/tivoli/tsm/tdpvmware/common/logs

The Data Protection for VMware vSphere GUI or Data Protection for VMwarevCloud GUI places log files in this path:/opt/tivoli/tsm/tdpvmware/common/webserver/usr/servers/veProfile/logs

You can search for log files by entering this command:find /opt/tivoli/ -name "*.log"

46 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 57: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Chapter 3. Upgrading Data Protection for VMware

You can upgrade Data Protection for VMware from a previous version of thesoftware. Upgrading Data Protection for VMware also requires upgrading othercomponents.

If you are installing Data Protection for VMware Version 7.1.x on a system thatcontains IBM Tivoli Storage FlashCopy Manager for VMware Version 3.x, you mustalso upgrade Tivoli Storage FlashCopy Manager for VMware to Version 4.1.x.

See the Tivoli Storage FlashCopy Manager for VMware Installation and User’s Guidewhen working with that product.

Table 20. Available Data Protection for VMware upgrade tasks

If your system has the followingapplications installed: Then follow this upgrade procedure:

Linux Windows Data Protection forVMware Versions 6.x, V7.1.0 or V7.1.1

“Upgrading Data Protection for VMwarefrom Version 7.1.x”

Linux Tivoli Storage FlashCopyManager for VMware Version 3.x, or V4.1.0or V4.1.1

“Upgrading Data Protection for VMwarefrom Tivoli Storage FlashCopy Manager forVMware Version 4.x” on page 49

Linux

Data Protection for VMware Version 6.x, orV7.1.x

and

Tivoli Storage FlashCopy Manager forVMware Version 3.x, or V4.1.x

“Upgrading Data Protection for VMwarefrom Tivoli Storage FlashCopy Manager forVMware Version 4.1.x and Data Protectionfor VMware Version 7.1.x” on page 50

For compatibility with earlier versions, see the Compatibility Information for yourversion which is available from the TSM for Virtual Environments - All RequirementsDoc at http://www-01.ibm.com/support/docview.wss?uid=swg21505139

Upgrading Data Protection for VMware from Version 7.1.xThis procedure documents how to upgrade to Data Protection for VMware V 7.1.2from V7.1.x. You can also use the procedure to upgrade from V6.x.

Before you begin

Important: This upgrade procedure applies to a system that does not have TivoliStorage FlashCopy Manager for VMware installed.

You must have administrator privileges to upgrade Data Protection for VMware.

Updates to the existing Data Protection for VMware vSphere GUI are processed inthe following manner:

© Copyright IBM Corp. 2011, 2015 47

|||

Page 58: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v Data Protection for VMware V7.1 installs WebSphere Application Server V8.5. Asa result, the previous eWAS folder and daemon are removed during an upgrade.However, the tsmserver.props configuration file remains for the new profile.

v Parameter files are backed up before the Data Protection for VMware vSphereGUI upgrade process begins.

v The same Derby Database Port and WebSphere® Application Server Default BasePort numbers are used.

v Linux The values in the profile (vmcliprofile) are used for the DataProtection for VMware command-line interface.

Restriction:

v Windows When Tivoli Storage Manager for Virtual Environments V6.x wasinstalled to a non-default location, the upgrade process installs Tivoli StorageManager for Virtual Environments V7.1 features to the default installationdirectory. You cannot upgrade to a non-default location. See “Environmentrequirements” on page 12 for a list of default installation directories for eachfeature.

v Windows (64-bit) The upgrade process accesses the vCenter server with theexisting V6.x port value (HTTP protocol) and the default V7.1 HTTPS protocolvalue (9081). These port values cannot be modified during the upgrade process.

v Linux Windows The upgrade process does not install new components.For example, if your previous version has only the Tivoli Storage Managerrecovery agent GUI installed, the upgrade procedure does not install the TivoliStorage Manager recovery agent command-line interface. In such a scenario, youmust run the installation program again and then select the missing componentto install.

v Linux The Tivoli Storage Manager recovery agent on Linux version must bethe same version as the Tivoli Storage Manager recovery agent on the Windowsproxy. Therefore, if you upgrade Tivoli Storage Manager recovery agent onLinux, you must also upgrade the Tivoli Storage Manager recovery agentversion on the Windows proxy.

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. Verify that there are no active backup, restore, or mount sessions.2. Verify that any existing Data Protection for VMware vSphere GUI or Tivoli

Storage Manager recovery agent GUI is closed.3. If the system you are upgrading to has both the Data Protection for VMware

vSphere GUI V6.x or V7.1.x, and Tivoli Storage Manager backup-archive clientV6.x or V7.1.x installed, complete the following tasks:

a. Linux Uninstall the backup-archive client V6.x or V7.1.x. Follow theinstructions in Uninstalling the Tivoli Storage Manager Linux x86_64 client(http://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/t_inst_uninst_linuxx86client.html).

b. Install the backup-archive client V7.1. Follow the instructions in “Installingall features on Microsoft Windows 64-bit (Typical Installation)” on page 16or “Installing selected features on Linux with InstallAnywhere mode” onpage 22.

4. Either download the code package or insert the Data Protection for VMwareproduct DVD into the DVD drive.

48 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 59: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

5. From the folder where you saved the code package start the upgrade process:

a. Windows Run the setup.exe file.

b. Linux Run the install-Linux.bin file.A message displays showing the directory to be used for the installation. Themessage also lists the components found in the directory.If you confirm the upgrade, the installer updates the files. You can install onlyone Data Protection for VMware vSphere GUI on a machine. As a result,multiple Data Protection for VMware vSphere GUIs are not allowed on thesame machine.

Upgrading Data Protection for VMware from Tivoli Storage FlashCopyManager for VMware Version 4.x

This procedure documents how to upgrade to Data Protection for VMware V7.1.2when Tivoli Storage FlashCopy Manager for VMware V4.1.x is also installed. Thisprocedure can also be used to upgrade when Tivoli Storage FlashCopy Managerfor VMware V3.x is installed.

About this task

Updates to the existing Data Protection for VMware vSphere GUI are processed inthe following manner:v Data Protection for VMware V7.1.2 installs WebSphere Application Server V8.5.

As a result, the previous eWAS folder and daemon are removed during anupgrade. However, the tsmserver.prop and vmcliConfiguration.xmlconfiguration files remain for the new profile.

v Parameter files are backed up before the Data Protection for VMware vSphereGUI upgrade process begins.

v The same Derby Database Port and WebSphere Application Server Default BasePort numbers are used.

v The values in the profile (vmcliprofile) are used for the Data Protection forVMware command-line interface.

You must have administrator privileges to upgrade Data Protection for VMware.

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.2. Start the installation program by running install-Linux.bin for your platform.

The default installation path is /opt/tivoli/tsm/tdpvmware.3. Choose the language to be used for the installation process and click OK.4. The Welcome page opens. Click Next.5. The Software License Agreement page opens. Read the terms of the license

agreement. Select I accept the terms in the license agreement and click Next. Ifyou do not accept the terms of the license agreement, the installation ends.

6. The Choose Installation Folder page opens prompting you to specify where toinstall the software. You can accept the default location shown in theDestination Folder field, type the location name, or click Browse to go to thelocation. Click Next.

Chapter 3. Upgrading Data Protection for VMware 49

||

Page 60: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

7. Select Complete or Custom:v Select Complete to install all of the components listed in Table 8 on page 15.v Select Custom to specify only those components you want to install. At the

prompt, enter the number that corresponds to the component. If multiplecomponents, separate each number with a comma.

After completing your selection, click Next to continue.8. The Pre-Installation Summary panel opens. This panel contains a list of the

settings you provided. Review the settings and click Install to begin installingthe files.v When the Data Protection for VMware 7.1.2 installation is successful, the

following message is displayed:

The installation process completed successfully. If you are upgrading, you mustupgrade all components from the Data Protection for VMware, FlashCopy Manager forVMware, and Tivoli Storage Manager Backup-Archive Client (data mover) packagesbecause of component dependencies.

– If you are using Tivoli Storage FlashCopy Manager for VMware V4.1.x orearlier, you must upgrade to V4.1.2. Follow the instructions in UpgradingTivoli Storage FlashCopy Manager for VMware (http://www.ibm.com/support/knowledgecenter/SS36V9_4.1.2/com.ibm.itsm.fcm.vm.doc/t_fvm_upgrade.html).

– If you are using Tivoli Storage Manager backup-archive client V7.1.0 orearlier, you must upgrade to V7.1.2. Follow the instructions in Upgradingthe Tivoli Storage Manager backup-archive client (http://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.2/com.ibm.itsm.client.doc/c_inst_mig.html).

– Data Protection for VMware offloads the backup workload from VMs to avStorage Backup Server. To accomplish this task, the Tivoli StorageManager backup-archive client must be installed on the vStorage BackupServer. During configuration, the backup-archive client is registered as adata mover node. This node runs the operation and moves the data fromthe vStorage Backup Server to the Tivoli Storage Manager server. Youmust upgrade all data mover nodes to the Tivoli Storage Managerbackup-archive client V7.1.2 level as described in “Upgrading the datamover nodes on the vStorage Backup Server” on page 54.

v When Data Protection for VMware V7.1.2 does not install successfully, followthe instructions provided in the installation dialog. You can also check thelog file to determine what must be done to resolve the issue. See “DataProtection for VMware log files” on page 45 for the location of various logfiles.

Upgrading Data Protection for VMware from Tivoli Storage FlashCopyManager for VMware Version 4.1.x and Data Protection for VMwareVersion 7.1.x

This procedure documents how to upgrade to Data Protection for VMware V7.1.2from Data Protection for VMware V7.1.x when Tivoli Storage FlashCopy Managerfor VMware V4.1.x is also installed.

50 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 61: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Before you begin

Important: This upgrade procedure applies to a Linux system that has both DataProtection for VMware V7.x and Tivoli Storage FlashCopy Manager for VMwareV4.1.x installed.

You must have administrator privileges to upgrade Data Protection for VMware.

Updates to the existing Data Protection for VMware vSphere GUI are processed inthe following manner:v Data Protection for VMware V7.1.2 installs WebSphere Application Server V8.5.

As a result, the previous eWAS folder and daemon are removed during anupgrade. However, the tsmserver.prop and vmcliConfiguration.xmlconfiguration files remain for the new profile.

v Parameter files are backed up before the Data Protection for VMware vSphereGUI upgrade process begins.

v The same Derby Database Port and WebSphere Application Server Default BasePort numbers are used.

v The values in the profile (vmcliprofile) are used for the Data Protection forVMware command-line interface.

Restriction:

v The upgrade process does not install new components.For example, if your previous version has only the Tivoli Storage Managerrecovery agent GUI installed, the upgrade procedure does not install the TivoliStorage Manager recovery agent command-line interface. In such a scenario, youmust run the installation program again and then select the missing componentto install.

v The Tivoli Storage Manager recovery agent on Linux version must be the sameversion as the Tivoli Storage Manager recovery agent on the Windows proxy.Therefore, if you upgrade Tivoli Storage Manager recovery agent on Linux, youmust also upgrade the Tivoli Storage Manager recovery agent version on theWindows proxy.

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. If the system you are upgrading to has both the Data Protection for VMware

vSphere GUI V7.1.x and Tivoli Storage Manager backup-archive client V7.1.xinstalled, complete the following tasks:a. Uninstall the backup-archive client V7.1.x. Follow the instructions in

Uninstalling the Tivoli Storage Manager Linux x86_64 client(http://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/t_inst_uninst_linuxx86client.html).

b. Install the backup-archive client V7.1.2. Follow the instructions in “Installingselected features on Linux with InstallAnywhere mode” on page 22.

2. Either download the code package or insert the Data Protection for VMwareproduct DVD into the DVD drive.

3. Start the installation program by running install-Linux.bin for your platform.The default installation path is /opt/tivoli/tsm/tdpvmware.

4. Choose the language to be used for the installation process and click OK.5. The Welcome page opens. Click Next.

Chapter 3. Upgrading Data Protection for VMware 51

Page 62: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

6. The Software License Agreement page opens. Read the terms of the licenseagreement. Select I accept the terms in the license agreement and click Next. Ifyou do not accept the terms of the license agreement, the installation ends.

7. The Choose Installation Folder page opens prompting you to specify where toinstall the software. You can accept the default location shown in theDestination Folder field, type the location name, or click Browse to go to thelocation. Click Next.

8. Select Complete or Custom:v Select Complete to install all of the components listed in Table 8 on page 15.v Select Custom to specify only those components you want to install. At the

prompt, enter the number that corresponds to the component. If multiplecomponents, separate each number with a comma.

After completing your selection, click Next to continue.9. The Pre-Installation Summary panel opens. This panel contains a list of the

settings you provided. Review the settings and click Install to begin installingthe files.v When the Data Protection for VMware 7.1.2 installation is successful, the

following message is displayed:

The installation process completed successfully. If you are upgrading, you mustupgrade all components from the Data Protection for VMware, FlashCopy Manager forVMware, and Tivoli Storage Manager Backup-Archive Client (data mover) packagesbecause of component dependencies.

– If you are using Tivoli Storage FlashCopy Manager for VMware V4.1.x orearlier, you must upgrade to V4.1.2 as described in Upgrading TivoliStorage FlashCopy Manager for VMware (http://www.ibm.com/support/knowledgecenter/SS36V9_4.1.2/com.ibm.itsm.fcm.vm.doc/t_fvm_upgrade.html).

– If you are using Tivoli Storage Manager backup-archive client V7.1.x orearlier, you must upgrade to V7.1.2 as described in Upgrading the TivoliStorage Manager backup-archive client (http://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.2/com.ibm.itsm.client.doc/c_inst_mig.html).

– Data Protection for VMware offloads the backup workload from VMs to avStorage Backup Server. To accomplish this task, the Tivoli StorageManager backup-archive client must be installed on the vStorage BackupServer. During configuration, the backup-archive client is registered as adata mover node. This node runs the operation and "moves" the data fromthe vStorage Backup Server to the Tivoli Storage Manager server. Youmust upgrade all data mover nodes to the Tivoli Storage Managerbackup-archive client V7.1.2 level as described in “Upgrading the datamover nodes on the vStorage Backup Server” on page 54.

v When Data Protection for VMware V7.1.2 does not install successfully, followthe instructions provided in the installation dialog. You can also check thelog file to determine what must be done to resolve the issue. See “DataProtection for VMware log files” on page 45 for the location of various logfiles.

52 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 63: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Upgrading Data Protection for VMware on a Windows 32-bit system insilent mode

You can silently upgrade Data Protection for VMware on a supported 32-bitoperating system

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. Make sure that there are no active backup, restore, or mount sessions.2. Make sure that any existing Data Protection for VMware vSphere GUI or Tivoli

Storage Manager recovery agent GUI is closed.3. Either download the code package or insert the Data Protection for VMware

DVD into the DVD drive.4. In the Data Protection for VMware folder, go to the X86 folder.5. In a text editor, open the upgrade.iss file.6. Edit the upgrade.iss file:

a. Locate the line that starts with the following string: szDir=b. Optional: If you are not using the default installation path, edit this line to

refer to the installation path that you are using.c. Save and close the upgrade.iss file.

7. From a command prompt window, enter the following command:setup.exe /s /f1"<path_to_the_upgrade.iss_file>"

8. Restart the system.

Upgrading Data Protection for VMware on a Windows 64-bit system insilent mode

You can silently upgrade Data Protection for VMware on a supported 64-bitoperating system.

Before you begin

When Data Protection for VMware V6.x was installed to a non-default location, thesilent upgrade process installs Data Protection for VMware V7.1.2 features to thedefault installation directory. You cannot silently upgrade to a non-default location.See “Environment requirements” on page 12 for a list of default installationdirectories for each feature.

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. Make sure that there are no active backup, restore, or mount sessions.2. Make sure that any existing Data Protection for VMware vSphere GUI or Tivoli

Storage Manager recovery agent GUI is closed.3. Either download the code package or insert the Data Protection for VMware

product DVD into the DVD drive.4. In the folder for Data Protection for VMware, either go to the X64 folder.5. From a command prompt window, enter the following command:

setup.exe /s /v"/qn REBOOT=ReallySuppress"

Chapter 3. Upgrading Data Protection for VMware 53

Page 64: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Upgrading Data Protection for VMware on a Linux system in silentmode

You can silently upgrade Data Protection for VMware on a supported Linuxoperating system.

Procedure

To upgrade Data Protection for VMware, complete the following steps:1. Make sure that there are no active backup, restore, or mount sessions.2. Make sure that any existing Data Protection for VMware vSphere GUI or Tivoli

Storage Manager recovery agent GUI is closed.3. Either download the code package, or insert the Data Protection for VMware

product DVD into the DVD drive.4. From the folder for Data Protection for VMware go to the Linux folder.5. From a command prompt window, enter the following command:

./install-Linux.bin -i silent -DLICENSE_ACCEPTED=true

Upgrading the data mover nodes on the vStorage Backup ServerIf you offloaded backup workloads to a vStorage Backup Server using DataProtection for VMware Version 7.1.x, you must upgrade all data mover nodes tothe 7.1.2 level.

Before you begin

Data Protection for VMware works with Tivoli Storage Manager backup-archiveclient (installed on the vStorage Backup server) to complete full, incremental, andincremental forever snapshots of VMs. The client node on the vStorage Backupserver is called the data mover node. This node "moves" the data to the TivoliStorage Manager server for storage, and VM image-level restore at a later time.

Important: Data Protection for VMware stores sensitive information locally on thedata mover, and the data mover might also have direct access to VM storage.Access to the data mover must be protected. Allow only trusted users access to thedata mover system.

Tivoli Storage Manager backup-archive client is a separately licensed product thatcontains its own user interfaces and documentation. You must be familiar with theproduct to create a comprehensive plan to protect your VMs with Data Protectionfor VMware. Follow the instructions in Upgrading the Tivoli Storage Managerbackup-archive client (http://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.2/com.ibm.itsm.client.doc/c_inst_mig.html).

Procedure1. If the system you are upgrading to has the Data Protection for VMware

vSphere GUI Version 7.1.x installed, uninstall Tivoli Storage Managerbackup-archive client Version 7.1.x.

2. Upgrade each vStorage Backup Server in your Data Protection for VMwareenvironment with Tivoli Storage Manager backup-archive client Version 7.1.2.

3. When upgrading the Tivoli Storage Manager backup-archive client, upgrade theVMware vStorage API runtime files:a. During the upgrade process, select setup type Custom.

54 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 65: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

b. Select VMware vStorage API runtime files.4. Upgrade each vStorage Backup Server in your Data Protection for VMware

environment with Data Protection for VMware Version 7.1.2:a. Detailed instructions are provided in Chapter 3, “Upgrading Data Protection

for VMware,” on page 47.b. When upgrading the vStorage Backup Server, the only Data Protection for

VMware component required for the data mover node is the DataProtection for VMware Enablement File. This file enables the data movernode to perform the backup VM incremental function.

Chapter 3. Upgrading Data Protection for VMware 55

Page 66: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

56 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 67: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Chapter 4. Configuring Data Protection for VMware

This section provides instructions for configuring Data Protection for VMware andstarting related services.

Creating an initial configuration with the wizardUse the configuration wizard for an initial configuration or to complete minorchanges.

Before you begin

Fast path:

To access the wizard in the Data Protection for VMware vSphere GUI, start theGUI with either of these methods:v Click the Data Protection for VMware vSphere GUI icon in the Solutions and

Applications window of the vSphere Client.v Open a web browser and go to the GUI web server. For example:

https://guihost.mycompany.com:9081/TsmVMwareUI/

Login by using the vCenter user name and password.

To access the wizard in the Data Protection for VMware vCloud GUI, open a webbrowser and go to the GUI web server. For example:https://guihost.mycompany.com:9081/TsmVMwareUI/

Login by using the vCloud user name and password. This user name must be thename of a vCloud system administrator. In the Getting Started window, go to theConfiguration window and click Run Configuration Wizard.

(vSphere environment) Before you proceed with this configuration task, make surethat the following conditions exist:

v Windows On the system where the vSphere Web Client is installed, theC:\ProgramData\VMware\vSphere Web Client\webclient.properties file mustcontain these flags at the bottom of the file:scriptPlugin.enabled = true

These flags enable the Data Protection for VMware vSphere GUI to be visible inthe vSphere Web Client.

v Linux Windows The Data Protection for VMware vSphere GUI is installedon a system that meets the operating system prerequisites. It must have networkconnectivity to the following systems:– vStorage Backup Server– Tivoli Storage Manager server– vCenter Server

v Windows For vSphere Client 5.0 and 5.1, the Data Protection for VMwarevSphere GUI host URL address must be set in your Internet Explorer trusted

© Copyright IBM Corp. 2011, 2015 57

Page 68: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

sites zone. In the Internet Explorer menu bar, go to Tools > Internet Options >Security > Trusted sites. Click Sites and add the host URL address. Make sureto apply your changes. For example:

Add this website to the zone:http://myvctrmachine.xyzco.com

v Windows For vSphere Web Client 5.1, when you are using Internet Explorer onWindows Server 2008 or Windows 2012 Server, Enhanced Security Configuration(IE ESC) must be disabled. Go to the Server Manager and make sure that IE ESCis set to Off.

v Windows On Windows Server 2008, if you start the Data Protection for VMwarevSphere GUI and then add the address as a trusted site, a JavaScript errordenies continued access to the Data Protection for VMware vSphere GUI. Toresolve this issue, close and restart the Data Protection for VMware vSphereGUI.

About this task

To configure the Data Protection for VMware environment with the wizard,complete these steps:

Note: After an initial installation of the Data Protection for VMware GUI, theconfiguration wizard starts automatically.

Procedure1. In the Getting Started window, go to the Configuration window and click Run

Configuration Wizard. Review the welcome information and click Next tobegin the configuration tasks.

2. Follow the instructions in each page of the wizard until the Summary windowdisplays. Review the settings and click Finish to complete the configurationand exit the wizard.

Tip: Information about each configuration page is provided in the online helpthat is installed with the GUI. Click Learn More in any of the GUI windows toopen the online help for task assistance. See the Running the configuration wizardtopic.When the wizard completes successfully, the following results occur:v (vSphere environment) The vCenter node, VMCLI node, datacenter node or

nodes, and data mover nodes are registered on the Tivoli Storage Managerserver.

v (vSphere environment) The Data Protection for VMware vSphere GUIdomain is set.

v (vCloud environment) The vCloud Director node, VMCLI node, ProviderVDC nodes, Organization VDC nodes, and data mover nodes are registeredon the Tivoli Storage Manager server.

v When the backup-archive client data mover is installed on the same systemand the Create Services option was selected, the Client Acceptor Service(CAD), backup-archive Scheduler Service, and Remote Client Agent Serviceare set up and running.

v The proxy relationships are set correctly for these nodes.v The vmcliprofile is updated and set.v The local VMCLI password is set.

3. Verify that the data mover nodes are configured properly:

58 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 69: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

a. Click the Configuration tab to view the Configuration Status page.b. In the Configuration Status page, select a data mover node to view its status

information in the Status Details pane. When a node displays a warning orerror, click that node and use the information in the Status Details pane toresolve the issue. Then, select the node and click Validate Selected Node toverify whether the issue is resolved. Click Refresh to retest all nodes.If the issue is not resolved and the data mover nodes must be set up,complete the tasks that are described in “Setting up the data mover nodesin a vSphere environment” on page 75.

Results

Fast path: After you successfully complete this wizard task, no additionalconfiguration tasks are required to back up your VM data.

Important: Information about how to complete tasks with the GUI is provided inthe online help that is installed with the GUI. Click Learn More in any of the GUIwindows to open the online help for task assistance.

Editing an existing configuration with the notebookUse the Edit Configuration notebook to edit existing configuration settings.

Before you begin

The Edit Configuration notebook provides the following tasks for an existingconfiguration:v Set or change the Tivoli Storage Manager Administrator ID.v Reset the password and unlock the VMCLI node.v (vSphere environment) Add or remove VMware data centers to your Data

Protection for VMware vSphere GUI domain.v Add or remove data mover nodes.v Modify a password for an existing data mover node.

About this task

To edit an existing configuration, complete these steps:

Procedure1. In the Getting Started window, go to the Configuration window and click Edit

Configuration. (vCloud environment) You can also click the Tivoli StorageManager Server edit icon in the right column.

2. Go to the page relevant for your edit task and follow the instructions. You mustclick OK to save your changes before you proceed to another ConfigurationSettings page. Otherwise, your changes do not take effect.

Important: Information about each configuration page is provided in the onlinehelp that is installed with the GUI. Click Learn More in any of the GUIwindows to open the online help for task assistance. See the Editing an existingconfiguration topic.

Results

The updated settings are displayed in the Configuration window.

Chapter 4. Configuring Data Protection for VMware 59

Page 70: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Configuring the Tivoli Storage Manager recovery agent GUIInstructions about how to set up the Tivoli Storage Manager recovery agent GUIfor mount, file restore, or instant restore operations is provided.

Before you begin

These configuration tasks must be completed before you attempt an operation inthe Tivoli Storage Manager recovery agent GUI.

Procedure

1. Linux Log on to the Linux system with root user authority. Tivoli StorageManager recovery agent must be installed on this Linux system.a. Start the Tivoli Storage Manager recovery agent by clicking the Tivoli

Storage Manager recovery agent GUI icon or running theTDPVMwareMountRestore.sh script from the shell prompt.

b. Enter the login ID for the Windows system where both the Tivoli StorageManager recovery agent command-line interface and Secure Shell (SSH) areinstalled. Make sure that this login ID uses a host name convention that isdefined in the SSH known_hosts file. This Windows system uses SSH tocommunicate with the Tivoli Storage Manager recovery agent on yourLinux system.

c. Enter the host name or IP address of the Windows system where both theTivoli Storage Manager recovery agent command-line interface and SecureShell (SSH) are installed.

2. Windows Log on to the system where you want to restore files. Tivoli StorageManager recovery agent must be installed on the system.

3. Click Select TSM server in the Tivoli Storage Manager recovery agent GUI toconnect to a Tivoli Storage Manager server. Windows When the Tivoli StorageManager recovery agent is installed on the same system as the Data Protectionfor VMware vSphere GUI, and the applications were successfully configuredwith the Data Protection for VMware vSphere GUI configuration wizard, thefollowing conditions exist:v The data mover node and Tivoli Storage Manager server are populated in the

Tivoli Storage Manager recovery agent TSM Server field.v The following fields are populated in the TSM Server information panel:

– Authentication node contains a list of available data mover nodes.– Target node contains a list of data center nodes that are available for the

selected data mover node.When only one data mover node was defined locally with the configurationwizard, the Tivoli Storage Manager recovery agent uses that node toauthenticate when started.The Tivoli Storage Manager recovery agentremembers the last node name that connected to the Tivoli Storage Managerserver. If Use Password access generate is selected for this node (the last nodename to connect), the Tivoli Storage Manager recovery agent uses thesecredentials to connect to the Tivoli Storage Manager server on startup. If noprevious connection to the Tivoli Storage Manager server was done, and onlyone data mover node and one data center node are configured with the wizard,the Tivoli Storage Manager recovery agent uses these credentials to connect tothe Tivoli Storage Manager server on startup.

Linux Windows Specify the following options:

60 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 71: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Server addressEnter the IP address or host name of the Tivoli Storage Manager.

Server portEnter the port number that is used for TCP/IP communication with theserver. The default port number is 1500.

Node access method:

AsnodenameSelect this option to use a proxy node to access the VM backups thatare in the target node. The proxy node is a node that is granted "proxy"authority to perform operations on behalf of the target node.

Typically, the Tivoli Storage Manager administrator uses the grantproxynode command to create the proxy relationship between twoexisting nodes.

If you select this option, complete the following steps:a. Enter the name of the target node (the node where the VM backups

are located) in the Target Node field.b. Enter the name of the proxy node in the Authentication node field.c. Enter the password for the proxy node in the Password field.d. Click OK to save these settings and exit the Tivoli Storage Manager

information dialog.

When you use this method, the Tivoli Storage Manager recovery agentuser knows only the proxy node password, and the target nodepassword is protected.

FromnodeSelect this option to use a node with access limited only to the snapshotdata of specific VMs in the target node.

Typically, this node is given access from the target node that owns theVM backups by using the set access command:set access backup -TYPE=VM vmdisplayname mountnodename

For example, this command gives the node named myMountNode theauthority to restore files from the VM named myTestVM:set access backup -TYPE=VM myTestVM myMountNode

If you select this option, complete the following steps:a. Enter the name of the target node (the node where the VM backups

are located) in the Target Node field.b. Enter the name of the node that is given limited access in the

Authentication node field.c. Enter the password for the node that is given limited access in the

Password field.d. Click OK to save these settings and exit the Tivoli Storage Manager

information dialog.

When you use this method, you can see a complete list of backed-upVMs. However, you can restore only those VM backups to which thenode was granted access. In addition, the snapshot data is notprotected from expiration on the server. As a result, instant restore isnot supported in this method.

Chapter 4. Configuring Data Protection for VMware 61

Page 72: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Direct Select this option to authenticate directly to the target node (the nodewhere the VM backups are located).

If you select this option, complete the following steps:a. Enter the name of the target node (the node where the VM backups

are located) in the Authentication node field.b. Enter the password for the target node in the Password field.c. Click OK to save these settings and exit the Tivoli Storage Manager

information dialog.

Use Password access generateWhen this option is selected and the password field is empty, the TivoliStorage Manager recovery agent authenticates with an existingpassword that is stored in the registry. If not selected, you mustmanually enter the password.

To use this option, you must first manually set an initial password forthe node to which the option applies. You must specify the initialpassword when you connect to the Tivoli Storage Manager node for thefirst time by entering the password in the Password field and selectingthe Use Password access generate check box.

However, when you use the local data mover node as theAuthentication node, the password might already be stored in theregistry. As a result, select the Use Password access generate check boxand do not enter a password.

Tivoli Storage Manager recovery agent queries the specified server for a list ofprotected VMs, and shows the list.

4. Set the following mount, backup, and restore options by clicking Settings:

Virtual Volume write cacheThe Tivoli Storage Manager recovery agent that is running on theWindows backup proxy host saves data changes that are created duringLinux instant restore and mount. These changes are saved on a virtualvolume in the write cache. By default, the write cache is enabled andspecifies the C:\ProgramData\Tivoli\TSM\TDPVMware\mount\ path andthe maximum cache size is 90% of the available space for the selectedfolder. To prevent the system volume from becoming full, change thewrite cache to a path on a volume other than the system volume.

Folder for temporary filesSpecify the path where data changes are saved. The write cachemust be on a local drive and cannot be set to a path on ashared folder. If the write cache is disabled or full, attemptingto start an instant restore or mount session on Linux fails.

Cache sizeSpecify the size of the write cache. The maximum allowedcache size is 90% of the available space for the selected folder.

Restriction: To prevent any interruption during restore processing,exclude the write cache path from all antivirus software protectionsettings.

Data AccessSpecify the type of data to be accessed. If you are using an offlinedevice (such as tape or virtual tape library), you must specify theapplicable data type.

62 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 73: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Storage typeSpecify one of the following storage devices from which tomount the snapshot:

Disk/FileThe snapshot is mounted from a disk or file. Thisdevice is the default.

Tape The snapshot is mounted from a tape storage pool.When this option is selected, it is not possible to mountmultiple snapshots or run an instant restore operation.

VTL The snapshot is mounted from an offline virtual tapelibrary. Concurrent mount sessions on the same virtualtape library are supported.

Note: When the storage type is changed, you must restart theservice for the changes to take effect.

Disable expiration protectionDuring a mount operation, the snapshot on the Tivoli StorageManager server is locked to prevent it from expiring during theoperation. Expiration might occur because another snapshot isadded to the mounted snapshot sequence. This value specifieswhether to disable expiration protection during the mountoperation.v To protect the snapshot from expiration, do not select this

option. This option is cleared by default. The snapshot on theTivoli Storage Manager server is locked and the snapshot isprotected from expiration during the mount operation.

v To disable expiration protection, select this option. Thesnapshot on the Tivoli Storage Manager server is not lockedand the snapshot is not protected from expiration during themount operation. As a result, the snapshot might expireduring the mount operation. This expiration can produceunexpected results and negatively impact the mount point.For example, the mount point can become unusable orcontain errors. However, expiration does not affect thecurrent active copy. The active copy cannot expire during anoperation.When the snapshot is on a target replication server, thesnapshot cannot be locked because it is in read-only mode. Alock attempt by the server causes the mount operation to fail.To avoid the lock attempt and prevent such a failure, disableexpiration protection by selecting this option.

Read Ahead size (in 16-KB blocks)Specify the number of extra data blocks that are retrieved fromthe storage device after a read request is sent to a single block.The default values are as follows:v Disk or file: 64v Tape: 1024v VTL: 64

The maximum value for any device is 1024.

Chapter 4. Configuring Data Protection for VMware 63

Page 74: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Read Ahead cache size (in blocks)Specify the size of the cache where the extra data blocks arestored. The default values are as follows:v Disk or file: 10000v Tape: 75000v VTL: 10000

Since each snapshot has its own cache, make sure to plan howmany snapshots are mounted or restored simultaneously. Thecumulative cache size cannot exceed 75000 blocks.

Driver timeout (seconds)This value specifies the amount of time to process data requestsfrom the file system driver. If processing is not completed intime, the request is canceled and an error is returned to the filesystem driver. Consider increasing this value when youexperience timeouts. For example, timeouts might occur whenthe network is slow, the storage device is busy, or multiplemount or instant restore sessions are being processed. Thedefault values are as follows:v Disk or file: 60v Tape: 180v VTL: 60

Click OK to save your changes and exit the Settings.5. Verify that each Tivoli Storage Manager server node (that was specified with

the Asnodename and Fromnode options) allows backups to be deleted. The TivoliStorage Manager recovery agent creates unused temporary objects duringoperations. The BACKDELete=Yes server option allows these objects to beremoved so that they do not accumulate in the node.a. Log on to the Tivoli Storage Manager server and start an administrative

client session in command-line mode:dsmadmc -id=admin -password=admin -dataonly=yes

b. Enter this command:Query Node <nodename> Format=Detailed

Make sure the command output for each node includes the followingstatement:

Backup Delete Allowed?: Yes

If this statement is not included, update each node with this command:UPDate Node <nodename> BACKDELete=Yes

Run the Query Node command again for each node to verify that each nodeallows backups to be deleted.

6. When you use the Tivoli Storage Manager recovery agent in an iSCSI network,and the Recovery Agent does not use a data mover, go to theC:\ProgramData\Tivoli\TSM\RecoveryAgent\mount\RecoveryAgent.conf fileand specify the [IMOUNT] tag and Target IP parameter:[IMOUNT config]Target IP=<IP address of the network card on the systemthat exposes the iSCSI targets.>

64 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

||||

|||

Page 75: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

For example:[General config]param1param2...[IMount config]Target IP=9.11.153.39

After you add or change the Target IP parameter, restart the Recovery AgentGUI or Recovery Agent CLI.

VMware vCenter Server user privilege requirementsCertain VMware vCenter Server privileges are required to run Data Protection forVMware operations.

vCenter Server privileges required for installation

To install the Data Protection for VMware vSphere Client plug-in, the vSphere userrequires the Extension > Register extension, Unregister extension, Updateextension privileges. From the VMware vSphere client, you can create a role andadd to the role the extension set of associated privileges. You must then assign thisrole to the vCenter object in the VMware vCenter Server hierarchy for the user IDthat you plan to use during the installation process. You must enter this user IDwhen prompted for the vCenter user name on the Plug-in Registration vCenterpage during the installation.

Tip: Alternatively, rather than creating a specific role for the installation, you canenter the administrator user name when prompted for the vCenter user name.

vCenter Server privileges required to protect VMwaredatacenters with the Data Protection for VMware GUI

The phrase "Data Protection for VMware GUI" applies to the following GUIs:v Data Protection for VMware vSphere GUI accessed in a web browserv Data Protection for VMware vSphere GUI accessed as a plug-in from either of

the vSphere GUIs

The vCenter Server user ID that signs in to the Data Protection for VMware GUImust have sufficient VMware privileges to view content for a datacenter that ismanaged by the Data Protection for VMware GUI.

For example, a VMware vSphere environment contains five datacenters. A user,“jenn”, has sufficient privileges for only two of those datacenters. As a result, onlythose two datacenters where sufficient privileges exist are visible to “jenn” in theData Protection for VMware GUI. The other three datacenters (where “jenn” doesnot have privileges) are not visible to the user “jenn”.

The VMware vCenter Server defines a set of privileges collectively as a role. A roleis applied to an object for a specified user or group to create a privilege. From theVMware vSphere web client, you must create a role with a set of privileges. Tocreate a vCenter Server role for backup and restore operations, use the VMwarevSphere Client Add a Role function. You must assign this role to a user ID for aspecified vCenter Server or datacenter. If you want to propagate the privileges toall datacenters within the vCenter, specify the vCenter Server and select thepropagate to children check box. Otherwise, you can limit the permissions if you

Chapter 4. Configuring Data Protection for VMware 65

|

||||||

||

Page 76: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

assign the role to the required datacenters only with the propagate to childrencheck box selected. Data Protection for VMware GUI enforcement is at thedatacenter level.

The following example shows how to control access to datacenters for twoVMware user groups. First, create a role that contains all of the privileges definedin the Required privileges vCenter Server user ID and data mover table. The set ofprivileges in this example are identified by the role named “TDPVMwareRestore”.Group 1 requires access to restore virtual machines for the Primary1_DC andPrimary2_DC datacenters. Group 2 requires access to restore virtual machines forthe Secondary1_DC and Secondary2_DC datacenters.

For Group 1, assign the “TDPVMwareRestore” role to the Primary1_DC andPrimary2_DC datacenters. For Group 2, assign the “TDPVMwareRestore” role to theSecondary1_DC and Secondary2_DC datacenters.

The users in each VMware user group can use the Data Protection for VMwareGUI to restore virtual machines in their respective datacenters only.

The following table shows the privileges for the role that is associated with theuser ID that you plan to use to authenticate to the vCenter Server. The TivoliStorage Manager backup-archive client VMCUser option requires these sameprivileges.

Table 21. Required privileges vCenter Server user ID and data mover

vCenter Server objects Associated privileges that are required

Datastore Allocate space, Browse datastore, Low-level fileoperations

Extension Register extension, Unregister extension, Updateextension

Global Licenses, Log Event, Cancel Task

Host > Configuration Storage partition configuration

Network Assign network

Resource Assign virtual machine to resource pool, Migratepowered off virtual machine, Migrate powered onvirtual machine

Tasks Create Task, Update Task

vApp Add virtual machine, Assign resource pool, Create

Virtual machine > Configuration Add existing disk, Add new disk, Add or removedevice, Advanced, Change CPU count, Changeresource, Disk change tracking, Disk Lease, HostUSB device, Memory, Modify device setting, Rawdevice, Reload from path, Remove disk, Rename,Reset guest information, Settings, Swapfileplacement, Upgrade virtual hardware

Virtual machine > Guest operations Guest Operation Modifications, Guest OperationProgram Execution, Guest Operation Queries

Virtual machine > Interaction Power On, Power Off

Virtual machine > Inventory Create new, Register, Remove, Unregister

Virtual machine > Provisioning Allow disk access, Allow read-only disk access,Allow virtual machine download

66 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

|||

Page 77: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Table 21. Required privileges vCenter Server user ID and data mover (continued)

vCenter Server objects Associated privileges that are required

Virtual machine > Snapshotmanagement > State

Create snapshot, Remove snapshot, Renamesnapshot, Revert to snapshot

Tip: When you create a role, consider adding extra privileges to the role that youmight need later to complete other tasks on objects.

vCenter Server privileges required to use the data mover

The Tivoli Storage Manager backup-archive client that is installed on the vStorageBackup server (the data mover node) requires the VMCUser and VMCPw options. TheVMCUser option specifies the user ID of the vCenter or ESX server that you want toback up, restore, or query. The required privileges that are assigned to this user ID(VMCUser) ensure that the client can run operations on the virtual machine and theVMware environment. This user ID must have the same VMware privileges as thevCenter Server user ID that signs in to the Data Protection for VMware GUI (asdescribed in the Required privileges vCenter Server user ID and data mover table).

To create a vCenter Server role for backup and restore operations, use the VMwarevSphere Client Add a Role function. You must select the propagate to childrenoption when you add privileges for this user ID (VMCUser). In addition, consideradding other privileges to this role for tasks other than backup and restore. For theVMCUser option, enforcement is at the top-level object.

vCenter Server privileges required to use the IBM DataProtection extension

The IBM Data Protection extension is a vSphere web client extension that connectsto a Data Protection for VMware vSphere GUI web server. You can use thisextension to restore virtual machines in IBM storage. It provides the basic virtualmachine restore function that is available in the Data Protection for VMwarevSphere GUI. For example, you can restore virtual machines from Tivoli StorageManager server storage to their original (or alternative) location. When TivoliStorage FlashCopy Manager for VMware is available, you can restore your virtualmachines from local disk storage. IBM Data Protection extension requires a set ofprivileges that are separate from the privileges that are required to sign in to theData Protection for VMware vSphere GUI (web GUI).

During the installation the following custom privileges are created for the IBMData Protection extension:v Datacenter > IBM Data Protection

v Global > IBM Data Protection

Custom privileges that are required for the IBM Data Protection extension areregistered as a separate extension. The privileges extension key iscom.ibm.tsm.tdpvmware.IBMDataProtection.privileges.

These privileges allow the VMware administrator to enable and disable access toIBM Data Protection extension content. Only users with these custom privileges onthe required VMware object can access the IBM Data Protection extension content.One IBM Data Protection extension is registered for each vCenter Server and isshared by all GUI hosts that are configured to support the vCenter Server.

Chapter 4. Configuring Data Protection for VMware 67

|

||||||||

|||||

Page 78: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

From the VMware vSphere web client, you must create a role for users that canrestore virtual machines by using the IBM Data Protection extension. For this role,in addition to the standard virtual machine administrator role privileges requiredby the web client, you must specify the Datacenter > IBM Data Protectionprivilege. For each datacenter, assign this role for each user or user group whereyou want to grant permission for the user to restore virtual machines.

The Global > IBM Data Protection privilege is required for the user at the vCenterlevel. This privilege allows the user to manage, edit, or clear the connectionbetween the vCenter Server and the web GUI host. Assign this privilege toadministrators that are familiar with the Data Protection for VMware vSphere GUI(web GUI) that protects their respective vCenter Server. Manage your IBM DataProtection extension connections in the Connections page.

The following example shows how to control access to datacenters for two usergroups. Group 1 requires access to restore virtual machines for the NewYork _DCand Boston_DC datacenters. Group 2 requires access to restore virtual machines forthe LosAngeles_DC and SanFranciso_DC datacenters.

From the VMware vSphere client, create for example the “IBMDataProtectRestore”role, assign the standard virtual machine administrator role privileges and also theDatacenter > IBM Data Protection privilege.

For Group 1, assign the “IBMDataProtectRestore” role to the NewYork _DC andBoston_DC datacenters. For Group 2, assign the “IBMDataProtectRestore” role to theLosAngeles_DC and SanFranciso_DC datacenters.

The users in each group can use the IBM Data Protection extension in the vSphereweb client to restore virtual machines in their respective datacenters only.

Issues related to insufficient permissions

When the Data Protection for VMware GUI user does not have sufficientpermissions for any datacenter, access to the Data Protection for VMware GUI isblocked. Instead, the Data Protection for VMware GUI issues error messageGVM2013E to advise that the user is not authorized to access any manageddatacenters due to insufficient permissions. Other new messages are also availablethat inform users of issues that result from insufficient permissions. To resolve anypermissions-related issues, make sure that the user role is set up as described inthe previous sections. The user role must have all privileges that are identified inthe Required privileges vCenter Server user ID and data mover table, and theseprivileges must be applied at the datacenter level with the propagate to childrencheck box.

When the Tivoli Storage Manager user ID (specified by the VMCUser option)contains insufficient permissions for a backup and restore operation, the followingmessage is shown:ANS9365E VMware vStorage API error."Permission to perform this operation was denied."

When the Tivoli Storage Manager user ID contains insufficient permissions to viewa machine, the following messages are shown:Backup VM command started. Total number of virtual machines to process: 1ANS4155E Virtual Machine ’tango’ could not be found on VMware server.ANS4148E Full VM backup of Virtual Machine ’foxtrot’ failed with RC 4390

68 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 79: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

To retrieve log information through the VMware Virtual Center Server forpermission problems, complete these steps:1. In vCenter Server Settings, select Logging Options and set "vCenter Logging to

Trivia (Trivia).2. Re-create the permission error.3. Reset vCenter Logging to its previous value prevent recording excessive log

information.4. In System Logs, look for the most current vCenter Server log (vpxd-wxyz.log)

and search for the string NoPermission. For example:[2011-04-27 15:15:35.955 03756 verbose ’App’] [VpxVmomi] Invoke error:vim.VirtualMachine.createSnapshot session: 92324BE3-CD53-4B5A-B7F5-96C5FAB3F0EEThrow: vim.fault.NoPermission

This log message indicates that the user ID did not contain sufficientpermissions to create a snapshot (createSnapshot).

Data Protection for VMware GUI registration keysDepending on the options you select during installation, you can access the DataProtection for VMware GUI by using different methods. Registration keys arecreated for the Data Protection for VMware GUIs.

The phrase "Data Protection for VMware GUI" applies to the following GUIs:v Data Protection for VMware vSphere GUI accessed in a web browserv Data Protection for VMware vSphere GUI accessed as a plug-in from either of

the vSphere GUIsv IBM Data Protection extension in the vSphere Web Client GUI

The Data Protection for VMware vSphere GUI plug-in registration key iscom.ibm.tsm.tdpvmware@hostname. This key is registered when you select theRegister GUI as vCenter plug-in check box during the installation. A separate keyis registered for each web GUI host. When multiple web GUI hosts exist, thenmultiple instances of the Data Protection for VMware vSphere GUI plug-in areregistered.

IBM Data Protection extension registration key iscom.ibm.tsm.tdpvmware.IBMDataProtection. This key is registered when you selectthe Register the vSphere Web Client extension check box during the installation.A single instance of the IBM Data Protection extension is registered per vCenterserver.

A registration key is not created for the Data Protection for VMware vSphere GUIthat is accessed in a web browser.

To view the registration keys, log in to the VMware Managed Object Browser(MOB). After you log in to the MOB, go to Content→Extension Manager to viewthe registration keys.

Chapter 4. Configuring Data Protection for VMware 69

Page 80: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Locale settingsThe Data Protection for VMware GUIs do not support running in an environmentthat contains inconsistent locale settings among the processor that runs the DataProtection for VMware GUI, the VMware vSphere Client, and the Tivoli StorageManager server.

This locale setting requirement applies to the following Data Protection forVMware GUIs:v Data Protection for VMware vSphere GUIv Data Protection for VMware vSphere plug-inv Data Protection for VMware vCloud GUI

When a Data Protection for VMware GUI help page is accessed through the "Learnmore" link for the first time, the help displays in the language specified by thelocale setting of the processor that runs the Data Protection for VMware GUI, notthe language specified by the locale of the VMware vSphere Client. In thissituation, after the Data Protection for VMware GUI help page displays, click atleast two links within the help, then close the help. The next time the help isstarted from the "Learn more" link, it displays in the language specified by thelocale setting of the VMware vSphere Client.

Specify the same locale settings among the processor that runs the Data Protectionfor VMware GUI, the VMware vSphere Client, and the Tivoli Storage Managerserver.

Starting and running services for Data Protection for VMwareBy default, when you start the Windows operating system, Tivoli Storage Managerrecovery agent is started under the Local System Account.

Tivoli Storage Manager recovery agent services on MicrosoftWindows

When you start the Tivoli Storage Manager recovery agent from the Windows Startmenu, the service is automatically stopped. When the Tivoli Storage Managerrecovery agent, started from the Start menu finishes, the service startsautomatically. In addition, for these operating systems, the service does notprovide a GUI. In order to use the GUI, go to the Windows Start menu and selectAll Programs > Tivoli Storage Manager > Data Protection for VMware > TivoliStorage Manager recovery agent.

Data Protection for VMware command-line interface

You can verify that the Data Protection for VMware command-line interface isrunning by completing the following task:

Windows Go to Start > Control Panel > Administrative Tools > Services andverify that the status of Data Protection for VMware command-line interface isStarted.

Linux Go to the scripts directory (/opt/tivoli/tsm/tdpvmware/common/scripts/) and issue this command:./vmclid status

70 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 81: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v If the daemon is not running, issue this command to manually start the daemon:/opt/tivoli/tsm/tdpvmware/common/scripts/vmcli --daemon

These init scripts can also be used to stop and start the daemon:./vmclid stop./vmclid start

Chapter 4. Configuring Data Protection for VMware 71

Page 82: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

72 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 83: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Appendix A. Advanced configuration tasks

You must manually configure and verify each component using the availableapplication interfaces.

Before you begin

Make sure that the following conditions exist before proceeding with this task:v A Tivoli Storage Manager server must be available to register the nodes.v The Data Protection for VMware vSphere GUI is installed on a system that

meets the operating system prerequisites. It must have network connectivity tothe following systems:– vStorage Backup Server– Tivoli Storage Manager server– vCenter Server

Procedure1. Log on to the Tivoli Storage Manager server and complete the tasks described

in “Setting up the Tivoli Storage Manager nodes in a vSphere environment.”2. Log on to the vStorage Backup Server and complete the tasks described in

“Setting up the data mover nodes in a vSphere environment” on page 75.3. Log on to the system where the Data Protection for VMware vSphere GUI is

installed and complete the tasks described in “Configuring the Data Protectionfor VMware command-line interface in a vSphere environment” on page 83.

4. On the system where the Data Protection for VMware vSphere GUI is installed,start the vSphere Client and log on to the vCenter. If the vSphere Client isalready running, you must stop and restart it.

5. Access the Data Protection for VMware vSphere GUI by opening a webbrowser and going to the GUI web server. For example:https://guihost.mycompany.com:9081/TsmVMwareUI/

Login by using the vCenter user name and password.

Results

The Data Protection for VMware vSphere GUI is ready for backup and restoreoperations.

Setting up the Tivoli Storage Manager nodes in a vSphere environmentThis procedure describes how to manually register nodes to the Tivoli StorageManager server and grant proxy authority for these nodes in a vSphereenvironment.

Before you begin

Important: This manual task is not available for vCloud Director environments.You must use the Data Protection for VMware vCloud GUI to register nodes.

© Copyright IBM Corp. 2011, 2015 73

Page 84: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

About this task

All steps in this procedure are completed on the Tivoli Storage Manager server.

Tip: This task can also be completed by using the Data Protection for VMwarevSphere GUI configuration wizard or edit configuration notebook. Start the DataProtection for VMware vSphere GUI by opening a web browser and going to theGUI web server. For example:https://guihost.mycompany.com:9081/TsmVMwareUI/

Login by using the vCenter user name and password.v For an initial configuration, go to Configuration > Run Configuration Wizard.v For an existing configuration, go to Configuration > Edit Configuration.

Procedure1. Log on to the Tivoli Storage Manager server and start an administrative client

session in command-line mode:dsmadmc -id=admin -password=admin -dataonly=yes

2. Issue the REGister Node command to register the following nodes to the TivoliStorage Manager server:a. The node that represents the VMware vCenter (vCenter node):

REGister Node MY_VCNODE <password for MY_VCNODE>

b. The node that communicates between Tivoli Storage Manager and the DataProtection for VMware vSphere GUI (VMCLI node):REGister Node MY_VMCLINODE <password for MY_VMCLINODE>

c. The node that represents the data center and is where the VM data is stored(datacenter node):REGister Node MY_DCNODE <password for MY_DCNODE>

d. The node that "moves data" from one system to another (data mover node):REGister Node MY_DMNODE <password for MY_DMNODE>

Attention: When registering nodes to the Tivoli Storage Manager server, donot use the userid parameter.

3. Issue the GRant PROXynode command to define proxy relationships for thesenodes:

Remember: Target nodes own the data and agent nodes act on behalf of thetarget nodes. When granted proxy authority to a target node, an agent nodecan perform backup and restore operations for the target node.a. Grant proxy authority to the vCenter node by issuing this command:

GRant PROXynode TArget=MY_VCNODE AGent=MY_DCNODE,MY_VMCLINODE

This command grants MY_DCNODE and MY_VMCLINODE the authority to backupand restore VMs on behalf of MY_VCNODE.

b. Grant proxy authority to the datacenter node by issuing this command:GRant PROXynode TArget=MY_DCNODE AGent=MY_VMCLINODE,MY_DMNODE

This command grants MY_VMCLINODE and MY_DMNODE the authority to backupand restore VMs on behalf of MY_DCNODE.

c. (Optional) Grant proxy authority to any additional datacenter nodes or datamover nodes in your environment.

74 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 85: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

d. Verify the proxy relationships by issuing the Tivoli Storage Manager serverQuery PROXynode command. The expected command output is shown here:The expected command output is:

Target Node Agent Node-------------- ------------------------------MY_VCNODE MY_DCNODE MY_VMCLINODEMY_DCNODE MY_VMCLINODE MY_DMNODE

What to do next

After successfully setting up the Tivoli Storage Manager nodes, the next manualconfiguration task is to set up the data mover nodes as described in “Setting upthe data mover nodes in a vSphere environment.”

Setting up the data mover nodes in a vSphere environmentIf you offload backup workloads to a vStorage backup server in a vSphereenvironment, set up the data mover nodes to run the operation and move the datato the Tivoli Storage Manager server.

Before you begin

In a standard Data Protection for VMware environment, a separate dsm.opt file(Windows) or dsm.sys file stanza (Linux) is used for each data mover node. Whenmultiple data mover nodes on a vStorage Backup Server are used fordeduplication, and these nodes have authority to move data for the samedatacenter node, then each dsm.opt file or dsm.sys file stanza must include adifferent value for the dedupcachepath option. It is also recommended to specify adifferent schedlogname and errorlogname option for each dsm.opt file or dsm.sysfile stanza. The minimum set of required options is provided in Step 2.

A data mover node typically uses the SAN to back up and restore data. If youconfigure the data mover node to directly access the storage volumes, turn offautomatic drive letter assignment. If you do not turn off letter assignments, theclient on the data mover node might corrupt the Raw Data Mapping (RDM) of thevirtual disks. If the RDM of the virtual disks is corrupted, backups fail. Considerthe following conditions for restore configurations:

The data mover node is on a Windows Server 2008 or Windows Server 2008 R2system:

If you plan to use the SAN to restore data, you must set the WindowsSAN policy to OnlineAll. Run diskpart.exe and type the followingcommands to turn off automatic drive letter assignment and set the SANpolicy to OnlineAll:diskpart

automount disableautomount scrubsan policy OnlineAllexit

The backup-archive client is installed in a virtual machine on a Windows Server2008 or Windows Server 2008 R2 system:

If you plan to use the hotadd transport to restore data from dynamicallyadded disks, the SAN policy on that system must also be set to OnlineAll.

Appendix A. Advanced configuration tasks 75

Page 86: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Whether the client uses the SAN or hotadd transport, the Windows SANpolicy must be set to OnlineAll. If the SAN policy is not set to OnlineAll,restore operations fail, and the following message is returned:ANS9365E VMware vStoragee API error.TSM function name: vddksdk WriteTSM file : vmvddkdsk.cpp (2271)API return code : 1API error message : Unknown errorANS0361I DIAG: ANS1111I VmRestoreExtent(): VixDiskLib_WriteFAILURE startSector=512 sectorSize=512 byteOffset=262144,rc=-1

Restriction: Data Protection for VMware does not support scheduling the vStorageBackup Server (that is used as the data mover) to back up itself. Make sure thatthe vStorage Backup Server is excluded from its own schedules. Use a differentvStorage Backup Server to perform the backup of a VM that contains a vStorageBackup Server.

About this task

Tip: All steps in this procedure are completed on the vStorage Backup Server.

Procedure1. Update the backup-archive client options file with these settings:

v Windows Specify these options in the dsm.opt options file.

v Linux Specify these options in the dsm.sys file, in the stanza for the datamover node.

NODENAMESpecify the name of a previously defined data mover node. TivoliStorage Manager schedules are associated with the data mover node.

PASSWORDACCESSSpecify GENERATE so that the password is generated automatically(instead of a user prompt).

VMCHOSTSpecify the host name of the vCenter (or ESX server) where the off-hostbackup commands are directed.

VMBACKUPTYPESpecify FULLVM. This setting designates that a full VM backup is run.This value is necessary to run full VM and full VM incrementalbackups.

MANAGEDSERVICESSpecify this option to direct the client acceptor to manage both the Webclient and the scheduler (schedule webclient).

TCPSERVERADDRESSSpecify the TCP/IP address for the Tivoli Storage Manager server.

TCPPORTSpecify the TCP/IP port address for the Tivoli Storage Manager server.

COMMMETHODSpecify the communication method to be used by the Tivoli StorageManager server. For data mover nodes, you must specify TCP/IP as thecommunication method. Operations fail if another method is specified.

76 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 87: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

HTTPPORTThis option specifies a TCP/IP port address and is required only whenmore than one Client Acceptor Service (CAD) is used. For example, ifthere are two data mover nodes (and two CAD services), then theoption file for each data mover node must specify a different HTTPPORTvalue.

An example dsm.dm.opt file with these settings is provided here:

NODename MY_DMNODEPASSWORDAccess generateVMCHost vcenter.storage.usca.example.comVMBACKUPType FUllvmMANAGEDServices schedule webclientTCPServeraddress tsmserver.mycompany.xyz.comTCPPort 1500COMMMethod tcpipHTTPPORT 1583

For instant access, instant restore, or mount (file-level restore) operations, makesure to add VMISCSISERVERADDRESS to the backup-archive client options file.Specify the iSCSI server IP address of the network card on the vStorage BackupServer that is used for the iSCSI data transfer during instant operations. Thephysical network interface card (NIC) that is bound to the iSCSI device on theESX host must be on the same subnet as the NIC on the vStorage BackupServer that is used for the iSCSI transfer.

2. Issue this command to set the VMware vCenter user and password for the datamover node:dsmc set password -type=vm vcenter.mycompany.xyz.com <administrator><password1>

3. Start a backup-archive client command-line session with the -asnodename and-optfile command-line parameters:dsmc -asnodename=VC1_DC1 -optfile=dsm_DM1.optMake sure that after your initial sign-on, you are not prompted for yourpassword.Attention: To prevent the Tivoli Storage Manager scheduler from failing,make sure that the asnodename option is not set in the dsm.opt file (Windows)or dsm.sys file stanza (Linux). The scheduler queries the Tivoli StorageManager server for schedules associated with nodename (data mover node), notasnodename (datacenter node). If asnodename is set in dsm.opt or dsm.sys,schedules associated with asnodename (and not nodename) are queried. As aresult, scheduling operations fail.Complete these tasks:a. Verify the connection to the Tivoli Storage Manager server by issuing this

command:dsmc query sessionThis command shows information about your session, including the currentnode name, when the session was established, server information, andserver connection information.

b. Verify you can back up a VM by issuing this command:dsmc backup vm vm1In Steps 3b and 3d, vm1 is the name of the VM.

c. Verify that the backup completed successfully by issuing this command:dsmc query vm "*"

d. Verify that the VM can be restored by issuing this command:dsmc restore vm vm1 -vmname=vm1-restore

Appendix A. Advanced configuration tasks 77

Page 88: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

4. Set up the Client Acceptor Service (CAD) and Backup-Archive SchedulerService by completing these tasks:

v Windows This procedure uses the Tivoli Storage Manager Client GUIConfiguration wizard to set up the CAD and Scheduler Service. By default,the Remote Client Agent Service is also set up through the wizard. If you usethe Tivoli Storage Manager Client Service Configuration Utility (dsmcutil) forthis task, make sure to also install the Remote Client Agent Service.Start the Tivoli Storage Manager Client Configuration wizard from the filemenu by going to Utilities >Setup Wizard:

– Windows Select Help me configure the TSM Web Client. Enter theinformation as prompted.a. In the When do you want the service to start? option, select

Automatically when Windows boots.b. In the Would you like to start the service upon completion of

this wizard? option, select Yes.

When the operation completes successfully, return to the wizard welcomepage and proceed to Step b.

Tip: When you configure more than one data mover node on the samemachine, you must specify a different port value for each client acceptorinstance.

– Windows Select Help me configure the TSM Client Scheduler. Enter theinformation as prompted.a. When entering the scheduler name, make sure to select the Use the

Client Acceptor daemon (CAD) to manage the scheduler option.b. In the When do you want the service to start? option, select

Automatically when Windows boots.c. In the Would you like to start the service upon completion of

this wizard? option, select Yes.

v Linux Specify these options in the dsm.sys file, in the stanza for the datamover node:– Specify the managedservices option with these two parameters:

managedservices schedule webclient

This setting directs the client acceptor to manage both the Web client andthe scheduler.

– (Optional) If you want to direct schedule and error information to log filesother than the default files, specify the schedlogname and errorlognameoptions with the fully qualified path and file name in which to store loginformation. For example:schedlogname /vmsched/dsmsched_dm.logerrorlogname /vmsched/dsmerror_dm.log

v Linux To configure the Client Acceptor Service and Backup-ArchiveScheduler Service to act as a vStorage Backup Server, set the followingenvironment variable in the /etc/init.d/dsmcad file:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

v Linux Start the Client Acceptor Service:The installation program creates a startup script for the client acceptordaemon (dsmcad) in /etc/init.d. The client acceptor daemon must be started

78 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 89: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

before it can manage scheduler tasks, or manage the web client. As root, usethe following command to start the daemon:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

service dsmcad start

To enable the Client Acceptor Daemon to start automatically after a systemrestart, add the service as follows, at a shell prompt:# chkconfig --add dsmcad

5. Verify that the client acceptor and agent are set up correctly:a. Log on to a remote system.b. Use a web browser to connect to the HOST1 system by using this address

and port:http://HOST1.xyz.yourcompany.com:1581

Tip: When the IP address changes on the system where the Data Protection forVMware vSphere GUI is installed, you must complete the following:a. Set up the client acceptor again (Step 3) so that the Data Protection for

VMware vSphere GUI becomes enabled for operations. Otherwise, thePlug-in Manager shows the Data Protection for VMware vSphere GUI statusas disabled.

What to do next

After successfully setting up the data mover nodes, the next manual configurationtask is to configure the VMCLI profile as described in “Configuring the DataProtection for VMware command-line interface in a vSphere environment” on page83.

Setting up the data mover nodes in a vCloud environmentIf you offload backup workloads to a vStorage backup server, set up the datamover nodes to run the operation and move the data to the Tivoli StorageManager server.

Before you begin

In a standard Data Protection for VMware vCloud GUI environment, a separatedsm.opt file (Windows) or dsm.sys file stanza (Linux) is used for each data movernode. When multiple data mover nodes on a vStorage Backup Server are used fordeduplication, and these nodes have authority to move data for the same providervDC node, then each dsm.opt file or dsm.sys file stanza must include a differentvalue for the dedupcachepath option. It is also recommended to specify a differentschedlogname and errorlogname option for each dsm.opt file or dsm.sys file stanza.The minimum set of required options is provided in Step 2.All steps in thisprocedure are completed using the Tivoli Storage Manager backup-archive clientthat is installed on the vStorage backup server.

About this task

This task sets up the data mover nodes by updating the Tivoli Storage Managerbackup-archive client options and verifying connectivity to the Tivoli StorageManager server.

Appendix A. Advanced configuration tasks 79

Page 90: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Procedure1. Update the backup-archive client options file with these settings:

v Windows Specify these options in the dsm.opt options file.

v Linux Specify these options in the dsm.sys file, in the stanza for the datamover node.

NODENAMESpecify the name of a previously defined data mover node. TivoliStorage Manager schedules are associated with the data mover node.

PASSWORDACCESSSpecify GENERATE so that the password is generated automatically(instead of a user prompt).

VCDHOSTSpecify the host name of the VMware vCloud Director server thatmanages vApps that you want to protect.

VMCHOSTSpecify the host name of the VMware VirtualCenter or ESX server thatyou want to backup, restore, or query.

MANAGEDSERVICESSpecify this option to direct the client acceptor to manage both the Webclient and the scheduler (schedule webclient).

TCPSERVERADDRESSSpecify the TCP/IP address for the Tivoli Storage Manager server.

TCPPORTSpecify the TCP/IP port address for the Tivoli Storage Manager server.

COMMMETHODSpecify the communication method to be used by the Tivoli StorageManager server. For data mover nodes, you must specify TCP/IP as thecommunication method. Operations fail if another method is specified.

HTTPPORTThis option specifies a TCP/IP port address and is required only whenmore than one Client Acceptor Service (CAD) is used. For example, ifthere are two data mover nodes (and two CAD services), then theoption file for each data mover node must specify a different HTTPPORTvalue.

An example dsm.dm.opt file with these settings is provided here:

NODename DM_MYDMNODEPASSWORDAccess generateVCDHost vcloud1.example.comVMCHost vcenter1.example.comMANAGEDServices schedule webclientTCPServeraddress tsmserver.mycompany.xyz.comTCPPort 1500COMMMethod tcpipHTTPPORT 1583

2. Issue this command to set the vCloud Director user and password for the datamover node:dsmc set password -type=vcd vcloud1.example.com <vcloud_administrator1><vcloud_password1>

80 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 91: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

3. Issue this command to set the vCenter user and password for the data movernode:dsmc set password -type=vm vcenter1.example.com <vcenter_administrator1><vcenter_password1>

4. Start a backup-archive client command-line session with the -asnodename and-optfile command-line parameters:dsmc -asnodename=PVDC_vcloud1 -optfile=dsm_MYDM.optMake sure that after your initial sign-on, you are not prompted for yourpassword.Attention: To prevent the Tivoli Storage Manager scheduler from failing,make sure that the asnodename option is not set in the dsm.opt file (Windows)or dsm.sys file stanza (Linux). The scheduler queries the Tivoli StorageManager server for schedules associated with nodename (data mover node), notasnodename (provider vDC node). If asnodename is set in dsm.opt or dsm.sys,schedules associated with asnodename (and not nodename) are queried. As aresult, scheduling operations fail.Complete these tasks:a. Verify the connection to the Tivoli Storage Manager server by issuing this

command:dsmc query sessionThis command shows information about your session, including the currentnode name, when the session was established, server information, andserver connection information.

b. Verify you can back up a vApp by issuing this command:dsmc backup vapporg=organization_name,orgvdc=org_vdc_name1,vapp=vapp1In Steps 3b and 3d, vapp1 is the name of the vApp.

c. Verify that the backup completed successfully by issuing this command:dsmc query vapp "*"

d. Verify that the vApp can be restored by issuing this command:dsmc restore vapporg=organization_name,orgvdc=org_vdc_name1,vapp=vapp1-vappname=vapp1-restore

5. Set up the Client Acceptor Service (CAD) and Backup-Archive SchedulerService by completing these tasks:

v Windows This procedure uses the Tivoli Storage Manager Client GUIConfiguration wizard to set up the CAD and Scheduler Service. By default,the Remote Client Agent Service is also set up through the wizard. If you usethe Tivoli Storage Manager Client Service Configuration Utility (dsmcutil) forthis task, make sure to also install the Remote Client Agent Service.Start the Tivoli Storage Manager Client Configuration wizard from the filemenu by going to Utilities >Setup Wizard:– Select Help me configure the TSM Web Client. Enter the information as

prompted.a. In the When do you want the service to start? option, select

Automatically when Windows boots.b. In the Would you like to start the service upon completion of

this wizard? option, select Yes.

When the operation completes successfully, return to the wizard welcomepage and proceed to Step b.

Appendix A. Advanced configuration tasks 81

Page 92: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Tip: When you configure more than one data mover node on the samemachine, you must specify a different port value for each client acceptorinstance.

– Select Help me configure the TSM Client Scheduler. Enter theinformation as prompted.a. When entering the scheduler name, make sure to select the Use the

Client Acceptor daemon (CAD) to manage the scheduler option.b. In the When do you want the service to start? option, select

Automatically when Windows boots.c. In the Would you like to start the service upon completion of

this wizard? option, select Yes.

v Linux Specify these options in the dsm.sys file, in the stanza for the datamover node:– Specify the managedservices option with these two parameters:

managedservices schedule webclient

This setting directs the client acceptor to manage both the Web client andthe scheduler.

– (Optional) If you want to direct schedule and error information to log filesother than the default files, specify the schedlogname and errorlognameoptions with the fully qualified path and file name in which to store loginformation. For example:schedlogname /vappsched/dsmsched_dm.logerrorlogname /vappsched/dsmerror_dm.log

v Linux To configure the Client Acceptor Service and Backup-ArchiveScheduler Service to act as a vStorage Backup Server, set the followingenvironment variable in the /etc/init.d/dsmcad file:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

v Linux Start the Client Acceptor Service:The installation program creates a startup script for the client acceptordaemon (dsmcad) in /etc/init.d. The client acceptor daemon must be startedbefore it can manage scheduler tasks, or manage the web client. As root, usethe following command to start the daemon:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

service dsmcad start

To enable the Client Acceptor Daemon to start automatically after a systemrestart, add the service as follows, at a shell prompt:# chkconfig --add dsmcad

6. Verify that the client acceptor and agent are set up correctly:a. Log on to a remote system.b. Use a web browser to connect to the HOST1 system by using this address

and port:http://HOST1.xyz.yourcompany.com:1581

82 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 93: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Configuring the Data Protection for VMware command-line interface ina vSphere environment

Update the Data Protection for VMware command-line interface profile on thesystem where the Data Protection for VMware vSphere GUI is installed.

Before you begin

The profile (vmcliprofile) is located in this directory on the system where theData Protection for VMware vSphere GUI is installed:

Linux /opt/tivoli/tsm/tdpvmware/common/scripts

Windows 64-bit: C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts

About this task

All steps in this procedure are completed on the system where the Data Protectionfor VMware vSphere GUI is installed.

Tip: This task can also be completed by using the Data Protection for VMwarevSphere GUI configuration wizard or configuration notebook. Go to the DataProtection for VMware vSphere GUI Configuration window and click RunConfiguration Wizard or Edit Configuration.

Procedure1. Update the profile with these settings:

VE_TSMCLI_NODE_NAMESpecify the node that connects the Data Protection for VMwarecommand-line interface to the Tivoli Storage Manager server and theagent node (MY_VMCLINODE).

Restriction: The VMCLI node does not support the SSL protocol orLDAP authentication when communicating with the Tivoli StorageManager server.

VE_VCENTER_NODE_NAMESpecify the virtual node that represents a vCenter (MY_VCNODE).

VE_DATACENTER_NAMESpecify the virtual node that maps to a data center. The correct syntaxis shown here:datacenter_name::datacenter_node_name

v The datacenter_name value is case-sensitive.v Make sure to set this parameter for each data center in your

environment (MY_DCNODE).v The Data Protection for VMware vSphere GUI does not support data

centers with the same name in the vCenter.

VE_TSM_SERVER_NAMESpecify the hostname or IP of the Tivoli Storage Manager server.

Appendix A. Advanced configuration tasks 83

Page 94: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

VE_TSM_SERVER_PORTSpecify the port name to use for the Tivoli Storage Manager server. Thedefault value is 1500.

An example profile with these settings is provided here:

VE_TSMCLI_NODE_NAME MY_VMCLINODEVE_VCENTER_NODE_NAME MY_VCNODEVE_DATACENTER_NAME MyDatacenter1::MY_DCNODEVE_TSM_SERVER_NAME tsmserver.mycompany.xyz.comVE_TSM_SERVER_PORT 1500

2. Set the VMCLI node password in the pwd.txt file.This password is for the node that connects the Data Protection for VMwarecommand-line interface to the Tivoli Storage Manager server and the datamover node. It is specified by the VE_TSMCLI_NODE_NAME profileparameter.a. Issue the echo command to create a text file that contains the password:

Linux echo password1 > pwd.txtWindows echo password1> pwd.txt

Windows A space must not exist between the password (password1) and thegreater-than sign (>).

b. Issue this vmcli command to set the password for the VMCLI node:vmcli -f set_password -I pwd.txt

Important:

v Linux You must issue the vmcli -f set_password command astdpvmware user, and not as root.

v Linux Windows If you plan to generate application protectionreports, you must specify the -type VMGuest parameter to identify thatthe password applies to a VM. For example:vmcli -f set_password -type VMGuest -I password.txt

3. Verify that the Data Protection for VMware command-line interface is running:

Windows Click Start > Control Panel > Administrative Tools > Services andverify that the status of Data Protection for VMware command-line interfaceis Started.

Linux Go to the scripts directory (/opt/tivoli/tsm/tdpvmware/common/scripts/) and issue this command:./vmclid status

v If the daemon is running, proceed to Step 4.v If the daemon is not running, issue this command to manually start the

daemon:/opt/tivoli/tsm/tdpvmware/common/scripts/vmcli --daemon

These init scripts can also be used to stop and start the daemon:./vmclid stop./vmclid start

4. Issue this vmcli command to verify that the Data Protection for VMwarecommand-line interface recognizes the Tivoli Storage Manager nodeconfiguration:vmcli -f inquire_config -t TSM

5. Validate the nodes to confirm that no configuration errors occurred:

84 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 95: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

a. Start the Data Protection for VMware vSphere GUI by clicking the icon inthe Solutions and Applications window of the vSphere Client.

b. Go to the Configuration window.c. Select a node in the table and click Validate Selected Node. Status

information is shown in the Status Details pane.

What to do next

Linux Windows After successfully completing the three manual configurationtasks described in this section:1. “Setting up the Tivoli Storage Manager nodes in a vSphere environment” on

page 732. “Setting up the data mover nodes in a vSphere environment” on page 75

No additional configuration tasks are required to back up your VM data.

vSphere environment command-line interface configuration checklistUse this procedure to configure Data Protection for VMware in a vSphereenvironment by using a command-line interface only.

Procedure

Complete Step 1 and Step 2 on the Tivoli Storage Manager server.1. Register the following nodes to the Tivoli Storage Manager server:

a. The node that represents the VMware vCenter (vCenter node):REGister Node MY_VCNODE <password for MY_VCNODE>

b. The node that communicates between Tivoli Storage Manager and theData Protection for VMware vSphere GUI (VMCLI node):REGister Node MY_VMCLINODE <password for MY_VMCLINODE>

c. The node that represents the data center and is where the VM data isstored (datacenter node):REGister Node MY_DCNODE <password for MY_DCNODE>

d. The node that "moves data" from one system to another (data movernode):REGister Node MY_DMNODE <password for MY_DMNODE>

2. Define proxy relationships for these nodes:a. Grant proxy authority to the vCenter node by issuing this command:

GRant PROXynode TArget=MY_VCNODE AGent=MY_DCNODE,MY_VMCLINODE

This command grants MY_DCNODE and MY_VMCLINODE the authority to backup and restore VMs on behalf of MY_VCNODE.

b. Grant proxy authority to the datacenter node by issuing this command:GRant PROXynode TArget=MY_DCNODE AGent=MY_VMCLINODE,MY_DMNODE

This command grants MY_VMCLINODE and MY_DMNODE the authority to backup and restore VMs on behalf of MY_DCNODE.

c. (Optional) Grant proxy authority to any additional datacenter nodes ordata mover nodes in your environment.

d. Verify the proxy relationships by issuing the Tivoli Storage Manager serverQuery PROXynode command. The expected command output is shown here:

Appendix A. Advanced configuration tasks 85

Page 96: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Target Node Agent Node-------------- ------------------------------MY_VCNODE MY_DCNODE MY_VMCLINODEMY_DCNODE MY_VMCLINODE MY_DMNODE

Complete Steps 3 through 9 on the vStorage Backup Server.3. Set the appropriate values for the following backup-archive client options:

v Windows Specify these options in the dsm.opt options file.

v Linux Specify these options in the dsm.sys file, in the stanza for thedata mover node.

NODENAMEPASSWORDACCESSVMCHOSTVMBACKUPTYPEMANAGEDSERVICESTCPSERVERADDRESSTCPPORTCOMMMETHODHTTPPORT

Note: The HTTPPORT is required only when more than one Client AcceptorService (CAD) is used. For example, if there are two data mover nodes (andtwo CAD services), then the option file for each data mover node mustspecify a different HTTPPORT value.An example dsm.dm.opt file with these options is provided here:

NODename MY_DMNODEPASSWORDAccess generateVMCHost vcenter.storage.usca.example.comVMBACKUPType FUllvmMANAGEDServices schedule webclientTCPServeraddress tsmserver.mycompany.xyz.comTCPPort 1500COMMMethod tcpipHTTPPORT 1583

4. Verify the connection to the Tivoli Storage Manager server by issuing thiscommand:dsmc query session

5. Issue this command to set the VMware vCenter user and password for thedata mover node:dsmc set password -type=vm vcenter.mycompany.xyz.com <administrator><password1>

6. Set up the following Tivoli Storage Manager services:

v Windows

a. Install the Scheduler Service:dsmcutil install scheduler /name:"TSM Central Scheduler Service"/node:MY_DMNODE /password:MY_DMNODEPWD /startnow:no /autostart:no

b. Install the CAD:dsmcutil install cad /name:"TSM CAD - MY_DMNODE" /node:MY_DMNODE/password:MY_DMNODEPWD /optfile:c:\tsm\baclient\dsm.dm.opt/cadschedname:"TSM Central Scheduler Service" /startnow:no /autostart:yes

c. Install the Remote Client Agent Service:dsmcutil install remoteagent /name:"TSM AGENT" /node:MY_DMNODE/password:MY_DMNODEPWD /optfile:c:\tsm\baclient\dsm.dm.opt/partnername:"TSM CAD - MY_DMNODE" /startnow:no

86 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 97: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v Linux Specify the managedservices option in the dsm.sys file, in thestanza for the data mover node:Make sure to specify the schedule and webclient parameters:managedservices schedule webclient

This setting directs the client acceptor to manage both the Web client andthe scheduler.

7. Linux To configure the Client Acceptor Service and Backup-ArchiveScheduler Service to act as a vStorage Backup Server, set the followingenvironment variable in the /etc/init.d/dsmcad file:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

8. Linux Start the Client Acceptor Service: The installation program creates astartup script for the client acceptor daemon (dsmcad) in /etc/init.d. Theclient acceptor daemon must be started before it can manage scheduler tasks,or manage the web client. As root, use the following command to start thedaemon:service dsmcad start

To enable the Client Acceptor Daemon to start automatically after a systemrestart, add the service as follows, at a shell prompt:# chkconfig --add dsmcad

9. Verify that the Tivoli Storage Manager services are set up correctly:a. Log on to a remote system.b. Use a web browser to connect to the HOST1 system by using this address

and port:http://HOST1.xyz.yourcompany.com:1581

Complete Step 10 on the system where the Data Protection for VMware vSphereGUI is installed.10. Set the appropriate values for the following options in the Data Protection for

VMware command-line interface profile (vmcliprofile):VE_TSMCLI_NODE_NAMEVE_VCENTER_NODE_NAMEVE_DATACENTER_NAMEVE_TSM_SERVER_NAMEVE_TSM_SERVER_PORT

An example profile with these options is provided here:

VE_TSMCLI_NODE_NAME MY_VMCLINODEVE_VCENTER_NODE_NAME MY_VCNODEVE_DATACENTER_NAME MyDatacenter1::MY_DCNODEVE_TSM_SERVER_NAME tsmserver.mycompany.xyz.comVE_TSM_SERVER_PORT 1500

The profile is in the following directories:

Linux /opt/tivoli/tsm/tdpvmware/common/scripts

Windows 64-bit: C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts

a. Set the password for the VMCLI node:

Appendix A. Advanced configuration tasks 87

Page 98: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

1) Issue the echo command to create a text file that contains thepassword:

Linux

echo password1 > pwd.txt

Windows

echo password1> pwd.txt

2) Issue this vmcli command to set the password for the VMCLI node:

Important: Linux You must issue this command as tdpvmwareuser, and not as root.vmcli -f set_password -I pwd.txt

b. Verify that the Data Protection for VMware command-line interface isrunning:

Windows Issue this command from a Windows command prompt:net start

Linux Issue this command:./vmclid status

c. Issue this vmcli command to verify that the Data Protection for VMwarecommand-line interface recognizes the Tivoli Storage Manager nodeconfiguration:vmcli -f inquire_config -t TSM

Tape configuration guidelinesReview these guidelines before attempting backup or restore operations to tapestorage.

Preparing for backup to tape

Linux Windows Before attempting a backup to tape, these parameters must beset on the Tivoli Storage Manager server for your tape backups:1. Define the management class:

define mgmtclass <domain name> <policy set name> <mgmtclass name>

For example:

define mgmtclass tape tape DISK

2. Define the copy group:define copygroup <domain name> <policy set name> <mgmtclass name>destination=<stgpool name>

For example:

define copygroup tape tape DISK destination=Diskpool

3. Activate the policy set:activate policyset <domain name> <policy set name>

For example:

88 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 99: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

activate policyset tape tape

When configuring backup to physical tape, there are additional configurationrequirements. You must always keep Tivoli Storage Manager metadata (controlfiles) on disk and the actual VM backup data on tape.v Use the VMMC option to store the VMware backups (and VMware control files)

with a management class other than the default management class.v Use the VMCTLMC option to specify the management class to use specifically

for VMware control files during VMware backups. The management class thatyou specify overrides the default management class. It also overrides themanagement class specified by the VMMC option. The VMCTLMC managementclass must specify a disk storage pool, with no migration to tape.

v The VMMC option is always used to control the retention on VM backups. Thisoption applies to both disk and tape configurations. VMCTLMC is not used forthe retention of the control files. The control and data files are part of the samegrouping and are expired together based on the retention policy of the VMMCoption. When both options are set, VMMC is used for data files and VMCTLMCis used for control files.

Restriction: Restore operations that use storage agents in LAN-free configurationsmight restore files from a copy storage pool even though the data might beretrievable from a primary storage pool. This might happen if the restore request isfor a specific file, or the restore request is not using the no-query method, and theprimary copy of the file is stored in a storage pool that is not accessible through aLAN-free path. This can also affect non-restore situations such as Data Protectionfor VMware backup operations. In a Data Protection for VMware environment, thepreferred storage method for VM control files is disk, such that a mount is notneeded to restore the file during the incremental backup process. These VM controlfiles not only need to be placed on disk, but they should not be backed up to acopy storage pool that is available through a LAN-free path. If they are, a tapemount will be used to restore the files during a LAN-free incremental backup froma Data Protection for VMware client.

If the Tivoli Storage Manager server environment uses disk to tape migration,consider the following guidelines before migrating:v Set the disk storage pool MIGDELAY to a value that supports most mount

requests to be satisfied from disk. Typical usage patterns indicate that a highpercentage of individual file recoveries occurs within few days. For example,usually 3 - 5 days from the time a file was last modified. Therefore, considerkeeping data on disk for this brief period to optimize recovery operations.In addition, if client side deduplication is being used with the disk storage pool,set the MIGDELAY option that accommodates frequent full VM backups. Do notmigrate data from the deduplicated storage pool to tape until at least two fullbackups are completed for a VM. When data is moved to tape, it is no longerdeduplicated. For example, if full backups are run weekly, consider settingMIGDELAY to a value of at least 10 days. This setting ensures that each fullbackup identifies and uses duplicate data from the previous backup before beingmoved to tape.

v Use a device class file storage pool rather than a DISK device class storage pool.A typical value for a volume size, specified by a device class MAXCAPACITYparameter, would be 8 GB to 16 GB. For the associated storage pool, considerapplying collocation by file space. Each VM that is backed up is represented as aseparate file space in the Tivoli Storage Manager server. Collocating by file space

Appendix A. Advanced configuration tasks 89

Page 100: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

saves the data from multiple incremental backups for a given VM in the samevolume (disk file). When migration to tape occurs, collocation by file spacelocates multiple incremental backups for a given VM together on a physicaltape.

Use the Settings dialog to set the Tape Mode value.

A backup operation becomes interrupted when a mount or instant restoreoperation requires the same tape storage simultaneously in use by the backupoperation.

Preparing for restore from tape

File restore from physical tapeFile restore from a mounted snapshot volume on tape is supported withthe following limitations:v To mount a snapshot volume on physical tape, the recovery agent mount

must be operating in Tape Mode. In this mode, only one VM snapshotvolume can be mounted at a time from the recovery agent. The limit isone disk when mounting an iSCSI target or one volume when creating avirtual volume from a selected partition. You can have multiple TivoliStorage Manager tape storage pool volume mounts for different VMsnapshots. Create this scenario by installing the recovery agent onmultiple physical systems or on multiple VM guests. Enable Tape Modeby selecting Storage Type=Tape in the recovery agent GUI Settingsmenu.

v While recovery agent mount does not prevent an attempt to mount asnapshot on physical tape, performance can vary significantly and mightbe severely affected. The recovery agent mount does not control the waydata is accessed on tape. Data access patterns can be random and causeextensive challenges associated with tape positioning operations. ForLinux VMs, Tape Mode is only supported when directly using the iSCSIinitiator. Tape Mode is not supported from the Linux recovery agentuser interface.

While a limited number of files can be recovered from a mounted volumesnapshot on physical tape, consider running a full VM restore fromphysical tape if you must recover a large quantity of data or many files.

Typically the performance associated with a file restore from a VTL isquicker than physical tape. But, performance delays can be encountered.For example, mount might require a virtual tape volume that is in use byanother restore operation. Tape volumes in a VTL cannot be shared. In thiscase, mount processing is delayed until the restore operation with thevirtual tape volume completes.

When a mount or instant restore operation requires the same tape storagesimultaneously in use by a backup operation, the backup operationbecomes interrupted.

Instant restore from physical tapeThe Tivoli Storage Manager recovery agent instant restore operation is notsupported for snapshot volumes on physical tape.

The failure behavior for instant restore depends on the mode of operation:v Tape mode: Instant restore fails when the restore operation is selected.v Non-tape mode: Instant restore fails when an attempt is made to access

data on a tape volume.

90 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 101: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

This failure can occur when the user interface tries to show partitioninformation or when the operation is restoring data. The latter conditionoccurs only if disk to tape migration is being used, and part of thesnapshot data (the partition information) is on disk and some of the actualsnapshot data is on tape.

If you try to run instant restore in Tape Mode, the following message isshown:

Instant Restore is not supported in Tape Mode.

If you try to run instant restore while not in Tape Mode, and the data is ontape, the following message is shown:

An error occured while reading snapshot data from server. See log for details.

Manually configuring an iSCSI device on a Linux systemLinux

This procedure describes how to configure a Linux system that is used during aniSCSI mount operation. The VM snapshot is mounted from Tivoli Storage Managerserver storage.

Before you begin

During an iSCSI mount, an iSCSI target is created on the Tivoli Storage Managerrecovery agent system. Microsoft iSCSI Initiator is not required on the TivoliStorage Manager recovery agent system.

Tip: Open-iSCSI Initiator is provided with Red Hat Enterprise Linux and SUSELinux Enterprise Server.

Review the following iSCSI requirements before you proceed with this task:v You can connect to the iSCSI target from any system to create a volume that

contains the backup data. You can mount this volume from another system.v An iSCSI initiator is required on any system that must connect to the iSCSI

target.v An iSCSI initiator must be installed on the system where the data is to be

restored.v If a volume spans several disks, you must mount all the required disks. When

mirrored volumes are used, mount only one of the mirrored disks. Mountingone disk prevents a time-consuming synchronization operation.

About this task

Complete these steps to configure the Linux system that is used during an iSCSImount operation:

Procedure1. Record the iSCSI initiator name on the system where data is to be restored. The

iSCSI initiator name is located in the /etc/iscsi/initiatorname.iscsi file. Ifthe InitiatorName= value is empty, create an initiator name with the followingcommand:

Appendix A. Advanced configuration tasks 91

Page 102: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

twauslbkpoc01:~ # /sbin/iscsi-iname

Here is an example initiator name:iqn.2005-03.org.open-iscsi:3f5058b1d0a0

2. Add the initiator name to the /etc/iscsi/initiatorname.iscsi file.a. Edit the /etc/iscsi/initiatorname.iscsi file with vi command. For

example:twauslbkpoc01:~ # vi /etc/iscsi/initiatorname.iscsi

b. Update the InitiatorName= parameter with the initiator name. For example:InitiatorName=iqn.2005-03.org.open-iscsi:3f5058b1d0a0

3. Complete the following steps on the system where the Tivoli Storage Managerrecovery agent (or iSCSI target) is installed:a. Start the Tivoli Storage Manager recovery agent. Complete the Select TSM

server and Select snapshot dialogs and click Mount.b. In the Choose mount destination dialog, select Mount an iSCSI target.c. Create a target name. Make sure that it is unique and that you can identify

it from the system that runs the iSCSI initiator. For example:iscsi-mount-tsm4ve

d. Enter the iSCSI Initiator name that was recorded in Step 1 and click OK.e. Verify that the volume you just mounted is displayed in the Mounted

Volumes field.4. Locate and start the iSCSI Initiator program on the initiator system that was

selected in Step 1:a. Verify that the iSCSI service is running by issuing this command:

Red Hat Enterprise Linux:service iscsi status

SUSE Linux Enterprise Server:service open-iscsi status

If the service is not running, issuing this command to start the service:Red Hat Enterprise Linux:service iscsi start

SUSE Linux Enterprise Server:service open-iscsi start

b. Connect to the iSCSI target by issuing this command:iscsiadm -m discovery -t sendtargets -p <IP/hostname ofTivoli Storage Manager recovery agent system> --login

c. Verify that a new raw device is available by issuing this command:fdisk -l

5. Mount the file system:For a non-LVM volume, issue the following commands. In this example, thenew device is /dev/sdb1:mkdir /mountdirmount /dev/sdb1 /mountdir

For an LVM volume, complete the following tasks on the Linux guest:

92 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 103: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

a. Make sure that the vgimportclone script is available on the Linux system.This script is not shipped in the base (default) LVM package. As a result,you might need to update the LVM package to a level which provides thisscript.

b. Issue the vgimportclone command and include a new base volume groupname (VolGroupSnap01). For example:vgimportclone --basevgname /dev/VolGroupSnap01 /dev/sdb1

c. Issue the lvchange command to mark the logical volume as active. Forexample:lvchange -a y /dev/VolGroupSnap01/LogVol00

d. Issue these commands to mount the volume:mkdir /mountdirmount -o ro /dev/VolGroupSnap01/LogVol00 /mountdir

6. After the file-level restore operation completes, issue these commands:v For a non-LVM volume, issue the following commands:

a. Unmount the file system:umount /dev/sdb1 /mountdir

b. Remove the volume. If the volume is part of a volume group, firstremove the volume from the volume group by issuing the followingcommand:vgreduce <your_volume_group> /dev/sdb1

Then issue this command to remove the volume:pvremove /dev/sdb1

c. Log out of a single target:iscsiadm --mode node --targetname <target_name> --logout

d. Log out of all targets:iscsiadm --mode node --logout

v For an LVM volume, complete the following tasks on the Linux guest:a. Unmount the file system:

unmount /mountdir

b. Remove the logical volume:lvm lvremove LogVol00

c. Remove the volume group:lvm vgremove VolGroupSnap01

d. Log out of a single target:iscsiadm --mode node --targetname <target_name> --logout

e. Log out of all targets:iscsiadm --mode node --logout

Appendix A. Advanced configuration tasks 93

Page 104: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Manually configuring an iSCSI device on a Windows systemWindows

This procedure describes how to configure a Windows system that is used duringan iSCSI mount operation. The snapshot is mounted from Tivoli Storage Managerserver storage.

Before you begin

Review the following iSCSI requirements before you proceed with this task:v During an iSCSI mount, an iSCSI target is created on the Tivoli Storage Manager

recovery agent system. You can connect to the iSCSI target from any system tocreate a volume that contains the backup data. Also, you can then mount thisvolume from another system.

v iSCSI initiator is required on any system that must connect to the iSCSI target.v Make sure that an iSCSI initiator is installed on the system where the data is to

be restored.v Microsoft iSCSI Initiator is not required on the Tivoli Storage Manager recovery

agent system.

Review the following disk and volume requirements before you proceed with thistask:v If a volume spans several disks, you must mount all the required disks. When

mirrored volumes are used, mount only one of the mirrored disks. Mountingone disk prevents a time-consuming synchronization operation.

v If multiple dynamic disks were used on the backup system, these disks areassigned to the same group. As a result, Windows Disk Manager might considersome disks as missing and issue an error message when you mount only onedisk. Ignore this message. The data on the backed up disk is still accessible,unless some of the data is on the other disk. This issue can be solved bymounting all the dynamic disks.

About this task

Complete these tasks to configure the Windows system that is used during aniSCSI mount operation:

Procedure1. On the Tivoli Storage Manager recovery agent system, open port 3260 in the

LAN firewall and the Windows client firewall. Record the iSCSI initiator nameon the system where data is to be restored.The iSCSI initiator name is shown in the iSCSI initiator configuration windowof the Control Panel. For example:iqn.1991-05.com.microsoft:hostname

2. Complete these tasks on the system where the Tivoli Storage Manager recoveryagent (or iSCSI target) is installed:a. Start the Tivoli Storage Manager recovery agent GUI. Complete the Select

TSM server and Select snapshot dialogs and click Mount.b. In the Choose mount destination dialog, select Mount an iSCSI target.c. Create a target name. Make sure that it is unique and that you can identify

it from the system that runs the iSCSI initiator. For example:

94 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 105: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

iscsi-mount-tsm4ve

d. Enter the iSCSI Initiator name that was recorded in Step 1 and click OK.e. Verify that the volume you just mounted is displayed in the Mounted

Volumes field.f. When you use the Tivoli Storage Manager recovery agent in an iSCSI

network, and the Recovery Agent does not use a data mover, go to theC:\ProgramData\Tivoli\TSM\RecoveryAgent\mount\RecoveryAgent.conf fileand specify the [IMOUNT] tag and Target IP parameter:[IMOUNT config]Target IP=<IP address of the network card on the systemthat exposes the iSCSI targets.>

For example:[General config]param1param2...[IMount config]Target IP=9.11.153.39

After you add or change the Target IP parameter, restart the Recovery AgentGUI or Recovery Agent CLI.

3. Locate and start the iSCSI Initiator program on the initiator system that wasselected in Step 1:a. Connect to the iSCSI target:

1) In the Targets tab, enter the TCP/IP address of the Tivoli StorageManager recovery agent (iSCSI target) used in Step 2 in the Target:dialog. Click Quick Connect.

2) The Quick Connect dialog shows a target that matches the target namethat was specified in Step 2c. If it is not already connected, select thistarget and click Connect.

b. On the initiator system, go to Control Panel > Administrative Tools >Computer Management > Storage > Disk Management.1) If the mounted iSCSI target is listed as Type=Foreign, right-click Foreign

Disk and select Import Foreign Disks. The Foreign Disk Group isselected. Click OK.

2) The next screen shows the type, condition, and size of the Foreign Disk.Click OK and wait for the disk to be imported.

3) When the disk import completes, press F5 (refresh). The mounted iSCSIsnapshot is visible and contains an assigned drive letter. If drive lettersare not automatically assigned, right-click the required partition andselect Change Drive Letters or Paths. Click Add and select a driveletter.

4. Open Windows Explorer (or other utility) and browse the mounted snapshotfor a file-level restore operation.

5. After the file is restored, complete these tasks:a. Disconnect each iSCSI target by using the iSCSI Initiator Properties dialog.b. Dismount the volume from Step 2 by selecting the volume in the Tivoli

Storage Manager recovery agent GUI and clicking Dismount.

Appendix A. Advanced configuration tasks 95

||||

|||

|

||||||

||

Page 106: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Manually configuring the mount proxy nodes on a Linux systemLinux

Complete this task to add a mount proxy node to a remote Linux system.

Before you begin

In a standard Data Protection for VMware vSphere GUI environment, a separatedsm.sys file stanza is used for each mount proxy node. All steps in this procedureare completed by using the backup-archive client that is installed on the backupserver.

About this task

This task sets up the mount proxy nodes by updating the backup-archive clientoptions and verifying connectivity to the Tivoli Storage Manager server.

Procedure1. Specify these options in the dsm.sys file, in the stanza for the mount proxy

node.

NODENAMESpecify the name of a previously defined mount proxy node. TivoliStorage Manager schedules are associated with this node.

PASSWORDACCESSSpecify GENERATE so that the password is generated automatically(instead of a user prompt).

VMCHOSTSpecify the host name of the vCenter (or ESX server) where the off-hostbackup commands are directed.

MANAGEDSERVICESSpecify this option to direct the client acceptor to manage both the Webclient and the scheduler (schedule webclient).

TCPSERVERADDRESSSpecify the TCP/IP address for the Tivoli Storage Manager server.

TCPPORTSpecify the TCP/IP port address for the Tivoli Storage Manager server.

COMMMETHODSpecify the communication method to be used by the Tivoli StorageManager server. For mount proxy nodes, you must specify TCP/IP asthe communication method. Operations fail if another method isspecified.

HTTPPORTThis option specifies a TCP/IP port address and is must be specifiedonly when more than one Client Acceptor Service (CAD) is used. Forexample, if there are two mount proxy nodes (and two CAD services),then the option file for each mount proxy node must specify a differentHTTPPORT value.

An example dsm.sys file with these settings is provided here:

96 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 107: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Servername tsm_server1NODename datacenter1_MP_LNXPASSWORDAccess generateVMCHost vctr1.sto.exmp.comMANAGEDServices schedule webclientTCPServeraddress tsmserver.myco.comTCPPort 1500COMMMethod tcpipHTTPPORT 1583

2. Issue this command to set the VMware vCenter user and password for themount proxy node:dsmc set password -type=vm vcenter.mycompany.xyz.com <administrator><password1>

3. Start a backup-archive client command-line session with the -asnodename and-optfile command-line parameters:dsmc -asnodename=vctr1_datacenter1 -optfile=dsm_MP_LNX.sysMake sure that after your initial sign-on, you are not prompted for yourpassword.Attention: To prevent the Tivoli Storage Manager scheduler from failing,make sure that the asnodename option is not set in the dsm.sys file stanza(Linux). The scheduler queries the Tivoli Storage Manager server for schedulesthat are associated with nodename (mount proxy node), not asnodename(datacenter node). If asnodename is set in dsm.sys, schedules that are associatedwith asnodename (and not nodename) are queried. As a result, schedulingoperations fail.

4. Verify the connection to the Tivoli Storage Manager server by issuing thiscommand:dsmc query sessionThis command shows information about your session, including the currentnode name, when the session was established, server information, and serverconnection information.

5. Set up the Client Acceptor Service (CAD) and Backup-Archive SchedulerService by completing these tasks:v Specify these options in the dsm.sys file, in the stanza for the mount proxy

node:– Specify the managedservices option with these two parameters:

managedservices schedule webclient

This setting directs the client acceptor to manage both the Web client andthe scheduler.

– If you want to direct schedule and error information to log files other thanthe default files, specify the schedlogname and errorlogname options. Eachoption must contain the fully qualified path and file name in which tostore log information. For example:schedlogname /vmsched/dsmsched_mp_lnx.logerrorlogname /vmsched/dsmerror_mp_lnx.log

v To configure the Client Acceptor Service and Backup-Archive SchedulerService to act as a backup server, set the following environment variable inthe /etc/init.d/dsmcad file:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

v Start the Client Acceptor Service:The installation program creates a startup script for the client acceptordaemon (dsmcad) in /etc/init.d. The client acceptor daemon must be started

Appendix A. Advanced configuration tasks 97

Page 108: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

before it can manage scheduler tasks, or manage the web client. As root, usethe following command to start the daemon:export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

service dsmcad start

To enable the Client Acceptor Daemon to start automatically after a systemrestart, add the service as follows, at a shell prompt:# chkconfig --add dsmcad

6. Verify that the client acceptor and agent are set up correctly:a. Log on to a remote system.b. Use a web browser to connect to the HOST1 system by using this address

and port:http://HOST1.xyz.yourcompany.com:1581

Manually configuring the mount proxy nodes on a remote Windowssystem

Windows

Complete this task to add a mount proxy node to a remote Windows system. Thistask is required when you want to add a second Windows mount proxy node toyour environment.

Before you begin

Before you proceed with this task, make sure the primary Windows mount proxynode is configured.

About this task

Complete these steps on the remote Windows mount proxy system:

Procedure1. Install the following products on the remote Windows mount proxy system:

v Tivoli Storage Manager recovery agentv Tivoli Storage Manager backup-archive client

Access both products on the Tivoli Storage Manager for Virtual Environmentsproduct DVD or download image. Step-by-step installation instructions areavailable in IBM Knowledge Center at“Installing all features on Microsoft Windows 64-bit (Typical Installation)” onpage 16

2. Retrieve the sample options file content from the Windows mount proxy nodethat was created and add it to the options file on the remote Windows mountproxy system:a. On the primary Windows mount proxy system, go to the Configuration

window in the Data Protection for VMware vSphere GUI.b. Click Edit TSM Configuration in the Tasks list. The configuration notebook

might take a few moments to load.c. Go to the Mount Proxy Node Pairs page.d. In the Primary Node column of the table, go to the Windows mount proxy

node with the pending location and click View Settings.

98 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 109: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

e. Copy the sample dsm.opt file content that is shown in the Mount ProxySettings dialog.

f. Paste (or add) the sample dsm.opt file content to the options file on theremote Windows mount proxy system. Name the options file with aconvention that identifies its role as a remote mount proxy node.For example: dsm.REMOTE1_MP_WIN.opt.

3. Issue this backup-archive client command to set the VMware vCenter user andpassword for the mount proxy node:

Tip: To start the dsmc command line, open the Windows Start menu andselect Programs→ Tivoli Storage Manager → Backup Client Command Line.

dsmc set password -type=vm vcenter.mycompany.xyz.com <administrator> <password1>-optfile=dsm.REMOTE1_MP_WIN.opt

4. Verify the connection to the Tivoli Storage Manager server by issuing thiscommand:

dsmc query session -optfile=dsm.REMOTE1_MP_WIN.opt

This command shows information about your session, including the currentnode name, when the session was established, server information, and serverconnection information.

5. Set up the Client Acceptor Service (CAD) and Backup-Archive SchedulerService by completing these steps:This step uses the Tivoli Storage Manager Client GUI Configuration wizard toset up the CAD and Scheduler Service. By default, the Remote Client AgentService is also set up through the wizard. If you use the Tivoli Storage ManagerClient Service Configuration Utility (dsmcutil) for this task, make sure to alsoinstall the Remote Client Agent Service.Start the Tivoli Storage Manager Client Configuration wizard from the filemenu by going to Utilities >Setup Wizard:a. Select Help me configure the TSM Web Client. Enter the information as

prompted.1) In the When do you want the service to start? option, select

Automatically when Windows boots.2) In the Would you like to start the service upon completion of this

wizard? option, select Yes.

When the operation completes successfully, return to the wizard welcomepage and proceed to Step b.

Tip: When you configure more than one mount proxy node on the samesystem, you must specify a different port value for each client acceptorinstance.

b. Select Help me configure the TSM Client Scheduler. Enter the informationas prompted.1) When you enter the scheduler name, make sure to select the Use the

Client Acceptor daemon (CAD) to manage the scheduler option.2) In the When do you want the service to start? option, select

Automatically when Windows boots.3) In the Would you like to start the service upon completion of this

wizard? option, select Yes.

Appendix A. Advanced configuration tasks 99

Page 110: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

6. Verify that the client acceptor and agent are set up correctly. Use a web browserto connect to the HOST1 system by using this address and port:http://HOST1.xyz.yourcompany.com:1581

Manually configuring multiple client acceptor services on a Linuxsystem

Under certain circumstances, it might be beneficial to use multiple dsmcad serviceson a single Linux client host.

About this task

This task sets up multiple dsmcad instances to run and start automatically atsystem start:

Procedure1. Create two unique node stanzas in the dsm.sys file (by default, this file is in

/opt/tivoli/tsm/client/ba/bin/):

# cat /opt/tivoli/tsm/client/ba/bin/dsm.sysSErvername node1

COMMMethod TCPipTCPPort 1500TCPServeraddress localhostnodename node1errorlogname /opt/tivoli/tsm/client/ba/bin/dsmerror-node1.logschedlogname /opt/tivoli/tsm/client/ba/bin/dsmsched-node1.logmanagedservices webclient schedhttpport 1581passwordaccess generate

SErvername node2COMMMethod TCPipTCPPort 1500TCPServeraddress localhostnodename node2errorlogname /opt/tivoli/tsm/client/ba/bin/dsmerror-node2.logschedlogname /opt/tivoli/tsm/client/ba/bin/dsmsched-node2.logmanagedservices webclient schedhttpport 1582passwordaccess generate

Tip: It might be beneficial to include certain includes/exclude options todifferentiate these nodes. Otherwise, the same data might be backed up usingthe two node names.

2. Create two dsm.opt files, one for each node (by default these files are in/opt/tivoli/tsm/client/ba/bin):

# cat /opt/tivoli/tsm/client/ba/bin/dsm-node1.optservername node1# cat /opt/tivoli/tsm/client/ba/bin/dsm-node2.optservername node2

3. Enable passwordaccess generate by logging in with the credentials for bothnodes:

# cat /opt/tivoli/tsm/client/ba/bin/dsm-node1.optservername node1# cat /opt/tivoli/tsm/client/ba/bin/dsm-node2.optservername node2

100 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 111: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

4. Make two copies of the default rc.dsmcad init script (by default, this script isin /opt/tivoli/tsm/client/ba/bin):

# cp /opt/tivoli/tsm/client/ba/bin/rc.dsmcad /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node1# cp /opt/tivoli/tsm/client/ba/bin/rc.dsmcad /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node2

5. Edit rc.dsmcad-node1:a. Change this line for Red Hat Enterprise Linux distributions:

daemon $DSMCAD_BIN

To this line:

daemon $DSMCAD_BIN -optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node1.opt

b. Change this line for SUSE Linux Enterprise Server distributions:

startproc $DSMCAD_BIN

To this line:

startproc $DSMCAD_BIN -optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node1.opt

6. Edit rc.dsmcad-node2:a. Change this line for Red Hat Enterprise Linux distributions:

daemon $DSMCAD_BIN

To this line:

daemon $DSMCAD_BIN -optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node2.opt

b. Change this line for SUSE Linux Enterprise Server distributions:

startproc $DSMCAD_BIN

To this line:

startproc $DSMCAD_BIN -optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node2.opt

7. Create new links in /etc/init.d/ to point to the two new rc.dsmcad initscripts. These links allow the Linux init service to start the dsmcad services atsystem start:

# ln -s /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node2 dsmcad-node2# ln -s /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node1 dsmcad-node1# ls -la dsm*lrwxrwxrwx. 1 root root 45 Aug 2 08:04 dsmcad-node1 -> /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node1lrwxrwxrwx. 1 root root 45 Aug 2 08:04 dsmcad-node2 -> /opt/tivoli/tsm/client/ba/bin/rc.dsmcad-node2

8. Register the two new rc scripts with chkconfig:

# chkconfig --add dsmcad-node1# chkconfig --add dsmcad-node2

9. Test the configuration with the service dsmcad start command to make surethe scripts load and start without issue:

Appendix A. Advanced configuration tasks 101

Page 112: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

# service dsmcad-node1 startStarting dsmcad-node1: [ OK ]# service dsmcad-node2 startStarting dsmcad-node2: [ OK ]# ps -ef | grep dsmcadroot 2689 1 0 09:04 ? 00:00:00 /opt/tivoli/tsm/client/ba/bin/dsmcad-optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node1.optroot 2719 1 0 09:04 ? 00:00:00 /opt/tivoli/tsm/client/ba/bin/dsmcad-optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node2.opt

The command text is placed on two lines in this example to accommodatepage formatting.

10. Restart and confirm that the two dsmcad instances started automatically:

# ps -ef | grep dsmcadroot 1830 1 0 09:14 ? 00:00:00 /opt/tivoli/tsm/client/ba/bin/dsmcad-optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node1.optroot 1856 1 0 09:14 ? 00:00:00 /opt/tivoli/tsm/client/ba/bin/dsmcad-optfile=/opt/tivoli/tsm/client/ba/bin/dsm-node2.opt

The command text is placed on two lines in this example to accommodatepage formatting.

Modifying the VMCLI configuration fileThe VMCLI configuration file (vmcliConfiguration.xml) contains settings for theData Protection for VMware vSphere GUI or Data Protection for VMware vCloudGUI.

The Data Protection for VMware installation process requires that a user specifies avCenter or vCloud Server IP address and whether to enable access to the GUI by aweb browser. However, after installation, the server IP address and GUI accessmethod cannot be modified by the installer.

To update these settings, you can manually edit the VMCLI configuration file(vmcliConfiguration.xml). This file is created during installation in the followinglocations:On Windows systems:C:\IBM\tivoli\tsm\tdpvmware\webserver\usr\servers\veProfile\tsmVmGUIOn Linux systems:/opt/tivoli/tsm/tdpvmware/common/webserver/usr/servers/veProfile/tsmVmGUI/

To modify whether to enable access to the GUI by a web browser, enter one of thefollowing values in the <enable_direct_start></enable_direct_start> parameter:v yes The GUI can be accessed directly by a web browser. For example:

<enable_direct_start>yes</enable_direct_start>

v no The GUI cannot be accessed directly by a web browser. For example:

<enable_direct_start>no</enable_direct_start>

To modify whether to use the GUI for vSphere protection or vCloud protection,specify one of the following values in the <mode></mode> parameter:v vcenter The GUI is used for vSphere protection. For example:

102 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 113: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

<mode>vcenter</mode>

v vcloud The GUI is used for vCloud protection. For example:

<mode>vcloud</mode>

To modify the vCloud Director server IP address, make sure <mode>vcloud</mode>is set, then specify the IP address in the <vcloud_url></vcloud_url> parameter. Forexample:

<vcloud_url>https://vclouddir.myco.com</vcloud_url>

The https:// value is required at the beginning of the vCloud Director server IPaddress.

To modify the vCenter server IP address, make sure <mode>vcenter</mode> is set,then specify the IP address in the <vcenter_url></vcenter_url> parameter. Forexample:

<vcenter_url>https://vcenter.myco.com/sdk</vcenter_url>

The https:// value is required at the beginning of the vCenter server IP address.The /sdk value is required at the end of the vCenter server IP address.

Example vmcliConfiguration.xml files

The following vmcliConfiguration.xml file is configured for vCloud protection andweb browser access is enabled for the GUI:

<?xml version="1.0" encoding="UTF-8"?><vmcliAdaptor><VMCLIPath>C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts\</VMCLIPath><interruptDelay>900000</interruptDelay><mode>vcloud</mode><vcloud_url>https://vclouddir.myco.com</vcloud_url><vcenter_url></vcenter_url><enable_direct_start>yes</enable_direct_start></vmcliAdaptor>

The following vmcliConfiguration.xml file is configured for vSphere protectionand web browser access is enabled for the GUI:

<?xml version="1.0" encoding="UTF-8"?><vmcliAdaptor><VMCLIPath>C:\Program Files (x86)\Common Files\Tivoli\TDPVMware\VMwarePlugin\scripts\</VMCLIPath><interruptDelay>900000</interruptDelay><mode>vcenter</mode><vcloud_url></vcloud_url><vcenter_url>https://vcenter.myco.com/sdk</vcenter_url><enable_direct_start>yes</enable_direct_start></vmcliAdaptor>

Appendix A. Advanced configuration tasks 103

Page 114: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

104 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 115: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Appendix B. Migrating to an incremental forever backupstrategy

Use this procedure to migrate existing backup schedules, policies, and data movernodes for use in an incremental forever backup strategy.

Before you begin

You can use the periodic full backup strategy that was implemented in DataProtection for VMware version 6.2 and 6.3. If you want to continue to use theperiodic full backup strategy, you do not need to change your policy or schedules.You must ensure that you upgrade only your data mover nodes to version 6.4 (orlater), as documented in the following procedure. However, if you want to use theincremental forever backup strategy, in addition to updating the data mover nodesto version 6.4 (or later), you must also update the schedules and policy for thosedata mover nodes that move to this incremental forever backup strategy.

To migrate existing Data Protection for VMware schedules to an incrementalforever backup strategy, you must complete the tasks documented in thisprocedure.

Important:

v Although some tasks are discrete, all applications and components must beupgraded eventually to completely benefit from the incremental forever strategy.This publication provides all information to guide you through each task.

v There are several methods available to complete the entire migration process.However, the methods documented in this publication are considered efficientmethods for typical Data Protection for VMware environments.

v The schedule to be migrated in this procedure is a schedule that was createdwith the Data Protection for VMware vSphere GUI backup wizard. If theschedule to be migrated was created manually, then the schedule updatesidentified in this procedure must also be made manually.

About this task

Procedure1. Upgrade all vStorage Backup Servers protecting a single vCenter. Make sure

that this upgrade is completed at the same time for all data mover nodes.v This upgrade requires installing Tivoli Storage Manager Backup-Archive

Client version 6.4 (or later) on the vStorage Backup Server.v As a discrete task, you do not have to complete Step 2 or Step 3 immediately

following Step 1. After upgrading the data mover nodes, you can continue toback up VMs in your existing environment. You can complete Step 2 andStep 3 when a more convenient opportunity becomes available.

Tip: If your environment uses multiple vStorage Backup Servers, considerupgrading only one server. Then, verify that your server operates successfullybefore upgrading the remaining vStorage Backup Servers.

2. Update the backup policy and backup schedules to implement incrementalforever backups:

© Copyright IBM Corp. 2011, 2015 105

Page 116: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Complete the following backup policy tasks on the Tivoli Storage Managerserver by issuing commands in the administrative command-line client(dsmadmc):a. Create a management class for the appropriate domain and policy set for

your incremental forever backups. This example creates management classmgmt_ifincr28 for domain domain1 and policy set prodbackups. Themanagement class name is used to describe an incremental forever backupstrategy that retains 28 backup versions:define mgmtclass domain1 prodbackups mgmt_ifincr28description="Retain 28 backup versions"

b. Create a backup copy group for your incremental forever backups. Thisexample creates a standard backup copy group for domain domain1, policyset prodbackups, and management class mgmt_ifincr28:define copygroup domain1 prodbackups mgmt_ifincr28 standard type=backup

The standard type=backup entries are default values and are not required tobe specified. They are included in this example to illustrate that the copygroup name is STANDARD and that the type of copy group is backup (insteadof archive).

c. Update the backup copy group with the appropriate version, retention, andexpiration settings:

Remember: In Data Protection for VMware version 6.2 and 6.3, backupversion, retention, and expiration is based on a backup-chain granularitylevel. This method means that even though both full and incrementalbackups are taken (as part of the 6.2 and 6.3 periodic full backup strategy),version expiration counts only full backups. In Data Protection for VMwareversion 6.4 (or later), backup version, retention, and expiration is based on asingle-backup granularity level. This method means that version expirationcounts both full and incremental backups.The verexists parameter specifies the maximum number of VM backupversions to retain on the server. If an incremental forever backup operationcauses the number to be exceeded, the server expires the oldest backupversion that exists in server storage. This example specifies verexists=28.This value means that a maximum of 28 VM backup versions are retainedon the server.The retextra parameter specifies the maximum number of days to retain aVM backup version, after that version becomes inactive. This examplespecifies retextra=nolimit. This value means that the maximum number ofinactive VM backup versions are retained indefinitely. However, whenverexists is specified, the nolimit value is superseded by the verexistsvalue. As a result, in this example, a maximum of 28 inactive VM backupversions are retained on the server.

Based on the settings described in this step, the backup copy group is updatedas follows:update copygroup domain1 prodbackups mgmt_ifincr28 verexists=28retextra=nolimit

In this example, the existing Data Protection for VMware version 6.3environment consists of the following hosts and schedules:v An ESX cluster (esxcluster) that contains two ESX hosts (esxhost1,

esxhost2).v The bup_esxcluster_full schedule runs a weekly full backup of each ESX

host with data mover node dm1.

106 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 117: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

v The bup_esxcluster_incr schedule runs a daily incremental backup of eachESX host with data mover node dm2.

Complete the following backup schedule tasks in the Data Protection forVMware vSphere GUI:a. Start the Data Protection for VMware vSphere GUI by clicking the icon in

the Solutions and Applications window of the vSphere Client.b. In the Getting Started window, click the Backup tab to open the Managing

backup schedules window.c. Locate the backup schedule (used for periodic full or incremental backups)

to update. In this procedure, the periodic full bup_esxcluster_full scheduleis used.

d. Right-click the schedule and select Properties.e. Go to the Schedule page and specify Incremental forever from the Backup

strategy drop-down list.f. Click OK to save your update.g. Locate the backup schedule used for incremental backups. Right-click the

schedule and select Delete. Since the periodic full bup_esxcluster_fullschedule was updated to incremental forever, this incremental schedule isno longer needed.

3. Now that you have an incremental forever backup schedule, you can reducethe number of data mover nodes by consolidating them:This example consolidates two data mover nodes into one data mover node.a. On the vStorage Backup Server, open a command prompt and go to the

directory where the options file for dm1 is located.b. Using a text editor (such as Notepad), update this file with the following

options:1) Specify vmmaxparallel to control the number of VMs backed up at one

time by dm1:vmmaxparallel=2

The default value and minimum value are 1. The maximum value is 50.

Tip: For every data mover node you remove, increase thevmmaxparallel value by 1.Alternatively, you can specify vmlimitperhost to control the number ofVMs backed up at one time by dm1 from the same ESX host:vmlimitperhost=1

This option is useful when wanting to prevent a host from beingoverloaded. The default value is 0 (no limit). The minimum value is 1.The maximum value is 50.

c. Log on the Tivoli Storage Manager server. Use the administrativecommand-line client (dsmadmc) to specify the maximum number ofsimultaneous VM backup sessions that can connect with the server. Forexample:maxsessions=4

The default value is 25. The minimum value is 2.4. Verify that the updated data mover nodes are working properly:

a. Start the Data Protection for VMware vSphere GUI by clicking the icon inthe Solutions and Applications window of your vSphere Client.

Appendix B. Migrating to an incremental forever backup strategy 107

Page 118: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

b. In the Getting Started window, click the Configuration tab to view theConfiguration Status page.

c. In the Configuration Status page, select the vCenter that is protected in Step1. Click a data mover node to view its status information in the StatusDetails pane. When a node displays a warning or error, click that node anduse the information in the Status Details pane to resolve the issue. Then,select the node and click Validate Selected Node to verify whether the issueis resolved. Click Refresh to retest all nodes.

Results

Upon successful completion of each task, the environment is ready for use in anincremental forever backup strategy.

Restrictions: After migrating schedules from periodic full backup types toincremental forever backup types, be aware of the following restrictions:v Changing migrated schedules back to periodic full backup types per VM (file

space) is not supported.v Using an earlier version of the Tivoli Storage Manager backup-archive client on

a migrated file space is not supported.v When a file space contains one (or more) incremental forever backups, a periodic

full backup is not supported.

Example of version control with the verexists parameter

In this schedule migration example, Data Protection for VMware version 6.3 usesthe following two backup schedules:v -mode=full: A weekly full backup is scheduled (Sundays) and the maximum

number of VM backup versions to retain on the server is four (verexists=4).v -mode=incr: A weekday incremental backup is scheduled (Monday through

Saturday).

The number of backups taken for a four week period is 28:v Four full backups (one weekly full backup multiplied by four weeks)v 24 incremental backups (six weekday incremental backups multiplied by four

weeks)

Since Data Protection for VMware version 6.3 counts only full backups, theverexists=4 value preserves all 28 backups.

To provide the same level of protection with Data Protection for VMware version6.4 (or later) and the incremental forever backup strategy, create the followingschedule:-mode=iffull: A daily incremental forever full backup is scheduled and theverexists parameter is set to 28.The number of backups taken for a four week period is 28:v One incremental forever full backup (initial backup multiplied by one day)v 27 incremental forever incremental backups (daily incremental forever backups

multiplied by 27 days)

Since Data Protection for VMware version 6.4 (or later) counts both full andincremental backups, the verexists=28 value preserves all 28 backups.

108 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 119: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Appendix C. Integrating Tivoli Storage Manager for VirtualEnvironments with Tivoli Storage FlashCopy Manager forVMware

Integration allows offload backups of the Tivoli Storage FlashCopy® Managerhardware snapshots to a Tivoli® Storage Manager server for long-term retention.

Before you begin

Tivoli Storage FlashCopy Manager for VMware is used to create hardwaresnapshots of VMs on VMware datastores. When integrated with Data Protectionfor VMware, you can offload backups of the VMs to a Tivoli Storage Managerserver from the Tivoli Storage FlashCopy Manager for VMware hardwaresnapshots for long-term retention.

The benefits of integrating Tivoli Storage FlashCopy Manager for VMware withData Protection for VMware are as follows:v In addition to the hardware snapshots that are retained on disk, backup versions

of VMs are retained on the Tivoli Storage Manager server based on StorageManagement policies that are set up by the Tivoli Storage Manageradministrator.

v The data movement to Tivoli Storage Manager can be offloaded using a vStoragebackup server to minimize the load on the resources available to the VMs in thevCenter server. The vStorage backup server can be a physical or VM.

About this task

This method requires these programs to be installed and configured:v Tivoli Storage FlashCopy Manager for VMware is installed and configured on a

physical server running RedHat or SUSE Linux, or in a VM, in one of the ESX orESXi hosts in the datacenter, with a guest operating system of RedHat or SUSELinux. If Tivoli Storage FlashCopy Manager for VMware is installed on a VM,this VM must not be part of any backup process.

v Data Protection for VMware is installed and configured on the same system asTivoli Storage FlashCopy Manager for VMware.

Procedure

To integrate Tivoli Storage Manager for Virtual Environments with Tivoli StorageFlashCopy Manager for VMware, complete the following tasks:1. Install Tivoli Storage Manager for Virtual Environments V7.1.2. Follow the

instructions in “Installing selected features on Linux with InstallAnywheremode” on page 22.

2. Install and configure Tivoli Storage Manager backup-archive client V7.1.2.Follow the instructions in Install the Tivoli Storage Manager backup-archiveclient data mover packages.

3. Configure Tivoli Storage Manager for Virtual Environments V7.1.2. Follow theinstructions in Chapter 4, “Configuring Data Protection for VMware,” on page57.

© Copyright IBM Corp. 2011, 2015 109

Page 120: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

4. Install Tivoli Storage FlashCopy Manager for VMware V4.1.2. Follow theinstructions in Installing by using the installation wizard (http://www.ibm.com/support/knowledgecenter/SS36V9_4.1.2/com.ibm.itsm.fcm.vm.doc/t_fvm_install_gui.html)

5. Configure Tivoli Storage FlashCopy Manager for VMware V4.1.2. Follow theinstructions in Configuring Tivoli Storage FlashCopy Manager for VMware(http://www.ibm.com/support/knowledgecenter/SS36V9_4.1.2/com.ibm.itsm.fcm.vm.doc/t_fvm_config_ovr.html)

What to do next

The following scenarios provide insight into possible integration uses:v To minimize the impact of the offload backup operation to the production ESX

host, specify an auxiliary ESX host for Tivoli Storage FlashCopy Manager forVMware. In this scenario, the hardware snapshots are mounted and attached tothe auxiliary ESX host. As a result, the Data Protection for VMware offloadbackup operation is processed from the auxiliary ESX host.

v When you implement backups for disaster recovery scenarios, consider storingthe offloaded backups in a different physical location than the original data. Forexample, offload the backups to a Tivoli Storage Manager server that is in adifferent location than the storage device subsystem.

110 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 121: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Appendix D. Accessibility features for the Tivoli StorageManager product family

Accessibility features help users who have a disability, such as restricted mobilityor limited vision to use information technology products successfully.

Accessibility features

The IBM Tivoli Storage Manager family of products includes the followingaccessibility features:v Keyboard-only operation using standard operating-system conventionsv Interfaces that support assistive technology such as screen readers

The command-line interfaces of all products in the product family are accessible.

Tivoli Storage Manager Operations Center provides the following additionalaccessibility features when you use it with a Mozilla Firefox browser on aMicrosoft Windows system:v Screen magnifiers and content zoomingv High contrast mode

The Operations Center and the Tivoli Storage Manager Server can be installed inconsole mode, which is accessible.

The Operations Center help system is enabled for accessibility. For moreinformation, click the question mark icon on the help system menu bar.

Vendor software

The Tivoli Storage Manager product family includes certain vendor software that isnot covered under the IBM license agreement. IBM makes no representation aboutthe accessibility features of these products. Contact the vendor for the accessibilityinformation about its products.

IBM and accessibility

See the IBM Human Ability and Accessibility Center (http://www.ibm.com/able)for information about the commitment that IBM has to accessibility.

© Copyright IBM Corp. 2011, 2015 111

Page 122: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

112 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 123: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Notices

This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this document inother countries. Consult your local IBM representative for information on theproducts and services currently available in your area. Any reference to an IBMproduct, program, or service is not intended to state or imply that only that IBMproduct, program, or service may be used. Any functionally equivalent product,program, or service that does not infringe any IBM intellectual property right maybe used instead. However, it is the user's responsibility to evaluate and verify theoperation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not grant youany license to these patents. You can send license inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle Drive, MD-NC119Armonk, NY 10504-1785United States of America

For license inquiries regarding double-byte character set (DBCS) information,contact the IBM Intellectual Property Department in your country or sendinquiries, in writing, to:

Intellectual Property LicensingLegal and Intellectual Property LawIBM Japan Ltd.19-21, Nihonbashi-Hakozakicho, Chuo-kuTokyo 103-8510, Japan

The following paragraph does not apply to the United Kingdom or any othercountry where such provisions are inconsistent with local law:INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THISPUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHEREXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESSFOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express orimplied warranties in certain transactions, therefore, this statement may not applyto you.

This information could include technical inaccuracies or typographical errors.Changes are periodically made to the information herein; these changes will beincorporated in new editions of the publication. IBM may make improvementsand/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

Any references in this information to non-IBM websites are provided forconvenience only and do not in any manner serve as an endorsement of thosewebsites. The materials at those websites are not part of the materials for this IBMproduct and use of those websites is at your own risk.

© Copyright IBM Corp. 2011, 2015 113

Page 124: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

IBM may use or distribute any of the information you supply in any way itbelieves appropriate without incurring any obligation to you.

Licensees of this program who want to have information about it for the purposeof enabling: (i) the exchange of information between independently createdprograms and other programs (including this one) and (ii) the mutual use of theinformation which has been exchanged, should contact:

IBM Corporation2Z4A/10111400 Burnet RoadAustin, TX 78758U.S.A.

Such information may be available, subject to appropriate terms and conditions,including in some cases, payment of a fee.

The licensed program described in this document and all licensed materialavailable for it are provided by IBM under terms of the IBM Customer Agreement,IBM International Program License Agreement or any equivalent agreementbetween us.

Any performance data contained herein was determined in a controlledenvironment. Therefore, the results obtained in other operating environments mayvary significantly. Some measurements may have been made on development-levelsystems and there is no guarantee that these measurements will be the same ongenerally available systems. Furthermore, some measurements may have beenestimated through extrapolation. Actual results may vary. Users of this documentshould verify the applicable data for their specific environment.

Information concerning non-IBM products was obtained from the suppliers ofthose products, their published announcements or other publicly available sources.IBM has not tested those products and cannot confirm the accuracy ofperformance, compatibility or any other claims related to non-IBM products.Questions on the capabilities of non-IBM products should be addressed to thesuppliers of those products.

This information contains examples of data and reports used in daily businessoperations. To illustrate them as completely as possible, the examples include thenames of individuals, companies, brands, and products. All of these names arefictitious and any similarity to the names and addresses used by an actual businessenterprise is entirely coincidental.

COPYRIGHT LICENSE:

This information contains sample application programs in source language, whichillustrate programming techniques on various operating platforms. You may copy,modify, and distribute these sample programs in any form without payment toIBM, for the purposes of developing, using, marketing or distributing applicationprograms conforming to the application programming interface for the operatingplatform for which the sample programs are written. These examples have notbeen thoroughly tested under all conditions. IBM, therefore, cannot guarantee orimply reliability, serviceability, or function of these programs. The sampleprograms are provided "AS IS", without warranty of any kind. IBM shall not beliable for any damages arising out of your use of the sample programs.

114 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 125: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Each copy or any portion of these sample programs or any derivative work, mustinclude a copyright notice as follows:Portions of this code are derived from IBM® Corp. Sample Programs.

© Copyright IBM® Corp. _enter the year or years_. All rights reserved.

Trademarks

IBM, the IBM logo, and ibm.com are trademarks or registered trademarks ofInternational Business Machines Corp., registered in many jurisdictions worldwide.Other product and service names might be trademarks of IBM or other companies.A current list of IBM trademarks is available on the Web at "Copyright andtrademark information" at www.ibm.com/legal/copytrade.shtml.

Adobe is a registered trademark of Adobe Systems Incorporated in the UnitedStates, and/or other countries.

Linear Tape-Open, LTO, and Ultrium are trademarks of HP, IBM Corp. andQuantum in the U.S. and other countries.

Intel and Itanium are trademarks or registered trademarks of Intel Corporation orits subsidiaries in the United States and other countries.

Linux is a registered trademark of Linus Torvalds in the United States, othercountries, or both.

Microsoft, Windows, and Windows NT are trademarks of Microsoft Corporation inthe United States, other countries, or both.

Java and all Java-based trademarks and logos are trademarks or registeredtrademarks of Oracle and/or its affiliates.

UNIX is a registered trademark of The Open Group in the United States and othercountries.

Terms and conditions for product documentation

Permissions for the use of these publications are granted subject to the followingterms and conditions.

ApplicabilityThese terms and conditions are in addition to any terms of use for the IBMwebsite.

Personal useYou may reproduce these publications for your personal, noncommercialuse provided that all proprietary notices are preserved. You may notdistribute, display or make derivative work of these publications, or anyportion thereof, without the express consent of IBM.

Commercial useYou may reproduce, distribute and display these publications solely withinyour enterprise provided that all proprietary notices are preserved. Youmay not make derivative works of these publications, or reproduce,distribute or display these publications or any portion thereof outside yourenterprise, without the express consent of IBM.

Rights Except as expressly granted in this permission, no other permissions,

Notices 115

Page 126: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

licenses or rights are granted, either express or implied, to the publicationsor any information, data, software or other intellectual property containedtherein.

IBM reserves the right to withdraw the permissions granted hereinwhenever, in its discretion, the use of the publications is detrimental to itsinterest or, as determined by IBM, the above instructions are not beingproperly followed.

You may not download, export or re-export this information except in fullcompliance with all applicable laws and regulations, including all UnitedStates export laws and regulations.

IBM MAKES NO GUARANTEE ABOUT THE CONTENT OF THESEPUBLICATIONS. THE PUBLICATIONS ARE PROVIDED "AS-IS" ANDWITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED ORIMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIESOF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS FOR APARTICULAR PURPOSE.

Privacy policy considerations

IBM Software products, including software as a service solutions, (“SoftwareOfferings”) may use cookies or other technologies to collect product usageinformation, to help improve the end user experience, to tailor interactions withthe end user, or for other purposes. In many cases no personally identifiableinformation is collected by the Software Offerings. Some of our Software Offeringscan help enable you to collect personally identifiable information. If this SoftwareOffering uses cookies to collect personally identifiable information, specificinformation about this offering’s use of cookies is set forth below.

This Software Offering does not use cookies or other technologies to collectpersonally identifiable information.

If the configurations deployed for this Software Offering provide you as customerthe ability to collect personally identifiable information from end users via cookiesand other technologies, you should seek your own legal advice about any lawsapplicable to such data collection, including any requirements for notice andconsent.

For more information about the use of various technologies, including cookies, forthese purposes, see IBM’s Privacy Policy at http://www.ibm.com/privacy andIBM’s Online Privacy Statement at http://www.ibm.com/privacy/details in thesection entitled “Cookies, Web Beacons and Other Technologies,” and the “IBMSoftware Products and Software-as-a-Service Privacy Statement” athttp://www.ibm.com/software/info/product-privacy.

116 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 127: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Glossary

A glossary is available with terms and definitions for the IBM Tivoli Storage Manager family of products.

See Tivoli Storage Manager glossary (http://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.2/com.ibm.itsm.ic.doc/glossary.html).

To view glossaries for other IBM products, see http://www.ibm.com/software/globalization/terminology/.

© Copyright IBM Corp. 2011, 2015 117

Page 128: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

118 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 129: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Index

Aaccessibility features 111authority

see permissions 8

Cclient acceptor

configuring 100communication ports

installation 9configuration notebook 59configuration wizard 57configuring

advanced tasks 73client acceptor 100data mover nodes

vCloud environment 79vSphere environment 75

existing configuration 59initial configuration 57iSCSI mount 91, 94locale settings 70mount proxy nodes

Linux 96Windows 98

overview 57tape storage 88Tivoli Storage Manager nodes

vSphere environment 73Tivoli Storage Manager recovery agent GUI 60VMCLI

vSphere environment 83VMCLI configuration file 102vSphere environment

command-line checklist 85credentials

see permissions 8

Ddata mover

nodesconfiguring in vCloud environment 79configuring in vSphere environment 75

overview 1upgrading 54

disability 111

Eenvironment requirements

installation 12

Hhardware requirements 11

IIBM Knowledge Center vinstallation

communication ports 9environment requirements 12features by operating system 15road map 6user permissions 8

installation procedureLinux

clean 25language pack 27selected features 22silent 38

Windows 32-bitlanguage pack 26, 27selected features 19silent 32silent Suite installer 28

Windows 64-bitall features 16language pack 26, 27selected features 19silent 34silent Suite installer 29

integratingwith Tivoli Storage FlashCopy Manager for VMware 109

iSCSI mountconfiguring 91, 94

Kkeyboard 111Knowledge Center v

Llanguage pack

installation procedureLinux 27Windows 32-bit 26, 27Windows 64-bit 26, 27

Linuxinstallation procedure

clean 25language pack 27selected features 22silent 38

uninstallingsilent mode 44typical 41

upgradingsilent 54

localesettings 70

© Copyright IBM Corp. 2011, 2015 119

Page 130: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Mmigrating

schedules 105

NNew in Data Protection for VMware Version 7.1.2 vii

Ooverview

Data Protection for VMware command-line interface 1Data Protection for VMware vCloud GUI 1Data Protection for VMware vSphere GUI 1product 1Tivoli Storage Manager Recovery Agent 1

Ppermissions

installation 8ports

installation 9publications v

Rregistration key 69

Sservices 70silent install

Linux 38Windows 32-bit

silent mode 32silent Suite installer 28

Windows 64-bitsilent mode 34silent Suite installer 29

silent uninstallLinux

silent mode 44Windows 32-bit

silent mode 42Windows 64-bit

silent mode 43silent upgrade

Linux 54Windows 32-bit 53Windows 64-bit 53

Ttape storage

configuring 88Tivoli Storage Manager nodes

configuringvSphere environment 73

Tivoli Storage Manager recovery agent GUIconfiguring 60options 60

Uuninstalling

Linuxsilent mode 44typical 41

Windows 32-bitserver core 42silent mode 42typical 41

Windows 64-bitserver core 42silent mode 43typical 41

upgradingdata mover nodes 54from Tivoli Storage FlashCopy Manager for VMware V4.1.x

standard 49from Tivoli Storage FlashCopy Manager for VMware V4.1.x

and Data Protection for VMware V7.1.xstandard 51

from V6.xstandard 47

from V7.xstandard 47

Linuxsilent 54

overview 47Windows 32-bit

silent 53Windows 64-bit

silent 53user

installation permissions 8

VVMCLI

configuring in vSphere environment 83VMCLI configuration file

modifying 102vmcliConfiguration.xml 102

WWindows 32-bit

installation procedurelanguage pack 26, 27selected features 19silent 32silent Suite installer 28

uninstallingserver core 42silent mode 42typical 41

upgradingsilent 53

Windows 64-bitinstallation procedure

all features 16language pack 26, 27selected features 19silent 34silent Suite installer 29

uninstallingserver core 42silent mode 43

120 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 131: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

Windows 64-bit (continued)uninstalling (continued)

typical 41upgrading

silent 53

Index 121

Page 132: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

122 IBM Tivoli Storage Manager for Virtual Environments: Data Protection for VMware Installation Guide

Page 133: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates
Page 134: Data Protection forVMware Installation Guide · Data Protection forVMware Installation Guide. ... 60 VMware vCenter Server user privilege requirements 65 ... v A plug-in that integrates

����

Product Number: 5725-A44

Printed in USA