Advanced settings, Saving configuration changes – HP Storage Mirroring V5 Software User Manual
Page 63
HP StorageWorks Storage Mirroring Application Manager user’s guide
53
•
Restore Script
—A post-restore script (
post_restore_sql.txt
) 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 SQL services on the
source server.
By default, Application Manager generates all the required scripts for you automatically based on your system
configuration. You can also edit the scripts to add, modify, or delete specific commands. To edit a script, click
on the button for the script you want to update and the script file will be displayed using your machine’s default
editor. Enter your changes, then save the script file. Any change you make to the script in the editor will be
copied to the appropriate server when configuration changes are accepted, thus overwriting any changes that
have been made outside the Application Manager.
The scripts can be overwritten by certain operations during setup. For example, any changes to configuration
options done in the Application Manager will overwrite previous script changes.
If you want to make permanent
changes to a script
, you must modify the appropriate
.txt
file within the SQL Failover installation directory. If
there is more than one client machine that will be configuring failover, the change must be made to all the
appropriate
.txt
files (
post_failover_sql.txt
,
post_restore_sql.txt
, and
pre_failback_sql.txt
).
Before running Application Manager multiple times (for example, when re-enabling protection after a
failover/failback), save a copy of your post-restore and pre-failback batch files. After Application Manager
executes, replace the default script file(s) with the customized file(s) that you saved.
Advanced settings
The following options allow you to control what functions Application Manager will perform during
configuration. By default, Application Manager performs all of these functions. Individual functions should only
be disabled for testing or debugging purposes.
NOTE:
These options are
only
available when you launch Storage Mirroring Application Manager using the
command line
/Advanced
option (
DTAM /Advanced
).
•
Server Name
—
(Default = selected)
Select the
Server Name
checkbox if you want the source name to be
added to the target when failover occurs.
•
Shares
—
(Default = selected)
Select the
Shares
checkbox if you want the source file shares to be added to
the target when failover occurs.
•
Active Directory Hostname (SPNs)
—
(Default = selected)
Select the
Active Directory Hostname (SPNs)
checkbox if
you want to automatically remove the host SPN (Service Principle Name) from Active Directory for the
source and add it to Active Directory for the target during failover.
If you are using Active Directory, you should enable this option; otherwise, you may experience problems
with failover.
•
Create Replication Set
—
(Default = Selected)
Application Manager will automatically create a replication set
that includes all of the necessary directories/files that must be protected for your specific configuration. This
should only be disabled if you have customized your replication set and do not want to overwrite it.
•
Create Failover Scripts
—
(Default = Selected)
Application Manager will automatically generate the
failover/failback scripts and copy them to the appropriate server. This should be disabled only if you have
customized your script files and do not want them to be overwritten.
•
Create Connection
—
(Default = Selected)
Application Manager will create the appropriate connection
between the source and target using the automatically-generated replication set. This should only be
disabled if you would like to verify the replication set that is created by Application Manager prior to
connection.
•
Create Failover Monitor
—
(Default = Selected)
Application Manager will create a failover monitor on the
target to monitor the source for failure. This monitor will use the failover parameters specified during
configuration, as well as the script files that have been created.
Saving configuration changes
After you have changed the configuration parameters, click
OK
to apply the settings. If you click
Cancel
, any
changes you have made will be discarded and the previous configuration parameters will be used.