Configure and deploy a High Availability project
Configure and deploy a
FactoryTalk® Optix™
project to a high
availability cluster to support data continuity and automatic failover.- InFactoryTalk OptixHigh Availability Manager, ensure the high availability cluster displaysDeployed.
- Obtain the Virtual IP address of the cluster from High Availability Manager.TIP: The Virtual IP is managed by keepalived, so it always routes to the currently active node. To verify the LoadBalancer service the Virtual IP forwards to, run:kubectl get svc <release>-runtime-lb -n <namespace>
- Add aWebPresentationEngineto the project. See Configure a web presentation engine.
- Configure retentivity storage for any application changes that occur at runtime to ensure that the changes are stored and synchronized across cluster nodes. See Retentivity storage.
- Add theHighAvailabilitymodule to your project.
- TIP: If the default project template already includes theHighAvailabilityfolder, skip this step.(optional) InProject view, right-click the project root, and select .
- InProject view, right-clickHighAvailability, and select .
TIP: This configures the retentivity module in the project to use the shared cluster database instead of a local SQLite file. - Set the WebPresentationEngine port to match the cluster.
- InProject view, underUI, selectWebPresentationEngine.
- InProperties, setPortto the web port configured for the cluster.
The port value must match the HTTP or HTTPS web port configured for the cluster. The defaults values are80for HTTP and443for HTTPS, but always confirm the actual values configured for your cluster, since they can be changed during installation. - Deploy the project to the high availability cluster.
- In the target selection dialog, select the new target entry underLocal.
- Enter the following fields.
- Name
- A descriptive name for the target, for example,HA-Cluster.
- IPAddress
- The Virtual IP address of the high availability cluster.
- Username
- admin
- In the toolbar, selectRun.
- ChooseSelect.
- InDevice access, enter the cluster password.
- SelectOK.
TIP: TheDevice accessdialog displays only the first time you connect, or when credentials need to be entered again.FactoryTalk OptixStudio remembers credentials for subsequent runs during the current session. - Verify the project is running on the cluster.
- Open a web browser on any machine that can reach the cluster.
- Navigate to the Virtual IP address by using the configured HTTP or HTTPS web address.
IMPORTANT: Always connect by using the Virtual IP address. This ensures automatic redirection to the active node during and after failover.
The
FactoryTalk Optix
project runs on the active node of the high availability
cluster. If the active node fails, the cluster promotes another node automatically. Clients
connect to the Virtual IP address and continue to use the same endpoint.- Web interface
- Use the Virtual IP address and the configured web port.
- OPC UA server
- Use the Virtual IP address and the configured OPC UA server port.
- MQTT broker
- Use the Virtual IP address and the configured MQTT broker port.
High Availability
deployment
redundancy
Provide Feedback