Index

action scripts
definition of the term
Set of Action Scripts
examples
Examples of Action Scripts
failure of
Failure of Action Scripts
format
basic action
Basic Action
completion
Complete the Action
exit status
Exit Status
header
Header Information
overview
Script Format
read input file
Read Input File
read resource information
Set Local Variables
Read Resource Information
set global variables
Set Global Variables
set local variables
Set Local Variables
verify arguments
Verify Arguments
monitoring
frequence
How Often Should Monitoring Occur?
necessity of
Is Monitoring Necessary?
testing examples
Examples of Testing for Monitoring Failure
types
Types of Monitoring
preparation for writing scripts
Preparation
resource types provided
Preparation
set of scripts
Set of Action Scripts
successful execution results
Successful Execution of Action Scripts
templates
Preparation
testing
Testing an Action Script
writing steps
Steps in Writing a Script

administrative commands
Administrative Commands for Use in Scripts

agents
Monitoring Agents

Auto_Failback failover attribute
Failover Attributes

Auto_Recovery failover attribute
Failover Attributes

check arguments
Check Arguments

cluster database security
Copying an Existing Resource Type to Create a New One

cluster_mgr command (see cmgr)
Using cmgr Interactively

cmgr command
Using cmgr Interactively

cmond process configuration
Monitoring Agents

command execution
Execute a Command

command path
HA_CMDSPATH

commands
Administrative Commands for Use in Scripts

communicate with the network interface agent daemon
Administrative Commands for Use in Scripts

configurations
N+1
N+1 Configuration
N+2
N+2 Configuration
N+M
N+M Configuration

Controlled_Failback failover attribute
Failover Attributes

Critical_RG failover attribute
Failover Attributes

CXFS resource type
Plug-ins

database location
HA_CDB

database security
Copying an Existing Resource Type to Create a New One

debug script messages
HA_DBGLOG

debugging information in action scripts
General Testing and Debugging Techniques

DMF resource type
Plug-ins

domain
Failover Domain

environment variables
Set Global Definitions

exclusive script
definition
Set of Action Scripts
example
exclusive Script

execute a command
Execute a Command

exit status in action scripts
Exit Status

exit_script()
Exit Status
Testing an Action Script

exit_status value
Exit Status

failover attributes
Failover Attributes

failover domain
Failover Domain

failover policy
contents
Contents of a Failover Policy
examples
N+1
N+1 Configuration
N+2
N+2 Configuration
N+M
N+M Configuration
failover attributes
Failover Attributes
failover domain
Failover Domain

failover script
Failover Scripts
description
Failover Scripts
interface
Failover Script Interface
Failover Script Interface

field value
Get the Value for a Field

file locking and unlocking
Administrative Commands for Use in Scripts

File menu
Making Changes from One Node

filesystem resource type
Plug-ins

fsdetail
Launch Methods

fsdetail (fsmgr)
Making Changes from One Node

fsmgr
Launch Methods
Making Changes from One Node

fstask
Launch Methods

fstask (fsmgr)
Making Changes from One Node

get_xxx_info()
Read Resource Information

global definition setting
Set Global Definitions

global variables
Set Global Variables

GUI
multiple instances
Making Changes from One Node
starting
Logging In

HA_CDB
HA_CDB

ha_check_args()
Verify Arguments
Check Arguments

ha_cilog command
Administrative Commands for Use in Scripts

HA_CMD_FAILED
HA_CMD_FAILED

HA_CMDSPATH
HA_CMDSPATH

HA_CURRENT_LOGLEVEL
HA_CURRENT_LOGLEVEL

HA_DBGLOG
HA_DBGLOG

HA_DBGLVL
HA_DBGLVL

ha_exec2
Implementing Timeouts and Retrying a Command

ha_exec2 command
Administrative Commands for Use in Scripts

ha_execute_cmd()
Execute a Command

ha_execute_cmd_ret()
Execute a Command

ha_execute_lock command
Administrative Commands for Use in Scripts

ha_filelock command
Administrative Commands for Use in Scripts

ha_fileunlock command
Administrative Commands for Use in Scripts

ha_get_field()
Get the Value for a Field

ha_get_info()
Read Resource Information
Get Resource Information

ha_get_multi_fields()
Read Resource Information

HA_HOSTNAME
HA_HOSTNAME

ha_http_ping2 command
Administrative Commands for Use in Scripts

ha_ifdadmin command
Administrative Commands for Use in Scripts

HA_INVAL_ARGS
HA_INVAL_ARGS

HA_LOG
HA_LOG

HA_LOGCMD
HA_LOGCMD

HA_LOGQUERY_OUTPUT
HA_LOGQUERY_OUTPUT

ha_macconfig2 command
Administrative Commands for Use in Scripts

HA_NOCFGINFO
HA_NOCFGINFO

HA_NORMLVL
HA_NORMLVL

HA_NOT_RUNNING
HA_NOT_RUNNING

HA_NOTSUPPORTED
HA_NOTSUPPORTED

ha_print_exclusive_status()
Print Exclusivity Check Messages

ha_print_exclusive_status_all_resources()
Print Exclusivity Check Messages

HA_PRIVCMDSPATH
HA_PRIVCMDSPATH

ha_read_infile()
Read Input File
Read an Input File

HA_RESOURCEQUERYCMD
HA_RESOURCEQUERYCMD

HA_RUNNING
HA_RUNNING

HA_SCRIPTGROUP
HA_SCRIPTGROUP

HA_SCRIPTSUBSYS
HA_SCRIPTSUBSYS

HA_SCRIPTTMPDIR
HA_SCRIPTTMPDIR

HA_SUCCESS
HA_SUCCESS

ha_write_status_for_all_resources()
Write Status for a Resource

ha_write_status_for_resource
Exit Status

ha_write_status_for_resource()
Write Status for a Resource

high availability characteristics
Characteristics that Permit an Application to be Highly Available

hostname
HA_CMDSPATH

Informix resource type
Plug-ins

initial failover domain
Failover Domain

InPlace_Recovery failover attribute
Failover Attributes

input file
Read an Input File

IP address resource type
Plug-ins

lock a file
Administrative Commands for Use in Scripts

log messages
Administrative Commands for Use in Scripts

logs
HA_SCRIPTSUBSYS

MAC_address resource type
Plug-ins

message logging
Administrative Commands for Use in Scripts

monitor script
definition
Set of Action Scripts
example
monitor Script

monitoring
agents
Monitoring Agents
failure
What are the Symptoms of Monitoring Failure?
frequence
How Often Should Monitoring Occur?
necessity of
Is Monitoring Necessary?
processes
Administrative Commands for Use in Scripts
script testing
Special Testing Considerations for the monitor Script
testing examples
Examples of Testing for Monitoring Failure
types
Is Monitoring Necessary?

Netscape node check
Administrative Commands for Use in Scripts

Netscape resource type
Plug-ins

NFS resource type
Plug-ins

node status
General Testing and Debugging Techniques

Node_Failures_Only failover attribute
Failover Attributes

nodename output
HA_CMDSPATH

Oracle resource type
Plug-ins

order ranges for resource types
Information You Must Gather

ordered failover script
ordered

overview of the programming steps
Plug-ins

path to user commands
HA_CMDSPATH

plug-ins
Plug-ins

print exclusivity check messages
Print Exclusivity Check Messages

Privilege Manager
Logging In

privileged command path
HA_PRIVCMDSPATH

process monitoring
Administrative Commands for Use in Scripts

programming steps overview
Plug-ins

properties file
Server-side Properties File

read an input file
Read an Input File

resource group states
Successful Execution of Action Scripts

resource information
obtaining
Get Resource Information
read into an action script
Read Resource Information

resource query command
HA_RESOURCEQUERYCMD

resource type
cmgr use
Using cmgr Interactively
GUI use
Define a New Resource Type
information for a new resource type
Information You Must Gather
order ranges
Information You Must Gather
restart mode
Information You Must Gather
script templates
Using cmgr With a Script
script use
Using cmgr With a Script

restart mode
Information You Must Gather

restart script
definition
Set of Action Scripts
example
restart Script

root command path
HA_PRIVCMDSPATH

run-time failover domain
Failover Domain

Samba resource type
Plug-ins

script group log
HA_SCRIPTGROUP

script library
Using the Script Library

script.$$ suffix
Steps in Writing a Script

script testing
action scripts
Testing an Action Script
monitoring script considerations
Special Testing Considerations for the monitor Script
techniques
General Testing and Debugging Techniques

scriptlib file
Using the Script Library

scripts.
See action scripts or failover script

security of the cluster database
Copying an Existing Resource Type to Create a New One

set_global_variables()
Set Global Variables

set_local_variables() section of an action script
Set Local Variables

start script
definition
Set of Action Scripts
example
start Script

statd_unlimited resource type
Plug-ins

status of a node
General Testing and Debugging Techniques

stop script
definition
Set of Action Scripts
example
stop Script

sysadm_failsafe2.sw.desktop
Launch Methods

sysadmdesktop
Logging In

templates
action scripts
Preparation
resource type script definition
Using cmgr With a Script

testing scripts
See script testing

TMF resource type
Plug-ins

Toolchest
Launch Methods

uname
HA_CMDSPATH

unlock a file
Administrative Commands for Use in Scripts

user command path
HA_CMDSPATH

user privileges
Copying an Existing Resource Type to Create a New One

value for a field
Get the Value for a Field

/var/cluster/cmgr-templates/
cmgr-create-resource_type directory
Using cmgr With a Script

/var/cluster/cmon/process_groups directory
Monitoring Agents

/var/cluster/ha/
resource_types directory
Information You Must Gather
resource_types/<resource_type>/<resource_type>
Server-side Properties File

/var/cluster/ha/policies directory
Failover Scripts

volume resource type
Plug-ins

write status for a resource
Write Status for a Resource

XFS resource type
Plug-ins

XLV resource type
Plug-ins

XVM resource type
Plug-ins