Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Configuration Guide
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 1
Product and company names mentioned in this document may be the trademarks of their respective owners.
Throughout this document Hitachi has attempted to distinguish trademarks from descriptive terms by
writing the name with the capitalization used by the manufacturer, or by writing the name with initial
capital letters. Hitachi cannot attest to the accuracy of this information. Use of a trademark in this document
should not be regarded as affecting the validity of the trademark.
Information in this document is subject to change without notice and does not represent a commitment on
the part of Hitachi. The software described in this manual is furnished according to a license agreement
with Hitachi. The license agreement contains all of the terms and conditions governing your use of the
software and documentation, including all warranty rights, limitations of liability, and disclaimers of
warranty.
Material contained in this document may describe Hitachi products not available or features not available in
your country.
Edition history:
2010/12/20 Edition 1, Software Division, Hitachi
2010/12/29 Edition 2, Software Division, Hitachi
2011/2/3 Edition 3, Software Division, Hitachi
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 2
Table of Contents
1. Introduction ......................................................................................................................................... 4
1.1. Target audience ......................................................................................................................... 4
1.2. Background ............................................................................................................................... 4
1.3. Prerequisite version of HCS ..................................................................................................... 4
1.4. Supported versions of VMware ................................................................................................ 4
2. Resource Management (HDvM, HTSM, and HDvM Agent) ........................................................... 5
2.1. Managing ESX servers in HDvM ............................................................................................. 5
2.2. Allocating volumes to an ESX server ....................................................................................... 5
2.3. Allocating volumes to a virtual machine (raw device mapping ............................................ 6
2.3.1. Non-NPIV environments ................................................................................................... 6
2.3.2. NPIV environments ............................................................................................................ 6
2.4. Managing volume pairs on virtual machines ............................................................................ 17
2.5. Performing disk migration in units of datastores (HTSM) ....................................................... 17
2.6. Environment settings for managing ESX servers ..................................................................... 19
2.6.1. Setting up vMA monitoring environmentCommon Physical Environment ................... 21
2.6.2. Setting up vMA monitoring environmentsMixed Physical Environment ...................... 24
2.6.3. Setting up a system in which vMA monitors VMware vCenter Server ............................. 27
2.7. Environment settings for installing the HDvM agent on a virtual machine that uses NPIV..... 31
2.7.1. Configuration ..................................................................................................................... 31
2.7.2. Setting procedure for the HDvM server ............................................................................. 31
2.7.3. Setting procedure for the HDvM agent .............................................................................. 32
3. Performance Management (HTnM and HTnM Agent) ................................................................... 34
3.1. Prerequisite version of Device Manager ................................................................................... 34
3.2. Notes about monitoring NPIV environments............................................................................ 34
3.3. Notes about changing the configuration of pair volumes ......................................................... 37
3.4. Notes about migrating LDEVs ................................................................................................. 38
3.5. Notes about setting the command device attribute ................................................................... 41
4. Backup and Restore Management (HPtM and HRpM) ................................................................... 42
4.1. HPtM/HRpM Application Agent (CLI) .................................................................................... 42
4.1.1. HPtM for SQL Server ........................................................................................................ 42
4.1.2. HPtM for Exchange Server ................................................................................................ 57
4.1.3. HPtM for file systems ........................................................................................................ 62
4.2. Hitachi Replication Manager (HRpM) ..................................................................................... 69
4.2.1. Prerequisite version of HDvM ........................................................................................... 69
4.2.2. Specifying command devices for virtual machines ............................................................ 69
4.2.3. Collaborating with applications ......................................................................................... 69
5. Multi-Path Management (HDLM and HGLM) ................................................................................ 76
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 3
1. Introduction
This document describes the best practices for configuring Hitachi Command Suite (HCS) in VMware 4.0
and 4.1 environments.
Users of HCS
Users who want to use VMware virtualized hosts with HCS for the following purposes:
1.2. Background
Due to VMwares storage management architecture, there are some configuration prerequisites and
operations that customers need to know in advance to use HCS to manage virtualized hosts. This document
describes best management practices for HCS, product by product.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 4
Management Target
Management Method
Procedure
1-1
ESX server
1-2
2-1
2-2
1-2
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
No
2-1
2-2
Yes
Yes
Yes
Yes
Yes
No
#
10
Yes
11
Yes, on each
virtual
machine
No
No
#11: You can install the HDvM agent on only one virtual machine, make it a CCI server, and then perform
pair operations. If you do so, you do not have to install the HDvM agent on other virtual machines. For
details, see section 2.4.
Page 5
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 6
Figure 3: (NPIV environment) When allocating new volumes to existing virtual machines
The following describes the procedure for HDvM V6 and HDvM V7.
For HDvM V6
Prerequisites: Register the ESX server and all virtual machines as described below.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 7
Discover the ESX server as a virtualization server or manually register it as a host in HDvM. The figure
above shows an ESX server discovered as a virtualization server, and the following figure shows an ESX
server registered as a host.
Install the HDvM agent on the target virtual machine or manually register the virtual machine as a host in
HDvM.
To allocate volumes to virtual machines:
1. Select volumes (LDEVs) to allocate to virtual machines, and then click the Allocate Storage button.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 8
2.
As a host WWN, select the virtual WWNs of all virtual machines and the physical WWNs of all ESX
servers that use the same storage port, and then associate the storage port with them.
3.
If an unused storage port is selected, create a host storage domain (host group). For AMS, WMS, or
SMS, specify the same host mode as the virtual machines operating system (for example, specify
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 9
4.
Specify LU settings (such as creating a LUSE), map LUs to the port, and specify LUNs the same as
when allocating volumes to a normal host.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 10
3.
4.
Select the ESX server and all virtual machines, and then start the Allocate Volumes dialog box.
In the Allocate Volumes dialog box, select volume and storage port settings.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 11
5.
6.
If you selected a storage port that has not been used, create a host group by specifying options in Host
Group and LUN Settings. For AMS, WMS, or SMS, specify the same host mode as the virtual
machines operating system (for example, specify Windows Extension or Windows for a Windows
operating system). For USP, USP V/VM, or VSP, specify VMware Extension or VMware for the host
mode.
Confirm the plan summary, and then allocate the volumes.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 12
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 13
Note: Create the logical group for the target of volumes before you click the Move Storage button.
To allocate new volumes to new virtual machines:
1. Display the logical group to which you added allocated volumes. In this window, click the Modify
Security button, and then register the virtual WWNs assigned to the new virtual machines in the host
group.
2.
Allocate new volumes to the target virtual machine by continuing with step 3 in 2.3.2(1).
For HDvM V7
To allocate volumes to virtual machines in HDvM V7, first create a logical group that includes the ESX
server and virtual machines that use the same storage port. The list of logical groups can then be used as the
starting point for allocating volumes to a virtual machine.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 14
1.
Select the ESX server and all virtual machines, and then start the Allocate Volumes dialog box.
2.
Manually select the volumes to be newly allocated and volumes already allocated to virtual machines,
and then allocate the volumes. This operation adds the WWNs of new virtual machines to the host
group that the already allocated volumes use. This host group is used to allocate new volumes.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 15
Page 16
Figure 6: Recommended CCI server configuration for managing volume pairs on virtual
machines
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 17
4.
In HTSM, create a new migration group that includes the volumes (LDEVs) you identified in step 1.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 18
Run a migration task for the created migration group (set a task).
For HDvM V7
Follow the same procedure as for V6.
Figure 7: System configuration in which vMA monitors a VMware ESX server in the same
physical environment
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 19
Figure 8: System configuration in which vMA monitors a VMware ESX server in a different
physical environment
The following table describes the user IDs, login IDs, and passwords for environment settings:
Table 4: User IDs, login IDs, and passwords for environment settings
#
ID
Description
password
Remarks
vMA login ID
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 20
ID
Description
password
Remarks
Virtualization server
user ID
VMware vCenter
Server user ID
2.
At the Password prompt, enter the password of the vMA standard user vi-admin.
Password: password-for-vi-admin
3.
2.
At the Enter Password prompt, enter the password of the above user.
Enter Password: password-for-the-VMware-ESX-server
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 21
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the virtualization server IP address (IPv4) or host name (that can be resolved by DNS) for
HDvM.
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: IP-address-of-the-virtualization-server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: host-name-of-the-virtualization-server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
9.
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
4.
Confirm that the virtualization server information for HDvM is registered correctly.
1. Open the following file by using a text editor or display it by using the cat command.
/etc/vmware/vmware-cim-config.xml
2.
Confirm that the virtualization server IP address or host name for HDvM described above is
registered in the <viURL> element.
Example:
If the virtualization server IP address for HDvM is 172.10.43.53:
<viURL>https://172.10.43.53/sdk/webService</viURL>
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 22
2.
Enter the virtualization server root user password at the following prompt:
root@IP-address-of-the-virtualization-server's password: password-for-root
Or
root@host-name-of-the-virtualization-server's password: password-for-root
2.
At the Password prompt, enter the password of the vMA standard user vi-admin.
Password: password-for-vi-admin
3.
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
Stop Pegasus for setup [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the virtualization server IP address (IPv4) or host name (that can be resolved by DNS)
described in (2).
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: IP-address-of-the-virtualization-server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: host-name-of-the-virtualization-server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
9.
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 23
4.
Confirm that the virtualization server information for HDvM is registered correctly.
1. Open the following file by using text editor or display it by using the cat command.
/etc/vmware/vmware-cim-config.xml
2.
Confirm that the virtualization server IP address or host name for HDvM described in (3) 5) is
registered in the <viURL> element.
Example:
If the Virtualization server IP address for HDvM is 172.10.43.53:
<viURL>https://172.10.43.53/sdk/webService</viURL>
2.
At the Password prompt, enter the password of the vMA standard user vi-admin:
Password: password-for-vi-admin
3.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 24
2.
At the Enter Password prompt, enter the password of the above user.
Enter Password: password-for-the-VMware-ESX-server
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
Stop Pegasus for setup [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the virtualization server IP address (IPv4) or host name (that can be resolved by DNS) for
HDvM.
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: IP-address-of-the-virtualization-server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: host-name-of-the-virtualization-server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
9.
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
4.
Confirm that the virtualization server information for HDvM is registered correctly.
1. Open the following file by using a text editor or display it by using the cat command:
/etc/vmware/vmware-cim-config.xml
2.
Confirm that the virtualization server IP address or host name for HDvM described above is
registered in the <viURL> element.
Example:
If the virtualization server IP address for HDvM is 172.10.43.53:
<viURL>https://172.10.43.53/sdk/webService</viURL>
Page 25
Or
vifp addserver host-name-of-the-virtualization-server
2.
Enter the virtualization server root user password at the following prompt:
root@IP-address-of-the-virtualization-server's password: password-for-root
Or
root@host-name-of-the-virtualization-server's password: password-for-root
3.
2.
At the Password prompt, enter the password of vMA standard user vi-admin.
Password: password-for-vi-admin
3.
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
Stop Pegasus for setup [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the virtualization server IP address (IPv4) or host name (that can be resolved by DNS)
described above.
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: IP-address-of-VMware-vCenter-Server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: host-name-of-VMware-vCenter-Server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 26
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
9.
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
4.
Confirm that the virtualization server information for HDvM is registered correctly in vMA.
1.
Open the following file by using text editor or display it by using the cat command:
/etc/vmware/vmware-cim-config.xml
2.
Confirm that the virtualization server IP address or host name for HDvM described in (3) 5) is
registered in the <viURL> element.
Example:
If the virtualization server IP address for HDvM is 172.10.43.53:
<viURL>https://172.10.43.53/sdk/webService</viURL>
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 27
2.
At the Password prompt, enter the password of the vMA standard user vi-admin:
Password: password-for-vi-admin
3.
2.
At the Enter Password prompt, enter the password of the above user.
Enter Password: password-for-VMware-vCenter-Server
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
Stop Pegasus for setup [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the VMware vCenter Server IP address (IPv4) of or host name (that can be resolved by DNS)
for HDvM.
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: IP-address-of-VMware-vCenter-Server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified DNS
name (hostname.domain)
vSphere Server: host-name-of-VMware-vCenter-Server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 28
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
4.
2.
Confirm that the VMware vCenter Server IP address or host name for HDvM described above is
set in the <viURL> element.
Example:
If the IP address of VMware vCenter Server for HDvM is 172.10.43.53:
<viURL>https://172.10.43.53/sdk/webService</viURL>
Or
vifp addserver host-name-of- VMware-vCenter-Server
2.
Enter the VMware vCenter Server (VMware vCenter Server in Figure 9) root user password at the
following prompt:
Enter username for IP-address-of-VMware-vCenter-Server's password:
user-ID-for-VMware-vCenter-Server
Or
Enter username for host-name-of- VMware-vCenter-Server's password:
user-ID-for-VMware-vCenter-Server
3.
Enter the password for the VMware vCenter Server user ID described above at the following
prompt:
user-ID-for-VMware-vCenter-Server@IP-address-of- VMware-vCenter-Server's
password: password-for-VMware-vCenter-Server
Or
user-ID-for-VMware-vCenter-Server@host-name-of- VMware-vCenter-Server's
password: password-for-VMware-vCenter-Server
Note: The password is not displayed.
4.
A message asking whether you want to store the user ID and password in a credential store even
though doing so is a security risk is displayed. At the prompt, enter yes.
This will store username and password in credential store which is
a security risk. Do you want to continue?(yes/no): yes
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 29
3.
2.
At the Password prompt, enter the password of the vMA standard user vi-admin.
Password: password-for-vi-admin
3.
A message asking whether you want to stop Openwsman is displayed. At the prompt, enter yes.
Stopping Openwsman before SMI-S setup!
Stop Openwsman for setup [yes/no]?yes
4.
A message asking whether you want to stop Pegasus is displayed. At the prompt, enter yes.
Stopping Pegasus before SMI-S setup!
Stop Pegasus for setup [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
5.
Enter the VMware vCenter Server (VMware vCenter Server in Figure 9) IP address (IPv4) or host
name (that can be resolved by DNS) described above.
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: IP-address-of-VMware-vCenter-Server
Or
vSphere Server must be an IPv4 address (xx.xx.xx.xx) or Fully Qualified
DNS name (hostname.domain)
vSphere Server: host-name-of-VMware-vCenter-Server
6.
A message asking whether you want to add Pegasus is displayed. At the prompt, enter yes.
Add Pegasus service to chkconfig [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
7.
A message asking whether you want to add Openwsman is displayed. At the prompt, enter yes.
Add Openwsman service to chkconfig [yes/no]?yes
8.
A message asking whether you want to start Pegasus is displayed. At the prompt, enter yes.
Start Pegasus [yes/no]?yes
Note: This procedure does not need to be performed if the above prompt is not displayed.
9.
A message asking whether you want to start Openwsman is displayed. At the prompt, enter yes.
Start Openwsman [yes/no]?yes
4.
Confirm that the information of the VMware vCenter Server is registered correctly in vMA.
1.
Open the following file by using text editor or display it by using the cat command:
/etc/vmware/vmware-cim-config.xml
2.
Confirm that the VMware vCenter Server IP address or host name for HDvM described above is
registered in the <viURL> element.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 30
2.7. Environment settings for installing the HDvM agent on a virtual machine that
uses NPIV
This section provides notes and cautions for using the HDvM agent in a virtual environment that uses
VMware ESX 4.0 or later.
2.7.1. Configuration
When using the HDvM agent in a VMware ESX 4.0 or later environment, the problems described below
may occur. If they do, perform the indicated procedure.
In an environment in which virtual WWNs are assigned to virtual machines by using NPIV
(N_Port_ID Virtualization), hosts or volumes cannot be managed because a conflict exists between the
virtualization server's physical WWN and the virtual WWNs of the virtual machines. If this problem
occurs, perform the procedures described in sections 2.6.2.2(2) and 2.6.2.2(3).
When manually creating, deleting or changing the status of copy pairs, the copy pair type is sometimes
displayed incorrectly. If this problem occurs, perform only the procedure described in section
2.6.2.2(3).
Page 31
ESX-server-or-vCenter-Server-IP-address
ESX-server-or-vCenter-Server-user-name
ESX-server-or-vCenter-Server-password
Example
createnpivinfo 10.208.10.100 userid password
To run the command, the target ESX server or vCenter Server must be connected to HDvM server via TCP
port 443. If the command succeeds, the file npivmaping.properties is created in the following directory:
Location of the virtual WWN definition file npivmapping.properties:
installation-folder-of-the-HDvM-server\HiCommandServer\config\
If the host name of a virtual machine contains a domain (for example, hostname.example.com), delete the
domain part from the host name in the file npivmapping.properties. Also, if the host name of a virtual
machine is changed or a virtual machine is removed, delete the related host name and virtual WWN from
this file. Also, if you uninstall the HDvM server, manually delete this file and the related directory.
(b) Refresh the virtual machine and virtualization server.
After running the above command, refresh the target virtual machine and virtualization server in the HDvM
server. If the HDvM server does not manage the virtualization server, manually delete the physical WWN
from the virtual machine that is registered in the HDvM server.
By performing the procedure above, the virtual WWN will be registered for the virtual machine managed
by the HDvM server. If a virtual WWN is changed or added for a virtual machine on a virtualization server,
or the host name of a virtual machine is changed, perform the procedure described in sections 2.6.2.2(1)
and 2.6.2.2(2) again.
Page 32
2.
Run the following commands to restart the services of the HDvM agent:
installation-folder-of-the-HDvM-agent\bin\hbsasrv.exe stop
installation-folder-of-the-HDvM-agent\bin\hbsasrv.exe start
Notes:
Backup servers are not supported in virtualization environments. Therefore, configure the backup
server on a server that is not in a virtualization environment.
The above procedures do not update copy pair statuses. To update the statuses, refresh the storage
systems.
For VMware ESX 4.0 or later, create command devices before allocating volumes to virtual machines.
If command devices are created after volumes are allocated to a virtual machine, the virtualization
server needs to be restarted so that the command devices can be recognized.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 33
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 34
The following window shows an example of an HBA WWN associated with a host:
The following window shows an example of an HBA WWN associated with a host:
To confirm the virtual WWN of an HBA port from Device Managers host view:
1. From the Explorer area, select Hosts.
2. Select the target host from the list of hosts.
3. Check World Wide Names in the summary area for the selected host.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 35
The following window shows an example of a virtual WWN of an HBA associated with a host:
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 36
Field
The following window shows an example of pair volume information in the Performance Reporter GUI:
To use Device Managers All Storage view to confirm the current pair volume information without
rebooting the virtual server:
1. From the Explorer area, select All Storage.
2. Select the target storage system from the list of storage systems.
3. Select Open-Allocated for the target storage system.
4. Check Copy Type in the LDEV list.
The following window shows an example of pair volume information:
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 37
Field
The following window shows an example of parity group information in the Performance Reporter GUI:
To confirm the current parity group information without rebooting the virtual server, refer to either of the
following:
LDEV list of the LDEV folder in the Main Console GUI
Summary information for an LDEV in the Main Console GUI
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 38
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 39
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 40
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 41
Server in a virtual
environment
Server not in a
virtual environment
No backup server
Supported #1
See section 4.1.1.2(1)
Supported
Supported
See section 4.1.1.2(3)
2 or more
Supported
See section
4.1.1.2(2)
#1: Secondary volumes do not have to be concealed from the OS on the backup server. Therefore, either do
not specify the DEVICE_DETACH parameter in the RAID Manager-linkage definition file (DEFAULT.dat) or
specify DISABLE for this parameter. This parameter enables the functionality for concealing secondary
volumes.
#2: HPtM does not support backup servers in these virtual environments because secondary volume must
be concealed from the OS.
#3 This operation is supported in configurations in which only the secondary volumes of the first
generation are connected to the backup server.
About HPtM functionality for concealing secondary volumes
HPtM provides functionality for concealing secondary volumes to avoid disk-signatures from being
changed.
When a primary volume is replicated to multiple secondary volumes, some secondary volumes might have
the same disk-signature as the primary volume.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 42
Figure 10: Configuration with one generation of secondary volumes and tape backup
operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 43
Figure 11: Configuration with multiple generations of secondary volumes and tape backup
operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 44
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 45
Figure 13: Other cases (HPtM is not used on the backup server)
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 46
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 47
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 48
Operation
Type
Execution server
Execution
Timing
Description
Note
B(01)
Backup
(D2D2T)
Database server
Scheduled
(0:00)
See section
4.1.1.5(1)
B(02)
Backup
(D2D)
Database server
Scheduled
(8:00)
See section
4.1.1.5(2)#1, #2
B(03)
Backup
(D2D)
Database server
Scheduled
(16:00)
See section
4.1.1.5(2)#1, #2
C(11)
Data copy
(D2D)
On demand
See section
4.1.1.5(3)#3, #4
R(T)
Restore
(T2D)
Backup server
On demand
See section
4.1.1.5(4)
R(01)
Restore
(D2D)
Database server
On demand
See section
4.1.1.5(5)
R(02)
Restore
(D2D)
Database server
On demand
See section
4.1.1.5(5)#1
R(03)
Restore
(D2D)
Database server
On demand
See section
4.1.1.5(5)#1
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 49
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 50
Description of options:
instance-name
s backup-server
-script script-name
Specify the SQL Server instance name. To use the default instance name,
specify DEFAULT.
Specify the host name or IP address of the backup server.
Specify the name of the user script file.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 51
Description of options:
-rc local_1
Description of options:
-rc local_2
- - - - - - (Snip) - - - - - -
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 52
Server operations
1) Detach SQL Server databases on the development server.
If SQL Server databases are in use on the development server, take them offline and detach them.
Example:
In a script file (for example, detach_db.sql), define SQL queries to take SQL Server databases offline
and detach them. To run the script file, use the sqlcmd command as follows.
sqlcmd E i C:\work\detach_db.sql
2) Unmount leaf S-VOLs from the development server and take them offline.
If leaf S-VOLs are mounted on the development server, unmount them and take them offline.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 53
2.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 54
4) Bring the leaf S-VOLs online on the development server and mount them.
Bring the leaf S-VOLs with copied data online, and then mount them on the development server.
1. Bring the leaf S-VOLs online.
Example:
In a script file (for example, online_disk.txt), define commands to put leaf S-VOLs disk10 and
disk11 online. To run the script file, use the diskpart command as follows.
C:\Windows\system32\diskpart /s C:\work\online_disk.txt
Note: For the second argument of MOUNTVOL command, specify the volume names acquired in step 1 of
Server preparations.
@dbname = N'DB1',
N'F:\MSSQL\DB1.mdf',
N'F:\MSSQL\DB1_log.ldf';
@dbname = N'DB2',
N'F:\MSSQL\DB2.mdf',
N'F:\MSSQL\DB2_log.ldf';
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 55
2) Tape restore from the tape device to the S-VOLs on the backup server.
Restore the backup data and backup catalog from the tape device by using backup software.
Server operations
1) Import the backup catalog on the database server.
If a backup of the catalog file was transferred from the backup server, import it by using HPtM.
Example:
drmdbimport f C:\BackupCatalog\HPTM_BACKUPCAT.drm
To identify the backup to be restored, use the backup start time (START TIME).
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 56
This example assumes that the default instance of SQL Server is used.
Number of
secondary
volume
generations
Server in a
virtual
environment
Server not in a
virtual
environment
Server in a
virtual
environment
Server not in a
virtual
environment
No backup
server
VSS
Not Supported #1
Supported
Not Supported #1
Supported
Not Supported
#2
2 or more
Cold
1
2 or more
Supported
See section
4.1.2.2(1)
Not Supported
Not Supported
Supported
#1
Supported
See section
4.1.2.2(3)
Supported
See section
4.1.2.2(2)
Not Supported
Not Supported
#1
Supported
Supported
Supported
Supported
See section
4.1.2.2(4)
#1: HPtM does not support backup servers in these virtual environments because secondary volumes must
be concealed from the OS.
#2: Configurations that have no backup server are not supported because a backup server is required when
backing up is performed by using VSS.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 57
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 58
Figure 16: Configuration with VSS backup mode, multiple generations of secondary volumes,
and tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 59
Figure 17: Configuration with VSS backup mode, multiple generations of secondary volumes,
and no tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 60
Figure 18: Configuration with cold backup mode, multiple generations of secondary volumes,
and tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 61
Figure 19: Configuration with cold backup mode and no tape backup operations
Page 62
Number of
secondary
volume
generations
Server in a
virtual
environment
Server not in a
virtual
environment
Server in a
virtual
environment
Server not in a
virtual
environment
No backup
server
VSS
Not Supported #2
Supported
Not Supported
Supported
Not
Supported
#2
2 or more
Cold
Supported
See section
4.1.3.2(1)
Supported
See section
4.1.3.2(2)
#3
Supported #1
See section
4.1.3.2(3)
Supported
Supported #1
Supported
Supported
2 or more
Not Supported #2
Supported
Not Supported
Supported
Supported
See section
4.1.3.2(4)
#2
#1: Secondary volumes do not have to be concealed from the OS on the backup server. Therefore, either do
not specify the DEVICE_DETACH parameter in the RAID Manager-linkage definition file (DEFAULT.dat) or
specify DISABLE for this parameter. This parameter enables the functionality for concealing secondary
volumes.
#2: HPtM does not support backup servers in these virtual environments because secondary volumes must
be concealed from the OS.
#3: Configurations that have no backup server are not supported because a backup server is required when
backing up is performed by using VSS.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 63
Figure 20: Configuration with VSS backup mode, multiple generations of secondary volumes,
and tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 64
Figure 21: Configuration with VSS backup mode, multiple generations of secondary volumes,
and no tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 65
Figure 22: Configuration with cold backup mode, one generation of secondary volumes, and
tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 66
Figure 23: Configuration with cold backup mode and no tape backup operations
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 67
Figure 24: Other cases (HPtM is not used on the backup server)
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 68
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 69
SQL Server
Exchange Server
Number of
secondary volume
generations
Server not in a
virtual environment
Supported #1
See section
4.2.3.2(1)
Supported
2 or more
Not supported #2
Supported
See section 4.2.3.2(2)
Not supported #2
Supported
2 or more
Supported
See section 4.2.3.2(4)
Not supported #3
Supported
See section 4.2.3.2(3)
#1: Secondary volumes do not have to be concealed from the OS on the backup server. Therefore, do not
select the Prohibit backup server from accessing unmounted replicas check box for Replica Task Options
in the Replica Options tab of the Setup Application Agent - Application-Agent-name dialog box (default
setting) as shown below:
#2: HRpM Application Agent does not support backup servers in these virtual environments because
secondary volumes must be concealed from the OS.
#3: Configurations that have no backup server are not supported because a backup server is required when
Exchange Server is the related application.
About HRpM Application Agent functionality for concealing secondary volumes
HRpM Application Agent provides functionality for concealing secondary volumes to avoid disk-signatures
from being changed.
When a primary volume is replicated to multiple secondary volumes, some secondary volumes might have
the same disk-signature as the primary volume.
When a Windows OS recognizes multiple disks that have the same disk-signature, it automatically changes
the disk-signature so that each disk has a unique value. As a result, the disk-signatures of the primary
volume and secondary volumes become different, and errors may occur during restore operations.
(1) Configuration with SQL Server, one generation of secondary volumes, and a backup server
The backup server can be configured in a virtual environment because secondary volumes do not have to be
concealed.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 70
Figure 25: Configuration with SQL Server, one generation of secondary volumes, and a
backup server
The following is Web Client window for a configuration with SQL Server, one generation of secondary
volumes, and a backup server:
(2) Configuration with SQL Server, multiple generations of secondary volumes, and a backup
server
The backup server cannot be configured in a virtual environment because secondary volumes must be
concealed. In this configuration, HRpM Application Agent dynamically notifies the operating system of the
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 71
Figure 26: Configuration with SQL Server, multiple generations of secondary volumes, and a
backup server
The following is a Web Client window for a configuration with SQL Server, multiple generations of
secondary volumes, and a backup server:
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 72
(3) Configuration with Exchange Server, multiple generations of secondary volumes, and a
backup server
The backup server cannot be configured in a virtual environment because secondary volumes must be
concealed. In this configuration, HRpM Application Agent dynamically notifies the operating system of the
secondary volumes of only one generation if needed.
Figure 27: Configuration with Exchange Server, multiple generations of secondary volumes,
and a backup server
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 73
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 74
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 75
HDLM cannot be installed on VMware virtualization servers. Therefore, these best practices for
configuring HCS in VMware environments are not related to HDLM.
HGLM operation is not affected by VMware.
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 76
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 77
setting
notes on command device attribute, 41
SQL Server
backup operations, 50
example configuration, 47
restore operations, 50
sample operations, 49
tapebackup.bat, 51
UserScript.txt, 50
virtual machines
allocating volumes to, 6
allocating volumes to in non-NPIV, 6
allocating volumes to in NPIV, 6
command devices with HRpM, 69
managing volume pairs, 17
setting procedure for HDvM agent, 32
setting procedure for HDvM server, 31
settings for HDvM agent with NPIV, 31
VMWare
versions supported by HPtM for Exchange Server,
57
versions supported by HPtM for file systems, 62
versions supported by HPtM for SQL Server, 42
versions supported by HRpM, 69
VMware ESX 4.0
prerequisite HDvM with HRpM, 69
prerequisites for Device Manager, 4, 34
volume pairs
managing on virtual machines, 17
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 78
HCS_BestPracticeDoc_VMware_ConfigGuide_v3.2_English.docx
Page 79