During VCS upgrde from 5.1 SP1 to 5.1 SP1RP1 it removes zone users in the main.cf file.

book

Article ID: 100007175

calendar_today

Updated On:

Description

Error Message

2011/11/11 10:23:22 VCS INFO V-16-1-50135 User root fired command: hagrp -modify ... -delete myzone_sg1 Administrators z_myzone_res1_uluru-sol10 from localhost

Cause

It is known issue and documented under TECH150484.

Resolution

Fix for this issue is available in following patches
VCS 5.1 SP1 HF2
VCS 5.1 SP1 RP2

Following is work-around during upgrade from 5.1SP1 to RP1 or RP2

Config file before upgrade:
# head -10 /etc/VRTSvcs/conf/config/main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "Db2udbTypes.cf"
include "OracleTypes.cf"
include "SybaseTypes.cf"
cluster myclust (
UserNames = { admin = dqrJqlQnrMrrPzrLqo,
z_myzone_res9_uluru-sol10 = cNKnKKlINtNRlHOnOQ,
Administrators = { admin }
)

1. Stop cluster using following command
# /opt/VRTS/bin/hastop -all -force

2. Make copy of current types.cf file
#cd /etc/VRTSvcs/conf/config
#cp types.cf types.cf.preugrade

3. Edit types.cf and add new entry as follows

# vi types.cf
type Zone (
static str ArgList[] = { Pool, BootState, ShutdownGracePeriod, RunFsck, DetachZonePath, ForceAttach }
static int ContainerOpts{} = { RunInContainer=0, PassCInfo=1 }
str Pool
str BootState = multi-user
int ShutdownGracePeriod
boolean RunFsck = 0
boolean DetachZonePath = 1
boolean ForceAttach = 1
boolean DeleteVCSZoneUser = 0 <================ add this line >>

4. Verify new config file
# /opt/VRTS/bin/hacf -verify

5. Repeat step 2, 3 and 4 on remain nodes in cluster

6. Re-start cluster using following command on all nodes in cluster
#/opt/VRTS/bin/hastart

7. Offline zone service group and make sure it does not delete zone admin user

# head -10 /etc/VRTSvcs/conf/config/main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "Db2udbTypes.cf"
include "OracleTypes.cf"
include "SybaseTypes.cf"
cluster myclust (
UserNames = { admin = dqrJqlQnrMrrPzrLqo,
z_myzone_res9_uluru-sol10 = cNKnKKlINtNRlHOnOQ,
Administrators = { admin }
)


Applies To

Solaris 10
VCS 5.1SP1
VCS 5.1SP1RP1

Issue/Introduction

VCS zone agent removes zone admin user during offline of resources