7 Team configuration
Standalone controller operation provides management for the OpenFlow switches in a network. However, it does not provide high availability (HA), with the result that a controller failure leaves the network in an unmanaged state. Configuring a team of controllers and a corresponding controller region creates a high availability network with failover capability, resulting in a continuously managed network in the event that a controller in the team goes down. Controller teaming also provides centralized controller configuration and monitoring. This chapter describes how to configure a controller team. See “Regional configuration ” (page 88) to configure a region for a controller team.
NOTE: Teaming operation requires the High Availability “Add Controller” license (HP VAN SDN Ctrl HA
7.1 High availability
The default configuration of the SDN Controller is the system’s eth0 interface. When a controller team is formed via REST with the team IP Address, an alias will be configured automatically by the system and will attach to the eth0 interface by default. If the SDN Controller has multiple Ethernet interfaces a different interface can be required for the team IP Address. In this case the configuration /etc/sdn/admin/options may be changed using vim or emacs to reflect the desired configuration.
sdncontroller:/opt/sdn/admin# cat options
export
Once the change has been made, the SDNA service must be restarted as shown with the following command.
sdncontroller:/opt/sdn/admin# service sdna restart sdna stop/waiting
This change must be made for every active controller within the team and does not require that the team to be deleted via REST.
To view the team IP Address designation from the SDN Controller console or SSH session, use ifconfig.
sdncontroller:$ ifconfig
eth0 | Link encap:Ethernet HWaddr ac:16:2d:9a:62:60 |
inet addr:172.17.3.17 Bcast:172.17.15.255 Mask:255.255.240.0 | |
inet6 addr: fe80::ae16:2dff:fe9a:6260/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:1151070 errors:0 dropped:284 overruns:0 frame:0 | |
TX packets:1134356 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:684988786 (684.9 MB) TX bytes:882495744 (882.4 MB) | |
eth0:0 Link encap:Ethernet HWaddr ac:16:2d:9a:62:60 | |
inet addr:172.17.3.41 Bcast:172.17.15.255 Mask:255.255.240.0 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
lo | Link encap:Local Loopback |
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:116581 errors:0 dropped:0 overruns:0 frame:0 TX packets:116581 errors:0 dropped:0 overruns:0 carrier:0
7.1 High availability 79