Saturday, August 15, 2009

ZFS Management Console WEBMIN

ZFS Web-Based Management

A web-based ZFS management tool is available to perform many administrative actions. With this tool, you can perform the following tasks:

* Create a new storage pool.
* Add capacity to an existing pool.
* Move (export) a storage pool to another system.
* Import a previously exported storage pool to make it available on another system.
* View information about storage pools.
* Create a file system.
* Create a volume.
* Take a snapshot of a file system or a volume.
* Roll back a file system to a previous snapshot.

==============================================
Note: this is what I found regarding Webmin on opensolaris:

1. Install the Sun Webmin package by running - pkg install SUNWwebmin
2. Go to /usr/sfw/lib/webmin and run ./setup.sh
3. Edited /etc/webmin/miniserv.users and added my primary user as follows:
admin:x:101
-This allows you to login to the server
4. Change password for webmin account admin
(At running setup I was not asked to provide a userID/password, so login failed)
To set/change/update password for the user created in step 3:

#cd /usr/sfw/lib/webmin
# ./changepass.pl admin
usage: changepass.pl

This program allows you to change the password of a user in the Webmin
password file. For example, to change the password of the admin user
to foo, you would run:
changepass.pl /etc/webmin admin foo
This assumes that /etc/webmin is the Webmin configuration directory.

5. Edited /etc/webmin/webmin.acl using a copy of the existing entry for root and added a new line and changed root to admin to give access to all the modules
6. Restart webmin using svcadm restart webmin
7. You can now access the WebMin interface at http://:10000/