1OCF_HEARTBEAT_MANAGE(7) OCF resource agents OCF_HEARTBEAT_MANAGE(7)
2
3
4
6 ocf_heartbeat_ManageVE - Manages an OpenVZ Virtual Environment (VE)
7
9 ManageVE [start | stop | status | monitor | migrate_to | migrate_from |
10 meta-data | validate-all]
11
13 This OCF compliant resource agent manages OpenVZ VEs and thus requires
14 a proper OpenVZ installation including a recent vzctl util.
15
17 veid
18 OpenVZ ID of virtual environment (see output of vzlist -a for all
19 assigned IDs) (required, integer, no default)
20
22 This resource agent supports the following actions (operations):
23
24 start
25 Starts the resource. Suggested minimum timeout: 75.
26
27 stop
28 Stops the resource. Suggested minimum timeout: 75.
29
30 status
31 Performs a status check. Suggested minimum timeout: 10. Suggested
32 interval: 10.
33
34 monitor
35 Performs a detailed status check. Suggested minimum timeout: 10.
36 Suggested interval: 10.
37
38 migrate_to
39 Executes steps necessary for migrating the resource to the node.
40 Suggested minimum timeout: 75.
41
42 migrate_from
43 Executes steps necessary for migrating the resource away from the
44 node. Suggested minimum timeout: 75.
45
46 validate-all
47 Performs a validation of the resource configuration. Suggested
48 minimum timeout: 5.
49
50 meta-data
51 Retrieves resource agent metadata (internal use only). Suggested
52 minimum timeout: 5.
53
55 The following is an example configuration for a ManageVE resource using
56 the crm(8) shell:
57
58 primitive p_ManageVE ocf:heartbeat:ManageVE \
59 params \
60 veid=integer \
61 meta allow-migrate="true" \
62 op monitor depth="0" timeout="10" interval="10"
63
65 http://www.linux-ha.org/wiki/ManageVE_(resource_agent)
66
68 Linux-HA contributors (see the resource agent source for information
69 about individual authors)
70
71
72
73resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_MANAGE(7)