[root@rh101-node2:~]# rpm -q pacemaker
pacemaker-3.0.1-812.7568885bf4.git.el10.x86_64
[root@rh101-node2:~]# pcs cluster cib
[root@rh101-node2:~]# cibadmin -VVVVV --force --delete-all --xpath '/cib/configuration/*[not(
self::crm_config or
self::nodes or
self::resources or
self::constraints
)]
| /cib/configuration/*[self::resources or self::constraints]/*
| /cib/configuration/nodes/*/*
| /cib/configuration/crm_config//nvpair[not(
@name="cluster-infrastructure" or
@name="cluster-name" or
@name="dc-version" or
@name="have-watchdog" or
@name="last-lrm-refresh" or
@name="stonith-watchdog-timeout" or
@name="fencing-watchdog-timeout"
)]'
(cib_native_signon) info: Successfully connected to CIB manager for cibadmin
(cib_native_perform_op_delegate) warning: Call failed: Update does not conform to the configured schema
element rsc_location: validity error : IDREF attribute rsc references an unknown ID "not-for-operator"
element acl_permission: validity error : IDREF attribute reference references an unknown ID "not-for-operator"
cibadmin: CIB API call failed: Update does not conform to the configured schema
(crm_exit) info: Exiting cibadmin | with status 78 (CRM_EX_CONFIG: Invalid configuration)
[root@rh101-node2:~]# echo $?
78
[root@rh101-node2:~]# pcs cluster cib