From a994f29dad384a83df0bde980e8723e3ddc522b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20Felleg?= Date: Wed, 8 Dec 2021 23:57:43 +0100 Subject: [PATCH] Updated create-cluster.sh. --- scripts/create-cluster.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/create-cluster.sh b/scripts/create-cluster.sh index ec4b54b..b81dc16 100755 --- a/scripts/create-cluster.sh +++ b/scripts/create-cluster.sh @@ -2,6 +2,14 @@ set -x +echo "The following commands should have been run on both nodes." +echo " systemctl enable pcsd" +echo " systemctl start pcsd" +echo " systemctl disable lxc" +echo " systemctl stop lxc" +echo " passwd hacluster" +read -p "Press enter if they have been run on both nodes." + pcs cluster status read -p "Press enter to stop and destroy the existing cluster" @@ -11,11 +19,6 @@ pcs cluster destroy --all sleep 5 -systemctl enable pcsd -systemctl start pcsd - -#passwd hacluster - pcs host auth vhost1 addr=10.228.93.1 -u hacluster -p Passw@rd01 pcs host auth vhost2 addr=10.228.93.2 -u hacluster -p Passw@rd01 -- 2.54.0