Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2010
Registered User
 

Join Date: Aug 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Monitoring services in zones with Solaris container Manager

I need to know how to Manage Solaris services (SMF) in sparse zone with Solaris container manager.
I have navigated all the documentation and I have not found any clue.
I installed the Sun management center (SMC) server on a server box and the agents on others. I can manage the SMF of the global zone by drilling down via the console GUI. But having access to the container manager, I have to go via https connection. And drilling down on the zone did not reveal that SMF can be monitored.
Please if you have any idea, share it with me.
Sponsored Links
  #2  
Old 02-03-2010
Registered User
 

Join Date: Feb 2010
Location: Canada
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Sometimes the easy way is just ssh into the zone or do a zlogin from the global and run the svc commands.

svcs shows what is currently online
svcs -a shows all of your services
svcs -x what is in maint mode
svcs -xv does the above verbosely.


You can created a quick and dirty shell script as well.

svcs -a | grep -i {service name}

svcadm enable/disable/restart {service} to manage the services

Dump the GUI.. CLI my friend is the way to go.
  #3  
Old 02-03-2010
ɹǝsn sıɹɐlosuǝdo
 

Join Date: Dec 2007
Location: Paris
Posts: 2,312
Thanks: 0
Thanked 24 Times in 22 Posts
Quote:
Originally Posted by narbu View Post
svcs -a | grep -i {service name}
That one can be simplified (although case dependant) to:

Code:
svcs "*{service name}*"
eg:
svcs "*ftp*"

  #4  
Old 02-03-2010
Registered User
 

Join Date: Aug 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Hi All,
I am talking of continuos monitoring here. as i have to monitor sendmail service on local zones as well as the global zone. I was thinking of writing a script to check this service hourly but suppose the sendmail stops, I will not get a mail to alert me of about the problem that is why i am using SMC to do the monitoring and send me a mail for any service error.
I hope you understand my point?
  #5  
Old 02-03-2010
Registered User
 

Join Date: May 2008
Location: SINGAPORE.. The "FINE" City
Posts: 2,663
Thanks: 0
Thanked 6 Times in 6 Posts
Quote:
Originally Posted by ibroxy View Post
Hi All,
I am talking of continuos monitoring here. as i have to monitor sendmail service on local zones as well as the global zone. I was thinking of writing a script to check this service hourly but suppose the sendmail stops, I will not get a mail to alert me of about the problem that is why i am using SMC to do the monitoring and send me a mail for any service error.
I hope you understand my point?
Ya.. if you want hourly monitoring, thats the way to go..
What do you mean by continuous monitoring and check service hourly?
cannot tally...
  #6  
Old 02-04-2010
Registered User
 

Join Date: Aug 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
yes, its periodic monitoring like hourly
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 6 container support shafi2all Solaris 1 07-07-2009 08:54 AM
Solaris 8 Container Error cornsnap Solaris 0 02-23-2009 11:13 AM
Cant priocntl within solaris 10 non global container moofoo Solaris 1 05-19-2008 06:49 AM
MANAGER, COMPUTER SERVICES – INFORMATION TECHNOLOGY - Seattle Times Linux Bot UNIX and Linux RSS News 0 07-11-2007 06:40 AM
MANAGER, COMPUTER SERVICES – INFORMATION TECHNOLOGY - Seattle Post Intelligencer Linux Bot UNIX and Linux RSS News 0 07-11-2007 03:50 AM



All times are GMT -4. The time now is 08:00 AM.