Solved

Cluster API

Posted on 2003-12-11
2
545 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
ID: 9948329
Try prepending "\\" to the virtual cluster node name before the call to OpenCluster. Does that work??

Madz
0
 
LVL 1

Author Comment

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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tape Management 8 86
Is COM supported from Apache 1 54
error creating a new schedule for a TSM Script. 3 60
reclamation process error on TSM 6 67
By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
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…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

777 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