HP StoreVirtual Storage Remote Copy User Guide Abstract This guide provides information about configuring and using asynchronous replication of storage volumes and snapshots across geographic distances. For the latest version of this guide, see the HP website http://www.hp.com/support/StoreVirtualManuals.
© Copyright 2009, 2013 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 Understanding and planning Remote Copy....................................................6 How Remote Copy works...........................................................................................................6 Graphical representations of Remote Copy..............................................................................6 Copying the primary snapshot to the remote snapshot..........................................................7 Graphical legend for Remote Copy icons..........
Deleting the remote snapshot schedule......................................................................................26 Failover and failback using Remote Copy..................................................................................26 Planning failover................................................................................................................26 Using the Volume Failover/Failback Wizard...............................................................................
4 Support and other resources......................................................................48 Contacting HP........................................................................................................................48 Subscription service............................................................................................................48 Rack stability..........................................................................................................................
1 Understanding and planning Remote Copy Remote Copy provides a powerful and flexible method for reproducing data and keeping that replicated data available for disaster recovery, business continuance, backup and recovery, data migration, and data mining. How Remote Copy works Remote Copy uses the existing volume and snapshot features with replication across geographic distances to create remote snapshots.
Copying the primary snapshot to the remote snapshot When the primary snapshot is copying to the remote snapshot, the CMC depicts the process with a moving graphic of pages from the primary to the remote snapshot. The pages move in the direction of the data flow from primary to remote snapshot.
Table 1 Uses for Remote Copy Use Remote Copy for How it works Business continuance and disaster recovery Remote Copy stores remote snapshots on a machine in a geographically separate location. The remote snapshots remain available in the event of a site or system failure at the primary site. Off-site backup and recovery Remote Copy eliminates the backup window on an application server by creating remote snapshots on a backup server, either local or remote, and back up from that server.
Table 2 Remote Copy, LeftHand OS, and storage systems Storage system level Remote Copy configuration Management groups • Create remote snapshots in the same management group or in a different management group than the primary volume. • If using different management groups, the remote bandwidth setting of the management group containing the remote volume determines the maximum rate of data transfer to the remote snapshot. • Event notification tells you when copies complete or fail.
Using schedules for Remote Copy Scheduled remote snapshots provide fault tolerance for business continuance and disaster recovery, and a consistent, predictable update of data for remote backup and recovery. Planning the Remote Copy schedule Planning is critical.
completed snapshots. Take the following characteristics of scheduled remote snapshots into account when planning retention policies. • The LeftHand OS software never deletes the last fully synchronized remote snapshot. Under some circumstances, such as unpredictable network speeds or varying snapshot size, a scheduled remote snapshot may create primary snapshots so frequently that the remote copy process cannot keep up with them.
Table 4 Scheduled Remote Copy planning checklist Configuration category Characteristic Scheduled snapshot Start time • Start date (mm/dd/yyyy) for the schedule to begin • Start time (mm:hh:ss) for the schedule to begin Recurrence • Recurrence is a yes or no choice.
2 Using Remote Copy For information about how Remote Copy works and how to plan capacity for Remote Copy, see “Understanding and planning remote copy” (page 6). Working with remote snapshots Remote snapshots are a core component of Remote Copy. Remote Copy uses the existing volume and snapshot capabilities to copy data across geographic distances.
Creating the primary snapshot 1. In the Primary Snapshot Setup box, click New Snapshot. If you selected a snapshot to start the process, you do not need to create a new snapshot. 2. (Optional) If you are using the Application Aware Snapshot Manager and want to quiesce the application before creating the snapshot, select Application-Managed Snapshot. The system fills in the Description field and and the snapshot inherits the server assignment of the volume. 3.
Creating primary snapshots for volume sets When you create an application-managed snapshot of a volume in a volume set, the software recognizes that the volume is part of a volume set, and prompts you to create a snapshot for each volume in the volume set. The result is a snapshot set that corresponds to the volume set. To see any associated snapshots, select a snapshot, click the Details tab, and look at the Snapshot Set field.
IMPORTANT: group. All remote snapshots must be set up to use the same remote management 16. Click Update Pending Table Below to add this remote snapshot setup to the list at the bottom of the window. 17. Continue until each snapshot at the top of the window is set up. A green check mark shows the snapshot is set up. 18. Click Create Remote Copies. The remote copy of the primary snapshots to the remote volumes begins.
What the system does The system creates the remote snapshot in the cluster that contains the remote volume, and then copies the primary snapshot onto the remote snapshot. The process of copying the data may take some time. The remote snapshot appears below the remote volume in the navigation window when the copy completes. NOTE: If you create a remote snapshot of a volume while a remote snapshot is in progress, the second remote snapshot does not begin copying until the first remote snapshot is complete.
7. 8. Delete the temporary PrimeSync management group. Use the initial snapshot that you used for the temporary PrimeSync management group copy, to create the second Remote Copy or the schedule to create remote snapshots of the volume. You are now setting up the Remote Copy that goes from primary site A directly to remote site B which maintains that relationship going forward. PrimeSync ensures that the proper relationship is established between the original primary volume and the remote site.
• Custom setting— The custom setting for remote bandwidth defaults to 32,768 KB, or about 4 MB. Use the calculation tool to identify a desired bandwidth setting. For example, if you have a T1 line, and you want to set the remote bandwidth to 12% of that capacity, you can use the calculation tool to find the correct value, 189 KB. Best practice Set the bandwidth speed the same in both directions unless you have an asymmetrical WAN link. 1. 2. 3. 4. 5.
Deleting a remote snapshot CAUTION: Do not delete individual snapshots that are part of a snapshot set. To see associated snapshots, select a snapshot, click the Details tab, and then view the Snapshot Set field. For information about snapshot sets, see the HP StoreVirtual Storage User Guide. HP recommends that you keep or delete all snapshots for a volume set. If you need to roll back to a snapshot, you want to roll back each volume in the volume set to its corresponding snapshot.
Viewing the status in the Remote Snapshot Details window The 1. 2. 3. Remote Snapshot Details window displays additional details about a remote snapshot. In the tab window, select the Remote Snapshots tab. Select a remote snapshot from the list of snapshots on the Remote Snapshots tab. Click Remote Snapshot Tasks, and then select View Remote Snapshot Details. Figure 6 Viewing remote snapshot details During the remote copy process, the Remote Snapshot Details window reports current statistics.
Table 6 Fields for Remote Snapshot Details window (continued) Statistic Fields State The current state of the copy process. Valid values are Started, Copying, Stalled, and Complete. Time Start Time Time Zone date and time copy started. The field format is MM/DD/YYYY HH:MM:SS [AM/PM] Elapsed Time The number of days, hours, minutes, and seconds since the copy began processing. The field format is Xd Xh Xm Xs X. N/A signifies completed copies or in-progress copies not yet calculated. Est.
Scheduling remote snapshots In addition to taking remote snapshots of a volume manually, you can set up a schedule to take snapshots and save them remotely. Scheduled remote snapshots provide business continuance and disaster recovery, as well as a consistent, predictable update of data for remote backup and recovery. Planning for scheduled remote snapshots is a crucial initial step in implementing Remote Copy.
11. Set the retention interval for the remote snapshot. You can retain up to 50 snapshots for a volume. 12. Click OK to close the scheduling window and return to the navigation and tab windows. The timetable you just created is now listed in the Schedules tab view. Creating the schedule for volume sets When you create a schedule to remote snapshot a volume that has associated volumes, the system automatically creates remote snapshots for each associated volume.
16. Click Update Pending Table Below to add this remote volume setup to the list at the bottom of the window. The system selects the next volume in the Primary Volume list at the top of the window. 17. Select the remote Volume Name for the selected volume. 18. Click Update Pending Table Below to add this remote volume setup to the list at the bottom of the window. 19. Continue until each volume at the top of the window is set up. A green check mark shows the volume is set up. 20. Click Create Schedule.
4. 5. Click Schedule Tasks on the Details tab, and then select Resume Schedule. In the Confirm window, click OK. In the Next Occurrence column of the tab window, this snapshot schedule shows the date and time the next snapshot will be created.
• Configuration of application servers and backup application servers • Task flow for failback (resuming production after failover) • If a volume is part of a volume set, typically you want to fail over each volume using its corresponding snapshot. To see associated snapshots, select a snapshot, click the Details tab, and review the Snapshot Set field. For more information about volume sets and snapshot sets, see the HP StoreVirtual Storage User Guide.
NOTE: You cannot make a remote volume into a primary volume while a remote snapshot is in progress. Either wait until the remote snapshot copy completes before making the remote volume into a primary volume, or cancel the in-progress remote copy. 10. Click Finish. The snapshot is created and the volume becomes a remote volume. The final window of the wizard displays a summary of the actions and a reminder to reconnect your iSCSI sessions, or to reassign any Fibre Channel servers.
Example scenario The following example illustrates one process for synchronizing data. Remember that synchronization is optional. Table 7 Timeline of failover Time Event What happens 1:00 p.m. Regular hourly scheduled remote snapshot starts. RemoteSS_1 creates in remote management group. 1:10 p.m. Remote copy finishes. Copying is complete. 1:30 p.m. Primary volume goes offline. OrigPrimaryVol_1 is offline. 1:33 p.m.
Synchronize the snapshots OrigPrimarySS_1 and ActPrimarySS_1 that were created in steps 2 and 3 of “Creating snapshots of data to synchronize” (page 29). In the simplest case, to synchronize the snapshots, remote copy the remote snapshot back to the original primary volume.
Snapshot Set field. For more information about volume sets and snapshot sets, see the HP StoreVirtual Storage User Guide or online help. Prerequisite Stop applications from accessing the volume. CAUTION: 1. 2. 3. 4. Any remote snapshot that has not completed copying is canceled. Log in to the management group that contains the primary volume that you want to roll back. Select the snapshot to roll back to. Review the snapshot Details tab to ensure you have selected the correct snapshot.
Disassociating remote management groups Management groups become associated when linked by either remote snapshots or scheduled remote snapshots. Disassociating management groups destroys all the shared knowledge between those groups. Best practice for disassociating management groups NOTE: 1. 2. 3. 4. 5. Do this only if a group no longer exists, or if instructed by HP Support. Log in to both management groups that you want to disassociate. In the navigation window, select the remote management group.
3 Sample Remote Copy configurations Because of its flexibility, Remote Copy is useful in a variety of configurations. The sample configurations described in this chapter show only a few ways to use Remote Copy for business continuance, backup and recovery, data migration, and data mining. Using Remote Copy for business continuance Business continuance is composed of disaster recovery and high availability of data.
Figure 8 High availability example configuration How this configuration works for high availability If the production application server or volumes become unavailable, application processing fails over to the backup application server. The remote volume and remote snapshots become acting primary, and the backup application server becomes the acting production application server, accessing data from the acting primary volume.
Failover to the backup application server To maintain availability of the applications and the remaining data, the following process occurs: 1. A script or other application monitoring the production application server discovers that the primary volume is not available. A script executes to fail over to the backup application server. 2. The backup application server executes a script to convert the remote volume into a primary volume so that the volume can be accessed by the backup application server.
Best practices Remote snapshots with volume replication Use remote snapshots in conjunction with local, synchronous volume replication, known as Network RAID. Using remote snapshots alone, any data written to the primary volume since the most recent remote snapshot was created will be unavailable if the primary volume is unavailable. However, you can lessen the impact of primary volume failure by using Network RAID.
Figure 11 High availability during failover-Example configuration Achieving affordable disaster recovery Even if you do not have clustered application servers or network bandwidth required for configuring hot backup sites, you can still use Remote Copy to protect your data during an emergency. Using remote snapshots, you can maintain copies of your volumes in remote sites.
Figure 12 Affordable disaster recovery example configuration How this works for affordable disaster recovery If the storage systems in your primary location fail or volumes become unavailable, the off-site location contains the most recent remote snapshots. • Use the remote snapshots to resume operations as shown in Figure 13 (page 39). If you created tape backups, you can recover data from tape backups, as shown in Figure 14 (page 39).
2. Configure application servers to access the primary volume, or if network connections are not fast enough to facilitate reading and writing to the off-site location, copy this volume to a location where application servers can access it more efficiently. Figure 13 Restoring from a remote volume In Figure 13 (page 39) note the volume labeled Primary Snapshot in the Production Site. It originated as a read only backup, but is brought into use as an acting primary.
Best practices Select an optimum recurrence schedule. Select a recurrence schedule for remote snapshots that minimizes the potential for data loss. Any data written to the primary volume since the most recent remote snapshot was created will be unavailable if the primary volume is unavailable. Consider how much data you are willing to lose in the event of an emergency and set the recurrence for creating remote snapshots accordingly.
Configuration for off-site backup and recovery To use remote snapshots for off-site tape backup, create remote snapshots for access by your tape backup application: • Create remote volumes in your backup location. • Configure your backup application to access the remote snapshots. • Configure schedules to create remote snapshots in the designated off-site locations.
NOTE: Retention of snapshots affects the amount of space that is used in the cluster of storage systems. Balance the number of snapshots to retain with the amount of space you are willing to use. You can still access remote snapshots or tape backups if you want to roll back to a snapshot that you did not retain. • Retain remote snapshots in the backup location to facilitate fast recovery of backed-up data.
Figure 16 nondestructive rollback example How this configuration works for nondestructive rollback You can choose to roll back either the primary snapshot or the remote snapshot. Rolling back one of the snapshots requires that you delete more recent snapshots of that volume. The other volume retains the full set of snapshots. You can continue to make snapshots even though one side was rolled back and the other side was not.
Figure 17 Nondestructive rollback from the primary snapshot • 44 To roll back the remote snapshot, you must first make the remote volume into a primary volume. This stops scheduled creation of remote snapshots, which may jeopardize your high availability, disaster recovery, or routine backup strategies. Figure 18 (page 45) shows rollback of the remote snapshot.
Figure 18 Nondestructive rollback from the remote snapshot Best practices Roll back the primary snapshot and keep the remote snapshots as a backup. To ensure that Remote Copy continues to operate, roll back the primary volume as follows: 1. Preserve the current state of the primary volume that you want to roll back by creating a one-time (manual) remote snapshot of it. 2. Roll back the volume. Before roll back, scheduled remote snapshots fail.
Configuration for data migration To make a copy of a volume in a remote location, configure a cluster of storage systems in the remote location with enough space to accommodate the volume. See Figure 19 (page 46) for an example configuration. Figure 19 Data migration example configuration How this configuration works for data migration Suppose you want to create a complete copy of a volume for an application to use in a different location. 1.
Figure 20 Configuration after data migration Using Remote Copy for data migration or cloning 47
4 Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
initiate a fast and accurate resolution, based on your product’s service level. Notifications may be sent to your authorized HP Channel Partner for on-site service, if configured and available in your country. The software is available in two variants: • HP Insight Remote Support Standard: This software supports server and storage devices and is optimized for environments with 1-50 servers.
5 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.
Glossary The following glossary provides definitions of terms used in the LeftHand OS software and the HP StoreVirtual Storage. acting primary volume The remote volume, when it assumes the role of the primary volume in a failover scenario. Active-Passive A type of network bonding which, in the event of a NIC failure, causes the logical interface to use another NIC in the bond until the preferred NIC resumes operation. At that point, data transfer resumes on the preferred NIC.
DSM Device Specific Module. DSM for MPIO The HP StoreVirtual DSM for Microsoft MPIO vendor-specific DSM that interfaces with the Microsoft MPIO framework. failback After failover, the process by which you restore the primary volume and turn the acting primary back into a remote volume. failover The process by which the user transfers operation of the application server over to the remote volume. This can be a manual operation, a scripted operation, or VMware enabled.
MIB Management information base. A database of managed objects accessed by network management protocols. An SNMP MIB is a set of parameters that an SNMP management station can query or set in the SNMP agent of a network device (for example, a router). Multi-Site cluster A cluster of storage that spans multiple sites (up to three).
RAID rebuild rate The rate at which the RAID configuration rebuilds if a disk is replaced. RAID status Condition of RAID on the storage system: • Normal - RAID is synchronized and running. No action is required. • Rebuild - A new disk has been inserted in a drive bay and RAID is currently rebuilding. No action is required. • Degraded - RAID is not functioning properly. Either a disk needs to be replaced or a replacement disk has been inserted in a drive.
site A user-designated location in which storage systems are installed. Multi-Site SAN configurations have multiple sites with storage systems in each site, and each site has its own subnet. A site can be a logical configuration, such as a subnet within the same data center, department, or application. SmartClone volume SmartClone volumes are space-efficient copies of existing volumes or snapshots. They appear as multiple volumes that share a common snapshot, called a clone point.
volume size The size of the virtual device communicated to the operating system and the applications. VSS Provider HP StoreVirtual VSS Provider is the hardware provider that supports the Volume Shadow Copy Service on the HP StoreVirtual Storage. VSS Volume Shadow Copy Service writable space See temporary space.
Index A adding a remote snapshot schedule, 23 a remote volume, 16 remote snapshots, 13 affordable disaster recovery best practices, 40 configuration, 37 application-managed snapshots creating, 14, 23, 24 creating primary snapshot for volume sets, 15, 24 deleting remote, 20 failing over from, 27 promoting remote to primary, 28 rolling back from, 31 B backup and recovery using Remote Copy, 40 benefits of Remote Copy, 8 best practices for affordable disaster recovery, 40 for high availability, 36 for nondestr
H help obtaining, 48 high availability and failover, 36 and Remote Copy, 36 best practices, 36 configuration diagram, 33 configuration for, 33 configuration of Remote Copy, 36 HP technical support, 48 I icons for Remote Copy, 6 Insight Remote Support software, 48 M management groups disassociating, 32 disassociating PrimeSync, 17 temporary, for PrimeSync, 17 merging data for failback, 35 monitoring progress of remote copy, 22 remote copy details, 21 remote snapshots, 20 N Network RAID and Remote Copy, 7
S scheduled snapshots, 23 pausing or resuming, 25 schedules, planning Remote Copy, 11 scheduling remote snapshots, 23 scripting for failover, 27 setting remote bandwidth, 18 snapshots creating application-managed, 14, 23, 24 creating application-managed for volume sets, 15, 24 deleting schedules, 25 pausing or resuming, 25 scheduling, 23 split mirrors, creating, 31 Subscriber's Choice, HP, 48 support software, remote, 48 synchronizing data after failover, 28 after failover, between acting primary volumes an