Speeding up web interface in NexentaStor

The default install of NexentaStor's web interface is incredibly slow. I'm not sure why, but they limit it to a single thread, which doesn't work out that well when you have images and things like that that need to be loaded.

The way to up the number of threads is to edit the /var/lib/nza/prod.cfg from a shell. First start up Putty and ssh to the nexenta IP, and log in with the root password. If you have not already set up expert mode

option expert_mode=1 -s

Now we need to get into a shell.

$ !bash
Warning: using low-level UNIX commands is not recommended! Execute? Yes
root@Nexenta:/volumes#

Now lets edit the file

# vi /var/lib/nza/prod.cfg

Find the line that says

server.thread_pool = 0

and change it to something higher (the nexenta docs recommend setting it no higher then 10

server.thread_pool = 10

Now we need to restart the NMS service for things to take effect

svcadm restart nms

This tends to knock me off the ssh session, and I have to go and reconfigure the network interface from a terminal.

How to break into bash shell in NexentaStor

nmc$ option expert_mode=1 -s
nmc$ !bash
#

BlogCFC was created by Raymond Camden.