Use sudo for pacemaker status output
The script collecting host information doesn't run as root, we need sudo to make pacemaker status queries work. Also adding crm_verify output. Change-Id: I5858ddf9d1d317591b4ec4e6d7633115b636709c
This commit is contained in:
parent
9c0bf22293
commit
bd8d37a546
|
@ -14,9 +14,10 @@ ip addr
|
|||
free -h
|
||||
rpm -qa
|
||||
sudo os-collect-config --print
|
||||
which pcs &> /dev/null && pcs status --full
|
||||
which pcs &> /dev/null && pcs constraint show --full
|
||||
which pcs &> /dev/null && pcs stonith show --full
|
||||
which pcs &> /dev/null && sudo pcs status --full
|
||||
which pcs &> /dev/null && sudo pcs constraint show --full
|
||||
which pcs &> /dev/null && sudo pcs stonith show --full
|
||||
which crm_verify &> /dev/null && sudo crm_verify -L -VVVVVV
|
||||
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in New Issue