- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sapms.mon not starting
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
02-20-2013 11:51 AM
02-20-2013 11:51 AM
sapms.mon not starting
Hi All,
We have configured SGeSAP and want to monitor SAP message server via the sapms.mon. We have made the following entries in file:
In package configuration file ascsC11.config:
SERVICE_NAME ascsC11ms
SERVICE_FAIL_FAST_ENABLED YES
SERVICE_HALT_TIMEOUT 5
In the control script ascsC11.control.script:
SERVICE_NAME[0]="ascsC11ms"
SERVICE_CMD[0]="/etc/cmcluster/C11/sapms.mon"
SERVICE_RESTART[0]=""
These are the two entries mentioned in the SGeSAP manual. But the issue we are facing is that the monitor is not starting. Everything else is working fine; cluster, package, SAN filesystems, SAP, all are running fine. Just the monitor script is not starting. What could be the issue? Are we forgetting any entry??
1. Why is the monitor not starting?
2. What name would be process name for the monitor?
Please help!
Regards,
Taurian.
- Tags:
- SAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 10:28 PM
02-20-2013 10:28 PM
Re: sapms.mon not starting
Hi All,
No replies?
Please help guyz. Is there a step we are missing?
We are using
- HP-UX 11.31
- Serviceguard version A.11.20.00.01
- SGeSAP B.05.10
Let me know if you need anymore details.
Regard,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 10:33 PM
02-20-2013 10:33 PM
Re: sapms.mon not starting
And we are using Legacy approach for package configuration.
Please help!
Regards,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 01:22 AM
02-21-2013 01:22 AM
Re: sapms.mon not starting
1.)
After making any changes to the package configuration file, you must use the cmapplyconf command:
cmapplyconf -v -P ascsC11.config
If this is not done, the configuration change will not be effective. If the package configuration file does not list any services for the package, the part of the control script that starts the services will never be called.
The real Serviceguard configuration file is a binary file: the text .config files can be thought of as "application forms to request a configuration change". You can edit the .config file as much as you want, but it won't change anything until you run cmapplyconf.
When you run cmapplyconf, Serviceguard will automatically make the configuration change on all cluster nodes in a synchronized fashion.
2.)
The process name should be either "/etc/cmcluster/C11/sapms.mon", or just "sapms.mon".
The SERVICE_NAME will be used in a "cmviewcl -v" listing, monitoring tools like Serviceguard Monitor and in Serviceguard SNMP status information.
- Tags:
- cmapplyconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 01:36 AM
02-21-2013 01:36 AM
Re: sapms.mon not starting
Hi Matti,
Thanks for your reply.
We have applied the configuration after every change. There are no messages relating to monitors in package log file.
The cmviewcl -v output shows:
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service unknown Unlimited 0 ascsC11ms
The status of the monitor is unknown. And when we kill the message service, the package continues to run, whereas it configured to fail. This means the monitor is not running or it is not working.
Regards,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 02:21 AM
02-21-2013 02:21 AM
Re: sapms.mon not starting
Is the script /etc/cmcluster/C11/sapms.mon marked as executable?
("chmod a+rx /etc/cmcluster/C11/sapms.mon")
What happens if you run the script manually, as root, like this:
# cd / # /etc/cmcluster/C11/sapms.mon
If the script is suitable for use as a Serviceguard service, it should start successfully and keep running until you interrupt it (e.g. by pressing Control-C). If it displays any error messages, find the causes of the errors and fix them.
Have you checked the package log for error messages related to this service?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 02:47 AM
02-21-2013 02:47 AM
Re: sapms.mon not starting
Hi Matti,
Thanks for your reply.
Yes, the sapms.mon has execute permissions:
-r-xr-xr-x 1 root sys 27227 Feb 20 20:44 sapms.mon
There are no messages displayed in the package log file. That is one of our issues. If it would shows any errors, then we can troubleshoot them. But there is no acknowledgement of sapms.mon in the package log file.
Regards,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2013 10:27 PM
02-21-2013 10:27 PM
Re: sapms.mon not starting
Anyone??
Regards,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 02:05 AM
02-22-2013 02:05 AM
Re: sapms.mon not starting
Did you try to run the sapms.mon manually, as I described in my previous post?
Please try it and see what happens. Does it produce any error messages? Does it die immediately? Does it keep running until you interrupt it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 02:58 AM
02-22-2013 02:58 AM
Re: sapms.mon not starting
Hi Matti,
Thanks for your support.
I tried entering ". /etc/cmcluster/C11/sapms.mon" in the customer_run_cmds. This ran the monitor and messages started showing up in pkg log file. But I am not sure if this is the correct way to run the monitor.
Now I am faced with a new problem. The package status stays "starting" for ever.
Please guide me to the correct way to run the monitor. Thanks.
Regards,
Taurian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 11:38 PM
02-22-2013 11:38 PM
Re: sapms.mon not starting
Hi All,
No body knows what's wrong with my scenario?
One very important question! Are the monitors that came with SGeSAP B.05.10 even supported for lecagy packages? Because I tried them for modular packages and they were running fine. Why are they not running for legacy packages?
Regards,
Taurian.