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

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

Product(s)

Environment

Issue



Volume Manager Diskgroup  (VMDg) resource is not available to create the resource within Microsoft Failover 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 

 
Windows 2008/2008R2 and Symantec Veritas Storage Foundation for Windows 6.0 and 6.0.1:

You can install "Microsoft Failover Cluster" from the Storage Foundation Options even if Microsoft Clustering is not currently configured. If you choose to install this option "Microsoft Failover Cluster" even if Microsoft Clustering is not configured, you must manually register the VMDg and RVG resource after configuring Microsoft Failover Cluster.

Manually registering the Volume Manager extension DLL and resource type in Windows 2008/2008R2:

CLI command:
cluster RESTYPE "Volume Manager Disk Group" /CREATE /DLL:vxres.dll /Type: "Volume Manager Disk Group"

Manually registering the Volume Replicator extension DLL and resource type in Windows 2008/2008R2:

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

Windows 2012 and Symantec Veritas Storage Foundation for Windows 6.0.2:

By default the Failover Cluster Command Interface "RSAT-Clustering-CmdInterface" option under Microsoft Failover Clustering 2012 is not enabled, even if the "Failover Clustering" feature is selected for installation, so in some scenarios it may be required to add(register) VMDg and RVG resources manually by using one of the two options listed below:
   
Option 1 - Using Windows Powershell cmdlets:

1. Run the following command in Power Shell with an Administrator's account context (assuming the Failover Cpmmand Line Interface Feature is not installed):

PS Cmdlet:
Import-module failoverclusters

2. To register the VMDg resource type, type the following cmdlet:

PS Cmdlet:
Add-ClusterResourceType "Volume Manager Disk Group" C:\Windows\Cluster\ vxres.dll -DisplayName "Volume Manager Disk Group"

3. To register the Replicated Volume Group (RVG) resource type, type the following cmdlet:

PS Cmdlet:
Add-ClusterResourceType "Replicated Volume Group" C:\Windows\Cluster\ mscsrvgresource.dll -DisplayName "Replicated Volume Group"

Option 2 - Using Cluster.exe command-line (assuming the
Failover Command Line interface feature is installed and the cluster service is running on the node):

1. To register the VMDg resource type:

CLI Command:
cluster RESTYPE "Volume Manager Disk Group" /CREATE / DLL:vxres.dll /TYPE:"Volume Manager Disk Group"

2. To register the RVG resource type:

CLI Command:
cluster RESTYPE "Replicated Volume Group" /CREATE / DLL:mscsrvgresource.dll /TYPE:"Replicated Volume Group"

Note that in Windows 2012 you can simplify and automate creating of VMDg resources by using a power shell script that can be downloaded from the following technote http://www.symantec.com/docs/TECH201914
 
If there is still a problem adding Volume Manager Disk Group (VMDg) or Replicated Volume Groups (RVG) resources:

Option 1:
Review the cluster log and cluster event log for VMDg resource failure
 
Option 2:
Unregister / Re-register the failed VMDg and (or) RVG resource
 
Option 3:
Uninstall and reinstall the Microsoft Clustering Option using the Symantec Product Installer in Windows Add/remove Programs list and then follow the same procedure to register the VMDg (or) RVG resources in PowerShell or via the cluster.exe command-line.

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