Finding the currently active node name.
 
*
Welcome, Guest. Please login or register. November 20, 2008, 08:26:22 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Finding the currently active node name.  (Read 961 times)
0 Members and 1 Guest are viewing this topic.
gz3xzf
Jr. Member
**
Posts: 11


« Reply #1 on: April 24, 2008, 03:14:40 PM »

It's OK, I've found it, I knew it was there somewhere: -

clfindres
-----------------------------------------------------------------------------
Group Name     Group State                  Node
-----------------------------------------------------------------------------
my_rg       ONLINE                       fred1
               OFFLINE                      fred2
Logged
gz3xzf
Jr. Member
**
Posts: 11


« on: April 23, 2008, 05:45:24 PM »

I need to have a script running on a regular basis that is doing some housekeeping between the nodes in a cluster. The script should only be active on the standby node (i.e. simple two node cluster with IPAT). So I am looking for a command which will return the currently active node.

I know I can get this information from a clstat, but I wondered if there was a simple cluster utility that would return the information without the need to awk, grep and sed it out of a clstat display.

(I have done various searches on the web and this forum and come up with nothing....yet! Huh)

Thanks in anticipation  Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.538 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET