Product SiteDocumentation Site

2.5. Updating the Configuration Without Using XML

Some common tasks can also be performed with one of the higher level tools that avoid the need to read or edit XML.
To enable stonith for example, one could run:
# crm_attribute --attr-name stonith-enabled --attr-value true
Or, to see if somenode is allowed to run resources, there is:
# crm_standby --get-value --node-uname somenode
Or, to find the current location of my-test-rsc, one can use:
# crm_resource --locate --resource my-test-rsc