HP StorageWorks Storage Mirroring Recover User's Guide (T5437-96008, November 2009)

155 of 739
Note:
Removing rules that were automatically added by Application Manager could
impact the success of failover. Any changes to rules should be thoroughly
tested.
9. To reset the rules to the auto-generated rules and to re-enable the Protected
Storage Groups control, remove the selection from the Override Generated Rules
checkbox.
Failover/failback scripts
Scripts are executed at different points during the failover/failback process to perform the
actions necessary to make Exchange available on the appropriate server. Scripts
perform steps such as starting/stopping services, modifying mailbox values in Active
Directory to point users to the appropriate server, and modifying DNS entries on the
DNS server to point users to the appropriate server.
Editing scripts is an advanced feature. Do not edit scripts unless you fully understand
what each command is doing.
Note:
Any manual edits to the failover/failback scripts should be made carefully and
tested prior to deployment in order to make sure that the changes are correct. If
you remove the /username entry from the DFO command line in the
PostFailover script, DNS failover will fail.
Scripts are automatically generated by Application Manager during configuration. The
scripts are copied to the Storage Mirroring Recover installation directory on the specified
server using the administrative share for that server’s drive.
Script File name Description
Failover
Post_
failover_
<source>_
<target>.txt
A post-failover script is executed after the core failover
processes have completed on the target server. The primary
functions of the post-failover script are to start the services on
the target and to modify DNS and Active Directory entries as
necessary.
Failback
Pre_
failback_
<source>_
<target>.txt
A pre-failback script is executed before failback processing
occurs on the target server. The primary functions of this script
are to stop services on the target and to move DNS and Active
Directory entries as necessary.
Restore
Post_
restore_
A post-restore script is not executed automatically, though it is
provided on the source to perform actions that are generally
required after data has been restored from the target to source
after a failover/failback. The primary function of this script is to