- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Inform nodes on shutdown
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
Discussions
Discussions
Forums
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
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
тАО03-01-2007 08:25 AM
тАО03-01-2007 08:25 AM
The reason I want this is that I have multiple nodes in a cluster. Some of these are hard partitions and I do not have a console manager connected to them with an active output all of the time. If someone shuts down one of my systems I want that message displayed on ALL nodes in the cluster at least captured on the console.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 08:57 AM
тАО03-01-2007 08:57 AM
SolutionI understand you don't want to modify SHUTDOWN.COM. Why not include something in SYSHUTDWN.COM to maybe send SYSTEM an email? Not foolproof (won't work if system crashes or if the person shutting down the system chooses not to invoke the site specific shutdown procedure). And in case you forward SYSTEM VMS mail to Exchange, you might put a little bit of a delay in the SYSHUTDWN to allow your message to get out.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 09:02 AM
тАО03-01-2007 09:02 AM
Re: Inform nodes on shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 09:24 AM
тАО03-01-2007 09:24 AM
Re: Inform nodes on shutdown
In earlier times, I've used DECnet task-to-task for this same purpose, as well, and waited around for the NETSHUT event to arrive. You have to be slightly careful to distinguish if this is a network shutdown or a cluster node shutdown, but you'll certainly get notified.
Others have pointed to SYSHUTDWN.COM and that will work fine, though that approach won't capture crashes, OPCCRASH or other such exits.
The other approach is to monitor the cluster connection manager messages, though that would be comparatively ugly.
And the brute-force approach is to use the lock manager, and roll your own cluster monitor. At its simplest, that's a couple of days of code and debug work, and probably less.
Stephen Hoffman
HoffmanLabs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 10:00 AM
тАО03-01-2007 10:00 AM
Re: Inform nodes on shutdown
I think you just want to see,which node is going to shut or out of cluster from a cluster node because you have only one console for monitoring all cluster nodes.
If i am right then you can give a command on system prompt
$>>show cluster/continue
Through this command you can see in the output of all nodes of a cluster like this
SYSTEM_LILAC>>sho cluster/continue
View of Cluster from system ID 10261 node: LILAC 2-MAR-2007 04:16:50
***********************************
* SYSTEMS * MEMBERS *
***********************************
* NODE * SOFTWARE * STATUS *
***********************************
* LILAC * VMS V7.3-2 * MEMBER *
* LOTUS * VMS V7.3-2 * MEMBER *
* TULIP * VMS V7.3-2 * MEMBER *
* JASMIN * VMS V7.3-2 * MEMBER *
* ORCHID * VMS V7.3-2 * MEMBER *
***********************************
and after given command to shut for any node then that node removed from this list. This output is refreshed after seconds and you can screen refresh rate by given command after press
Command>SET INTERVAL = seconds
command>exit
Thanks,
Atul Sardana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 10:10 AM
тАО03-01-2007 10:10 AM
Re: Inform nodes on shutdown
In any cluster node you can also connect only one dump terminal through serial console for montoring and gives a simple command for all ....
$>>Monitor Cluster
and you can see output of all cluster nodes
CPU busy and Memory utilization also.
Thanks,
Atul sardana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 11:22 AM
тАО03-01-2007 11:22 AM
Re: Inform nodes on shutdown
What I wanted was the consoles - which are always monitored and logged in as system - get an alert on the nodes that aren't going down. I don't want a show cluster/continous on those consoles because it keeps that data logged.
I can't do the mail send thing unless I put in a delay because the queue manager usually kills the information before it can send it out.
I guess I will setup syshutdown to do a reply/user=system type message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 03:54 PM
тАО03-01-2007 03:54 PM
Re: Inform nodes on shutdown
For any program that paints a page like SHOW CLUSTER/CONTINUOUS, you can use PIPE to send the output stream into code to monitor the output for changes, and do whatever you like when one is detected.
I've attached a simple example monitoring SHOW CLUSTER/CONTINUOUS. When a node goes down, the status will change.
You could run this in batch, or on the console (maybe even as a subprocess). All the output of the same lines that would have been logged are simply swallowed by the monitoring thread. This could be run in batch, possibly on multiple nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 05:50 PM
тАО03-01-2007 05:50 PM
Re: Inform nodes on shutdown
Thanks for the program, it is fun.
A little dcl loop using f$csid should also give me the info that a node is no longer in the Cluster ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2007 10:17 AM
тАО03-04-2007 10:17 AM
Re: Inform nodes on shutdown
>A little dcl loop using f$csid should also
>give me the info that a node is no longer
>in the Cluster ?
True, and it would be cheaper because it would avoid the pipeline processing. On the other hand, the logic is a bit more complex as you potentially have to look for something missing from an F$CSID loop. In this case we can exploit the logic in SHOW CLUSTER. Note that the code I posted is self configuring - it will work, as is, on any cluster - no need to code node names or any other site specific details.
The technique used in my example is very general. It can be used to monitor the output of virtually any process, looking for changes in an updated display. I've used it in places where I want to avoid large volumes of log files repeating the same output, and where I want to get immediate notification of an event which can be seen in a monitor program, but not easily available from elsewhere (in my case it's RTR link state changes). All that is required is the logic to parse the display.