Monitoring services in zones with Solaris container Manager


 
Thread Tools Search this Thread
Operating Systems Solaris Monitoring services in zones with Solaris container Manager
# 1  
Old 02-03-2010
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.
# 2  
Old 02-03-2010
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
Quote:
Originally Posted by narbu
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
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
Quote:
Originally Posted by ibroxy
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... Smilie
# 6  
Old 02-04-2010
yes, its periodic monitoring like hourly
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Lot of services in non-global zones, in uninitialized after reboot

Hello, This is Solaris-10 server, running with 4 non-global zones. This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in... (3 Replies)
Discussion started by: solaris_1977
3 Replies

2. Solaris

Differences of Solaris zone and Solaris Container

Hi everyone! I am in dire need to know what are the differences between a solaris zone and a solaris container.. Explanations over the net are very confusing. Please help. Thanks! (8 Replies)
Discussion started by: arah
8 Replies

3. Solaris

solaris zones vs container..

kindly share what are difference b/w solaris zones and containers.... (8 Replies)
Discussion started by: Rajesh_Apple
8 Replies

4. Solaris

Solaris container date diference

Hi people, I dont have a real problem, its also a so strange issue. When i connect to my system from a ssh session or telnet normaly from putty and execute the command "date" its show me the correctly time in BRT format for root and all other users. But when i connect from the global... (3 Replies)
Discussion started by: anonymouzz
3 Replies

5. Solaris

Memory usage in a Solaris Container

Hi All, We have a server with Solaris 10 installed. The total memory of the server is 64GB. In order to check the memory info of the server I use "top" utility that gives me total and free memory in real-time. I have also installed a Sun container (non-global zone) on top of parent operating... (4 Replies)
Discussion started by: Slayer
4 Replies

6. Solaris

Solaris 10 container graceful shutdown?

Hi, I've got a UPS connected to my Solaris 10 machine and I'm planning to run containers/zones on there. At the moment if the UPS agent sends the signal to the solaris machine to shutdown, all the apps shutdown gracefully and then the host goes down. If I setup containers for the apps, does... (9 Replies)
Discussion started by: fastexit
9 Replies

7. Solaris

Solaris 6 container support

Is solaris 6 container support available ? Say, If I have a machine with Solaris 10 operating system.. Can i install Solaris 6 container on this machine, so that the machine will have Solaris 6 virtual environment... Does sun support Solaris 6 container ? Any ideas over this ? (1 Reply)
Discussion started by: shafi2all
1 Replies

8. Solaris

Solaris 8 Container Error

Log File: /var/tmp/server1.install.18730.log Source: /vmpool/tmp/server1.flar Installing: This may take several minutes... Postprocessing: This may take several minutes... Postprocess: ERROR: p2v module S40_setup_preload failed: 0 Postprocess: ERROR: Postprocessing failed. ... (0 Replies)
Discussion started by: cornsnap
0 Replies

9. Solaris

Cant priocntl within solaris 10 non global container

Hello ! Can anybody help me with the following: my sparc server ( solaris 10 06/07) has 1 global and 4 non-global zones running we are using one of the non-global-zones for a jboss application server we want to levitate the JBOSS process within the non_global_zone with: < priocntl -s -c FX -p... (1 Reply)
Discussion started by: moofoo
1 Replies
Login or Register to Ask a Question