cancel
Showing results for 
Search instead for 
Did you mean: 

what does "primary" attibute VCS do ?

ciwei2103
Level 2

can somebody please explain what the attibute "primary = test11" does?

this is from a oracle 9iRAC on veritas VCS 3.5 ( two node cluster) , I'm trying to see how it works

as the main.cf look a bit strange. see below. ( a sanitized main.cf)

 

<main.cf segment>

group cfs (

SystemList = { test1 = 0, test2 = 1 }

AutoFailOver = 0

Parallel = 1

AutoStartList = { test1, test2 }

)

CFSMount cfsmount1 (

Critical = 0

MountPoint = "/usr/path/to/wo"

BlockDevice = "/dev/vx/dsk/oradg/wo_vol"

NodeList = { test1, test2 }

Primary = test1 <---what is doing here?  

)

group testSID1_grp (

SystemList = { test1 = 0 }

AutoStartList = { test1 }

PreOnline = 1

)

Oracle testSID1 (

Sid @test1 = testSID1

Owner @test1 = orasv920

Home @test1 = "/oracle/VRT"

Pfile @test1 = "/oracle/VRT/dbs/testSID1.ora"

)

requires group cvm online local firm

 

1 REPLY 1

springer
Level 4
Hi

In a CVM/CFS setup u have following

CVM u have a master and slave node scenario

Now also with filesystem you have a Primary and secondary aka what ever node is Primary is the one that does write to filesystem aka update metadata this si differnet that a master/slave thing which is CVM

fsclustadm -v showprimary /mnt  will show u primary for filesystem that is mounted to /mnt