Cluster event script environments
On Windows environments:
- 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.
- 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:
- 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
- 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:
- Configure as.hci.start.pl for a start event.
- Configure as.hci.stop.pl for a stop event.
- Edit $HCIROOT/auto-start/as.hci.profile and enter a site list to be controlled (start/stop).