grep -i hp [root@ovs-2 ~]#

4. Ensure that the xenmon to OVS socket is up:

[root@ovs-2

~]# netstat -na grep vm

12972

/var/run/

unix

2

[ ACC ]

STREAM

LISTENING

openvswitch/vm-events.ctl

CONNECTED

59425

/var/run/

unix

3

[ ]

STREAM

openvswitch/vm-events.ctl

 

 

 

[root@ovs-2

~]#

 

 

 

 

Running and Configuring VRS

The HP startup script takes care of starting all the components as well as the basic configuration of VRS, which is primarily the assignment of OpenFlow controller(s) to that bridge.

One mandatory basic configuration task is manual—specifying active and standby controllers. There are two methods of doing this:

Editing the configuration file loaded by the OpenvSwitch script when it starts

Running the CLI command ovs‐vsctl add‐controller

The preferred method is the first, i.e., editing the configuration file. Specify the controllers by means of IP addresses in dotted decimal notation (see Specifying the Active and Standby HP VSCs).

Specifying the Active and Standby HP VSCs

Active Contoller:

ovs-vsctl add-controller xapi0 ctrl1 tcp:172.1.1.1:6633

ovs-vsctl set c ctrl1 config_role=master

Standby Controller:

ovs-vsctl add-controller xapi0 ctrl2 tcp:172.2.1.2:6633

ovs-vsctl set c ctrl2 config_role=slave

Running and Configuring VRS

59