crm_simulate man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

PACEMAKER(8)		System Administration Utilities		  PACEMAKER(8)

       Pacemaker - Part of the Pacemaker cluster resource manager

       crm_simulate datasource operation [additional options]

       crm_simulate - Tool for simulating the cluster's response to events

       -?, --help
	      This text

       -$, --version
	      Version information

       -Q, --quiet
	      Display only essentialoutput

       -V, --verbose
	      Increase debug output

       -R, --run
	      Determine	 the cluster's response to the given configuration and

       -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
	      Generate a failure for the cluster to react to in the simulation

	      Value    is    of	   the	  form	  ${resource}_${task}_${inter‐
	      val}@${node}=${rc}.     Eg.   memcached_monitor_20000@bart.exam‐ For more information on OCF return  codes,  refer  to:‐

       -F, --op-fail=value
	      If the specified task occurs during the simulation, have it fail
	      with return code ${rc}

	      Value    is    of	   the	  form	  ${resource}_${task}_${inter‐
	      val}@${node}=${rc}.  Eg.

       The transition will normally stop at the failed action.
	      Save the result with --save-output and re-run with --xml-file

       -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

       Pretend	a  recurring  monitor  action  found memcached stopped on node and, during recovery, that the memcached  stop	action

	      #	    crm_simulate     -LS     --op-inject     memcached:0_moni‐	     --op-fail		  mem‐    --save-output    /tmp/mem‐

       Now see what the reaction to the stop failure would be

	      # crm_simulate -S --xml-file /tmp/memcached-test.xml

       Written by Andrew Beekhof

       Report bugs to

Pacemaker 1.1.10-29.el7		   May 2014			  PACEMAKER(8)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net