High availability automation hub
High availability increases reliability and scalability for automation hub by distributing workload across many nodes and eliminating single points of failure.
HA deployments of automation hub have multiple nodes that concurrently run the same service with a load balancer distributing workload (an "active-active" configuration). This configuration eliminates single points of failure to minimize service downtime and enable you to easily add or remove nodes to meet workload demands.
Enable a high availability (HA) deployment of automation hub on SELinux Copy linkLink copied!
Enable a high availability deployment of automation hub on SELinux by mounting /var/lib/pulp to an external NFS export. This ensures correct security contexts are applied to mount points.
Before you begin Copy linkLink copied!
- You have already configured a NFS export on your server.
Note The NFS share is hosted on an external server and is not a part of high availability automation hub deployment.
About this task Copy linkLink copied!
You must add the context for /var/lib/pulp pulpcore_static and run the Ansible Automation Platform installer before adding the context for /var/lib/pulp.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
Configure pulpcore.service Copy linkLink copied!
You can configure the pulp service to ensure that automation hub services start only after the network and the mounting of the remote mount points.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
A bug in the pulpcore SELinux policies can cause the token authentication public/private keys in etc/pulp/certs/ to not have the proper SELinux labels, causing the pulp process to fail. When this occurs, run the following command to temporarily attach the proper labels:
$ chcon system_u:object_r:pulpcore_etc_t:s0 /etc/pulp/certs/token_{private,public}_key.pem
Repeat this command to reattach the proper SELinux labels whenever you relabel your system.
Apply the SELinux context Copy linkLink copied!
By applying the necessary SELinux context to the Pulp directories you ensure proper file access permissions and security policy compliance. They are essential for enabling the high availability (HA) deployment of automation hub on SELinux.