ASKER
ASKER
ASKER
ASKER
Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers. For large systems, the operating system makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system. Operating systems provide a software platform on top of which other programs, called application programs, can run.
TRUSTED BY
we will have to distinguish two things here:
First, there are the "startserver" and "stopserver" scripts you mentioned.
These scripts (made by you) are part of the application server configuration
(see "smitty clchserv.extended.select" -> (select application server) -> <enter> to verify your settings).
The scripts are executed whenever the resource group containing this application server goes online, regardless of whether it's due to regular startup at the home node or due to a failover to the standby node.
Second, you have the opportunity to create scripts which you can associate with predefined HACMP events.
These events include things like " rg_move_complete" which could be the one you want to configure. The events are associated with HACMP-internal scripts, but you can add commands (scripts) to be processed pre-event, post-event, for recovery and for notification.
You will have to experiment a bit to find out whether a given event is the right trigger for your script.
Issue "smitty clcsclev.select" -> (select the desired event, e.g. " rg_move_complete") ->
fill in values (script names) as desired.
Using the scripts I mentioned first above is quite common practice (you do not just want to make resources available to a node or move/failover resources between nodes, you also want to start your application on the node owning the given resources, don't you?), whereas the other event scripts are only used when there are very special requirements, or when there is the need for notifications, e.g. via email).
wmp