Monday, July 16, 2012

ZFS Web Administration

If you are using ZFS in your Solaris install maybe it is helpful sometimes to have a gui. There you can check for snapshots, arrays, ldom's using a different file system, or maybe you want to erase snapshots or modify the ACL, and more...

Something Cool about this is that you don't have to install anything in order to use it, just execute a couple of commands.

The web gui is listening just locally 127.0.0.1 in Port 6789, in order to access remotely you have to do this:

svccfg -s svc:/system/webconsole setprop options/tcp_listen=true

then:

smcwebserver restart

Check it with netstat


# netstat -an | grep 6789

       *.6789               *.*                0      0 49152      0 LISTEN

There you go!

Now you can access from your web client!!