Create a high availability cluster
You can create a Red Hat High Availability Add-On cluster. This example uses nodes z1.example.com and z2.example.com.
Before you begin
- You have created a Red Hat account.
Note To display the parameters of a
pcscommand and a description of those parameters, use the-hoption of thepcscommand.
Procedure
Results
- Display the status of the cluster you created:
[root@z1 ~]# pcs cluster statusCluster Status: Stack: corosync Current DC: z2.example.com (version 2.0.0-10.el8-b67d8d0de9) - partition with quorum Last updated: Thu Oct 11 16:11:18 2018 Last change: Thu Oct 11 16:11:00 2018 by hacluster via crmd on z2.example.com 2 Nodes configured 0 Resources configured ...There could be a slight delay before the cluster is up and running when you start the cluster services with the
--startoption of thepcs cluster setupcommand. Ensure that the cluster is up and running before performing any subsequent actions.