FENCE_AGENT(8)

✨ NAME ✨

okay bestie, so this is fence_ovm β€” a Fence agent for Oracle VM πŸ’…, and it lives in section 8 of the System Manager's Manual. yes, section 8. the big-kid sysadmin section. slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

fence_ovm is a Power Fencing agent β€” and the way that it just fences power, iconic β€” which you can use with the virtual machines that Oracle VM Manager handles. πŸ’–

The fence agent takes options on the command line and from stdin. When fenced execs the agent, it sends the parameters through stdin. But also!! you can run the agent all by itself with command line options, which is super useful for testing and for turning outlets on or off from scripts. main character energy fr fr. πŸŽ€

Vendor URL: https://www.oracle.com/virtualization/technologies/vm/


πŸ‘‘ PARAMETERS πŸ‘‘

okay so here's the whole roster, no cap, every single one:

  • -o, --action=[action] β€” the fencing action (Default Value: reboot)
  • -a, --ip=[ip] β€” IP address or hostname of the fencing device. This parameter is always required. like, always always.
  • -u, --ipport=[port] β€” TCP/UDP port to use for the connection with the device (Default Value: 7002)
  • -p, --password=[password] β€” login password or passphrase
  • -S, --password-script=[script] β€” script to run to retrieve the password
  • -n, --plug=[id] β€” physical plug number on the device, or the UUID or identification of the machine. This parameter is always required too.
  • -z, --ssl β€” use an SSL connection with verifying the certificate
  • --ssl-client-certificate-file=[filename] β€” SSL client certificate file
  • --ssl-insecure β€” use an SSL connection without verifying the certificate
  • --ssl-secure β€” use an SSL connection with verifying the certificate
  • -l, --username=[name] β€” login name
  • -q, --quiet β€” disable logging to stderr. It does not affect --verbose or --debug-file or logging to syslog. so don't get it twisted. πŸ™ˆ
  • -v, --verbose β€” verbose mode. You can stack multiple -v flags on the command line (e.g., -vvv) to increase the verbosity. go off.
  • --verbose-level β€” level of debugging detail in the output. It defaults to however many --verbose flags you specified on the command line, or to 1 if verbose=1 in a stonith device configuration (i.e., on stdin).
  • -D, --debug-file=[debugfile] β€” write debug information to the given file
  • -V, --version β€” display version information and exit
  • -h, --help β€” display help and exit
  • --plug-separator=[char] β€” separator for the plug parameter when you're specifying more than 1 plug (Default Value: ,)
  • -C, --separator=[char] β€” separator for the CSV created by the list operation (Default Value: ,)
  • --delay=[seconds] β€” wait X seconds before fencing is started (Default Value: 0)
  • --disable-timeout=[true/false] β€” disable timeout (true/false) (default: true when run from Pacemaker 2.0+)
  • --login-timeout=[seconds] β€” wait X seconds for the cmd prompt after login (Default Value: 5)
  • --power-timeout=[seconds] β€” test X seconds for a status change after ON/OFF (Default Value: 20)
  • --power-wait=[seconds] β€” wait X seconds after issuing ON/OFF (Default Value: 0)
  • --shell-timeout=[seconds] β€” wait X seconds for the cmd prompt after issuing a command (Default Value: 3)
  • --stonith-status-sleep=[seconds] β€” sleep X seconds between status calls during a STONITH action (Default Value: 1)
  • --retry-on=[attempts] β€” count of attempts to retry power on (Default Value: 1)
  • --gnutlscli-path=[path] β€” path to the gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

🌈 ACTIONS 🌈

  • on β€” power on machine. πŸ’–
  • off β€” power off machine.
  • reboot β€” reboot machine.
  • status β€” this returns the status of the plug/virtual machine.
  • list β€” list the available plugs with their aliases/virtual machines, if there's support for more than one device. Returns N/A otherwise.
  • list-status β€” list the available plugs with their aliases/virtual machines and their power state, if it can be obtained without additional commands.
  • monitor β€” check the health of the fence device
  • metadata β€” display the XML metadata describing this resource.
  • manpage β€” the operational behavior of this is not known. πŸ’€ yeah. we said what we said.
  • validate-all β€” validate whether all the required parameters are entered.

πŸŽ€ STDIN PARAMETERS πŸŽ€

same crew, but they come in through stdin with underscores instead of dashes. obsessed.

  • action β€” fencing action (Default Value: reboot)
  • ip β€” IP address or hostname of the fencing device. This parameter is always required. Obsoletes: ipaddr
  • ipport β€” TCP/UDP port to use for the connection with the device (Default Value: 7002)
  • password β€” login password or passphrase. Obsoletes: passwd
  • password_script β€” script to run to retrieve the password. Obsoletes: passwd_script
  • plug β€” physical plug number on the device, or the UUID or identification of the machine. This parameter is always required. Obsoletes: port
  • ssl β€” use an SSL connection with verifying the certificate
  • ssl_client_certificate_file β€” SSL client certificate file
  • ssl_insecure β€” use an SSL connection without verifying the certificate
  • ssl_secure β€” use an SSL connection with verifying the certificate
  • username β€” login name. Obsoletes: login
  • quiet β€” disable logging to stderr. It does not affect --verbose or --debug-file or logging to syslog.
  • verbose β€” verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity.
  • verbose_level β€” level of debugging detail in the output. Defaults to the number of --verbose flags specified on the command line, or to 1 if verbose=1 in a stonith device configuration (i.e., on stdin).
  • debug_file β€” write debug information to the given file. Obsoletes: debug
  • version β€” display version information and exit
  • help β€” display help and exit
  • plug_separator β€” separator for the plug parameter when specifying more than 1 plug (Default Value: ,)
  • separator β€” separator for the CSV created by the list operation (Default Value: ,)
  • delay β€” wait X seconds before fencing is started (Default Value: 0)
  • disable_timeout β€” disable timeout (true/false) (default: true when run from Pacemaker 2.0+)
  • login_timeout β€” wait X seconds for the cmd prompt after login (Default Value: 5)
  • power_timeout β€” test X seconds for a status change after ON/OFF (Default Value: 20)
  • power_wait β€” wait X seconds after issuing ON/OFF (Default Value: 0)
  • shell_timeout β€” wait X seconds for the cmd prompt after issuing a command (Default Value: 3)
  • stonith_status_sleep β€” sleep X seconds between status calls during a STONITH action (Default Value: 1)
  • retry_on β€” count of attempts to retry power on (Default Value: 1)
  • gnutlscli_path β€” path to the gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

okay that's the whole page, you ate that fr fr 🫢 this one's filed under fence_ovm (Fence Agent) and it's dated 2009-10-20 β€” vintage but still serving. bye bestie, go fence something responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from