Sponsored Content
Operating Systems AIX How to monitor websphere services down? Post 302528153 by sboots on Monday 6th of June 2011 02:01:03 PM
Old 06-06-2011
Code:
#!/usr/bin/ksh
CHECK=`ps -ef | grep -v grep | grep websphere | wc -l`
if [ $CHECK = 0 ]
then
echo "Websphere is down" | mailx -s "websphere is down" user@domain.com
fi

 

8 More Discussions You Might Find Interesting

1. HP-UX

MC Serviceguard and WebSphere ND 6.1

I am a Lawson Software consultant assisting a client with a Lawson upgrade. One of our components is WebSphere Application Server ND 6.1. Our client is using MC Serviceguard for failover. When testing failover, my Websphere instance is trying to start, but generating this error, referencing the old... (4 Replies)
Discussion started by: mrvitas
4 Replies

2. Linux

Websphere

Hi, first, thanks for let me participate in this great forum, iŽam new here, IŽam begin in websphere, you know where i can download manual of websphere ? level of administration no Developer. I need know how to deploy a war, start a war, stop war, the basic..! thank you and regards..! (2 Replies)
Discussion started by: jtorres
2 Replies

3. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

4. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

5. Red Hat

Websphere problem...

Hi all, i have some problem with was. if i start i obtain this output... ./startServer.sh server1 -username wasadmin -password wasadmin ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/startServer.log ADMU0128I:... (1 Reply)
Discussion started by: Zio Bill
1 Replies

6. Shell Programming and Scripting

Monitor the services by script

I developed for monitoring the network connections among the branch servers as I given below as script.But I don't know how to monitor the services through network script whether the services is running or not. eg : I want to check the postgres service for all the branch servers through network... (0 Replies)
Discussion started by: kannansoft1985
0 Replies

7. Shell Programming and Scripting

Monitor some of network services

Hi I want to write a script for netflow service because my service doesnt send any packet to netflow walker (server). Although the service is started but it does not send any packet to server until i restart the service I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies

8. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies
clusvcmgrd(8)						       Red Hat Cluster Suite						     clusvcmgrd(8)

NAME
rgmanager - Resource Group (Cluster Service) Manager Daemon DESCRIPTION
rgmanager handles management of user-defined cluster services (also known as resource groups). This includes handling of user requests including service start, service disable, service relocate, and service restart. The service manager daemon also handles restarting and relocating services in the event of failures. HOW IT WORKS
The service manager is spawned by an init script after the cluster infrastructure has been started and only functions when the cluster is quorate and locks are working. During initialization, the service manager runs scripts which ensure that all services are clear to be started. After that, it determines which services need to be started and starts them. When an event is received, members which are no longer online have their services taken away from them. The event should only occur in the case that the member has been fenced whenever fencing is available. When a cluster member determines that it is no longer in the cluster quorum, the service manager stops all services and waits for a new quorum to form. COMMAND LINE OPTIONS
-f Run in the foreground (do not fork). -d Enable debug-level logging. -w Disable internal process monitoring (for debugging). -N Do not perform stop-before-start. Combined with the -Z flag to clusvcadm, this can be used to allow rgmanager to be upgraded with- out stopping a given user service or set of services. SEE ALSO
clusvcadm(8) Jan 2005 clusvcmgrd(8)
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy