Background Reading: Creating a Cluster Administrator Extension DLL
Creating a Cluster Administrator extension DLL involves implementing some of the methods from the Cluster Administrator Extension API and make calls to others. Whereas the Resource API is made up of standard functions, the Cluster Administrator Extension API is a COM-based API consisting of interfaces. Therefore, before concentrating on tasks specific to Cluster Administrator extensions, it is wise to become familiar with the COM programming model. For information on COM, see the "COM and ActiveX Object Services" section in the Microsoft Platform SDK.
Also, if you use the Resource Type AppWizard to begin development, you will notice that the code it produces uses the Microsoft Foundation Classes (MFC) and C++ language. If you are not an experienced MFC user, it is recommended that you take some time to read the documentation included with Microsoft Visual C++® development system.
To create a Cluster Administrator extension DLL
-
See Using the Resource Type AppWizard to learn how to create a skeletal version of a Cluster Administrator extension DLL.
-
See Common Resource Properties to determine how to use the information that is relevant to all cluster resources.
-
If the resource type to be administered by your extension is based on an existing resource type, the discussion of the private properties for the Cluster Server resource types in Private Resource Properties should prove helpful.
-
Use the Cluster Administrator Extension API to learn how to further supplement your Cluster Administrator extension DLL. The descriptions in the API reference will help you determine which of the interfaces you will need to implement and why and how you should implement them. It also describes when and how to make calls to Cluster Administrator.
-
Use the Cluster Structures reference to learn how to store various properties and other information that you might want to expose in your Cluster Administrator extension property sheet.
-
Refer to the relevant portions of the Cluster API for making calls to the Cluster Service:
Cluster Management Functions discusses functions for accessing the cluster as a whole.
Node Management Functions discusses functions for accessing cluster nodes.
Group Management Functions discusses functions for accessing cluster groups.
Resource Management Functions discusses functions for accessing resources.
Cluster Database Management Functions discusses functions for accessing the cluster database.
-
When you are ready to test, refer to Registering a Cluster Administrator Extension DLL to help with registration and Debugging a Cluster Administrator Extension DLL to help with debugging.