Legal and notice information Copyright 2008-2009 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Contents
1 Overview of HP EVA Virtualization Adapter ........................................... 7
Discovery of disk arrays and LUNs ................................................................................................ 7 Disk array discovery sequence ............................................................................................... 8 LUN discovery sequence ....................................................................................................... 8 Failover testing ........................................................................................................................... 9 Failover recovery ........................................................................................................................ 9 Communication path ................................................................................................................. 10 Replication options ................................................................................................................... 11 Command View EVA Configuration Options .......................................................................... 11
SRM log .................................................................................................................................. 30 EVA log ................................................................................................................................... 30 HP EVA Virtualizaton Error Messages .......................................................................................... 31
6 Reference ........................................................................................ 33
Intended audience .................................................................................................................... Related documentation .............................................................................................................. Document conventions and symbols ............................................................................................. HP technical support ................................................................................................................. Subscription service .................................................................................................................. HP websites ............................................................................................................................. Documentation feedback ........................................................................................................... 33 33 34 34 35 35 35
Figures
1 Discovered Information .............................................................................................. 8 2 Using snapshots for failover test ................................................................................. 9 3 HP EVA Virtualization Adapter architecture ................................................................. 10 4 Snapconfig.xml file ................................................................................................. 27
Tables
1 EVA Virtualization Adapter log messages ................................................................... 31
Remote vdisks are members of HP EVA data replication groups, and are replicated between protected and recovery HP EVAs using HP Continuous Access EVA.
5. 6.
Failover testing
HP EVA Virtualization Adapter provides information and performs EVA operations for nondisruptive testing of SRM failover recovery plans. SRM uses the information gathered during the discovery process to create snapshots of remote vdisks (see Figure 2). After testing verifies the vdisks snapshots can be recovered after failure of the local array (via a recovery plan), SRM uses HP StorageWorks EVA Virtualization Adapter to unpresent and delete the snapshots. HP Business Copy EVA is used to create snapshots during recovery plan testing. NOTE: For Failover, the ESX LVM settings must be set to default for Snapshot (default is disallow) and resignature (default is allow).
Failover recovery
During recovery, SRM executes a recovery plan. When SRM reaches the Prepare Storage step in the recovery plan, it provides the LUN information needed for failover to HP EVA Virtualization Adapter. The information includes: Recovery site storage array ID Vdisk name Recovery ESX server HBA ports (WWNs) for post-failover LUN presentation
HP EVA Virtualization Adapter then communicates with HP Command View EVA and correlates the requested vdisks with data replication groups. The adapter fails over each data replication group associated with the LUN information provided by SRM. HP EVA Virtualization Adapter then obtains LUN presentation information for each vdisk that has failed over and returns the information to SRM. The information includes: vdisk name LUN number assignment to recovery HBA ports NOTE: During initial setup, replicated vdisks need to be presented to both the protected and recovery ESX hosts.
NOTE: For failover testing, LUN number assignment is the LUN number used by the snapshot and not the parent vdisk.
Communication path
HP EVA Virtualization Adapter provides communications between HP StorageWorks Command View EVA and SRM. A detailed view of the architecture is shown in Figure 3. HP EVA Virtualization Adapter processes SRM requests through HP Command View EVA. Once the information is received by HP EVA Virtualization Adapter, it is passed on to SRM.
10
Replication options
SRM with HP EVA Virtualization Adapter supports HP Continuous Access EVA synchronous and asynchronous replication operations.
11
12
Installing licenses
HP StorageWorks Continuous Access EVA (needed to create replication pairs and perform failover between data centers) and HP StorageWorks Business Copy EVA (needed to create snapshots during recovery plan testing) need to be on the HP EVA disk arrays at the protected site and recovery site. For more information on HP StorageWorks Continuous Access EVA and HP StorageWorks Business Copy EVA, see the documents in Related documentation.
13
NOTE: Snapclones, mirrorclones, and the ability to choose different disk group for clones are not currently supported with SRM or HP EVA Virtualization Adapter.
Presenting LUNs
Once vdisks have been created and put into a data replication group local LUNs should be presented to local ESX server. When you put a vdisk into a data replication group, it will be replicated to the remote EVA. At the remote data center, you then need to present the replica vdisk to the ESX servers that are hosts to the remote EVA. After you present the vdisks to both local and remote ESX servers, log into the local ESX servers and do a rescan. There is no need to rescan for LUNs on the remote ESX servers, since SRM does this during failover. You can present LUNs using HP StorageWorks Command View EVA or SSSU. For more information on these tasks, see the HP StorageWorks Command View EVA user guide and the HP StorageWorks Storage Software Scripting Utility Reference.
14
15
2.
From the Configure Array Managers window, click Add to add connection information for the Command View EVA servers managing your EVA disk arrays.
3.
In the Add Array Manager window, enter the storage manager addresses, usernames, and passwords in the entry fields without spaces and separating each entry with a semicolon (;). For example: Storage Manager Address - address1;address2 Username - username1;username2 Password - password1;password2 NOTE: With this release, HP EVA Virtualization Adapter limits the number of Command View EVA management servers that can be configured to two (one in each data center). From the Manager Type menu, select HP StorageWorks Enterprise Virtual Array. Then enter the address and login credentials used for HP Command View EVA and click Connect. After the connection completes, all HP EVA disk arrays managed by the HP Command View EVA server are displayed.
16
4.
Select the HP EVA disk array name that is connected to protected ESX servers. NOTE: You will also need to configure the recovery site array manager using this procedure.
17
5.
Verify that the array managers are configured by looking for the following information in the Configure Array Managers window: Array Manager Info Local and remote array information LUN count (equals the number of replicated LUNs on each EVA)
6.
Verify the array mangers have been configured for both protected and recovery sites, and replicated datastores in the Review Replicated Datastores window.
18
19
20
IMPORTANT: A successful installation depends on using compatible versions of the OS and all installed software. See HP EVA Virtualization Adapter release notes for version requirements.
Installation directory
Depending on the version of SRM, HP EVA Virtualization Adapter is installed in the following (default) directoy: For SRM 1.0 C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\HP StorageWorks EVA Virtualization Adapter For SRM 4.0 C:\Program Files\VMware\VMware vCenter Site Recovery Manager\scripts\ SAN\SAN\HP StorageWorks EVA Virtualization Adapter
Installation prerequisites
To install HP EVA Virtualization Adapter, you need administrator privileges, and VMware Site Recovery Manager must already be installed on the server.
21
NOTE: HP EVA Virtualization Adapter must be installed on both the local site SRM server (protected site) and the remote site SRM server (recovery site). 1. 2. 3. Download HP EVA Virtualization Adapter installation file from the HP web page (http:// www.hp.com/go/storage/vmware) and save it in a temporary folder. Browse to the temporary folder and extract HP EVA Virtualization Adapter installation files. After the files are extracted, click Setup.exe to start the installation. The InstallShield Wizard window appears.
4. 5. 6. 7.
Click Next. The License Agreement window opens. Click I accept the terms of the license agreement and then click Next. The Ready to Install the Program window opens. Click Install. At the prompt indicating the Site Recovery Manager Service needs to be restarted, click OK. The InstallShield Wizard Complete window opens.
22
8.
Click Finish to complete the installation. You will need to restart Site Recover Manager (see Restarting Site Recovery Manager. NOTE: After this step, a readme file is displayed.
3.
Select the VMware Site Recovery Manager Service in the list and click Restart.
23
NOTE: After removing HP EVA Virtualization Adapter, restart SRM service so it can be reflect that EVA Virtualization Adapter is no longer available.
24
Failover
Failover occurs when an SRM recovery plan is executed, and the SRM recovery plan is configured to fail over SRM protection groups that use replicated EVA vdisks as a datastore. During normal operation, the replication path is from a protected site (local site) to a recovery site (remote site). When a failure occurs at the local site (due to hardware failure or the entire site loss) a failover occurs and the replication path is reversed from the recovery site to the protected site. With HP EVA Virtualization Adapter and SRM, the failover process is an automated feature and the process is executed using a recovery plan located at the recovery site. NOTE: HP recommends that the user sets the DR group write mode to Sync before performing a planned failover. This will ensure: the data is current the failover does not result in full-copy (reverse copy) from secondary site to primary site vdisks
Failback
Failback is the process of setting the replication environment back to its original state at the protected site (local site) prior to failover. Failback can be managed as a normal server migration process. However, managing the failback process with SRM is a manual process and the steps vary with respect to the degree of failure at the protected site (local site). For example, the failover could have been due to a hardware error or the loss of the entire data center.
25
3. 4. 5.
6. 7. 8. 9.
If you have not already, install SRM and HP EVA Virtualization Adapter on the updated hardware at the protected site (Site A). Using the VI Client at the recovery site (Site B), establish the protected site (Site A) as the remote site for the recovery site (Site B). Configure array replication from the recovery site (Site B) to the protected site (Site A) for datastores containing recovered virtual machines. For more information, see the HP StorageWorks Continuous Access EVA administrator guide. Create any protection group(s) (P2) at the recovery site (Site B) to protect the recovered virtual machines at the protected site (Site A). On the protected machine (Site A) create a recovery plan (R2) for the protection group(s) (P2) After the virtual machines have been fully replicated to the protected site (Site A), execute recovery plan R2 at the protected site (Site A) in test mode. If the test is successful, execute the recovery plan (R2) in recovery mode.
If desired, you can now protect the recovered virtual machines on the protected site (Site A) back to the recovery site (Site B). To do this, perform the following steps: 1. 2. 3. Delete the recovery plan R2 from the protected site (Site A). Delete the protection group(s) P2 at the recovery site (Site B). Configure array replication from the recovery site (Site B) to the protected site (Site A) for datastores containing recovered virtual machines. For more information, see the HP StorageWorks Continuous Access EVA administrator guide. Create protection group(s) P3 at the protected site (Site A) to protect recovered virtual machines from the protected site (Site A) to the recovery site (Site B). Create a recovery plan R3 at the recovery site (Site B) for the protection group(s).
4. 5.
Snapconfig utility
The Snapconfig utility file is an xml file that is installed with HP EVA Virtualization Adapter, and is used during failover test operations. Typically, this file is not modified; however, it can be used to customize the way test snapshots are created. After installation, Snapconfig.xml can be edited in the Windows Notepad and accessed from Start->All Programs->Hewlett-Packard->StorageWorks EVA Virtualization->SRM SnapConfig Utility The parameters that can be modified using Snapconfig are RAID type and allocation policy. The possible settings for RAID type are: vraid5 (default) vraid0 The possible settings for allocation type are: demand (default) full A listing of the default file is show in Figure 4. NOTE: Any changes made to SnapConfig.xml will be global to all vdisks created during a test failover.
26
NOTE: With the current release, <SnapType> and <Continue> are deprecated.
27
28
29
. . <!.. Timeout in seconds for execution of a single command using array vendor adapter. Default: 5 minutes > <CommandTimeout> 300 </CommandTimeout> </SanProvider>
NOTE: After increasing the SRM timeout value, you will need to restart the VMware Site Recovery Manager service.
Virtual machines do not start at recovery site during the test failover test.
Causes: The ESX recovery hosts are not configured with the correct HBA port WWN on the recovery EVA.
Error messages
HP EVA Virtualization Adapter error messages are logged to SRM and HP EVA Virtualization Adapter log files. Table 1 lists error messages and their meanings.
SRM log
SRM Logs (vmware-dr-X.log (X=0 to 9) is located in: %ALLUSERSPROFILE%\Application Data\VMware\VMware Site Recovery Manager\Logs ALLUSERSPROFILE=C:\Documents and Settings\All Users NOTE: Logs rollover after reaching 5 MB by default vmware-dr-index contains the most recent Log File number
EVA log
HP EVA Virtualization Adapter log (hpsrmeva.log) is located in: <SRM Install Path>\scripts\SAN\HP StorageWorks EVA Virtualization Adapter\ logs For the <SRM Install Path>, see Installation directory, page 21.
30
Description
The array being requested by SRM is actively managed by a different Command View EVA host. During a test failover operation, the action to create a snapshot failed due to an internal error on the EVA. A LUN ID was input from SRM to the adapter, but it could not be found in any existing DR Group. A LUN ID was input from SRM to the adapter, but it could not be found on the EVA. A connection was made to Command View EVA, but the EVA information could not be obtained. A connection was made to Command View EVA, but the EVA information could not be obtained. A snapshot of the replicated LUN is currently being created. A LUN ID input from SRM has already been failed over at the DR Group level. During a failover of a DR Group associated with a replicated LUN, an error occurred. The address or login credentials to the management host may be incorrect, preventing the adapter from connecting. Connection to the Command View EVA host could not be initialized. A test failover stop operation was called, but no test snapshots from the test failover stop operation exists. During a test failover operation, the presentation of a snapshot to a ESX host failed due to an internal error on the EVA. During test failover start or stop, a test SRM snapshot has been detected on the array. The array being requested by SRM is actively managed by a different Command View EVA host. During test failover stop, a test SRM snapshot has been deleted. All replicated LUNs specified by SRM are already in a failed over state, or do not belong to a DR Group. A LUN ID input from SRM does not belong to any known DR Group.
31
32
6 Reference
This guide provides information about: HP StorageWorks EVA Virtualization Adapter (HP EVA Virtualization Adapter) for HP StorageWorks EVA disk arrays Requirements and procedures for installing HP EVA Virtualization Adapter Configuring HP EVA Virtualization Adapter For supported disk array models and operating system versions, see the release notes for HP EVA Virtualization Adapter. For information on VMware and VMware Site Recovery Manager, see the VMware website. This guide does not describe the operation of related products, including HP StorageWorks Command View EVA, HP StorageWorks Continuous Access EVA, HP StorageWorks Business Copy EVA, HP StorageWorks Storage Software Scripting Utility, or VMware Site Recovery Manager. For information about these products, see the respective user guides.
Intended audience
This guide is intended for system administrators with knowledge of: Host hardware HP StorageWorks EVA disk arrays VMware Site Recovery Manager (SRM)
Related documentation
The following documents provide related information: HP HP HP HP StorageWorks StorageWorks StorageWorks StorageWorks Continuous Access EVA administrator guide Business Copy EVA administrator guide Command View EVA user guide Storage System Scripting Utility reference
You can find these documents from the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals Below Storage, click Storage Software. The following book is available on the VMware website: VMware Site Recovery Manager Administration Guide
33
Element
Cross-reference links and e-mail addresses Website addresses Keys that are pressed
Bold text
Text typed into a GUI element, such as a box GUI elements that are clicked or selected, such as menu and list items, buttons, tabs, and check boxes Text emphasis
Italic text
CAUTION: Indicates that failure to follow directions could result in damage to equipment or data.
HP technical support
For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers Technical support registration number (if applicable) Product serial numbers Error messages Operating system type and revision level Detailed questions
34
Reference
Subscription service
HP recommends that you register your product at the Subscriber's Choice for Business website: http://www.hp.com/go/e-updates After registering, you will receive e-mail notification of product enhancements, new driver versions, firmware updates, and other product resources.
HP websites
For additional information, see the following HP websites: http://www.hp.com http://www.hp.com/go/storage http://www.hp.com/service_locator http://www.hp.com/support/manuals http://www.hp.com/support/downloads
Documentation feedback
HP welcomes your feedback. To make comments and suggestions about product documentation, please send a message to storagedocsFeedback@hp.com. All submissions become the property of HP.
35
36
Reference
Glossary
This glossary defines acronyms and terms used in this guide or related to this product and is not a comprehensive glossary of computer terms. Command View EVA disk array HP StorageWorks Command View, a browser-based interface that allows management of an HP disk array. A RAID. A collection of disk drives within a cabinet or multiple cabinets and including a controller and software allowing drives to be ganged together in various configurations to create virtual drives (LUNs). Data replication group. A logical group of vdisks in a remote replication relationship with a corresponding group on another array. HP StorageWorks Enterprise Virtual Array. Restoring a system back to its original state after a system failure. When the recovery site takes over operation in place of the protected site after hardware or the entire protected site fails. Host Bus Adapter Logical Unit Number. A physically addressable storage unit as surfaced by a hardware RAID subsystem. A vdisk, consisting of multiple portions of physical disks addressed as a single unit. The datacenter containing the protected virtual machines from which data is being replicated to the recovery site. Redundant array of independent disks. The datacenter containing the virtual machines that will be recovered and perform work while the protected site is unavailable. A generic term meaning a static point-in-time copy of a volume, typically used for backup. VMware Site Recovery Manager
37
38
Glossary
Index
A
audience, 33 HP StorageWorks EVA Virtualization Adapter checking installation, 23 installation, 21 installation directory, 21 installation prerequisites, 21 installation process, 21 overview, 7
C
communications path overview, 10 conventions document, 34
R
related documentation, 33
D
document conventions, 34 documentation providing feedback, 35 related, 33 documentation, HP website, 33
S
Site Recovery Manager (SRM) discovery process, 7 Snapconfig utility overview, 26 Subscriber's Choice, HP, 35
E
error messages, 29, 30
T
technical support HP, 34 service locator website, 35 troubleshooting, 29
F
Failback overview, 25 scenario, 25 Failover overview, 25 Failover testing overview, 9
W
websites, 33 HP , HP Subscriber's Choice for Business, 35
G
glossary, 37
H
help obtaining, 34 HP technical support, 34
39
40