HP StorageWorks Clustered File System 3.6.0 Windows Storage Server Edition Administration Guide (403103-005, January 2008)
Table Of Contents
- Contents
- HP Technical Support
- Quick Start Checklist
- Introduction to HP Clustered File System
- Cluster Administration
- Administrative Considerations and Restrictions
- Tested Configuration Limits
- Volume and Filesystem Limits
- User Authentication
- Start the Management Console
- Cluster Management Applications
- The HP CFS Management Console
- View Installed Software
- Start HP Clustered File System
- Stop HP Clustered File System
- Back Up and Restore the Cluster Configuration
- HP Clustered File System Network Port Numbers
- Configure Servers
- Configure Network Interfaces
- Configure the SAN
- Configure Dynamic Volumes
- Configure PSFS Filesystems
- Manage Disk Quotas
- Manage Hardware Snapshots
- Configure Security Features
- Configure Event Notifiers and View Events
- Overview
- Install and Configure the Microsoft SNMP Service
- Cluster Event Viewer
- Configure Event Notifier Services
- Select Events for a Notifier Service
- Configure the SNMP Notifier Service
- Configure the Email Notifier Service
- Configure the Script Notifier Service
- View Configurations from the Command Line
- Test Notifier Services
- Enable or Disable a Notifier Service
- Restore Notifier Event Settings to Default Values
- Import or Export the Notifier Event Settings
- Using Custom Notifier Scripts
- Cluster Operations on the Applications Tab
- Configure Virtual Hosts
- Configure Service Monitors
- Configure Device Monitors
- Advanced Monitor Topics
- SAN Maintenance
- Other Cluster Maintenance
- Management Console Icons
- Index
![](/manual/hp/hp-dl380-sl-clustered-gateway/hp-storageworks-clustered-file-system-360-windows-storage-server-edition-administration-guide-403103-005-january-2008/images/img-243.png)
Chapter 18: Advanced Monitor Topics 233
This script connects to port 2468, sends a string specified by the protocol,
and determines whether it has received an expected response. You
distribute this script to the same location on all servers on virtual host
vh1, and then create a custom service monitor that uses that script. This
provides not only verification of the connection, but a degree of content
verification.
An Example of Start and Stop Scripts
Suppose the myservice application caches transactions induced by
requests from external users for later commitment to a back-end database
server. You want to ensure that if a failover occurs, any transactions
previously acknowledged by one server appear as complete to users
connecting to the new server. This is the kind of situation where Start and
Stop scripts are useful.
The Stop script should commit all cached transactions to the back-end
database. The Start script should force an update of your view of the
database from the back-end server.
Then, if the service moves from the primary server to a backup, all
transactions performed on the primary will be sent to the database and
from there to the backup server before connections are directed to the
backup server.
Script Environment Variables
When you specify a script for a custom service or device monitor, HP
Clustered File System sets the following environment variables for that
script:
•
MX_METHOD=(START|STOP|RECOVER|PROBE)
The type of script (Start, Stop, Recovery, or probe).
•
MX_ACTIVE_STATE=(ACTIVE|INACTIVE)
Whether the script is being run on an active instance of the object. For
example, if a service-monitor script is being run on the server that
currently has the active virtual host, its state will be
ACTIVE. For
device-monitor scripts, the state is
ACTIVE if the monitored device is
active on the server running the script.