From: Zoltán Felleg Date: Wed, 8 Dec 2021 22:57:43 +0000 (+0100) Subject: Updated create-cluster.sh. X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=a994f29dad384a83df0bde980e8723e3ddc522b8;p=user-lxc.git Updated create-cluster.sh. --- 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