A Procedures

This appendix provides common ACSLS HA operational procedures.

Topics include:

Determining Which Node is Node 1

Run /opt/oracle/acslsha/setup.py and select Action 2.

Note that this is not necessarily the ”primary” node running ACSLS. In order to check the primary node, switch users to acsss and run the acsss status command. The node running ACSLS is the primary. Also see the section on logging to determine which node is currently the primary.

Performing a Forced Fail Over

In order to force a failover, simply stop the acslsha service on the primary (active node). It will fail over to the secondary and it will become the new primary.

Note that the secondary will reboot the original primary in order to ensure that all acslsha services are not active. At this time you may start acslsha as the secondary on the inactive node.

Performing a Graceful Shutdown

In order to gracefully shut down aclsha and all of it's resources (ACSLS, the storage monitor, and the LogicalHostIP) stop the secondary node first. You can then stop the primary as follows, and both nodes will remain idle and not rebooted:

#systemctl stop acslsha

Performing Maintenance on One or Both Nodes

To perform maintenance:

  1. Perform a graceful shutdown on node 2:

    systemctl stop acslsha
    
  2. Perform a graceful shutdown on node 1:

    systemctl stop acslsha
    

Patching or Upgrading ACSLS 8.5.1

To patch or upgrade:

  1. Stop ACSLS HA on both nodes (see Performing a Graceful Shutdown above).

  2. Follow the ACSLS patching or upgrade procedures outlined in the ACSLS Administrator's Guide. Ensure that the NFS file system is mounted to /export/home on the node that you are currently updating.

Recovering From a Corrupt ACSLS Database

To recover from a corrupt database:

  1. Ensure that ACSLS HA is stopped on both nodes (see Performing a Graceful Shutdown above).

  2. Manually mount the NFS file system to /export/home on one node only.

  3. Start ACSLS on the node from which you mounted /export/home.

  4. ACSLS automatically enters recovery mode and rebuilds the database.

  5. Shut down ACSLS when the recovery operation is complete.

  6. Unmount the NSF file system.

  7. Start ACSLS HA on both nodes.

Running setup.py While Any Node Is Currently Running ACSLSHA

Do not run setup.py while any node is currently running ACSLS HA. This will cause ACSLS HA to stop and failover.