HP 3PAR Storage Replication Adapter for VMware vCenter Site Recovery Manager 5.0 Implementation Guide Abstract HP 3PAR Storage Replication Adapter for VMware vCenter SRM 5.0 (HP 3PAR SRA) is an integration component that communicates with HP 3PAR Storage Systems to execute specific storage and HP 3PAR Remote Copy functions needed for VMware vCenter Site Recovery Manager operation. This document provides relevant information for installing and configuring the HP 3PAR SRA.
© Copyright 2011 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.
Contents 1 2 3 4 5 6 Introduction...............................................................................................4 VMware vCenter Site Recovery Manager Overview........................................5 Supported Configurations............................................................................7 HP 3PAR SRA Installation and Configuration Prerequisites................................8 HP 3PAR SRA Installation............................................................................
1 Introduction VMware vCenter Site Recovery Manager is a management and automation product that helps build, manage, test and execute disaster recovery plans for a VMware virtual infrastructure. The HP 3PAR Storage System, as the storage component in a VMware virtual infrastructure, holds virtual machine information for a protected site/location and recovery site/location. HP 3PAR Storage Replication Adapter for VMware vCenter SRM 5.
2 VMware vCenter Site Recovery Manager Overview VMware vCenter Site Recovery Manager works as a plug-in component for VMware vCenter and integrates its functionality in VMware vCenter. The VMware vCenter Site Recovery Manager: • Builds, manages, tests, and executes disaster recovery solutions for virtual infrastructure implementations. • Uses the storage replication mechanism between the protected site and the recovery site for disaster recovery of protected site virtual infrastructure.
The VMware vCenter Site Recovery Manager communicates with HP 3PAR Remote Copy Software for storage replication through the HP 3PAR SRA. The HP 3PAR SRA provides information about Remote Copy volume groups that exist in HP 3PAR Storage Systems to Site Recovery Manager. The Site Recovery Manager identifies datastores and RDM devices in the Remote Copy volume group (also referred to as consistency groups).
3 Supported Configurations Supported configurations are listed in the HP 3PAR InForm Operating System Configuration Matrix (minimum version InForm OS 2.3.1). Supported configurations must follow the installation and configuration steps described in the relevant Implementation Guide(s).
4 HP 3PAR SRA Installation and Configuration Prerequisites HP 3PAR SRA is packaged in MSI format and installed onto the host where VMware vCenter Site Recovery Manager is installed. • • HP 3PAR SRA requires the following companion packages to be installed on the host before installation: ◦ VMware vCenter Site Recovery Manager 5.0. ◦ Microsoft .NET Framework 3.
5 HP 3PAR SRA Installation 1. Double-click the installation executable to launch the wizard. Click Next to continue. NOTE: The HP 3PAR SRA and VMware vCenter Site Recovery Manager must be installed on the same host. 2. 3. 4. Click I Agree to acknowledge the User License Agreement and click Next to continue. Click Next to start the installation. After the installation is complete, restart the VMware vCenter Site Recovery Manager service to ensure that HP 3PAR SRA is recognized by SRM.
6 HP 3PAR Storage System Setup Any HP 3PAR Storage System acting as an array manager (at the protected site or at the recovery site) in VMware vCenter Site Recovery Manager setup must be configured with HP 3PAR Remote Copy Software. NOTE: An HP 3PAR Remote Copy Software license is required on the HP 3PAR Storage System. SRA can co-exist in a Synchronous Long Distance Remote Copy environment.
Installing, Configuring, and Verifying the Configuration on the HP 3PAR Storage System 1. Verify the correct version of InForm Operating System with the appropriate licensed features. This operation must be performed on both the protected site and the recovery site. root@inodee2022:~# showversion Release version 3.1.1 Patches: None Component Name CLI Server CLI Client System Manager Kernel TPD Kernel Code Version 3.1.1 3.1.1 3.1.1 3.1.1 3.1.
3parcim 3parsnmp 3parsvc bedituser edituser root root2 srmuser 4. all all all all all all all all browse super super basic_edit edit super super edit N N N N N N N N Register the ESX(i) hosts on the HP 3PAR Storage System. Before a LUN from the HP 3PAR Storage System can be presented to the ESX(i) host, register the ESX(i) host WWNs/iSCSI names on the HP 3PAR Storage System by creating a host entry. Perform this operation on both the protected and recovery sites.
8. 9. Discover the LUNs on the ESX(i) hosts. After exporting the VLUNs to the ESX(i) host, rescan the HBA to verify if the VLUN is now visible to the ESX(i) host. 10. Create a VMFS datastore. 11. Deploy VMs per your requirements on the protected site. Configure Remote Copy with IP between the Protected Site and Recovery Site HP 3PAR Remote Copy Software provides the capability to copy virtual volumes from the protected site HP 3PAR Storage System to the recovery site HP 3PAR Storage System.
Initial Setup for Remote Copy from the Recovery Site. 1. From the recovery site (s159 in the following examples) set up the Gigabit Ethernet link. root@snodec242:~# controlport rcip addr -f 10.100.33.230 255.255.255.0 0:6:1 Remote Copy interface change successful. root@snodec242:~# controlport rcip addr -f 10.101.33.230 255.255.255.0 1:6:1 Remote Copy interface change successful. root@snodec242:~# controlport rcip gw -f 10.100.33.1 0:6:1 Remote Copy interface change successful.
Status: Started, Normal Link Information Target s388 s388 receive receive Node 0 1 0 1 Address 10.100.33.88 10.101.33.
Displaying the Remote Copy Groups Configuration 1. Display the Remote Copy groups configurations on the protected site. root@inodee2023:~# showrcopy Remote Copy System Information Status: Started, Normal Target Information Name ID Type Status Options Policy s230 19 IP ready mirror_config Link Information Target s230 s230 receive receive Node 0 1 0 1 Address 10.100.33.230 10.101.33.230 receive receive Status Options Up Up Up Up Group Information Name srm_1 LocalVV srm_vol1 srm_vol2 srm_vol3 2.
7 Configuring VMware vCenter Site Recovery Manager The VMware vCenter Site Recovery Manager plug-in is installed and enabled by the vCenter Plug-in Manager (Plug-ins→Manage Plug-ins...). NOTE: Refer to VMware vCenter Site Recovery Manager documentation for further information on configuration.
Configuring VMware vCenter Site Recovery Manager
HP 3PAR SRA Configuration 19
8 HP 3PAR Storage Replication Adapter for the VMware vCenter SRM 5.0 Utility HP 3PAR SRA supports the command line interface TpdSrm.exe. VMware vCenter Site Recovery Manager requests are sent via a Perl script command.pl in the HP 3PAR SRA installed directory. The Perl script internally processes the data to an XML file and spawns an instance of TpdSrm.exe to process the XML file. The XML file is removed once TpdSrm.exe returns to command.pl. The HP 3PAR Storage Replication Adapter for VMware vCenter SRM 5.
• viewstate View the local disaster recovery state cache information. Only prepareFailover and failover states are be available. • cleanstate Remove the local disaster recovery state cache created during failover operation. ◦ -sysid The system ID of the HP 3PAR Storage System where the Remote Copy group name is found. Use the viewstate command to see currently cached info. ◦ -rcgroup The Remote Copy group name.
9 SRA 5.0 SRM vs HP 3PAR Remote Copy State Diagram Table 1 Remote Copy failover from Site A to Site B State SRM Command Site A Role After HP 3PAR Execution System Site Command 1 — — Primary Secondary – State 1 Failover 1.1 checkFailover B Primary Secondary getvv Check current group status. Site B Role after HP 3PAR System InForm OS Command Command Description getvlun getrcopy Failover 1.2 syncOnce A Primary Secondary getvv getvlun syncrcopy Failover 1.
Table 1 Remote Copy failover from Site A to Site B (continued) State SRM Command Site A Role After HP 3PAR Execution System Site Command Site B Role after HP 3PAR System InForm OS Command Command Description setrcopygroup failover Failover 1.6 – – Primary Primary-Rev – State 2 2 – – Primary Primary-Rev – State 2 Restore 1.1 prepareRestoreReplication B Primary Primary-Rev getvv Restore 1.2 restoreReplication A Primary Secondary getvv Restore 1.
Table 3 Remote Copy restore role back (without sync) State SRM Command Site A Role After HP Execution 3PAR System Site Command 3 — — Failover 2.1 checkFailover A Site B Role after HP 3PAR System Command InForm OS Command Description Secondary-Rev Primary-Rev – State 3 Secondary-Rev Primary-Rev getvv Check current group status. Make sure the group is started. getvlun getrcopy startrcopygroup Failover 2.2 synceOnce B Secondary-Rev Primary-Rev getvv getvlun syncrcopy Failover 2.
Table 4 Remote Copy sync from Site A to Site B Site B Role after HP 3PAR System Command InForm OS Command Description Primary Secondary – State 4 Primary Secondary getvv Remove the Remote Copy state from the registry. State SRM Command Site A Role After HP Execution 3PAR System Site Command 4 — — Reverse 2.1 prepareReverseReplication B Reverse 2.2 reverseReplication A Primary Secondary getvv Reverse 2.
10 Special Notes 26 • HP 3PAR SRA does not function if the HP 3PAR Storage System is operating in Common Criteria mode. • If a single virtual machine sits on two datastores and two virtual volumes, it is recommended to include both virtual volumes in the same Remote Copy group. • In a disaster recovery scenario, when Remote Copy links are down, the Remote Copy group status could still be Started. A failover attempt will not be successeful until the Remote Group status becomes Stopped.
device read-only to meet SRM's specification before failover is to remove VLUN exposure so that no one has access to it. HP 3PAR SRA will not be able to make the device read-writable. Remote Copy will internally manage the snapshot taking in case something goes wrong during the failover process.
• If a failover operation is unsuccessful, make sure to clean up the local disaster state cache. Otherwise, the subsequent SRM operations will fail.