Powered By Blogger

Wednesday, March 25, 2009

Controlling Weblogic Admin Server with Solaris SMF

--> Create Admin.xml under /var/svc/manifest/application/management :
--> in /etc/security/auth_attr, add (as root):
solaris.smf.manage.Admin/weblogic:::Admin Management::
--> and then run the usermod command (as root):
usermod -A solaris.smf.manage.Admin/weblogic weblogic
--> Run following to validate :
svccfg validate Admin.xml
--> Run following to import :
svccfg import Admin.xml
--> Checking status :
svcs -agrep weblogic
--> Enable it :
svcadm enable Admin/weblogic:default
--> Disable it
svcadm disable Admin/weblogic:default

No comments:

Post a Comment

Welcome to the UNIX world