Download Data Replication Manager HSG80 Version 8.7P Scripting User Manual

Transcript
DRM Scripting Overview
Perl Interpreter
Perl is the interpreted programming language in which the scripts are written. The Perl
interpreter translates and processes the scripts. Every Perl script must pass through the
interpreter in order to execute.
SANworks Command Scripter
Compaq SANworks Command Scripter is application software that provides an
interface to communicate the CLI commands generated by the Perl scripts to the
HSG80 controllers via the Fibre Channel bus.
How the Failover, Failback, and Resumption of
Operation Scripts Work
This section describes how the components work together to perform failover,
failback, or resumption of operation by the use of scripts.
Perl Scripts
The scripts are written in the Perl programming language and reside on the host’s local
hard drive. For redundancy, the scripts should reside on a server at both the initiator
and target sites.
User-Customized Script Support Files
The failover, failback, and resumption of operation scripts use two user-customized
file types to provide variable information: a configuration file and an application
action list.
•
The configuration file tells the failover/failback scripts which devices are attached
to an HSG80 controller, and how the controller is configured with respect to
devices and storagesets. An example configuration generation file is provided in
the DRM Scripting Kit to allow a configuration file to be created for the
subsystem. Once created, customization is needed on the target controller
configuration files. One current configuration file for each HSG80 controller
subsystem is stored at both the initiator and target sites.
Data Replication Manager HSG80 ACS Version 8.7P Scripting User Guide
1–9