122
IBM Certification Study Guide AIX HACMP
reconfig_resource_completeThis event indicates that a cluster resource
dynamic reconfiguration has completed.
5.1.2 Pre- and Post-Event Processing
To tailor event processing to your environment, specify commands or
user-defined scripts that should execute before and/or after a specific event
is generated by the Cluster Manager. You specify them by selecting the
HACMP event to be customized on the smit hacmp -> Cluster
Configuration -> Resources -> Cluster Events -> Change/Show Cluster
Events
screen, and then, choosing the one to be tailored. Now, you can
enter the location of your pre- or post-event to be executed before or after the
chosen event has been processed.
For preprocessing, for example, you may want to send a message to specific
users informing them to stand by while a certain event occurs. For
post-processing, you may want to disable login for a specific group of users if
a particular network fails.
5.1.3 Event Notification
You can specify a command or user-defined script that provides notification
(for example, mail) that an event is about to happen and that an event has
just occurred, along with the success or failure of the event.
This is done on the very same SMIT screen as in 5.1.2, “Pre- and Post-Event
Processing” on page 122 in the
Notify
Command field.
For example, a site may want to use a
network_down
notification event to
inform system administrators that traffic may have to be rerouted. Afterwards,
you can use a
network_up
notification event to tell system administrators that
traffic can again be serviced through the restored network.
Event notification in an HACMP cluster can also be done using pre- and
post-event scripts, just by adding the script you want to execute for
notification into the
pre-
and/or
post-event
command script.
5.1.4 Event Recovery and Retry
You can specify a command that attempts to recover from an event command
failure. If the retry count is greater than zero, and the recovery command
succeeds, the event script command is rerun. You can also specify the
number of times to attempt to execute the recovery command.
Содержание AIX HACMP
Страница 2: ......
Страница 10: ...viii IBM Certification Study Guide AIX HACMP...
Страница 12: ...x IBM Certification Study Guide AIX HACMP...
Страница 14: ...xii IBM Certification Study Guide AIX HACMP...
Страница 18: ...xvi IBM Certification Study Guide AIX HACMP...
Страница 24: ...6 IBM Certification Study Guide AIX HACMP...
Страница 110: ...92 IBM Certification Study Guide AIX HACMP...
Страница 133: ...HACMP Installation and Cluster Definition 115...
Страница 134: ...116 IBM Certification Study Guide AIX HACMP...
Страница 160: ...142 IBM Certification Study Guide AIX HACMP...
Страница 200: ...182 IBM Certification Study Guide AIX HACMP...
Страница 216: ...198 IBM Certification Study Guide AIX HACMP...
Страница 222: ...204 IBM Certification Study Guide AIX HACMP...
Страница 226: ...208 IBM Certification Study Guide AIX HACMP...
Страница 232: ...214 IBM Certification Study Guide AIX HACMP...
Страница 240: ...Printed in the U S A SG24 5131 00 IBM Certification Study Guide AIX HACMP SG24 5131 00...