Solved

Cluster API

Posted on 2003-12-11
2
543 Views
Last Modified: 2013-12-04
I have a Microsoft Cluster setup on two Windows 2000 servers. The Cluster presents a virtual server and file share to the client machines. From the client machines I am trying to get information about the health of the cluster.

I am trying to use the OpenCluster API call, however, I keep getting a NULL window handle returned. Calling GetLastError returns 1722

1722 The RPC server is unavailable.  RPC_S_SERVER_UNAVAILABLE

The only successful return value up to now is if I call the OpenCluster from one of the Cluster Servers passing a NULL parameter. This apparently returns a LPC rather than an RPC

Any ideas how I can get this to work?

0
Comment
Question by:philsmicronet
2 Comments
 
LVL 3

Accepted Solution

by:
Madz earned 125 total points
Comment Utility
Try prepending "\\" to the virtual cluster node name before the call to OpenCluster. Does that work??

Madz
0
 
LVL 1

Author Comment

by:philsmicronet
Comment Utility
I found the problem. It was in my conversion from LPSTR to LPWSTR. I didnt include the '\0' in the conversion.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now