Operating System - HP-UX
1836584 Members
1581 Online
110102 Solutions
New Discussion

how to active VG in shared mode!

 
SOLVED
Go to solution
leyearn
Regular Advisor

how to active VG in shared mode!

I created a VG vg_ops on diskArray
and created some LVs which will be used by oracle as raw devices
and MC is OPS version
I havn't changed the MC's configuration file
I want to test the VG
now the VG can be actived on two nodes
by
#vgchange -a y
separately
how can I active the VG in shared mode?

[root@yjjf2]# vgchange -S y -c y vg_ops
Performed Configuration change.
Volume group "vg_ops" has been successfully changed.
[root@yjjf2]# echo $?
0
[root@yjjf2]# vgdisplay vg_ops
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vg_ops".

why after I #vgchange -S y -c y vg_ops
I can't vgdisplay It?
3 REPLIES 3
Ravi_8
Honored Contributor

Re: how to active VG in shared mode!

Hi

Can u post o/p of
vgscan -a -v
never give up
Shaikh Imran
Honored Contributor

Re: how to active VG in shared mode!

Hi,

Use #vgchange -a e
To activate VG in shared mode.

Also don't forget to add this is the cluster config file.

Regards,


I'll sleep when i am dead.
melvyn burnard
Honored Contributor
Solution

Re: how to active VG in shared mode!

You have only marked the VG as shareable and in a cluster, you have not activated it, use:

vgchange -a s

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!