SD-WAN

 View Only
  • 1.  SDN Controller installation

    Posted Jan 30, 2014 04:22 AM

    Can SDN Controller installed on 32 bit machine?



  • 2.  RE: SDN Controller installation

    Posted Jan 30, 2014 11:22 AM

    No, it is only supported on Ubuntu 12.04 64 bit.



  • 3.  RE: SDN Controller installation

    Posted Jan 30, 2014 11:49 AM

    Hello,

    after installing Ubuntu Precise 64 bit you need to run the following commands:

     

    sudo su -
    apt-get install python-software-properties ubuntu-cloud-keyring
    add-apt-repository "deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main"
    apt-get update
    apt-get install openjdk-7-jre-headless postgresql keystone keystone-doc python-keystone iptables unzip
    dpkg -i hp-sdn-ctl_2.0.0.4253_amd64.deb

     Once installed you can access the controller under:

     

    https://10.101.253.45:8443/sdn/ui/ sdn / skyline

     Now you can connect either physical provision switches:

     

    openflow
       controller-id 1 ip 192.168.10.21 controller-interface vlan 1
       instance aggregate
          listen-port
          controller-id 1
          version 1.3
          limit hardware-rate 10000000
          limit software-rate 10000
          enable
          exit
       enable
       exit

     Or physical Comware switches:

    # Comware
    vlan 4092
    
    interface GigabitEthernet1/0/47
     port access vlan 4092
    interface GigabitEthernet1/0/48
     port access vlan 4092
    
    openflow instance 1
     mac-learning forbidden
     classification vlan 4092
     controller 1 address ip 192.168.0.1
     active instance

     Or mininet which is a collection of scripts that uses linux network name spaces to simulate multiple switches and hosts. Linux namespaces allow multiple interfaces including loopback interfaces to have each own routing and arp table. This makes it possible to simulate large topologies on a small machine. Quickstart for mininet is to install another Ubuntu precise and execute the following commands:

     

    apt-get install mininet
    service openvswitch-switch start
    cat > mininet_sample_topo.py <<EOF
    from mininet.topo import Topo
    
    class SampleTopo( Topo ):
        "Simple topology"
    
        def __init__( self ):
            "Create custom topo."
    
            # Initialize topology
            Topo.__init__( self )
    
            # Add hosts
            h1= self.addHost( 'h1' )
            h2= self.addHost( 'h2' )
            h3= self.addHost( 'h3' )
            h4= self.addHost( 'h4' )
            h5= self.addHost( 'h5' )
            h6= self.addHost( 'h6' )
            h7= self.addHost( 'h7' )
            h8= self.addHost( 'h8' )
            h9= self.addHost( 'h9' )
    
            # Switches
            s1= self.addSwitch( 's1' )
            s2= self.addSwitch( 's2' )
            s3= self.addSwitch( 's3' )
            s4= self.addSwitch( 's4' )
    
            # Add links
            self.addLink( s1, h1 )
            self.addLink( s1, h2 )
            self.addLink( s3, s4 )
    
            self.addLink( h3, s2 )
            self.addLink( h4, s2 )
    
            self.addLink( h5, s3 )
            self.addLink( h6, s3 )
    
            self.addLink( s1, s2 )
            self.addLink( s1, s3 )
            self.addLink( s2, s4 )
    
            self.addLink( s4, h7 )
            self.addLink( s4, h8 )
            self.addLink( s4, h9 )
    
    topos = { 'sampletopo': ( lambda: SampleTopo() ) }
    EOF
    
    mn --custom mininet_sample_topo.py --topo sampletopo --mac --switch ovsk --arp --controller remote,ip=10.103.251.244
    pingall

     I have made two VMware images ready for the controller and mininet. If you're interested you can drop me an e-mail to thomas at glanzmann dot de.

     

    Cheers,

        Thomas



  • 4.  RE: SDN Controller installation

    Posted Feb 05, 2014 06:37 AM

    Hello Atul,

    I hope the response from Eric answers your question.

    Please feel free to reply incase you have more questions around the same topic or open a new thread if new  topic.
    If you feel we have answered your question, please do let us know by marking this response as an 'accepted solution’.

    Thanks
    HP SDN Team



  • 5.  RE: SDN Controller installation

    Posted Feb 06, 2014 04:34 AM

    Thanks a ton! Setup is fine.

     

    However I am not able to open the SDN Controller UI. https://Controller IP Address :8443/sdn/ui/

     

    Anything missing?

     

    Regards

     

    Atul



  • 6.  RE: SDN Controller installation

    Posted Feb 06, 2014 11:39 PM

    Hi,

    If possible, please share the logs(/var/log/sdn/virgo/logs/log.log) and screen shot of the SDN UI page.

     

    Are you able to open RSdoc page(https:// Controller IP Address:8443/api/) ?

    Thanks
    HP SDN Team



  • 7.  RE: SDN Controller installation

    Posted Feb 07, 2014 07:48 AM

    hi Atul

     

    Can you give us the output of the following commands

     

    uname -a

    sudo service sdnc status

    sudo service sdna status

    sudo service keystone status

    sudo dpkg -l | grep -i sdn

    sudo dpkg -l | grep -i keystone

    netstat -na | grep 8443

     

    Sample output:

    gpr@sdncontroller1:~$ uname -a
    Linux sdncontroller1 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ sudo service sdnc status
    sdnc start/running, process 812
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ sudo service sdna status
    
    sdna start/running, process 815
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ sudo service keystone status
    
    keystone start/running, process 728
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ sudo dpkg -l | grep -i sdn
    
    sudo dpkg -l | grep -i keystone
    ii  hp-sdn-ctl                       2.1.0.4863                   HP VAN SDN Controller
    
    netstat -na | grep 8443
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ sudo dpkg -l | grep -i keystone
    ii  keystone                         2012.2.4-0ubuntu3.1~cloud0   OpenStack identity service - Daemons
    ii  keystone-doc                     2012.2.4-0ubuntu3.1~cloud0   OpenStack identity service - Documentation
    ii  python-keystone                  2012.2.4-0ubuntu3.1~cloud0   OpenStack identity service - Python library
    ii  python-keystoneclient            1:0.1.3-0ubuntu1.1~cloud0    Client libary for Openstack Keystone API
    gpr@sdncontroller1:~$ 
    gpr@sdncontroller1:~$ netstat -na | grep 8443
    tcp6       0      0 :::8443                 :::*                    LISTEN     
    tcp6       0      0 10.128.10.4:8443        10.99.0.4:65086         TIME_WAIT  
    tcp6       0      0 10.128.10.4:8443        10.128.1.1:54156        ESTABLISHED
    tcp6       0      0 10.128.10.4:8443        10.99.0.4:65493         ESTABLISHED
    gpr@sdncontroller1:~$ 

     Kind Regards

    Gerhard



  • 8.  RE: SDN Controller installation

    Posted Feb 10, 2014 05:09 AM

    Hi,

     

    I did netstat -atupvn and found missing service on port 8443. Did a reinstallation and it worked.

     

    Thanks


    Atul



  • 9.  RE: SDN Controller installation

    Posted Mar 06, 2014 05:19 AM

    Hello Atul,

     

    Thank you for letting us know. Please do feel free to reply in case you need any assistance with respect to this topic or open up a new thread if it’s a new topic.

     

    Thanks

    HP SDN Team



  • 10.  RE: SDN Controller installation

    Posted Apr 17, 2015 04:44 AM

    Hi,

     

    we are trying to get 2.5 running on another box and are having similar issues to the people above. VAN doesn't want to bind to ipv4 8443. The VM has 9 GB ram and 4 vCPUs. See requested output below. This is a fresh install of Ubuntu 12.04

     

    uname -a
    Linux hyperglance 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

     

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

     

    $ sudo service sdna status
    sdna start/running, process 1096

     

    $ sudo service keystone status
    keystone start/running, process 1100

     

    $ sudo dpkg -l | grep -i sdn
    ii hp-sdn-ctl 2.5.11.1149 HP VAN SDN Controller
    hyperglance@hyperglance:~$ sudo dpkg -l | grep -i keystone
    ii keystone 1:2014.1.4-0ubuntu2~cloud0 OpenStack identity service - Daemons
    ii python-keystone 1:2014.1.4-0ubuntu2~cloud0 OpenStack identity service - Python library
    ii python-keystoneclient 1:0.7.1-ubuntu1~cloud0 Client library for OpenStack Identity API

     

    $ netstat -na | grep 8443
    tcp6 0 0 :::8443 :::* LISTEN
    tcp6 38 0 127.0.0.1:54266 127.0.0.1:8443 CLOSE_WAIT



  • 11.  RE: SDN Controller installation

    Posted Oct 08, 2015 10:33 AM

    I am having the same issues...fresh install and cannot get this to work.

     

    Need an OVA file for this...would make lives a TON easier!!!!!