After update or during new Zone setup using Veritas Cluster Server (VCS) 5.1, the Zone will not ONLINE or successfully monitor as an ONLINE state. V-16-1-12106 is shown when executing "hacf -verify".

book

Article ID: 100002100

calendar_today

Updated On:

Description

Error Message

VCS WARNING V-16-1-12106 Cannot find attribute definition for .ZoneName

Resolution

The issue:
 
VCS is updated from a previous version (4.1 or 5.0) to 5.1 and the zone fails to start.
 
A new Zone setup in 5.1 fails to be shown as "ONLINE" in the cluster.
 
The execution of "hacf -verify " results in the following error:
 
VCS WARNING V-16-1-12106 Cannot find attribute definition for .ZoneName
 

 
To resolve the issue:
 
The Zone configuration in the /etc/VRTSvcs/conf/config/main.cf may be incorrect.
 
The "ZoneName" attribute of the Zone Resource has been deprecated in version 5.1.
 
The functionality of ZoneName has been replaced by the "ContainerInfo" attribute for the Service Group.
 
Remove the "ZoneName" attribute from all Zone resources in main.cf using vi or similar, then add "ContainerInfo" attributes for each server in the Service Group.
 

 
Note: The HAD (HA) services must be stopped to fix the issue using the process below. However- all services may be left online while making the changes.
 

 
1) Stop the Clustering software while leaving all resources online:
 
# hastop -all -force
 

 
2) Modify the /etc/VRTSvcs/conf/config/main.cf to remove all ZoneName attributes from Zone resources (you may wish to do this on all nodes at the same time).
 

 
For example, before removal the Zone resource configuration in /etc/VRTSvcs/conf/config/main.cf may look similar to this:
 
      Zone test_zone  ( 
                ZoneName = zone1 
                 ) 
 
 After modification the Zone resource would look like this:
 
      Zone test_zone  ( 
                 )
 
3) Add the "ContainerInfo" attribute for each server in the Service Group:
 
For example:
 
group zone_ServiceGroup (
       SystemList = { node01 = 0, node02 = 1 }
        ContainerInfo @node01 = { Name = zone1, Type = Zone, Enabled = 1 }
        ContainerInfo @node02 = { Name = zone1, Type = Zone, Enabled = 1 }
        AutoStartList = { node01, node02 }
 
Step 3 provides the Zone Name to be utilized in the Service Group anywhere that a resource has the attribute set:
 
ContainerOpts = RunInContainer = 1
 

 
Note that resources that run in the Zone should have the ContainerOpts setting as "RunInContainer = 1".
 
The attribute may be changed either by using vi at this time to add the attribute, or after the cluster is running (after step #4) with the following command syntax:
 
# hares -modify ContainerOpts RunInContainer 1
 

 
Review the Bundled Agents Reference Guide for additional information, as all VCS Agents may not support running in a local Zone.
 

 
4) Start the HAD on each cluster node:
 
# hastart
 

 
The Zone should now successfully online and monitor properly.

Issue/Introduction

After update or during new Zone setup using Veritas Cluster Server (VCS) 5.1, the Zone will not ONLINE or successfully monitor as an ONLINE state. V-16-1-12106 is shown when executing "hacf -verify".