Examples - HP 9000 Installation And Configuration Manual

Hide thumbs Also See for 9000:
Table of Contents

Advertisement

# This function is a place holder for customer define functions.
# You should define all actions you want to happen here, before the service is
# started.
# ADD customer defined run commands.
#
# ACC subsystem
syslog_msg Starting ACC subsystem
/opt/acc/bin/zmasterd
# Add SNAPlus2 initialization commands here
syslog_msg Send init commands to SNAPlus2 ports
#
a 5 sec sleep is recommended here (SR # 5000-716977)
sleep 5
# The zterm utility calls axin API to execute commands
# See example "setRS232.zterm" script below.
#
syslog_msg Resetting SNAPluss2 ports
/opt/acc/bin/zterm /opt/acc/cfg/setRS232.zterm
*********************
# ACC subsystem
Appendix C
3. In the start up, /etc/rc.config.d/acc file, make sure that the start
flag is 0 (START_ZCOM=0). This allows the Service Guard script to
control when to start/stop ACC, so that ACC will not restart
automatically following a panic, or powerout event and interfere with
the other system.
4. Edit the Service Guard cluster control script to start and configure
the ACC cards when the script is entered as start. An example of a
start section is provided at the end of this list.
5. Edit the Service Guard cluster control script to disable the ACC port
and possibly shutdown ACC when the script is entered as stop. An
example of a stop section is also provided.

Examples

Here are some examples of sections from a Service Guard cluster control
script. In these examples, there is one ACC card and the ACC example
file names. In addition, RS-232 / V.35 mode is assumed for active and
inactive is LBACK (tri-state) mode. Note, these additions should be in
the customer defined functions section of the Service Guard cluster
control script.
control script "stop" section ************
ACC Service Guard Configuration Notes
Overview
85

Advertisement

Table of Contents
loading

Table of Contents