Category Archives: nexenta

View network interface traffic on Nexenta

There is not a lot of information out there about viewing the network interface throughput in real-time via CLI on Nexenta out there on the internet, so I hope this helps someone.

I discovered you can view the throughput in real-time by using a flow control monitor, and flowadm.

First, enter expert mode:
option expert_mode=1
!bash
Hit (y) to confirm,

flowadm add-flow -l NETWORK_INTERFACE -a transport=tcp flow1
flowadm show-flow -S

Example:

flowadm add-flow -l igb0 -a transport=tcp flow1
flowadm show-flow -S

This will give you a nice real-time status of your network throughput.

flowadm show-flow -S
flowadm show-flow -S

To remove the flow monitor, simply type in:

flowadm remove-flow -l network_interface
EX:  flowadm remove-flow -l igb0

Please be aware that there is some overhead involved in using flowadm for this purpose, as demonstrated by @kdavyd:

 

Dealing with Nexenta HA Plugin Issues

Earlier today I was testing out the Nexenta HA Plugin. I created an additional volume on my Nexenta cluster, and then went to the plugin volume page, which showed me the error:

Cannot get cluster/volume info: Cannot introspect object com.nexenta.nms(/Root/NetworkStorageService): org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.”

So I tried to re-initialize the cluster, which resulted in the error:

“Configuration save returned an error: no introspection data available for method ‘create’ in object ‘/Root/RsfCluster’, and object is not cast to any interface”

The fix for this was to restart the services on both of my head nodes.

Run the command: svcadm -v disable nm{s,v,cd} nbs nmdtrace dbus rmvolmgr

Then run: svcs nm{s,v,cd} nbs nmdtrace dbus rmvolmgr until all services show as disabled.

Then run: svcadm -v enable nm{s,v,cd} nbs nmdtrace dbus rmvolmgr

Then run: svcs nm{s,v,cd} nbs nmdtrace dbus rmvolmgr until all services show as online.

Make sure you do this on both head nodes.

You should be able to re-use your HA plugin and set everything up!

Hope this helps someone.