HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- commands to detemine if Cluster is running on this...
Windows Server 2003
1829270
Members
12495
Online
109988
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
03-19-2009 11:04 AM
03-19-2009 11:04 AM
commands to detemine if Cluster is running on this server?
I am not too good at batch commands, but I need to script the following:
1. to find out if MS Cluster is running on this server, I guess, by using command to see if Resources are available.
2. what is the command to determine if the command above is successful or not? which means if Resources are on or not
3. then continue to next, based on if Cluster is running or not..
Thanks in advance!
1. to find out if MS Cluster is running on this server, I guess, by using command to see if Resources are available.
2. what is the command to determine if the command above is successful or not? which means if Resources are on or not
3. then continue to next, based on if Cluster is running or not..
Thanks in advance!
none
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 06:20 AM
03-20-2009 06:20 AM
Re: commands to detemine if Cluster is running on this server?
hi,
one possibility is to use %systemroot%\system32\cluster.exe that provides info about cluster and its resources.
unfortuantelly, it doesn't provide outptut that could be easily automated using limited cmd shell scripting features.
other possibility is to write e.g. vbs script, read out necessary cluster info from "MSCluster.Cluster" object and perform requested checks.
emha.
one possibility is to use %systemroot%\system32\cluster.exe that provides info about cluster and its resources.
unfortuantelly, it doesn't provide outptut that could be easily automated using limited cmd shell scripting features.
other possibility is to write e.g. vbs script, read out necessary cluster info from "MSCluster.Cluster" object and perform requested checks.
emha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 07:16 AM
03-20-2009 07:16 AM
Re: commands to detemine if Cluster is running on this server?
I think "cluster resource /status" will tell me what node owns resources, and then based on this result, I will script next steps the logic should do.
But what is the command to extract the node name from the result? because there are a few lines and fields coming out as the result of this command.
Thanks,
But what is the command to extract the node name from the result? because there are a few lines and fields coming out as the result of this command.
Thanks,
none
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP