Customizing Application controller scripts

When customizing Application controller scripts, there are several key ideas to keep in mind.

These topics include:

  • Define a PowerHA® SystemMirror® application controller for each node that supports applications requiring recovery.
  • Applications must be started and stopped in an orderly fashion. Some situations exist where the timing and control of starting and stopping applications needs to be handled based on pre/post event process. You may need to take into account the order in which applications assigned to the same node are started. Optionally, you can also include applications in different resource groups and establish dependencies between resource groups. For more information, see Adding resources and attributes to resource groups.
  • Check for dependencies between nodes. For example, a process on node1 may not start until a process that runs on node2 is up. Include a check for remote node/application availability before issuing the local startup command.
  • You may need to perform some checks to make sure the application is not running and to clean up logs or roll back files before starting the application process.

There is also a plug-in for print queues in the /usr/es/sbin/cluster/plugins/printserver directory.