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

NAME

6       ocf_heartbeat_openstack-virtual-ip - Move a virtual IP
7

SYNOPSIS

9       openstack-virtual-ip [start | stop | monitor | meta-data |
10                            validate-all]
11

DESCRIPTION

13       Resource Agent to move a virtual IP address from an instance to another
14       one by adding an allowed-address pair associated with an instance port.
15       It relies on attributes given by openstack-info resource agent
16       (openstack_ports, openstack_id attributes). The attribute called
17       "openstack_virtual_ip" is updated.
18

SUPPORTED PARAMETERS

20       openstackcli
21           Path to command line tools for openstack.
22
23           (optional, string, default "/usr/bin/openstack")
24
25       openrc
26           Valid Openstack credentials as openrc file from api_access/openrc.
27
28           (required, string, no default)
29
30       ip
31           Virtual IP Address.
32
33           (required, string, no default)
34
35       subnet_id
36           Subnet Identifier to use to attach the address.
37
38           (required, string, no default)
39

SUPPORTED ACTIONS

41       This resource agent supports the following actions (operations):
42
43       start
44           Starts the resource. Suggested minimum timeout: 180s.
45
46       stop
47           Stops the resource. Suggested minimum timeout: 180s.
48
49       monitor
50           Performs a detailed status check. Suggested minimum timeout: 30s.
51           Suggested interval: 60s.
52
53       validate-all
54           Performs a validation of the resource configuration. Suggested
55           minimum timeout: 5s.
56
57       meta-data
58           Retrieves resource agent metadata (internal use only). Suggested
59           minimum timeout: 5s.
60

EXAMPLE CRM SHELL

62       The following is an example configuration for a openstack-virtual-ip
63       resource using the crm(8) shell:
64
65           primitive p_openstack-virtual-ip ocf:heartbeat:openstack-virtual-ip \
66             params \
67               openrc=string \
68               ip=string \
69               subnet_id=string \
70             op monitor depth="0" timeout="30s" interval="60s"
71

EXAMPLE PCS

73       The following is an example configuration for a openstack-virtual-ip
74       resource using pcs(8)
75
76           pcs resource create p_openstack-virtual-ip ocf:heartbeat:openstack-virtual-ip \
77             openrc=string \
78             ip=string \
79             subnet_id=string \
80             op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
81

SEE ALSO

83       http://clusterlabs.org/
84

AUTHOR

86       ClusterLabs contributors (see the resource agent source for information
87       about individual authors)
88
89
90
91resource-agents UNKNOWN           11/03/2021           OCF_HEARTBEAT_OPENST(7)
Impressum