Configure an Automation Orchestrator cluster
Automation Orchestrator
clusterYou can configure your new
Automation Orchestrator
deployment to run in high availability by deploying three nodes and connecting them as a cluster.- Download and deploy three standaloneAutomation Orchestratorinstances. Go to Download and Deploy the Automation Orchestrator Appliance.A clusteredAutomation Orchestratorenvironment can consist of three nodes.
- Verify that SSH access is enabled for allAutomation Orchestratornodes. Go to Activate or Deactivate SSH Access to the Automation Orchestrator Appliance.
- Configure a load balancer server. Go to Load Balancing Guide.
An
Automation Orchestrator
cluster consists of three Automation Orchestrator
instances that share a common PostgreSQL database. The database of the configured Automation Orchestrator
cluster can only run in asynchronous mode.To create an
Automation Orchestrator
cluster, you must select one Automation Orchestrator
instance to be the primary node of the cluster. After configuring the primary node, you join the secondary nodes to it.The
Automation Orchestrator
cluster you created is pre-configured with automatic failover.Failure of the automatic failover can lead to loss of database data.
- Configure the primary node.
- Log in to theAutomation Orchestrator Appliancecommand line of the primary node over SSH asroot.
- To configure the cluster load balancer server, run thevracli load-balancer setload_balancer_FQDNcommand.
- Log in to the Control Center of the primary node and selectHost Settings.
- ClickChangeand set the host address of the connected load balancer server.
- Configure the authentication provider. Go to Configuring a Standalone Automation Orchestrator Server.
- Join secondary nodes to primary node.
- Log in to theAutomation Orchestrator Appliancecommand line of the secondary node over SSH asroot.
- To join the secondary node to the primary node, run thevracli cluster joinprimary_node_hostname_or_IPcommand.
- Enter the root password of the primary node.
- Repeat the procedure for other secondary node.
- If your primary node uses a custom certificate, you must either set the certificate in the appliance or generate a new certificate. Go to Generate a custom TLS certificate for Automation Orchestrator.The file containing the certificate chain must be PEM-encoded.
- Finish the cluster deployment.
- Log in to theAutomation Orchestrator Appliancecommand line of the primary node over SSH asroot.
- To confirm that all nodes are in a ready state, run thekubectl -n prelude get nodescommand.
- Run the/opt/scripts/deploy.shscript and wait for the deployment to finish.
You have created an
Automation Orchestrator
cluster. After creating the cluster, you can access your Automation Orchestrator
environment only from the FQDN address of your load balancer server.Because you can only access the Control Center of the cluster with the root password of the load balancer, you cannot edit the configuration of a cluster node if it has a different root password. To edit the configuration of this node, remove it from the load balancer, edit the configuration in the Control Center, and add the node back to the load balancer.
To monitor the state of the
Automation Orchestrator
cluster, log in to the Automation Orchestrator
Client
and navigate to the System
tab of the dashboard. Go to Monitoring an Automation Orchestrator cluster.