You know, sometimes a GUI is nice to have around. I'm not "really" a "GUI Fanboy" when it comes to system management and administration, but there are those times when it's just easier to see things, presented in way that's easy to access and not have to run a handful of commands and scroll through a ton of output, etc.
A lot of you are probably already aware of the SMCwebserver http interface and are still trying to remove the bad taste from your mouths, from the Oct 08 release of Sol 10 that totally fraked the whole thing up. I am happy to report that, thus far, it seems it's working again, in the May 09 release (5/09 s10s_u7wos_08 release). Now lets see if a subsequent cluster patch breaks it again, rofl.
I digress...
So, for those who are un-aware of how to enable the service to accept connections, remotely, here's a quick and dirty:
/usr/sbin/svccfg -s svc:/system/webconsole setprop options/tcp_listen = true
/usr/sbin/svcadm refresh svc:/system/webconsole
/usr/sbin/smcwebserver stop
/usr/sbin/smcwebserver start
/usr/sbin/svcadm enable svc:/system/webconsole
That should do it. Now make sure your port (6789) is listening to "All" (*):
/usr/bin/netstat -an|grep 6789
*.6789 *.* 0 0 49152 0 LISTEN
Now open your web browser on your desktop machine (laptop, whatever) and go to the server:6789
(http://your.server.address:6789)
Go through all of the security exception notifications and log in with the account with proper credentials (like root, for example, though I suggest you set up another account, instead).
Have fun with it and here's the smcwebserver manpage: http://docs.sun.com/app/docs/doc/816-5166/smcwebserver-1m?a=view
-W
1 comment:
thanks a lot!
Post a Comment