.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. .TH PACEMAKER "8" "June 2017" "Pacemaker 1.1.16" "System Administration Utilities" .SH NAME Pacemaker \- Part of the Pacemaker cluster resource manager .SH SYNOPSIS .B crm_attribute \fI\, -n \/\fR[\fI\,options\/\fR] .SH DESCRIPTION crm_attribute \- Manage node's attributes and cluster options. .PP Allows node attributes and cluster options to be queried, modified and deleted. .SH OPTIONS .TP \-?, \fB\-\-help\fR This text .TP \-$, \fB\-\-version\fR Version information .TP \fB\-V\fR, \fB\-\-verbose\fR Increase debug output .TP \fB\-q\fR, \fB\-\-quiet\fR Print only the value on stdout .TP \fB\-n\fR, \fB\-\-name\fR=\fI\,value\/\fR Name of the attribute/option to operate on .SS "Commands:" .TP \fB\-G\fR, \fB\-\-query\fR Query the current value of the attribute/option .TP \fB\-v\fR, \fB\-\-update\fR=\fI\,value\/\fR Update the value of the attribute/option .TP \fB\-D\fR, \fB\-\-delete\fR Delete the attribute/option .SS "Additional Options:" .TP \fB\-N\fR, \fB\-\-node\fR=\fI\,value\/\fR Set an attribute for the named node (instead of a cluster option). See also: \fB\-l\fR .TP \fB\-t\fR, \fB\-\-type\fR=\fI\,value\/\fR Which part of the configuration to update/delete/query the option in Valid values: crm_config, rsc_defaults, op_defaults, tickets .TP \fB\-l\fR, \fB\-\-lifetime\fR=\fI\,value\/\fR Lifetime of the node attribute Valid values: reboot, forever .TP \fB\-z\fR, \fB\-\-utilization\fR Set an utilization attribute for the node. .TP \fB\-s\fR, \fB\-\-set\-name\fR=\fI\,value\/\fR (Advanced) The attribute set in which to place the value .TP \fB\-i\fR, \fB\-\-id\fR=\fI\,value\/\fR (Advanced) The ID used to identify the attribute .TP \fB\-d\fR, \fB\-\-default\fR=\fI\,value\/\fR (Advanced) The default value to display if none is found in the configuration .SH EXAMPLES Add a new node attribute called 'location' with the value of 'office' for host 'myhost': .IP # crm_attribute \-\-node myhost \-\-name location \-\-update office .PP Query the value of the 'location' node attribute for host 'myhost': .IP # crm_attribute \-\-node myhost \-\-name location \-\-query .PP Change the value of the 'location' node attribute for host 'myhost': .IP # crm_attribute \-\-node myhost \-\-name location \-\-update backoffice .PP Delete the 'location' node attribute for host 'myhost': .IP # crm_attribute \-\-node myhost \-\-name location \-\-delete .PP Query the value of the cluster\-delay cluster option: .IP # crm_attribute \-\-type crm_config \-\-name cluster\-delay \-\-query .PP Query the value of the cluster\-delay cluster option. Only print the value: .IP # crm_attribute \-\-type crm_config \-\-name cluster\-delay \-\-query \-\-quiet .SH AUTHOR Written by Andrew Beekhof .SH "REPORTING BUGS" Report bugs to users@clusterlabs.org