- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: EMS and toggle_switch
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 08:07 AM
08-05-2002 08:07 AM
EMS and toggle_switch
in connection with EMS (Event Monitoring Service )
EMS can invoked by toggle_switch restart option
and can be stopped by
toggle_switch stop option
I would like to know which is the process which gets killed when we use
/etc/opt/resmon/lbin/toggle_switch stop
Or
Which are the processes it starts when we execute this
/etc/opt/resmon/lbin/toggle_switch restart
Thanks
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 08:20 AM
08-05-2002 08:20 AM
Re: EMS and toggle_switch
/etc/opt/resmon/lbin/toggle_switch restart affects the following:
/etc/opt/resmon/lbin/start mon_client
/etc/opt/resmon/lbin/registrar
/etc/opt/resmon/lbin/startmon_client
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 08:37 AM
08-05-2002 08:37 AM
Re: EMS and toggle_switch
# strings toggle_switch | more
and look closely the first 50 or so lines, you'll see that "toggle_switch" actually calls "cstm" and passing these parameters to it ( from file /var/stm/data/tools/monitor/stop_psm and start_psm )
The "stop_psm" file has this ..
DaemonShutdown daemon -all,"psmctd" OK
and "start_pasm" file has this ..
DaemonStartup daemon -all,"psmctd" OK
In cstm ...
cstm > daemonstartup
(To shutdown ...
1) cclogd
2) diaglogd
3) memlogd
..so that's tell me running "toggle_switch" actually restart all 1,2 and 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 08:51 PM
08-05-2002 08:51 PM
Re: EMS and toggle_switch
I would like to know
how do i know whether the EMS is in enabled state or
EMS is in disabled state ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 09:16 PM
08-05-2002 09:16 PM
Re: EMS and toggle_switch
# cd /etc/opt/resmon/lbin
# ./monconfig
==> You would see "EVENT MONITORING IS CURRENTLY ENABLED" if EMS is enabled. This is followed by a list of options in the "Monitoring Request Manager Menu".
Also (to really confirm ..)
# ps -ef|grep resmon
==> You should see 2 processes running is EMS is enabled.. They are ..
a) emsagent
b) p_client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 09:18 PM
08-05-2002 09:18 PM
Re: EMS and toggle_switch
To answer your last question, execute :
/etc/opt/resmon/lbin/monconfig
Hope it helps,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 09:26 PM
08-05-2002 09:26 PM
Re: EMS and toggle_switch
Running ./monconfig gives me the current status. Fine.
But
Even in disabled EMS state
emsagent
p_client
are still running.
Don't they get killed in disabled state ?
How do i know by the processes whether it is in enabled or disabled state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 09:30 PM
08-05-2002 09:30 PM
Re: EMS and toggle_switch
Running ./monconfig gives me the current status. Fine.
But
Even in disabled EMS state
emsagent
p_client
are still running.
Don't they get killed in disabled state ?
How do i know by the processes whether it is in enabled or disabled state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 10:29 PM
08-05-2002 10:29 PM
Re: EMS and toggle_switch
# init q
to re-read /etc/inittab. Now run monconfig and disable (the "K" option). I bet emsagent and p_client will not be restarted.