12.02.2005

determine if cluster group is running on current node

How to determine if a particular cluster group is running on the current node:
 
mygroup=name of cluster group
 
cluster group mygroup /status | findstr /i "%computername%"
if %errorlevel%==0 echo Yes group is running on this node
 

No comments: