HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cluster command questions
Operating System - HP-UX
1827807
Members
2265
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-07-2004 09:58 AM
10-07-2004 09:58 AM
cluster command questions
Hi,
I haven't used service guard in a while, I was wondering if there's a command that returns the floating hostname? I need to
determine if a system is a cluster in a script, for another reason, right now I'm doing:
FNAME=`ls -tr /etc/cmcluster/*/*.cntl | cut -d'/' -f5 | cut -d'.' -f1`
I'd like a more reliable way in case file naming conventions change. Any advice appreciated!
Thanks,
Steve
I haven't used service guard in a while, I was wondering if there's a command that returns the floating hostname? I need to
determine if a system is a cluster in a script, for another reason, right now I'm doing:
FNAME=`ls -tr /etc/cmcluster/*/*.cntl | cut -d'/' -f5 | cut -d'.' -f1`
I'd like a more reliable way in case file naming conventions change. Any advice appreciated!
Thanks,
Steve
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 10:15 AM
10-07-2004 10:15 AM
Re: cluster command questions
Hi Steve,
I rely on 'cmviewcl' command. For ex., 'cmviewcl -l package' will give the information about packages and their corresponding node information even if the cluster is down. You can also use 'cmgetconf' but it can take a long time.
-Sri
I rely on 'cmviewcl' command. For ex., 'cmviewcl -l package' will give the information about packages and their corresponding node information even if the cluster is down. You can also use 'cmgetconf' but it can take a long time.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 10:19 AM
10-07-2004 10:19 AM
Re: cluster command questions
I would build a filter around the cmviewcl command. For example cmviewcl -n mynode will return a non-zero exit status if mynode is not a cluster member. You can also use it to list packages. Man cmviewcl for details.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP