|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| 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. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
That one can be simplified (although case dependant) to: Code:
svcs "*{service name}*"
eg:
svcs "*ftp*" |
|
#4
|
|||
|
|||
|
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
|
|||
|
|||
|
Quote:
What do you mean by continuous monitoring and check service hourly? cannot tally... ![]() |
|
#6
|
|||
|
|||
|
yes, its periodic monitoring like hourly
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |