HP 3PAR Recovery Manager 4.2.0 Software for Microsoft Exchange 2007 User’s Guide Abstract This guide is designed for System Administrators and Microsoft Exchange Administrators who are responsible for backing up Microsoft Exchange mailbox or public store databases and who understand Microsoft Exchange 2007.
© 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 Introduction...............................................................................................7 Related Documents...................................................................................................................7 Typographical Conventions........................................................................................................7 Advisories.....................................................................................................................
Host Sets......................................................................................................................24 Configuring Multiple Domains..................................................................................................24 Multiple Domain Requirements.............................................................................................24 Registering Domains...........................................................................................................
Manually Creating a Remote Virtual Copy of a Storage Group...........................................37 Creating a Virtual Copy of an LCR-Enabled Storage Group.....................................................37 Creating a Virtual Copy of a CCR-Enabled Storage Group......................................................38 Scheduling Automatic Virtual Copies....................................................................................39 Automating Tasks................................................
RMExch setvc....................................................................................................................77 RMExch unmount...............................................................................................................78 RMExch UnRegisterDomain.................................................................................................79 RMExch validate................................................................................................................
1 Introduction Related Documents For Information About… Read the… Using the HP 3PAR InForm OS Command Line Interface HP 3PAR InForm OS CLI Administrator’s Manual (CLI) to configure and manage the HP 3PAR Storage System Using the HP 3PAR InForm Management Console to configure and administer HP 3PAR Storage Systems HP 3PAR InForm Management Console Help Assigning the appropriate user roles and rights HP 3PAR InForm OS Concepts Guide HP 3PAR InForm OS CLI Administrator’s Manual Using the HP 3PAR InForm O
NOTE: The InServ Storage Server has been rebranded as HP 3PAR Storage System. There are instances in this document where screenshots and/or menu items and command output refer to the HP 3PAR Storage System as InServ or InServ Storage Server. Advisories To avoid injury to people or damage to data and equipment, be sure to observe the cautions and warnings in this guide. Always be careful when handling any electrical equipment.
2 Overview of Recovery Manager System Requirements General Requirements for Recovery Manager • Microsoft Windows Server 2008 or 2008 R2 • Single processor with either 1.4 GHz (x64) or 1.3GHz (Dual Core) • 512 MB RAM • 32 GB hard drive space • Virtual copy (snapshot) space must be available on HP 3PAR Virtual Volumes. To create virtual copies on the base volume, you must allocate virtual copy space to the volume itself when you create the base volume.
• Microsoft Exchange System Management Tools must be installed on the backup server. NOTE: If you are running a Single Copy Cluster (SCC) or a CCR (Cluster Continuous Replication) on Windows 2008, the backup server needs to have the "Failover Clustering" feature enabled to function properly. • HP 3PAR VSS Provider 2.1.0 or higher Software for Microsoft Windows is required. • Microsoft .Net Framework V3.5 or higher is required by VSS Provider.
• Backup using HP Data Protector or Symantec NetBackup • Restore from backup using HP Data Protector or Symantec NetBackup • File Copy restore • Volume restore • Co-existence with autonomic groups (domain sets, volume sets, and host sets) • Virtual copy creation of LCR databases where the active and passive copies both reside on a single HP 3PAR Storage System.
operating system and applications and freezes I/O to the storage system to allow snapshot creation (without the freeze function, data could become corrupted when the snapshot is taken because the system might be in the middle of a task). Meanwhile, applications continue to run uninterrupted. The original volume continues to change as the process continues, but the shadow copy of the volume remains constant.
NOTE: For platform-specific release levels, refer to the latest HP 3PAR InForm OS Configuration Matrix. To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to your product page, click Support for your product, and then click Manuals. How VSS Works with Exchange Figure 1 HP 3PAR VSS Provider Software for Microsoft Windows Operation Overview 1.
Centralized Backup Configuration A centralized backup configuration, as shown in Figure 2 (page 14), allows you to maximize the resources and performance of the Exchange servers through off-host central control management capabilities. A single backup server can remotely create virtual copies on multiple Exchange servers and manage all virtual copies on the backup server. This type of configuration is recommended if you need to manage multiple Exchange servers or are in a clustered environment.
Figure 3 Single Host Backup Configuration CCR Backup Configuration CCR configurations can be implemented at a single site or span multiple sites. When implemented at a single site, a single backup server is utilized as shown in Figure 4 (page 15) and Figure 5 (page 16). For implementations that span multiple sites, two backup servers are required as shown in Figure 6 (page 16). The command RMExch peer is used to specify the name of the peer backup server for multiple sites.
Figure 5 Two HP 3PAR Storage Systems, One Site Figure 6 Two HP 3PAR Storage Systems, Two Sites Multiple Domain Backup Configurations Multiple domain backup configurations, shown in Figure 7 (page 17), allow you to use one backup server for multiple Active Directory domains. Keep in mind: • All backup components (for example, the backup server, backup software client, and Remote Copy target server) must be in the local domain.
Figure 7 Multiple Domains Server Relationships The following defines the roles and relationship between the server types: Backup Server The Backup Server plays a central control point for the Recovery Manager that controls and manages the backup and restore on different Exchange servers. Remote Copy Backup Server Depending on the configuration, the Remote Copy backup server(s) manage synchronous and asynchronous periodic Remote Copy virtual copies.
3 Installation and Deinstallation Upgrading to Recovery Manager for Exchange Following are instructions for upgrading to HP 3PAR Recovery Manager Software for Microsoft Exchange from version 2.2.4 through 3.0.2 to version 4.2.0. NOTE: In Recovery Manager for Exchange, version 3.0.2, the installation directory has changed from \Program Files\3PAR\vcdba\Exchange to \Program Files\3PAR\RM\Exchange. To migrate from version 2.2.4 to 3.0.2, 4.1.0, or 4.2.
3. 4. 5. 6. 7. 8. Open a Windows Explorer window by clicking Start→All Programs→Accessories→Windows Explorer. Click the CD-ROM drive to expand the files. Double-clickSetup.exe to launch the installation wizard Click Next. Agree to the license, then click Next. Specify the installation directory for Recovery Manager. NOTE: The Disk Cost button analyzes the amount of available storage space and compares it to the amount required for the Recovery Manager installation. 9.
Editing the Registry To edit registry data for Recovery Manager: 1. Click Start→Run. 2. Enter regedit in the Run window and click OK. 3. On the left-hand side of the registry window, click HKEY_LOCAL_MACHINE→SOFTWARE→3par→RM_Exchange. 4. On the right-side of the window, double-click TraceLevel. 5. Modify the Value Data field and click OK to save the change.
2. 3. 4. Click Start→Control Panel→Programs and Features. Select 3PAR Recovery Manager for Microsoft Exchange. Click Uninstall. NOTE: Removing the Recovery Manager installation will not remove the Recovery Manager repository for virtual copy management.
4 Configuring Recovery Manager Configuring the Database • Be sure to use Exchange files created on basic disks using the NTFS file system. Recovery Manger does not support other types of file systems. • Maintain a 1:1 relationship between storage groups and volumes: ◦ Do not add more than one storage group plus its data files to a volume. ◦ Do not add files from one storage group (including its data files) to multiple volumes.
Configuring Mount Functionality The Windows automount feature is not compatible with Recovery Manager. To ensure that the Windows automount feature is disabled: 1. Open a command prompt (cmd) window. 2. Enter: diskpart 3. At the DISKPART prompt, enter: automount disable 4. Exit the command prompt window. Configuring Recovery Manager for CCR Recovery Manager for Exchange supports CCR. • If your CCR configuration uses a single HP 3PAR Storage System, you can rely on a single backup server.
To configure domain sets, use CLI commands: 1. Ensure you are running HP 3PAR InForm Operating System Software 2.3.1 or higher. 2. Ensure you have access to all domains. 3. Create a domain set that contains all the virtual domains for all the storage groups. 4. Move the backup server to a domain within the domain set. 5. Create a Command Provisioning Group (CPG) belonging to the new virtual domain. 6. Create a virtual volume belonging to the CPG you just created. 7.
1. Use the Recovery Manager GUI or the RMExch RegisterDomain CLI command. For more information, see “Registering Nonlocal Domains” (page 30) or “RMExch RegisterDomain” (page 70). 2. If you used the CLI command to register the domain, refresh the GUI. After you register a domain, the Recovery Manager GUI displays the FQDN of the registered domain in the node tree pane. You can now add storage groups and Windows hosts to the domain. For more information, see “Managing Domain Components” (page 25).
5 Configuring Backup Software Overview HP 3PAR Recovery Manager can be used with either Symantec NetBackup or HP Data Protector to back up and restore the virtual copies created by Recovery Manager. Keep in mind: • If you are using backup software in the backup environment, you will need to install a backup master or client on the backup server. • There should be two master servers containing your backup software for CCR configurations that span two sites (and two HP 3PAR Storage Systems).
NOTE: If the Windows Open File Backup option in NetBackup is enabled, the NetBackup client takes additional temporary read-only (RO) and read/write (RW) snapshots on your base volumes. After the backup process is complete, Windows displays this event message: Target LUN is not a 3PAR Virtual Volume. To deactivate this function, disable the Windows Open File Backup in NetBackup.
Setting Up HP Data Protector Cell Manager Access To use HP Data Protector with Recovery Manager, you must enable the system accounts on the registered client system to access the Data Protector Cell Manager. 1. Open the Data Protector GUI. 2. In the toolbar drop-down list, select Users. 3. Under the Users folder in the left pane, choose admin, and then choose SYSTEM. 4. In the Client system drop-down list on the General/Properties of the Data Protector User tab in the right pane, select .
6 Using the Recovery Manager GUI This chapter provides instructions for using the HP 3PAR Recovery Manager Software Graphical User Interface (GUI) to back up and restore storage groups. Overview of the Recovery Manager GUI Recovery Manager provides a Graphical User Interface (GUI) for backing up and restoring storage groups at a point-in-time. The Recovery Manager GUI is a windows application, containing a menu bar, a node tree pane, informational right pane, and a command log window.
Displaying Storage Group Information To display information about a storage group, click the storage group name in the node tree pane. In the informational pane, Recovery Manager displays detailed information about the selected storage group, as described in Table 4 (page 30). Table 4 Storage Group Information Columns Column... Displays... Store The name of the information store.
3. 4. In the Register Domain dialog box, enter the server name, Windows domain and username, and password. Click Ok. Modifying Domain Credentials 1. 2. 3. Right-click the MS Exchange node and select Modify Domain. In the Modify Domain dialog box, enter the new server name, Windows domain and username, or password. Click Ok. Unregistering a Domain 1. Remove all storage groups and Windows hosts from the domain you are unregistering.
NOTE: Modifications you make to an existing policy are not retroactive. Virtual copies created under a previous policy (whether numeric or expiration-based) retain the policy setting under which they were created.
Retention Time Restrictions When you set a retention time for virtual copies (from either the active or passive node), Recovery Manager creates a virtual lock on the storage group and its virtual copies. The storage group and virtual copies created within the retention period cannot be removed during the retention period. When setting a retention time, keep in mind the following restrictions: • You must have an HP 3PAR Virtual Lock license to set retention times.
NOTE: You can also use the CLI command RMExch policy to set Recovery Manager policies. For more information, see “Using the Recovery Manager CLI” (page 51). Modifying the Time Constraints for a Virtual Copy To modify the retention time or the expiration time or both for a virtual copy: 1. In the node tree pane, right-click the virtual copy you want to modify, and select Edit Time Constraints. 2. To set a new retention time, check the Retention Time checkbox and enter a new value. 3.
5. In the Operations pane, check the desired checkboxes in the tab for each type of task (Create Virtual Copy, Backup, and/or Restore) for which you want emails: • Info - Recovery Manager sends informational emails for successful operations. • Error - Recovery Manager sends informational emails for operations that were not completed successfully. Both informational and error emails contain the result of the operation and the related CLI output. 6. Click Finish.
NOTE: You can only create a virtual copy of a storage group that is online. NOTE: A virtual copy of a storage group is a virtual copy of all the volumes where the storage group data (log, chk, and edb files) resides. Therefore, HP recommends that you do not store any non-Exchange data on volumes that store Exchange data files.
Creating Remote Virtual Copies of Storage Groups How Remote Virtual Copy Works When you create remote virtual copies, Recovery Manager uses Remote Copy to send the virtual copies to the Remote Copy backup server. The Remote Copy backup server is a remote server that is the Recovery Manager backup server. To use remote virtual copy functionality: • The HP 3PAR Remote Copy Software license must be installed. • Remote Copy volume groups must be configured.
1. 2. 3. In the node tree pane, right-click the LCR-enabled storage group for which you want to create a virtual copy, and select Create→LCR Virtual Copy. In the Validate Virtual Copy area, select whether you want Recovery Manager to validate the server name or skip validation of the LCR virtual copy, and whether you want Recovery Manager to truncate the log.
4. Optional: If you want to adjust the expiration or retention time policy values (or both) for this virtual copy (or, if you are scheduling automatic copies, this group of virtual copies): • To adjust the expiration time, check the Expiration Time checkbox and enter the new expiration time. • To adjust the retention time, check the Retention Time checkbox and enter the new retention time.
6. To specify the frequency with which the automatic virtual copies are to be created, select the appropriate radio button in the left pane of the Schedule Pattern area. The type of calendar displayed depends on the frequency of the automatic virtual copies selected in the left pane of the Schedule Pattern area. • Once - Schedules one automated virtual copy.
3. 4. To manage a scheduled task, select it and click one of the following buttons: • Edit - Opens the Task Scheduler, with which you can modify the task. To save your changes, you must enter your password. For more information, see “Scheduling Automated Tasks with Task Scheduler” (page 39). • Detail - Displays task information in the Task Detail dialog box. • Delete - Deletes the task and its associated script file. • Edit Script - Displays the task script and enables you to modify it.
Refreshing All Virtual Copies for a Specific Storage Group To refresh all virtual copies for a specific storage group, right-click the storage group under the Virtual Copy Management node and select Refresh. Refreshing a Specific Virtual Copy To refresh a specific virtual copy, right-click the virtual copy and select Refresh. Backing Up a Virtual Copy You can use Recovery Manager to back up virtual copies to media using HP Data Protector or Symantec NetBackup.
NOTE: After the first successful backup, Recovery Manager saves the information entered in the Parameters area and displays it as the default the next time you create a backup. 4. 5. To automatically remove the newly created virtual copy after backup, ensure the Remove Virtual Copy from InServ after backup checkbox is checked. To immediately create one backup, click Finish.
3. In the Parameters area, enter the required information, depending on your backup software: If you are using: Enter these parameters: Symantec NetBackup • Master Server Name: The NBU master server • NBU Policy Name: The name of the policy you are using • NBU Full Schedule Name: The name of the schedule within the policy you are using For more information, see Symantec NetBackup documentation and“Configuring Backup Software” (page 26).
policy), Recovery Manager creates both the CCR virtual copy and its backup on the backup server of the selected server. • Recovery Manager does not create the backup if you are using a numeric-based policy and: ◦ The policy is not configured to remove the oldest virtual copies (i.e., the Remove the oldest Virtual Copies checkbox is not checked), and ◦ You have reached the maximum number of virtual copies allowed and therefore Recovery Manager cannot create a new virtual copy.
2. 3.
6. 7. 8. 9. From the Start Time drop-down list, select the hour at which you want Recovery Manager to create the backup. From the drop-down list above the calendar view in the right pane of the Schedule Pattern area, select the month and year in which to create the backup. On the calendar, select the day on which to create the backup. Click Finish.
Restoring a Volume or Directory from a Media Backup You can restore backups to their original location (i.e., the volume(s) or directory location of the virtual copy that was used to create the backup, not to the original Exchange data location), or you can specify an alternate location. To perform a media restore of a volume or directory from a backup of a virtual copy: 1.
2. To automatically synchronize the HP 3PAR Storage System and the repository (if necessary), check the Synchronize result with Repository checkbox in the Analyze Repository dialog box. To analyze the repository without synchronizing it, leave the Synchronize result with Repository checkbox unchecked. 3. 4. Click Next. In the Task Scheduler, schedule backups as desired. For more information, see “Scheduling Automated Tasks with Task Scheduler” (page 39).
Viewing Event Message Descriptions You can view a description of all Recovery Manager error messages (aka event messages), including tips for troubleshooting each event. 1. Ensure you have an item in the node tree pane selected. 2. Select About→Event Messages. Recovery Manager uses your default browser to display the Event Messages file. The file contains all the events for Recovery Manager for Exchange in order of event ID.
7 Using the Recovery Manager CLI Recovery Manager for Exchange Command Line Interface (CLI) Recovery Manager for Exchange provides a Command Line Interface (CLI) that allows you to: • Create virtual copies • Remove virtual copies • Validate virtual mounted copies with the eseutil.
RMExch analyze SYNTAX RMExch analyze -s -g [-sync] [-f] [-InServ ] [-domain ] DESCRIPTION The RMExch analyze command analyzes the existing repository and lists any out-of-sync virtual copies information between the repository and the HP 3PAR Storage System. PARAMETERS The following options are supported: • -s - The name of the exchange server for which the storage group belongs.
RMExch backup SYNTAX RMExch backup -s -g [-t ] [-p ] [-remove] [-d ] [-m ] [-defer|-nc] [-mp <“mountpoint”>] [-noemail] [-dl DataListName] [-domain ] DESCRIPTION The RMExch backup command backs up a virtual copy to media, or creates a virtual copy and backs up to media (also known as a quick backup). For the latter case, no timestamp is needed.
NOTE: The -defer option is not supported when the Recovery Manager for Exchange backup server is the same as the production server. • -mp "mountpoint" - Optional. Specifies the mount point (delimited by quotation marks), for a backup location other than in the default directory. ◦ Full path is required. ◦ Default is :\3parsnapshot. ◦ If the specified virtual copy is already mounted, this parameter will be ignored. • -lcr - Optional.
RMExch config SYNTAX To change/query the timeout value for NetBackup initialization process detection: RMExch config -h -bktmout [-sec ] To change/query the monitoring interval for Remote Copy progress on target server: RMExch config -h -rcintvl [-min ] DESCRIPTION The RMExch config command will display or change the timeout value for NetBackup initialization process detection for backup operation and the monitoring interval for remote copy progress on target s
RMExch create SYNTAX RMExch create -s -g [-nc [-truncate]] [-rc [-defer] [-active] [-passive] [-both] [-lcr] [-noemail] [-exp
NOTE: If you specify an expiration time for a remote virtual copy: – If Remote Copy is set up in asynchronous periodic mode, Recovery Manager for Exchange sets the expiration time for the remote virtual copy on the backup server only, not for the virtual copy created on the primary server. – If Remote Copy is set up in synchronous mode, Recovery Manager for Exchange sets the expiration time for both the virtual copy on the primary server and the remote virtual copy on the backup server.
NOTE: Use quotes ("") for names that include spaces. NOTE: If you specify the -both option during the CCR configuration, Recovery Manager for Exchange first attempts to take a snapshot on the passive node, then it attempts to take a snapshot on the active node. A success status indicates that at least one of the snapshots was successfully created. Examples The following command will create a snapshot for the storage group sg2 on exchange server bottlenosed.
RMExch deletebackup SYNTAX RMExch deletebackup -s -g -t [-domain ] DESCRIPTION The RMExch deletebackup command removes a backup entry in the backup repository. It will not communicate to the backup software to delete the actual backup. PARAMETERS The following options are supported: • -s - The name of the exchange server for which the storage group belongs.
RMExch display SYNTAX RMExch display <-s Exchangeserver> <-g storagegroup> [-h WindowsHost] [-t timestamp] [-inserv ] [-exp] [-retain] [-domain ] DESCRIPTION The RMExch display command displays all virtual copies in the repository. PARAMETERS The following options are supported: • -s - The name of the exchange server for which the storage group belongs. If this is not given then the machine name will be used.
RMExch displayDomain SYNTAX RMExch displayDomain DESCRIPTION The RMExch displayDomain displays a list of the registered domain controllers. PARAMETERS None. Example The following command lists the registered domain controllers.
RMExch listbackup SYNTAX RMExch listbackup -s [-bs Backup Server] [-domain ] DESCRIPTION The RMExch listbackup command prints a list of the virtual copies backups that have been backed up using the RMExch backup command. For CCR configurations, different backups are listed on each backup server. Use the -bs parameter to list the backups for the backup server in which you are interested.
RMExch ModifyDomain SYNTAX RMExch ModifyDomain -domainhost -u -p DESCRIPTION The RMExch ModifyDomaincommand modifies an Active Directory domain. PARAMETERS The following options are supported: • -domainhost - The fully qualified domain name (FQDN) of the domain host you are modifying. • -u - The username that has access to the Active Directory controller. • -p - The password for the username.
RMExch mount SYNTAX RMExch mount -s -g -t -h [-mp “mountpoint”] | [-domain ] DESCRIPTION The RMExch mount command mounts a virtual copy created by the RMExch create command. When using RMExch mount command to mount a virtual copy, the program will check to see if the virtual copy is already mounted to a host machine.
RMExch peer SYNTAX RMExch peer [[]|[-clear]|[-bs ]] DESCRIPTION The RMExch peer command configures the peer backup servers for two HP 3PAR Storage System CCR configurations. The backup server executes all commands and sends certain commands to the peer backup server to run (such as create and backup) for the passive node option. Once the configuration is set, you will not need to run this command again unless you want to change the peer relationship between the backup servers.
RMExch policy SYNTAX RMExch policy -s -g [-i [-r]] [-exp {h|H|d|D}] [-retain {h|H|d|D}] [-f] [-domain ] DESCRIPTION The RMExch policy command displays or updates the policy for the specified Exchange server. Policies can be numeric-based or expiration-based. If the policy is numeric-based and you specify -i, Recovery Manager updates the policy to the argument following -i.
NOTE: Retention time restrictions are: ◦ You must have an HP 3PAR Virtual Lock license to use the -retain option. ◦ The minimum retention period is 1 hour; the maximum is 43,800 hours / 1,825 days (5 years). ◦ The default retention time is 336 hours (14 days). ◦ The retention time cannot exceed the value of the system's virtual volume maximum retention time. ◦ You can set a retention time regardless of whether the policy is numeric- or expiration-based.
RMExch portconfig SYNTAX RMExch portconfig -h [-p ] DESCRIPTION The RMExch portconfig command will display or update the current port configuration for the Recovery Manager for Exchange service and RMExch CLI for the specified Windows server. When only the -h argument is supplied, this command will list the current port number used by Recovery Manager for Exchange for the Windows server. When -p is supplied, the port will be updated to the argument followed by -p.
RMExch rcstatus SYNTAX RMExch rcstatus -s -g <[-query]|<-update> [-t -ts -status ]]> [-domain ] DESCRIPTION The RMExch rcstatus command will display or update the status of the Remote Copy operation history for periodic mode volume groups. PARAMETERS The following options are supported: • -s - Exchange server for which storage group belongs. • -g - The storage group of the virtual copy.
RMExch RegisterDomain SYNTAX RMExch RegisterDomain -domainhost -u -p DESCRIPTION The RMExch RegisterDomaincommand registers a new Active Directory domain. PARAMETERS The following options are supported: • -domainhost - The fully qualified domain name (FQDN) of the new domain host. The host name can be any host in the domain you are registering. • -u - The username that has access to the Active Directory controller.
RMExch remove SYNTAX RMExch remove -s -g -t [-domain ] DESCRIPTION The RMExch remove command removes the virtual copy from the HP 3PAR Storage System and the repository. To be successfully removed, the virtual copy must have an “Available” status; if the virtual copy is mounted it will not be removed. In addition, the retention time set in the virtual copy policy must have expired, or the virtual copy must have no retention time.
RMExch report SYNTAX RMExch report -h -output DESCRIPTION The RMExch report command will execute the RMReport batch script under the \Exchange\goodies folder and gather needed information on the specified Windows host for troubleshooting purposes. PARAMETERS The following options are supported: • -h - Specify a Recovery Manager installed Windows host to run the RMREPORT utility.
RMExch repository SYNTAX RMExch repository [-a ] DESCRIPTION The RMExch repository command will display or move the current repository locations for Recovery Manager for Exchange. If no arguments are specified, then the current location is displayed. If -a is specified along with a directory, then the repository will be moved to the new location. PARAMETERS The following options are supported: • -a - The target directory to which the repository is moved.
RMExch reset SYNTAX To reset the Recovery Manager for Exchange locking on remote Windows host: RMExch reset <-s exchange server> <-opt lock> To reset the mount status of a particular timestamp record: RMExch reset <-s exchange server> <-g storage group> <-t timestamp> <-opt status> DESCRIPTION The RMExch reset command resets a virtual copy mounting status in the repository record and internal process locking status on any designated Recovery Manager for Exchange installed system with only the status option
RMExch restore SYNTAX For MEDIA RESTORES RMExch restore -s -g -t [-p ] [-m ] [-a ] [-src ] [-noemail] [-dp] For FILECOPY and VOLUME RESTORES [-noemail] [-domain ] DESCRIPTION The RMExch restore command can perform one of three functions.
NOTE: Use quotes ("") where spaces are included. NOTE: If the restore is directed to the original location, ensure the original location is still valid. NOTE: Symantec NetBackup software is case sensitive. Make sure all information entered pertaining to the policy is with the exact case. NOTE: Make sure the Symantec NetBackup software's bin directory is in the system search path for this command to run.
RMExch setvc SYNTAX RMExch setvc -s -g -t [-retain {h|H|d|D} [-f]] [-exp {h|H|d|D}] [-domain ] DESCRIPTION The RMExch setvc command sets time constraints for a virtual copy if the virtual copy was created using an expiration-based policy. PARAMETERS The following options are supported: • -s - The name of the Exchange server to which the storage group belongs.
RMExch unmount SYNTAX RMExch unmount -s -g -t [-domain ] DESCRIPTION The RMExch unmount command unmounts a currently mounted virtual copy. When using the RMExch mount command to mount a virtual copy, the program will check to see if the virtual copy is mounted to a host machine. The virtual copy must have a status of “Mounted” or “Exposed” before it can be unmounted.
RMExch UnRegisterDomain SYNTAX RMExch UnRegisterDomain -domainhost DESCRIPTION The RMExch UnRegisterDomaincommand modifies an Active Directory domain. PARAMETERS The following option is supported: • -domainhost - The fully qualified domain name (FQDN) of the domain host you are removing from set of Recovery Manager for Exchange domains. NOTE: Use quotes ("") for names that include spaces. Example The following command removes the registration for the domain host kings.
RMExch validate SYNTAX RMExch validate -s -g -t [-domain ] DESCRIPTION The RMExch validate command verifies the data integrity of the exchange database files in the specified virtual copy that is already mounted on the system. PARAMETERS The following options are supported: • -s - The name of the Exchange server for which the storage group belongs.
3. 4. 5. 6. 7. 8. 9. 10. 11. In the Name text box on the General tab, enter a name for the task. In the Security options area on the General tab, select the desired options. Select the Triggers tab. Click New. Enter scheduling information for the automatic creation of virtual records and select OK. Select the Actions tab. Click New. Click Browse next to the Program/script text box. Navigate to the Recovery Manager for Exchange installation location.
8 Rapid Backup and Recovery for Exchange Key Microsoft Exchange File Types Before describing backup and recovery for HP 3PAR Recovery Manager Software for Microsoft Exchange, you must understand the elements of Exchange. Microsoft Exchange uses these key file types for all operations: • Log file (*.LOG). A file in which transaction log records are stored. • Patch file (*.PAT). Used during backup, restore, and recovery operations, it contains database pages that were split during online backup.
Advantages of Using Recovery Manager Traditionally, databases are backed up to tape. Backing up to tape is a time-consuming task, especially if the database is growing rapidly.
NOTE: If in a cluster, go to the Cluster Administrator and take the Exchange Information Store Instance resource offline. If not in a cluster, go to the services menu and stop the Exchange Information Store Service. 5. Mount the desired virtual copy to the staging Exchange server either from the Recovery Manager GUI or from the command line using the RMExch mount command. For more information, see “Using the Recovery Manager GUI” (page 29) or “Using the Recovery Manager CLI” (page 51).
CLI” (page 51). For information on using the GUI to execute a volume restore, see “Using the Recovery Manager GUI” (page 29). WARNING! DO NOT perform a volume promote restore if multiple storage groups share any volumes. This includes all data files .LOG, .EDB, and .CHK. If you are not sure how or if your storage groups share volumes, execute the script chk_multi_storage.cmd by default installed at Program Files/3PAR/RM/Exchange/bin. 5. 6. 7.
5. information, see “Using the Recovery Manager GUI” (page 29) or “Using the Recovery Manager CLI” (page 51). Delete the original .EDB, .LOG, and .CHK files for a clean restore. CAUTION: ONLY remove the files, NOT the parent/intermediate folders of the files. The original database path and its structures must be kept the same. You can moved the files to new locations instead of deleting them. 6. 7. 8. 9.
Restoring a Mailbox from a Backup to a Recovery Server To restore a mailbox from backup, you must have a recovery server that has sufficient storage capacity to install Exchange Server and to restore the private information store database. This server can be on the same physical network as your production Exchange Server computer. To restore a mailbox from a backup to a recovery server: 1. Take note of the following information that is on the production Exchange Server computer: 2. 3. 4.
6. Configure the storage group name to use the same name as the production Exchange Server computer. a. Start the Exchange System Manager. b. Expand Administrative Groups, and then expand AdministrativeGroupName. c. Expand Servers and then expand YourServerName. NOTE: If the name of the storage group on the production server uses a name other than First Storage Group, configure the storage group name to use the same name as the storage group on the production Exchange Server computer. 7.
15. Use Microsoft Outlook to export the mailbox data to a .pst file or use the Exmerge.exe tool to extract data from multiple mailboxes. To download Exmerge.exe, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?displaylang=en& familyid=429163ECDCDF- 47DC-96DA-1C12D67327D5 Using the Recovery Storage Group Feature The recovery storage group is a specialized storage group in Exchange. After you restore a mailbox store to the recovery storage group, use the Exmerge.
10. Rename all the CHK and LOG files to have the same header as the Recovery Storage Group. For example, if your Recovery Storage Group has a header of R00, then rename all your E00 headers to R00. 11. Mount the Mailbox Database from the Troubleshooting Assistant. 12. Select Merge or copy mailbox contents and select the specific actions you would like to perform.
d. 4. 5. Press Enter. Copy the .edb database files from the virtual copy to the appropriate folders that you specified earlier when you created the Recovery Storage Group. If databases are currently mounted in the Recovery Storage Group, do the following: a. Dismount the databases. b. Use the Eseutil.exe tool to verify that the databases are in a clean shutdown state. i. Open a command prompt window. ii. Change to the ExchSrvr\Bin folder. iii. Enter: Eseutil /mh iv. v. vi. 6. 7.
9 Remote Copy for Recovery Manager Overview HP 3PAR Remote Copy Software helps you safeguard against disasters that might occur at one location by allowing you to keep copies of data on a separate server, which can be placed at a remote location. For example, if there were a fire or earthquake at one location, all of the data stored there could be lost unless a backup copy can be recovered from a separate location not affected by the disaster.
Setting Up Remote Copy 1. Install and configure Remote Copy. For more information, see the HP 3PAR Remote Copy Software User’s Guide. NOTE: Be sure to configure the backup server with the same names, structure, and Windows authentication mode settings as the primary server. 2. Use the provcfg.exe tool (HP’s hardware provider tool) to configure the HP 3PAR Storage Systems in the Remote Copy setup to be the default HP 3PAR Storage Systems.
the production system (the Remote Copy primary system), the synchronous mode backup system, and the asynchronous periodic mode backup system. Setting Up Remote Copy Volume Groups for Storage Groups 1. 2. 3. Identify the virtual volumes that contain the storage group and log files to be copied. Create one (and only one) primary Remote Copy volume group per mailbox database.
A Server Virtualization Environments VMWare and Egenera Support for VMWare and Egenera environments is provided under certain specific conditions. New volumes presented to VMWare and Egenera servers are not surfaced automatically, so the RMExch mount command is limited to being executed on the backup host.
B Troubleshooting Known Issues • If a virtual volume name on the HP 3PAR Storage System is changed, the virtual copy taken before the name change will not be able to perform a volume promote restore. • For media backup virtual copy, it is recommended that a policy be maintained per storage group to avoid the possibility of having the batch file overwritten under some conditions.
Problem: Recovery Manager is running on both backup and server production server but Recovery Manager consistently fails to issue a command to the remote system. Suggestion: Make sure the communication port for Recovery Manager is set to be the same on all Recovery Manager installed systems. You need to restart the Recovery Manager for Exchange Agent service on every system followed by the port change command.
Timeout for backup initialization detection can be modified to accommodate the timing issue. Please refer to the RMExch config command for more information. Problem: NetBackup takes a substantial amount of time to complete a backup process. Suggestion: Make sure you have the latest maintenance package installed for your NetBackup application. For more information, see the latest HP 3PAR InForm OS Configuration Matrix. To obtain a copy of this documentation, go to http://www.hp.
Problem: The event viewer shows the Volume Shadow Copy Service error: Unexpected error IOCTL_STORAGE_QUERY_PROPERTY(\\.\PHYSICALDRIVE2, StorageDeviceProperty) BuildLunInfoForDrive. hr = 0x80070002 error when a virtual copy creation is in progress. Suggestion: When this message is logged by the Volume Shadow Copy service, it notifies the user that the initial search on the imported volume is not complete. It will try again to make sure the snapshot can be imported successfully.
After installing Recovery Manager, it is unable to manage the Exchange cluster from Exchange management. It returns a COM class factory error. OR After installing Recovery Manager, an MSCluster-related COM class factory error is returned. Suggestion: If the previous version of Recovery Manager is uninstalled, the msclus.dll is unregistered and results in the COM class factory error. To resolve this, run: - regsvr32 C:\Windows\system32\msclus.
Suggestion: Check whether you are using a different version of the NBU master server and the NBU client. If so, upgrade the NBU client to the same version as the NBU master server.
C Event Messages This appendix provides information for all of the events generated by HP 3PAR Recovery Manager Software for Microsoft Exchange 2007. Table 7 Recovery Manager for Microsoft Exchange Event Messages Event ID Error Message Description/Action 3006 RME3006: ERROR: 3PAR VSS provider not found, exiting. HP 3PAR VSS Provider Software could not be located. • Verify that 3PAR VSS Provider is installed using Add/Remove Programs.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 3112 RME3112: ERROR: Your database is spread The storage group is spread across multiple HP across multiple InServs on the production 3PAR Storage Systems. server. Please move the storage group to • The database or log target volume must belong only one InServ and perform this operation to a single HP 3PAR Storage System. Refer to again. the preferred configuration setup.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 3164 RME3164: ERROR: There is a conflict with the specified path for repository relocation. A conflict was detected regarding the specified repository relocation path. • Verify the path given for repository relocation. 3168 3169 RME3168: ERROR: The replication status of a storage group is ''. A copy of unhealthy storage group cannot be made.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 3204 RME3204: ERROR: Two or more files of this Multiple files from the storage group share volumes. storage group share volume(s). Please • Check the file path and volume mapping to unmount the shared volume(s) before determine which volume is shared with the other proceeding. storage group(s). Unmount this shared volume.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 3804 3PARVSS3804: ERROR: Unable to find configuration for InServ Storage System . The configuration information for the specified HP 3PAR Storage System could not be located. • Verify that the correct HP 3PAR Storage System name is entered for the inquiry.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 3813 3PARVSS3813: ERROR: Unable to get InServ Storage System information. Please make sure you have entered the right information and have proper access right. The HP 3PAR Storage System information could not be retrieved. • Make sure you have entered the right information and have proper access rights.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message 3817 3PARVSS3817: ERROR: VSS Provider The VSS Provider for Microsoft Windows license license has already expired. Please contact has expired on the target HP 3PAR Storage System. 3PAR support for assistance. • Contact HP for licensing assistance. 3818 3PARVSS3818: ERROR: Unable to encrypt/decrypt authentication data. Additional information: .
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5054 3PARVSS5054: ERROR: CLI: . The command submitted to the CLI has generated an error. • Check the Application Log of the Event Viewer for more information. 5055 3PARVSS5055: ERROR: : Invalid token. Unable to identify requested information received from the HP 3PAR Storage System.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5062 RM5062: ERROR: Could not query windows Unable to access registry for the specified key registry key . name. • Use regedit to check that the registry still has the corresponding key and that you have permission to access it. 5063 3PARVSS5063: ERROR: Could not query Unable to access the registry for the specified key windows registry key name . name.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5103 RME5103: ERROR: The VSS Writer operation failed because of a time-out between the Freeze and Thaw events. The VSS Writer operation has exceeded the 20–second timeout limit for the freeze and thaw stage allocated by Exchange. • Verify that the Exchange writer is in a Healthy state using vssadmin list writers. 5104 RME5104: ERROR: The VSS Exchange The VSS Exchange Writer has failed.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5123 RME5123: ERROR: The system was unable to hold I/O writes. Try again when the Exchange Server is not as busy. The system was not able to process I/O writes. • Try again when the Exchange Server is not as busy. • Run vssadmin list writers to verify that the VSS writer is in a healthy state.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5134 RME5134: ERROR: removevlun operation failed. The removevlun operation has failed. RME5135: ERROR: createvlun operation failed. The createvlun operation has failed. RME5136: ERROR: removevv operation failed. The removevv operation has failed. 5135 5136 5137 • Verify that you can connect to the required HP 3PAR Storage System from the CLI command window.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5146 RME5146: ERROR: Datastore ‘’ is already mounted to host '’. The selected virtual copy has already been mounted to the specified host. 5147 RME5147: ERROR: Cannot remove a A mounted virtual copy could not be removed. mounted virtual copy. Please unmount it and • Unmount the virtual copy before deleting it. try again.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action and ensure the registry value for the repository location exists. • To locate the registry key, open Windows Registry using regedit. Check for the following key: HKEY_LOCAL_MACHINE\SOFTWARE\3PAR\ RM_Exchange 5159 RME5159: ERROR: Maximum number of volumes exceeded. Microsoft VSS only allows a maximum of 64 volumes to simultaneously participate in a snapshot process.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5173 RME5173: ERROR: Failed to identify Recovery Manager for Exchange agent. The Recovery Manager for Exchange Agent service is not functioning properly. • Restart the Recovery Manager for Exchange service from Windows Services and try the operation again. 5174 5182 5184 RME5174: ERROR: The mount point you have provided does not exist. The specified mount point does not exist.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5195 RME5195: ERROR: Failed to perform remote The Remote Copy command for the specified group copy command for group . • Check the Remote Copy connection and the HP 3PAR Storage System setup.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5213 RME5213: ERROR: Failed to send notification command for remote copy. The notification command was not sent for Remote Copy. • Check the communications between your system and the target system using ping. You may also need to check the firewall settings. 5215 RME5215: ERROR: Exception occurred during remote copy process. An exception error occurred during the Remote Copy process.
Table 7 Recovery Manager for Microsoft Exchange Event Messages (continued) Event ID Error Message Description/Action 5438 RME5438: ERROR: Data Protector Actions: HP Data Protector did not allow the operation. • Check that you have met the prerequisites for using Data Protector for backup initiated by Recovery Manager. • Check that the correct permissions are assigned to Data Protector backup client users.