ocf_heartbeat_vmware7
Manages vmware server 2.0 virtual machines
Usage
vmware [start | stop | monitor | meta-data]
Overview
OCF compliant script to control vmware server 2.0 virtual machines.
Supported parameters
vmxpath
VMX configuration file path
(required, string, no default)
vimshbin
vmware-vim-cmd executable path
(optional, string, default "/usr/bin/vmware-vim-cmd")
Supported actions
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 600s.
stop
Stops the resource. Suggested minimum timeout: 600s.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 300s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
Example CRM shell
The following is an example configuration for a vmware resource using the crm(8) shell:
primitive p_vmware ocf:heartbeat:vmware \
params \
vmxpath=string \
op monitor timeout="30s" interval="300s" depth="0"
Example PCS
The following is an example configuration for a vmware resource using pcs(8)
pcs resource create p_vmware ocf:heartbeat:vmware \ vmxpath=string \ op monitor timeout="30s" interval="300s" OCF_CHECK_LEVEL="0"
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.