- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restart EMS?
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
04-07-2006 01:16 AM
04-07-2006 01:16 AM
How to restart EMS?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 01:18 AM
04-07-2006 01:18 AM
Re: How to restart EMS?
/sbin/init.d/diagnostic start
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 01:32 AM
04-07-2006 01:32 AM
Re: How to restart EMS?
/sbin/init.d/ems stop
/sbin/init.d/ems start
is that right?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 01:36 AM
04-07-2006 01:36 AM
Re: How to restart EMS?
To stop all EMS monitors while the system is running:
# /etc/opt/resmon/lbin/monconfig
(choose "k" from menu to stop EMS)
To start EMS monitors while the system is running:
(same but choose "e" to enable EMS)
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 02:06 AM
04-07-2006 02:06 AM
Re: How to restart EMS?
I tried to use "/etc/opt/resmon/lbin/monconfig"
But I noticed that the emsagent was still there after I use "K":
# ps -ef | grep ems
root 1382 1 0 Mar 12 ? 0:23 /etc/opt/resmon/lbin/emsagent
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 02:12 AM
04-07-2006 02:12 AM
Re: How to restart EMS?
/usr/sbin/stm/uut/bin/sys/diagmond
So, which daemon is for EMS?
/usr/sbin/stm/uut/bin/sys/diagmond? or /etc/opt/resmon/lbin/emsagent? or other?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 02:19 AM
04-07-2006 02:19 AM
Re: How to restart EMS?
# Should never occur: there is no K-link
echo "Stopping Event Monitoring Service"
;;"
The fact that there is no K-link would mean that it is not going to shut anything down. The fact that the ems entries exist in /etc/inittab with a respawn option also tell me that you may well not be able to shut them down with out going to run level 1 or 2.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 02:20 AM
04-07-2006 02:20 AM
Re: How to restart EMS?
The correct way to stop ems AND diagnostics is:
# /etc/opt/resmon/lbin/monconfig
use K to kill
# /sbin/init.d/diagnostic stop
Use "kill -9" to terminate any stray OnlineDiag process if there are any.
# /sbin/init.d/diagnostic start
# /etc/opt/resmon/lbin/monconfig
use E to enable
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2006 09:29 PM
04-09-2006 09:29 PM
Re: How to restart EMS?
To expand on the answers above:
The 'K'ill option to monconfig will stop the EMS Hardware Monitors (part of the OnlineDiags; disk_em, dm_corehw/ia64_corehw, etc.), and the 'E'nable option will restart them.
/sbin/init.d/diagnostic controls the OnlineDiags daemons (diaglogd, diagmond, memlogd, cclogd, etc., not all of which run on all hardware).
You can also stop and start the OnlineDiags daemons using STM.
You can restart the EMS agent (emsagent), which communicates with SNMP, by using 'stop' and 'start' with /sbin/init.d/emsa, but the man page recommends starting via the snmpd startup script ('man emsagent').
Andrew