'\" t .\" Title: ocf_pacemaker_SysInfo .\" Author: Andrew Beekhof .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 06/07/2017 .\" Manual: Pacemaker Configuration .\" Source: Pacemaker Configuration .\" Language: English .\" .TH "OCF_PACEMAKER_SYSINF" "7" "06/07/2017" "Pacemaker Configuration" "Pacemaker Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_pacemaker_SysInfo \- SysInfo resource agent .SH "SYNOPSIS" .PP \fBOCF_RESKEY_pidfile\fR=string [\fBOCF_RESKEY_delay\fR=string] [\fBOCF_RESKEY_disks\fR=string] [\fBOCF_RESKEY_disk_unit\fR=string] [\fBOCF_RESKEY_min_disk_free\fR=string] \fBSysInfo\fR [start | stop | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP This is a SysInfo Resource Agent\&. It records (in the CIB) various attributes of a node Sample Linux output: arch: i686 os: Linux\-2\&.4\&.26\-gentoo\-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R) CPU 2\&.40GHz cpu_speed: 4771\&.02 cpu_cores: 1 cpu_load: 0\&.00 ram_total: 513 ram_free: 117 root_free: 2\&.4 #health_disk: red Sample Darwin output: arch: i386 os: Darwin\-8\&.6\&.2 cpu_info: Intel Core Duo cpu_speed: 2\&.16 cpu_cores: 2 cpu_load: 0\&.18 ram_total: 2016 ram_free: 787 root_free: 13 #health_disk: green Units: free_swap: MB ram_*: MB cpu_speed (Linux): bogomips cpu_speed (Darwin): GHz *_free: GB (or user\-defined: disk_unit) .SH "SUPPORTED PARAMETERS" .PP \fBOCF_RESKEY_pidfile\fR = string [/SysInfo\-] .RS 4 PID file .RE .PP \fBOCF_RESKEY_delay\fR = string [0s] .RS 4 Dampening Delay .sp Interval to allow values to stabilize .RE .PP \fBOCF_RESKEY_disks\fR = string .RS 4 List of Filesytems/Paths to query for free disk space .sp Filesystems or Paths to be queried for free disk space as a SPACE separated list \- e\&.g "/dev/sda1 /tmp"\&. Results will be written to an attribute with leading slashes removed, and other slashes replaced with underscore, and the word \*(Aqfree\*(Aq appended \- e\&.g for /dev/sda1 it would be \*(Aqdev_sda1_free\*(Aq\&. Note: The root filesystem \*(Aq/\*(Aq is always queried to an attribute named \*(Aqroot_free\*(Aq .RE .PP \fBOCF_RESKEY_disk_unit\fR = string [G] .RS 4 Unit to report disk free space in .sp Unit to report disk free space in\&. Can be one of: B, K, M, G, T, P (case\-insensitive) .RE .PP \fBOCF_RESKEY_min_disk_free\fR = string [] .RS 4 minimum disk free space required .sp The amount of free space required in monitored disks\&. If any of the monitored disks has less than this amount of free space, , with the node attribute "#health_disk" changing to "red", all resources will move away from the node\&. Set the node\-health\-strategy property appropriately for this to take effect\&. If the unit is not specified, it defaults to disk_unit\&. .RE .SH "AUTHOR" .PP \fBAndrew Beekhof\fR <\&andrew@beekhof\&.net\&> .RS 4 Author. .RE