Add a new standby node after the primary node failed by using the command line

In this scenario, the primary node of an HA pair has failed and the standby node has taken over. You must now set up a new standby node for the new primary node. System administrators can use the imaserver HighAvailability commands on the command line.

The two Eclipse Amlen appliances must be physically connected. For more information about connecting appliances, see Configuring the system for High Availability. The administrative state (AdminState) of the two appliances must also be enabled. Use the enable ethernet-interface or edit ethernet-interface command to enable the administrative state of the appliances.

You can configure appliances for high availability by using the command line or by using the Amlen WebUI. For more information about using the Amlen WebUI to configure appliances for high availability, see Add a new standby node after the primary node failed by using the GUI. The expectation is that the content of the store and configuration of Appliance B is preserved and that Appliance B does not require restarting.

  1. On Appliance C enter the following command:

    imaserver update HighAvailability "EnableHA=True" "Group=Group"

    Where:
    Group
    Group is used to automatically configure appliances to pair with each other.
    This value must match the value on Appliance B.
    The value can be a maximum of 128 characters.
  2. Clean the store on Appliance C only.
    Failing to do so will cause both nodes to go into maintenance mode. Enter the following commands:
    imaserver runmode maintenance
    imaserver stop
    imaserver start
    imaserver runmode clean_store
    imaserver stop
    imaserver start
  3. Change Appliance C to production mode.
    imaserver runmode production
  4. Stop and then restart the Eclipse Amlen server for Appliance C.
    imaserver stop
    imaserver start

You can view high availability configuration details of the Eclipse Amlen appliance by using the imaserver show HighAvailability command. You can view information about the high availability role of theEclipse Amlen appliance by using the imaserver status command.