High availability (experimental)

NOTE: In release 2.4 of the HP VAN SDN Controller, High Availability (HA) and the associated Teaming and Regional operation are provided as a technical preview. For more information, see the release notes provided for controller version 2.4.

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 in the controller elected as leader 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 might be changed using vim or emacs to reflect the desired configuration.

sdncontroller:/opt/sdn/admin# cat options
export ADMIN_OPTS="-Dcom.hp.sdn.admin.interface=eth0"

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: Bcast: Mask:
inet6 addr: fe80::ae16:2dff:fe9a:6260/64 Scope:Link
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: Bcast: Mask:
lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:116581 errors:0 dropped:0 overruns:0 frame:0
TX packets:116581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32894518 (32.8 MB) TX bytes:32894518 (32.8 MB)