Failover/failback scripts, Failover/failback scripts -16 – HP Storage Mirroring V4.5 Software User Manual

Page 102

Advertising
background image

7 - 16

3.

In the Rule Path field, type the directory that you want to protect or exclude.

4.

In the Include/Exclude area, select whether to include or exclude the path from the replication

set.

5.

In the Recursive area, select whether the directory should be recursive (protecting all

sub-folders under the directory) or non-recursive (protecting only the files in the directory).

6.

Click Add.

7.

When you have entered all of your replication set rules, click Close to return to the Advanced

configuration tab.

8.

To remove a rule, select one or more rules, then click Remove.

9.

To reset the rules to the auto-generated rules and to re-enable the Protected Databases 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 SharePoint available on the appropriate server. Scripts perform steps such as

starting/stopping services, attaching/detaching databases, 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.
Scripts are automatically generated by Application Manager during configuration. The scripts are

copied to the Storage Mirroring installation directory on the specified server using the administrative

share for that server’s drive.

NOTE:

You will need to manually verify that the rule path is correct since the Application

Manager does not validate rule paths.

NOTE:

Removing rules that were automatically added by Application Manager could impact

the success of failover. Any changes to rules should be thoroughly tested.

Script

File name

Description

Failover

post_failover_SharePoint.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_SharePoint.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_SharePoint.txt

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

restart services on the source server.

Advertising
This manual is related to the following products: