You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

So you've downloaded a virtual appliance from https://opmantek.com/network-tools-download/ and now you want to set it up and take it for a test drive to see how NMIS and the Opmantek networking modules can help you administer your network.  No problem.  Easy.

  1. Unzip the virtual appliance file
  2. Use the OVF (Open Virtualization Format) file (VMware and VirtualBox examples provided)
  3. Fire up the new VM and set the IP address
  4. Load NMIS in your browser

Let's assume you've got step 1 under control (unzipping) and move to step 2.

2. Using the OVF file

After unzipping the file you should see a folder with a structure like this:

Because the file is in an open format it should be recognized by your virtualization software or by a conversion tool provided by your virtualization software.  

VMware

I will cover two options for VMware software.  Both of these options require the VMware OVF Tool, see here for some links or hit up google or vmware's site.  From now on I'll assume you have it installed and know where it is

Convert OVF to VMX
mkdir NMIS8
ovftool NMIS8-OVF/NMIS8.ovf NMIS8/NMIS8.vmx 

You should now be able to import/load the vmx file with your VMware software and skip to step 3.

Transfer OVF to ESXi
ovftool --name="NMIS" -dm="thin" -ds=datastore_number ./NMIS8-OVF/NMIS8.ovf vi://user:password@host_ip_address

Remember to set the name you like, the datastore you want and point it at the server you want to deploy to

VirtualBox

VirtualBox will import directly from an OVF file so you can just fire up VirtualBox and select "Import Appliance..."

Browse to where you unzipped the file and select the ovf file

Select the file, you should see a screen something like this:

It should be safe to Import.  The import process took a couple of minutes to complete, just enough time to grab a cup of coffee I'd say.

 

3. Fire up the VM and set the IP Address

At this point the VM has DHCP enabled so the easiest way to access it is from the VM software terminal.  We will set the IP so we can easily login from any terminal.  So go ahead and boot the VM, after the VM is finished booting you will be welcomed by a login prompt, login:

User: root
Password: NM1$88

Root's home directory contains 2 example network configurations, one for static IP's and one for DHCP.  Copy the one you require (because we already have dhcp enabled the example sets up a static IP address):

cp ifcfg-eth0.static /etc/sysconfig/network-scripts/ifcfg-eth0   

Now set the IP, netmask, gateway, and DNS if you like ( to add DNS you can add two lines, one for each server: DNS1=ip , DNS2=ip)

Alternately

You could also install a text based UI to help you:

yum install netconfig
# after installation complete:
system-config-network  

4. Load NMIS in your browser

Open your favourite web browser and navigate to:

http://server_ip_address/cgi-nmis8/nmiscgi.pl

User: nmis
Password: nm1888

 

  • No labels