HP VAN SDN Controller – ZIP UNZIP

Image

Overview

The HP SDN VAN Controller runs on the Ubuntu operating system. It is thus important for HP network engineers to know basic Ubuntu commands for installing and configuring the HP Controller.

Here are some basic commands that engineers may find useful.

Note: Commands in the output below are in bold and highlighted in yellow.

UNZIP:

When installing the HP SDN controller software, unzip is required.

In this example I have tried to install the HP SDN Controller software, but the installation fails because unzip is not installed:

$ ls
bin hp-sdn-ctl_2.0.0.4253_amd64.deb
$ sudo dpkg -i hp-sdn-ctl*.deb
[sudo] password for sdn:
Selecting previously unselected package hp-sdn-ctl.
dpkg: regarding hp-sdn-ctl_2.0.0.4253_ amd64.deb containing hp-sdn-ctl, pre-dependency problem:
hp-sdn-ctl pre-depends on unzip
	unzip is not installed.
dpkg: error processing hp-sdn-ctl_2.0.0.4253_amd64.deb (--install):
pre-dependency problem - not installing hp-sdn-ctl
Errors were encountered while processing:
hp-sdn-ctl_2.0.0.4253_amd64.deb
sdn@sdnctl:~$

To install unzip, do the following:

$ sudo apt-get install zip unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  unzip zip
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 454 kB of archives.
After this operation, 1,085 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main unzip amd64 6.0-4ubuntu1 [192 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main zip amd64 3.0-4 [262 kB]
Fetched 454 kB in 1s (444 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 66763 files and directories currently installed.)
Unpacking unzip (from .../unzip_6.0-4ubuntu1_amd64.deb) ...
Selecting previously unselected package zip.
Unpacking zip (from .../archives/zip_3.0-4_amd64.deb) ...
Processing triggers for man-db ...
Setting up unzip (6.0-4ubuntu1) ...
Setting up zip (3.0-4) ...
$

The HP SDN Controller software will now install correctly:

sdn@sdnctl:~$ sudo dpkg -i hp-sdn-ctl*.deb
(Reading database ... 66795 files and directories currently installed.)
Unpacking hp-sdn-ctl (from hp-sdn-ctl_2.0.0.4253_amd64.deb) ...
Setup has detected a compatible jre-headless - 1.7.0_21
Creating system user 'sdnadmin'...
...done.
Configuring PostgreSQL database...
 * Restarting PostgreSQL 9.1 database server                             [ OK ]
...done.
Adding SDN-related items to Keystone...
keystone stop/waiting
keystone start/running, process 2034
...done.
Setting up hp-sdn-ctl (2.0.0.4253) ...
Certificate was added to keystore
sdna start/running, process 2120
sdnc start/running, process 2124
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
$


Tags: , , , , , ,


About :

These days I am involved in some exciting SDN and OpenFlow projects involving the HP VAN SDN Controller, HP ProVision and HP Comware switches. These new developments in the networking world combine my passions of networking and application development. I hope to write some interesting blog entries on these exiting topics. I am both a Cisco CCIE #11023 and HP MASE as well as a Cisco Certified Systems Instructor (CCSI #22787) and Certified HP Instructor. I have been training networking courses for well over 10 years teaching on a wide range of topics including routing and switching, VoIP, OpenFlow and SDN. I have delivered instructor led courses all over the world. I started working with Cisco Unified Communications Manager when it was still called Cisco Call Manager and have been deploying, troubleshooting and teaching Unified Communications products since version 3.0. I have developed various network utilities such as the VPN Config Generator and others to help engineers in their day to day jobs. I also develop software, training materials, EBooks, videos and other products which are used throughout the world. I have designed, implemented and managed networks ranging from single sites to those that span 50 countries.

View all posts by


No comments yet.

Leave a Reply

  • Proper format "info@pakiti.com"