Configuration Examples‎ > ‎HP / HPE‎ > ‎SDN‎ > ‎

Install HP SDN 2.0 Controller on Ubuntu 12.04

How to configure the HP SDN VAN Controller 2.0 on Ubuntu 12.04

- I built this to use as a demo facility, make sure you read the release notes for the version that you need, and follow the correct hardware requirements in a production environment -

Download Ubuntu 12.04 Server, 64 bit edition from:

Download the HP SDN Controller from:

Hardware Spec's
I'm running the SDN Van controller in Hyper-V on my laptop, for test/demo purpose with the following spec's:
  • 4x CPU
  • 8GB RAM
  • 16gb HD
OS Install
Install Ubuntu Server onto your virtual host. Follow the installation guide wizard to install it with the default settings.

Once installed, log into / console onto the server, use the account you created during the install (it will have sudo permissions) and run the following commands to update the OS.

$ sudo apt-get update
$ sudo apt-get upgrade

NOTE: If you get a hash sum mismatch error when trying to update, then type this command:

$ sudo rm -rf /var/lib/apt/lists/*

and then try to run the update again

$ sudo apt-get update
$ sudo apt-get upgrade

I like to install SSH as the vmware/hyper-v console is a little clunky, it will also allow you to copy and paste the rest of the commands:

$ sudo apt-get install ssh

If you have DHCP running, then take a note of the IP Address using

$ ifconfig

if you need to configure a static IP address, then use vi to edit the configuration file

$ vi /etc/network/interfaces

It should look something like this:

# The primary network interface
auto eth0
iface eth0 inet static
    address 10.0.0.1
    netmask 255.255.255.0
    gateway 10.0.0.254
    dns-nameservers 10.0.0.254


OK, so now SSH is installed, and you have an IP address, use PuTTy to log into the Ubuntu server, and run the following commands to install the dependencies.

sudo apt-get install python-software-properties ubuntu-cloud-keyring

Now add the cloud repository - note that 2.0 uses the folsom release archive.

$ add-apt-repository "deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main"

Then update again

$ sudo apt-get update

Now install the remaining dependencies, and some apps I like to install

sudo apt-get install iperf vim htop unzip zip nmap screen openjdk-7-jre-headless postgresql keystone keystone-doc python-keystone iptables 

Ok.... ready to start with the SDN app install now :)

Use WinSCP to copy the SDN Van 2.0 zip file to the Ubuntu server

now unzip the file

$  unzip 2.0.0.4253_hp-van-sdn-ctl-x64.zip

Now you can install the debian package you just unzipped using dpkg

$ sudo dpkg -i hp-sdn-ctl_2.0.0.4253_amd64.deb

The service should start automatically, wait 60 seconds, and you can verfiy the service is up and running using the following commands:

$ sudo service sdnc status
sdnc start/running, process 930

Check the web server is listening as well

$ netstat -an | grep 8443
tcp6       0      0 :::8443                 :::*                    LISTEN

And now you can log into the SDN controller. The default username and password for the HPE SDN Controller is below

https://x.x.x.x:8443/sdn/ui/

Username: sdn
Password: skyline