初始化集群,创建名为mycluster的高可用集群 pcs cluster setup mycluster 10.163.2.100 10.163.2.106 ... Cluster has been successfully set up.
pcs cluster start --all pcs cluster enable --all
pcs cluster status Cluster Status: Cluster Summary: * Stack: corosync (Pacemaker is running) * Current DC: 10.163.2.100 (version 2.1.10-1.el9-5693eaeee) - partition with quorum * Last updated: Thu Aug 7 13:13:38 2025 on 10.163.2.100 * Last change: Thu Aug 7 13:09:29 2025 by hacluster via hacluster on 10.163.2.100 * 2 nodes configured * 0 resource instances configured Node List: * Online: [ 10.163.2.100 10.163.2.106 ]