1OCF_HEARTBEAT_MANAGE(7)       OCF resource agents      OCF_HEARTBEAT_MANAGE(7)
2
3
4

NAME

6       ocf_heartbeat_ManageVE - Manages an OpenVZ Virtual Environment (VE)
7

SYNOPSIS

9       ManageVE [start | stop | status | monitor | migrate_to | migrate_from |
10                meta-data | validate-all]
11

DESCRIPTION

13       This OCF compliant resource agent manages OpenVZ VEs and thus requires
14       a proper OpenVZ installation including a recent vzctl util.
15
16       This resource agent may be configured for native migration if available
17       in the cluster manager. For Pacemaker, the allow-migrate="true" meta
18       attribute enables native migration.
19

SUPPORTED PARAMETERS

21       veid
22           OpenVZ ID of virtual environment (see output of vzlist -a for all
23           assigned IDs)
24
25           (required, integer, no default)
26

SUPPORTED ACTIONS

28       This resource agent supports the following actions (operations):
29
30       start
31           Starts the resource. Suggested minimum timeout: 75s.
32
33       stop
34           Stops the resource. Suggested minimum timeout: 75s.
35
36       status
37           Performs a status check. Suggested minimum timeout: 10s. Suggested
38           interval: 10s.
39
40       monitor
41           Performs a detailed status check. Suggested minimum timeout: 10s.
42           Suggested interval: 10s.
43
44       migrate_to
45           Executes steps necessary for migrating the resource to the node.
46           Suggested minimum timeout: 75s.
47
48       migrate_from
49           Executes steps necessary for migrating the resource away from the
50           node. Suggested minimum timeout: 75s.
51
52       validate-all
53           Performs a validation of the resource configuration. Suggested
54           minimum timeout: 5s.
55
56       meta-data
57           Retrieves resource agent metadata (internal use only). Suggested
58           minimum timeout: 5s.
59

EXAMPLE CRM SHELL

61       The following is an example configuration for a ManageVE resource using
62       the crm(8) shell:
63
64           primitive p_ManageVE ocf:heartbeat:ManageVE \
65             params \
66               veid=integer \
67             meta allow-migrate="true" \
68             op monitor depth="0" timeout="10s" interval="10s"
69

EXAMPLE PCS

71       The following is an example configuration for a ManageVE resource using
72       pcs(8)
73
74           pcs resource create p_ManageVE ocf:heartbeat:ManageVE \
75             veid=integer \
76             op monitor depth="0" timeout="10s" interval="10s"
77

SEE ALSO

79       http://clusterlabs.org/
80

AUTHOR

82       ClusterLabs contributors (see the resource agent source for information
83       about individual authors)
84
85
86
87resource-agents UNKNOWN           03/09/2020           OCF_HEARTBEAT_MANAGE(7)
Impressum