High Availability

Note: Users on Build 4501 or earlier, including those who set up High Availability, should refer to this page.

Things to remember:

  1. Configure an external database (PostgreSQL or Microsoft SQL) before enabling high availability.
  2. External database hostname must not be set to “localhost” when enabling high availability.
  3. Install the same product version on all machines, and ensure they can communicate without firewall or antivirus restrictions.
  4. Use the same port number across all servers as configured on the primary server.
  5. Configuration changes can be made only from the primary server.
  6. If HTTPS is required for the high availability access URL, enable HTTPS on all servers in the cluster.
  7. To use same-subnet access mode, all servers must be on the same subnet.
  8. If the primary server and secondary servers are in different subnets, a virtual IP cannot be used.
  9. The user running the product must have admin privileges to bind/unbind the virtual IP for same-subnet mode.
  10. Minimum of two servers are required to configure high availability.
    • Choose one instance as the primary server; the rest act as secondary servers and use the database configured on the primary.
    • Ensure the Cluster port (default: 7800) and the product port are open and reachable on all configured servers.
  11. Scheduled jobs run on the primary server by default. If the primary server fails, the jobs run on the secondary server which takes over as serving server. The serving server can be identified from the high availability configuration page.

Steps to configure High Availability:

  1. Log in to AD360 and navigate to the Admin tab.
  2. In the left pane, under Administration, click High Availability.
  3. Click on Click to Configure to open the configuration page.
  4. In the Secondary Server(s) section, enter the host name or IP address of AD360 instance that you would like to configure as a secondary node in the Secondary Server URL field.
  5. Enter the admin username and password of the secondary server.
  6. If additional secondary servers are needed, click on Add Secondary Server, then repeat steps 4 - 5 to add multiple servers.
  7. In the Access Mode section,
    • If the primary and secondary(s) servers are in the same subnet:
      • Enter a virtual IP address and hostname in the Virtual IP and Virtual Hostname fields.
      • Leave the Primary and Secondary Servers are on Different Subnets checkbox unchecked.

      Note: The virtual IP automatically binds to the active server in the high availability setup. You can map this IP to a virtual hostname in DNS.

    • If the primary and secondary server(s) are in different subnets:
      • Check the Primary and Secondary Servers are on Different Subnets checkbox.
      • Create a virtual host and provide the hostname in the Virtual Hostname field.
  8. After completing the above steps, click Configure.
  9. Steps to configure high availability

Steps to modify high availability configuration:

Note: Changes to the high availability configuration can be made only on the primary server.

Steps to promote Secondary server to Primary server:

Note: This option is to promote any available secondary server to the primary role when the primary server is down and cannot be recovered.

  1. Log in to the Secondary Server.
  2. A popup will appear. Click Promote Now.
  3. Steps to configure High Availability

  4. The page will redirect to the High Availability Configuration page
  5. On this page, all available standby servers are listed with the option Promote as Primary
  6. Click Promote as Primary for the required secondary server to be promoted as primary server.
  7. Steps to configure High Availability

Troubleshooting tips:

1. Build number differs from the primary server

Cause: This error occurs when the build number of the instance configured as the secondary server does not match the build number of the primary server in the high availability configuration.

Solution: Make sure you update all AD360 instances configured as secondary servers to match the build number of the AD360 configured as the primary server. Refer to the Service Pack page to learn how to update AD360.

2. Protocol/port mismatch found. Ensure all servers in the high availability configuration use the same port and protocol.

Cause: This error occurs when a secondary server uses a different port or protocol than the primary server.

Solution: All secondary servers in the high availability configuration must use the same protocol and port as the primary server. For example, if HTTPS is enabled on the primary server, enable HTTPS on all secondary servers as well.

3. Communication issue. Ensure port 7800 is not blocked by the firewall on both the primary and secondary servers. If the issue persists, click here to troubleshoot.

Cause:

Solution:

4. A server is unreachable.

Cause: This error may occur for the following reasons:

Solution: Restart the server and verify whether the issue is resolved. Also ensure the primary server and the affected server can communicate with each other without interruption.

5. This server is already part of a cluster. Remove the existing configuration before adding it, or use a different server.

Cause: The secondary server being configured is already part of another high availability setup.

Solution: Ensure that the server intended for secondary server configuration is not already part of another high availability setup.

6. The servers configured are not in the same subnet, so the virtual IP cannot be updated.

Cause: The Virtual IP access mode is being used to configure servers that are not on the same subnet.

Solution: Ensure that all servers used in the high availability configuration are on the same subnet when using Virtual IP access mode.

7. Authentication failed. Please enter valid super admin credentials.

Cause: The entered credentials may not belong to a super admin, or they may be invalid.

Solution: Ensure that the credentials entered are correct and belong to a valid super admin on the server being configured.

8. Failed to add this server. Ensure that the external database configured on the primary server is accessible from this server.

Cause: The external database used by the primary server is not accessible from the secondary server being configured.

Solution:

Don't see what you're looking for?

  •  

    Visit our community

    Post your questions in the forum.

     
  •  

    Request additional resources

    Send us your requirements.

     
  •  

    Need implementation assistance?

    Try onboarding

     

Copyright © 2023, ZOHO Corp. All Rights Reserved.