Another consideration when setting resources persistent state and its online status is the resources that are dependent on that resource. If another resource that is persistent state is set to start that resource, it attempts to start all resources it is dependent on. This can inadvertently start resources.
For Example: You may set IP Address resources persistent state, so that it does not start. However, a Network Name resource that dependent on it and is trying to go online, may start the IP Address resource.
To change the startup value from the default of bringing a resource online automatically to having it stay in an offline state, use the following steps:
- Start Registry Editor (Regedt32).
- Locate the appropriate resource or group:
- For a resource, locate the following registry key:HKEY_LOCAL_MACHINE\Cluster\Resources\<GUID>
- For a group, locate the following registry key:HKEY_LOCAL_MACHINE\Cluster\Groups\<GUID>
- For a resource, locate the following registry key:
- Modify the registry key to the appropriate startup state:Value Name: PersistentStateIn Windows Server 2003 a new value has been added of 0xffffffff (-1), which tells the Cluster service that the resource persistent state is to be interpreted based on the group's persistent state.
Data Type: REG_DWORD
Data: 0x0 (Disabled) or 0x1 (Enabled)
If the Cluster Server service is stopped and you want to prevent a group or resource from coming online, you can load the cluster registry hive and alter the "persistent state" before starting the Cluster Server service.
To load the cluster registry hive:
- Start Registry Editor (Regedt32.exe).
- Open the HKEY_LOCAL_MACHINE hive.
- Click the root (so that HKEY_LOCAL_MACHINE is selected).
- On the Registry menu, click Load Hive.
- Browse to the %SystemRoot%\Cluster folder, and then click CLUSDB. When you are prompted for a key name, type cluster.
- After you make the appropriate changes, click Cluster and then click Unload Hive on the Registry menu. This saves the changes you made to the hive.
Artikelnummer: 259243 – Letzte Überarbeitung: 07.01.2008 – Revision: 1