How to register Resource Types for VERITAS Volume Manager for Windows 2000, 2003, 2008, VERITAS Volume Replicator for Windows 2000, 2003, 2008, and VERITAS Storage Foundation for Windows in a Microsoft Cluster environment

Article:TECH33400  |  Created: 2009-01-02  |  Updated: 2011-02-06  |  Article URL http://www.symantec.com/docs/TECH33400
Article Type
Technical Solution

Product(s)

Environment

Problem



Volume Manager Diskgroup resource is not available to create the resource within Microsoft clustering.


Solution



Windows 2000 and 2003 and Storage Foundation for Windows 4.3:

Follow this procedure if,  after the installation of Volume Manager, Volume Replicator or Storage Foundation in a Microsoft Cluster environment the Resource DLL's that are needed for proper operation are not present.  Here are the commands that are needed to register the DLL's:
 

[Un-registering DLL's in Storage Foundation for Windows 4.3]:

1. cluster restype "Volume Manager Disk Group" /DELETE /TYPE  
2. regsvr32 -u vxresext.dll  
3. cluster /unregext:vxresext.dll  

[Registering the Volume Manager extension DLL and Resource Type]:

1. regsvr32 vxresext.dll
2. cluster restype "Volume Manager Disk Group" /CREATE /DLL:vxres.dll /TYPE:"Volume Manager Disk Group"
3. cluster /regext:vxresext.dll

[Registering the Volume Replicator extension DLL and Resource Type]:

1. regsvr32 mscsrvgresourceex.dll
2. cluster restype "Replicated Volume Group" /CREATE /DLL:mscsrvgresource.dll /TYPE:"Replicated Volume Group"
3. cluster /regext:mscsrvgresourceex.dll


Windows 2003 and Storage Foundation for Windows 5.0 and 5.1:

[Registering the Volume Manager extension DLL and Resource Type]:

In Storage Foundation for Windows 5.0 and 5.1, there are scripts that can be used to register/un-register the Resource Type "Volume Manager Disk Group" and vxres.dll, vxresext.dll.
 
The scripts are located here: %vmpath%(SFW install dir/Veritas Volume Manager 5.1)/VM5INF/

ClusReg.cmd registers the Volume manager and associated DLL's automatically
ClusUnReg.cmd Un-registers the Volume manager and associated DLL's automatically
 

[Registering the Volume Replicator extension DLL and Resource Type]:
 
1. regsvr32 mscsrvgresourceex.dll
2. cluster restype "Replicated Volume Group" /CREATE /DLL:mscsrvgresource.dll /TYPE:"Replicated Volume Group"
3. cluster /regext:mscsrvgresourceex.dll
 

Windows 2008 and Storage Foundation for Windows 5.1:

In Windows 2008 the vxresext.dll and mscsrvgresourceex.dll do not need to be registered.

[Manually registering the Volume Manager extension DLL and resource type in 2008]:

CLI Command:

Cluster RESTYPE "Volume Manager Disk Group" /CREATE /DLL:vxres.dll /Type: "Volume Manager Disk Group"

Using the scripts:
To use the script in 2008 it has to be edited. It is the Equivalent of running the CLI command.
 
Location: %vmpath%(SFW install dir/Veritas Volume Manager 5.1)/VM5INF/

ClusReg.cmd registers the Volume manager and associated DLL's automatically
ClusUnReg.cmd Un-registers the Volume manager and associated DLL's automatically

Change the ClusReg.cmd from:

Cluster RESTYPE "Volume Manager Disk Group" /CREATE /DLL:vxres.dll /Type: "Volume Manager Disk Group"
cluster /REGEXT:vxresext.dll
exit

To:

Cluster RESTYPE "Volume Manager Disk Group" /CREATE /DLL:vxres.dll /Type: "Volume Manager Disk Group"
exit


[Manually registering the Volume Replicator extension DLL and resource type in 2008]:

CLI Command:

cluster RESTYPE "Replicated Volume Group" /CREATE /DLL:MSCSRvgResource.dll /TYPE:"Replicated Volume Group" /ISALIVE:60000 /LOOKSALIVE:5000 



If there is still a problem adding Volume Manager Disk Group Resources:

Uninstall and reinstall the Microsoft Clustering Option using the Symantec Product Installer in Windows Add/remove Programs list

 

Supplemental Materials

Description

Keywords:  mscs vxres vxres.dll vxresext mscsrvgresource mscsrvgresource.dll



Legacy ID



269703


Article URL http://www.symantec.com/docs/TECH33400


Terms of use for this information are found in Legal Notices