SDN Controller Programming Guide

63
com.acme.myapp.ui.rs.MyAppResource
com.hp.sdn.rs.misc.AuthenticationHandler
com.hp.sdn.rs.misc.NotFoundErrorHandler
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>GUI REST Services</servlet-name>
<url-pattern>/app/rs/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>Token Authentication Filter</filter-name>
<filter-class>com.hp.sdn.rs.misc.TokenAuthFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Token Authentication Filter</filter-name>
<url-pattern>/app/rs/*</url-pattern>
</filter-mapping>
</web-app>
Distributed HA Primitives
Introduction
In a network managed by a controller, controller itself stands out to be a single point of failure.
Controller failures can disrupt the entire network functionality. HP VAN SDN Controller HA
infrastructure provides various mechanisms that controller applications can make use of in
achieving active-active, active-standby HA paradigms and internode communication. HA infra
provides 2 services for the applications to develop HA aware controller modules.
Controller Teaming
HA service
Following figure describes the communication between the controller applications and the HP VAN
SDN Controller HA sub-systems. App1 1” indicates instance of application 1 on controller
instance 1. Distributed services along with zookeeper, ensures the data synchronization across the
controller cluster nodes.