Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jclaret/8793beab22ac4070609e8ea0eef60ab7 to your computer and use it in GitHub Desktop.
Save jclaret/8793beab22ac4070609e8ea0eef60ab7 to your computer and use it in GitHub Desktop.
pcs stonith list
pcs stonith describe fence_rhevm
ls /usr/sbin/fence*
pcs stonith create name fencing_agent parameters
pcs stonith create rhev-fence fence_rhevm ipaddr=engine.local.net ipport=443 ssl_insecure=1 ssl=1 inet4_only=1 login=admin@internal passwd=PASSWD pcmk_host_map="clu01:clu01.local.net;clu02:clu02.local.net;clu03:clu03.local.net" pcmk_host_check=static-list pcmk_host_list="clu01.local.net,clu02.local.net,clu03.local.net" power_wait=3 op monitor interval=90s
pcs stonith update rhev-fence fence_rhevm api_path=/ovirt-engine/api disable_http_filter=1 ipaddr=engine.local.net ipport=443 ssl_insecure=1 ssl=1 inet4_only=1 login=admin@internal passwd=PASSWORD pcmk_host_map="clu01.local.net:clu01.local.net;clu02.local.net:clu02.local.net;clu03.local.net:clu03.local.net" pcmk_host_check=static-list pcmk_host_list="clu01.local.net,clu02.local.net,clu03.local.net" power_wait=3 op monitor interval=90s
fence_rhevm -o status -a engine.local.net --username=admin@internal --password=PASSWORD --ipport=443 -n clu03.local.net -z --ssl-insecure --disable-http-filter
pcs property set stonith-enabled=true
pcs property set stonith-action=reboot
pcs property set stonith-timeout=120s
pcs property set no-quorum-policy=ignore
pcs stonith show rhev-fence
pcs stonith show
pcs stonith show --full
pcs stonith update rhev-fence port=nodeb
pcs stonith delete fence_noded
pcs stonith fence hostname.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment