Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 5. Creating a basic cluster on Red Hat OpenStack Platform
This procedure creates a high availability cluster on an RHOSP platform with no fencing or resources configured.
Prerequisites
- An RHOSP instance is configured for each HA cluster node
- The HAcluster node is running RHEL 9.1 or later
- High Availability and RHOSP packages are installed on each node, as described in Installing the high availability and RHOSP packages and agents.
Procedure
On one of the cluster nodes, enter the following command to authenticate the
pcsuserhacluster. Specify the name of each node in the cluster. In this example, the nodes for the cluster arenode01,node02, andnode03.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create the cluster. In this example, the cluster is named
newcluster.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Enable the cluster.
pcs cluster enable --all node01: Cluster Enabled node02: Cluster Enabled node03: Cluster Enabled
[root@node01 ~]# pcs cluster enable --all node01: Cluster Enabled node02: Cluster Enabled node03: Cluster EnabledCopy to Clipboard Copied! Toggle word wrap Toggle overflow Start the cluster. The command’s output indicates whether the cluster has started on each node.
pcs cluster start --all node02: Starting Cluster… node03: Starting Cluster… node01: Starting Cluster...
[root@node01 ~]# pcs cluster start --all node02: Starting Cluster… node03: Starting Cluster… node01: Starting Cluster...Copy to Clipboard Copied! Toggle word wrap Toggle overflow