OpenIndiana Server + Napp-It


Ran into an issue where configuring the IP address of the igb0 interface somehow completely killed the network on the box. Even in the UI I could not activate the bnx0 interface. First resort (as Solaris noob) is to reboot the box.

This time I decided to update the box before with latest packages.

nano /etc/ssh/ssd_config

902 Packages to update. I’ll say it’s a bit out of date.

Looks like there’s a bug in the Intel Pro 1000 driver in OpenIndiana. It is impossible to change MTU to 9000 on my Intel Pro/1000 VT NIC while running NWAM (Network Auto Magic)

nano /etc/default/login

To get it working. Need to disable NWAM and enable standard networking

nano /etc/user_attr

Configure IP

svcadm restart ssh

Configure Netmasks

nano /etc/resolv.conf

Configure hosts

> nano /etc/hosts

Configure Routing

> route -f add default 1
add net default: gateway
> echo > /etc/defaultrouter

Configure DNS

> nano /etc/nsswitch.conf
> svcadm restart name-service-cache
> ping is alive

Finally reboot the machine to ensure that the management interface comes up.

> init 6

Once the machine comes up and everything works. Continue configuring rest of the nics.

> ping is alive
> ping is alive
> ifconfig igb0 down
ifconfig: setifflags: SIOCGLIFFLAGS: igb0: no such interface
> ifconfig igb0 unplumb
ifconfig: cannot unplumb igb0: Interface does not exist
> dladm set-linkprop -p mtu=9000 igb0
> ifconfig igb0 plumb up
> ifconfig igb0
igb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 3
        inet netmask ffffff00 broadcast
        ether 0:1b:21:7d:38:a8

Success! Now to do the rest of the nics.

> dladm set-linkprop -p mtu=9000 igb1
> dladm set-linkprop -p mtu=9000 igb2
> dladm set-linkprop -p mtu=9000 igb3
> ifconfig igb1 plumb up
> ifconfig igb2 plumb up
> ifconfig igb3 plumb up
> echo > /etc/hostname.igb0
> echo > /etc/hostname.igb1
> echo > /etc/hostname.igb2
> echo > /etc/hostname.igb3

Benchmarking the file system via DD shows pretty much the same numbers as NexentaStor.

Conclusion. Napp-It on OpenIndiana is still very much early beta software. The UI is littered with TODO’s. Lots of links either do not work or simply provide an in-browser editor to a config file. Configuring the network is extremely time consuming and painful. So far NexentaStor is the clear winner here.

Leave a Reply