HP 3PAR Storage Replication Adapter 5.5.2 for VMware® vCenter Site Recovery Manager™ User Guide Abstract HP 3PAR Storage Replication Adapter 5.5.2 for VMware® vCenter Site Recovery Manager™ (HP 3PAR SRA) is an integration component that communicates with HP 3PAR StoreServ 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 2014 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. Warranty The information contained herein is subject to change without notice.
Contents 1 2 3 4 5 Introduction...............................................................................................4 VMware vCenter Site Recovery Manager overview.........................................5 Supported configurations.............................................................................7 HP 3PAR SRA installation and configuration prerequisites................................8 Installing HP 3PAR SRA...............................................................................
1 Introduction VMware vCenter Site Recovery Manager (SRM) 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.
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. 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 StoreServ 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 For information about the supported hardware and software platforms, see the Single Point of Connectivity Knowledge for HP Storage Products (SPOCK) website:http://www.hp.com/storage/ spock.
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 Site Recovery Manager 5.0, 5.1, or 5.5 ◦ Microsoft .NET Framework 4.
5 Installing HP 3PAR SRA You cannot upgrade to HP 3PAR SRA 5.5.2 from an earlier version. Therefore, you must remove the earlier version before installing HP 3PAR SRA 5.5.2. If HP 3PAR SRA 5.5.1 is installed, then run the following command before you remove SRA 5.5.1: TPDSrm.exe removecert—To delete the accepted HP 3PAR StoreServ certificate from the cache memory. Removing HP 3PAR SRA To remove HP 3PAR SRA, do the following: 1. Log on as system administrator. 2.
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. HP 3PAR SRA supports synchronous and periodic replication modes in 1:1, 1:N, and N:1 configurations as supported by HP 3PAR remote copy, where N indicates the number of storage arrays. HP 3PAR SRA also supports synchronous long distance configurations.
The following are the configuration items: • HP 3PAR StoreServ configuration at the protected site and the recovery site: ◦ HP 3PAR Remote Copy Software setup. Set up a Remote Copy link between the protected and recovery site. Create a Remote Copy volume group at the protected site. A corresponding Remote Copy group is automatically created at the recovery site. For more information about setting up HP 3PAR Remote Copy Software, see the HP 3PAR Remote Copy Software User Guide.
Installing, configuring, and verifying the configurations on HP 3PAR storage system 1. Verify the correct version of HP 3PAR 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.
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type 0 srm_vol1 pe2970-20 21000024FF223A1B 1:1:2 host 0 srm_vol1 pe2970-20 21000024FF223A1A 0:1:2 host ------------------------------------------------------2 total 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.
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 and HP 3PAR SRA The VMware vCenter Site Recovery Manager plug-in is installed and enabled by the vCenter Plug-in Manager (Plug-ins→Manage Plug-ins...). NOTE: For more information about configuring VMware vCenter SRM, see the VMware vCenter Site Recovery Manager documentation. IMPORTANT: Ensure that both vCenter servers are configured with each other and can be accessed from the respective sites.
Configuring HP 3PAR SRA The following are the HP 3PAR SRA configuration items in vCenter Site Recovery (View→Solutions and Applications →Site Recovery): • Add Array Manager ◦ Display Name—your preferred array reference ◦ SRA Type—HP 3PAR SRA Software ◦ Host name or IP Address of HP 3PAR storage system—The host name or IP address of the storage system located at the protected or recovery sites providing storage replication.
Configuring VMware vCenter Site Recovery Manager and HP 3PAR SRA
For an SLD configuration, after the Array Manager is added successfully, if you select the primary array, two target arrays are listed. You must configure SRM/SRA between HP 3PAR StoreServ Storage systems A and C. Figure 1 SLD configuration You must also enable the array pair between HP 3PAR StoreServ Storage systems A and C as shown below.
NOTE: You must accept and validate the HP 3PAR StoreServ certificate using the TPDSrm utility before you configure SRM with HP 3PAR StoreServ Storage System. If you do not validate the certificate, connection to HP 3PAR StoreServ is denied. • TPDSrm.exe removecert—To delete the accepted HP 3PAR StoreServ certificate from the cache memory.
8 Recovery and failback A recovery operation is executed when an SRM recovery plan is configured with SRM protection groups that uses replicated HP 3PAR Virtual Volumes as a Datastore. Failback is a process that sets the replication environment back to its original state at the protected site (local site), prior to a failover. Failback is managed as a normal server migration process. The following are the SRM operations that execute recovery and failback.
Consider the following scenarios where A is the Primary System, C the Asynchronous Periodic Backup System, and B the Synchronous Backup System, and SRM/SRA is configured between HP 3PAR StoreServ Storage systems A and C. • All the links are up: SRM initiates the data transfer from A to C through HP 3PAR SRA. After the sync is complete, SRA stops the RC groups between A—B and also between A—C. Then SRA initiates failover at C so that C becomes the Failover System and takes the role of the Primary System.
between C—A and C—B are up, then SRA starts the remote replication from C—A and C—B and waits till the sync is complete as part of the reprotect operation. During the reprotect operation, SRA triggers delta resync operation from C—A and C—B where C is the new primary system after failover.
9 HP 3PAR SRA for the VMware SRM 5.5 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 SRM 5.
• 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. • log View or modify the current log size limit and the maximum number of log history files to maintain. ◦ -size Specify the log file size limit (in MB). The default is 2 MB.
10 Partial licensing The HP 3PAR SRA supports partial licensing facility to purchase license based on the capacity used on the storage array. This feature is available if you have HP 3PAR OS 3.1.2 MU2, or later.
11 HP 3PAR SRA 5.5.2 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 HP 3PAR 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 HP 3PAR OS Command Command Description getport 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 HP 3PAR 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 HP 3PAR 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.
12 Special notes • 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 successful until the Remote Group status becomes Stopped. • HP 3PAR SRA configuration will not be deleted in the Windows registry when the HP 3PAR SRA package is uninstalled.
• Additional protection to the data on the recovery Storage System. HP 3PAR SRA will take a snapshot of the devices on the recovery storage system of the SRM before failover for optional restore purpose. The snapshot name will have the following prefix: SRM_TARGETBK_RO_. • Support of Dynamic Access Group. The concept of Dynamic Access Group support is to expose LUNs only to the specified HBA initiators provided by SRM.
3. 4. Issue the removetask –d command to remove the task detail. Rerun the SRM operation again. If you have multiple failed virtual volumes in the group, you may need to repeat steps 1 through 4 for all volumes. • • For HP 3PAR OS versions up to 3.1.2 MU2: ◦ SRM supports only one-to-one replication. If one of the pair in an SLD setup is selected for an SRM configuration, only the selected pair will be started after re-protect in failover workflow.
If you see this issue, do the following to resolve this issue: ◦ Process 1 1. Identify all serial ID numbers on Primary_array and Secondary_array by running the showrcopy command in HP 3PAR CLI interface. Sample output: Primary_array Secondary_array Group Information Name Target Status Role Mode Options TestRCG rsra Started Primary Periodic Last-Sync 2014-10-20 12:44:24 SGT , over_per_alert LocalVV ID RemoteVV ID SyncStatus LastSyncTime TestVV_Pri.0 1741 TestVV_Sec.
Support for multiple array pair configuration HP 3PAR SRA supports multiple array pair configurations. Different remote copy groups from the array pairs can be part of a single recovery plan or separate recovery plan. Support for virtual volume sets and host sets HP 3PAR SRA supports vvset (virtual volume set) and host set features of HP 3PAR StoreServ Storage system. The following are the HP 3PAR SRA pre-requisites for HP 3PAR host set and HP 3PAR virtual volume set features: • For HP 3PAR OS versions 3.
Support for SLD • HP 3PAR SRA supports synchronous long distance remote copy groups on HP 3PAR OS 3.1.2 MU3 P16 or later MUs, and HP 3PAR OS 3.1.3 or later. • HP 3PAR SRA can coexist with a synchronous long distance remote copy group on HP 3PAR OS version 3.1.1 to HP 3PAR OS 3.1.2 MU2.
manually start the remote copy group between A—B before you proceed with any other SRM operations. • During the reprotect operation, SRA triggers delta resync operation from C—A and C—B, where C is the new primary system after failover.
13 Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Table 6 Documentation list (continued) For information about: See: Identifying storage system components, troubleshooting information, and detailed alert information HP 3PAR F-Class, T-Class, and StoreServ 10000 Storage Troubleshooting Guide Installing, configuring, and maintaining the HP 3PAR Policy Server HP 3PAR Policy Server Installation and Setup Guide HP 3PAR Policy Server Administration Guide Planning for HP 3PAR storage system setup Hardware specifications, installation considerations, power r
Typographic conventions Table 7 Document conventions Convention Element Bold text • Keys that you press • Text you typed into a GUI element, such as a text box • GUI elements that you click or select, such as menu items, buttons, and so on Monospace text • File and directory names • System output • Code • Commands, their arguments, and argument values • Code variables • Command variables Bold monospace text • Commands you enter into a command line interface • System
14 Documentation feedback HP is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (docsfeedback@hp.com). Include the document title and part number, version number, or the URL when submitting your feedback.