fence_gce is an I/O Fencing agent for GCE (Google Cloud Engine). It uses the googleapiclient library to connect to GCE.
googleapiclient can be configured with Google SDK CLI or by executing 'gcloud auth application-default login'.
For instructions see: https://cloud.google.com/compute/docs/tutorials/python-guidehttp://cloud.google.comFencing actionMethod to fencePhysical plug number on device, UUID or identification of machinePhysical plug number on device, UUID or identification of machineZone.Project ID.Stackdriver-logging support.Stackdriver-logging support.If enabled this is a bare metal offering from google.Timeout in seconds to use for API calls, default is 60.Number of retries on failure for API calls, default is 3.Time to sleep in seconds between API retries, default is 5.Service Account to use for authentication to the google cloud APIs.Comma separated zone map when fencing multiple plugs.If a proxy is used for internet access, the proxy host should be specified.If a proxy is used for internet access, the proxy port should be specified.If an existing reset operation is detected, the fence agent will return before the operation completes with a 0 return code.If the operation is not completed within the timeout, the cluster operations are allowed to continue.If the operation is not completed within the timeout, cluster is notified of the operation failure.If a timeout would occur while running the agent, then the supplied command is run.If a failure would occur while running the agent, then the supplied command is run.Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog.Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity.Level of debugging detail in 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).Write debug information to given fileWrite debug information to given fileDisplay version information and exitDisplay help and exitSeparator for plug parameter when specifying more than 1 plugSeparator for CSV created by 'list' operationWait X seconds before fencing is startedDisable timeout (true/false) (default: true when run from Pacemaker 2.0+)Wait X seconds for cmd prompt after loginTest X seconds for status change after ON/OFFWait X seconds after issuing ON/OFFWait X seconds for cmd prompt after issuing commandSleep X seconds between status calls during a STONITH actionCount of attempts to retry power on