Cluster event script environments

On Windows environments:

  1. Create a "Generic" or "Generic Script" service to start/stop based on the cluster event. The sites are controlled by the as.hci.profile property file.

    For additional information, see Cloverleaf Cluster.

  2. Edit as.hci.profile and enter a site list to be controlled (start/stop).

    For example: AS_HCI_SITES=site1,site2,site3

On Linux environments:

  1. Create a systemd resource to start/stop based on the cluster event.

    The systemd scripts are located under /usr/lib/systemd/system.

    Two systemd scripts are provided as part of the base install:

    • To start Cloverleaf sites: cloverleaf-autostart.service
    • To start the Cloverleaf Host Server: cloverleaf-hostserver.service
  2. Edit $HCIROOT/auto-start/as.hci.profile and enter a site list to be controlled (start/stop).

    For example: AS_HCI_SITES=site1,site2,site3

On UNIX-based systems:

  1. Configure as.hci.start.pl for a start event.
  2. Configure as.hci.stop.pl for a stop event.
  3. Edit $HCIROOT/auto-start/as.hci.profile and enter a site list to be controlled (start/stop).