Novell SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT Manual page 84

Hide thumbs Also See for SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT:
Table of Contents

Advertisement

Examples
Query the value of the location attribute in the nodes section for the host myhost
in the CIB:
crm_attribute -G -t nodes -U myhost -n location
Query the value of the cluster-delay attribute in the crm_config section in the
CIB:
crm_attribute -G -t crm_config -n cluster-delay
Query the value of the cluster-delay attribute in the crm_config section in the
CIB. Print just the value:
crm_attribute -G -Q -t crm_config -n cluster-delay
Delete the location attribute for the host myhost from the nodes section of the
CIB:
crm_attribute -D -t nodes -U myhost -n location
Add a new attribute called location with the value of office to the set subsection
of the nodes section in the CIB (settings applied to the host myhost):
crm_attribute -t nodes -U myhost -s set -n location -v office
Change the value of the location attribute in the nodes section for the myhost
host:
crm_attribute -t nodes -U myhost -n location -v backoffice
Files
/var/lib/heartbeat/crm/cib.xml—the CIB (minus status section) on disk.
Editing this file directly is strongly discouraged.
See Also
cibadmin(8)
76
Heartbeat
(page 64)

Advertisement

Table of Contents
loading

Table of Contents