Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Cluster service calls the Open entry point function (through a Resource Monitor) to create a new instance of a resource type. Your resource DLL should initialize an actual instance of the physical or logical entity to be supported as the resource and associate it with a set of instance data. Open can also lay groundwork for the Online entry point.
To implement Open
- Optional: Enforce limits on the number of concurrent instances allowed. It is recommended that you use a synchronization object such as a semaphore to synchronize instance counts.
- Required: Generate and save the required instance data for the new instance. See Implementing Instance Management.
- Required: Create or initialize an actual instance of the physical or logical entity to be supported as a resource. Make sure it is in an offline state.
- Optional: Perform configuration tasks such as establishing registry and crypto key checkpoints. See Checkpointing.
- Recommended: For optimal performance, return a value within 300 milliseconds.
Example