Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

crm_simulate(8) [debian man page]

PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

NAME
Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
crm_simulate datasource operation [additional options] DESCRIPTION
crm_simulate - Tool for simulating the cluster's response to events OPTIONS
-?, --help This text -$, --version Version information -Q, --quiet Display only essentialoutput -V, --verbose Increase debug output Operations: -R, --run Determine the cluster's response to the given configuration and status -S, --simulate Simulate the transition's execution and display the resulting cluster status -X, --in-place Simulate the transition's execution and store the result back to the input file -s, --show-scores Show allocation scores -U, --show-utilization Show utilization information -P, --profile=value Run all tests in the named directory to create profiling data Synthetic Cluster Events: -u, --node-up=value Bring a node online -d, --node-down=value Take a node offline -f, --node-fail=value Mark a node as failed -i, --op-inject=value $rsc_$task_$interval@$node=$rc - Inject the specified task before running the simulation -F, --op-fail=value $rsc_$task_$interval@$node=$rc - Fail the specified task while running the simulation -t, --set-datetime=value Set date/time -q, --quorum=value Specify a value for quorum -g, --ticket-grant=value Grant a ticket -r, --ticket-revoke=value Revoke a ticket -b, --ticket-standby=value Make a ticket standby -e, --ticket-activate=value Activate a ticket Output Options: -I, --save-input=value Save the input configuration to the named file -O, --save-output=value Save the output configuration to the named file -G, --save-graph=value Save the transition graph (XML format) to the named file -D, --save-dotfile=value Save the transition graph (DOT format) to the named file -a, --all-actions Display all possible actions in the DOT graph - even ones not part of the transition Data Source: -L, --live-check Connect to the CIB and use the current contents as input -x, --xml-file=value Retrieve XML from the named file -p, --xml-pipe Retrieve XML from stdin AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org Pacemaker 1.1.7 April 2012 PACEMAKER(8)

Check Out this Related Man Page

PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

NAME
Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
crm_attribute command -n attribute [options] DESCRIPTION
crm_attribute - Manage node's attributes and cluster options. Allows node attributes and cluster options to be queried, modified and deleted. OPTIONS
-?, --help This text -$, --version Version information -V, --verbose Increase debug output -q, --quiet Print only the value on stdout -n, --name=value Name of the attribute/option to operate on Commands: -G, --query Query the current value of the attribute/option -v, --update=value Update the value of the attribute/option -D, --delete Delete the attribute/option Additional Options: -N, --node=value Set an attribute for the named node (instead of a cluster option). See also: -l -t, --type=value Which part of the configuration to update/delete/query the option in. Valid values: crm_config, rsc_defaults, op_defaults, tickets -l, --lifetime=value Lifetime of the node attribute. Valid values: reboot, forever -z, --utilization Set an utilization attribute for the node. -s, --set-name=value (Advanced) The attribute set in which to place the value -i, --id=value (Advanced) The ID used to identify the attribute -d, --default=value (Advanced) The default value to display if none is found in the configuration EXAMPLES
Add a new attribute called 'location' with the value of 'office' for host 'myhost': # crm_attribute --node myhost --name location --update office Query the value of the 'location' node attribute for host myhost: # crm_attribute --node myhost --name location --query Change the value of the 'location' node attribute for host myhost: # crm_attribute --node myhost --name location --update backoffice Delete the 'location' node attribute for the host myhost: # crm_attribute --node myhost --name location --delete Query the value of the cluster-delay cluster option: # crm_attribute --type crm_config --name cluster-delay --query Query the value of the cluster-delay cluster option. Only print the value: # crm_attribute --type crm_config --name cluster-delay --query --quiet AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org Pacemaker 1.1.7 April 2012 PACEMAKER(8)
Man Page