You can
configure ESC HA with DRDB synchronization and VRRP heartbeat broadcasting on a
network interface for data synchronization and VNF monitoring. You can use an
additional network interface to allocate Virtual IP for the northbound access.
To configure the multiple interfaces on ESC HA nodes, use --ha_node_list,
--kad_vip, --kad_vif arguments to specify these multiple network interfaces
configuration. For details on these arguments, see section
Appendix A:
Cisco Elastic Services Controller Installer Arguments.
Example
configuration steps are shown below:
./bootvm.py <esc_ha1> \
--user_pass <username>:<password>
--user_confd_pass <username>:<password>
--image <image_id> \
--net <net-name> \
--gateway_ip <default_gateway_ip_address> \
--ipaddr <ip_address1> <ip_address2> \
--ha_node_list < IP addresses HA nodes1> < IP addresses for HA nodes2> \
--kad_vip <keepaliveD VIP of the HA nodes and the interface for keepaliveD VIP> \ (for example: --kad_vip 192.0.2.254:eth2)
--kad_vri <virtual router id of vrrp instance>
--kad_vif <virtual IP of the HA nodes or the interface of the keepalived VRRP> \ (for example: --kad_vif eth1 )
--ha_mode <HA installation mode> \
--route <routing configuration> \ (for example:192.0.2.254/24:192.168.0.1:eth1 )
--avail_zone nova:<openstack zone> \
Similarly, a
three network interface can be configured for ESC HA nodes. An example three
interfaces configuration is shown below with the following assumptions :
-
Network 1 is
an IPv6 network used for northbound connection. ESC VIP is allocated in this
network and the Orchestrator send requests to ESC through ESC VIP.
-
Network 2 is
an IPv4 network used for ESC sync traffic (DRDB synchronization) and VRRP
heartbeat. This network is also used for OpenStack connection and VNF
monitoring.
-
Network 3 is
another IPv4 network used for management. The SA, rsyslog, etc. can use this
network to manage ESC.
./bootvm.py
esc-ha-0 --image ESC-2_2_x_yyy --net esc-v6 esc-net --gateway_ip 192.168.0.1
--ipaddr 2001:cc0:2020::fa 192.168.0.239 192.168.5.239 --ha_node_list
192.168.0.239 192.168.0.243 --kad_vip [2001:cc0:2020::fc/48]:eth0 --kad_vif
eth1 --ha_mode drbd --route 10.85.103.0/24:192.168.0.1:eth1 --avail_zone nova:
zone name
./bootvm.py
esc-ha-1 --image ESC-2_2_x_yyy --net esc-v6 esc-net lab-net-0 --gateway_ip
192.168.0.1 --ipaddr 2001:cc0:2020::fa 192.168.0.239 192.168.5.239
--ha_node_list 192.168.0.239 192.168.0.243 --kad_vip
[2001:cc0:2020::fc/48]:eth0 --kad_vif eth1 --ha_mode drbd --route
10.85.103.0/24:192.168.0.1:eth1 --avail_zone nova: zone name