Operating System - HP-UX
1832305 Members
2026 Online
110041 Solutions
New Discussion

Queries regarding VGs in HP UX

 
Jessica P
Regular Advisor

Queries regarding VGs in HP UX

I am configuring HP UX serviceguard for oracle RAC..
Now i have few queries ...
1 Do i have to mention the OCR and voting disk in the OPS_VOLUME group in cluster configuration file or in the cluster aware LVM
wht about the quoram disk..

2 i removed a VG by removing the /dev/vg directory and rebuilding the /etc/lvmtab
and recreated new VG with same name and using pvcreate -f cmd/vgcreate cmd
if i run vgscan -a i can see the new vg but also it says physical volume belong to a volume group (use vgimport).
where is this refrence to earlier vg..
3 REPLIES 3
nanan
Trusted Contributor

Re: Queries regarding VGs in HP UX

Answer;
1. you need to reflect the cluster LOCK vg and disks in cluster config file
and then have to compile for initial RAC cluster configuration

you have to do

2. what are you meaning that pvcreate -f cmd/vgcreate ???
when you remove vgs, use vgexport

"if i run vgscan -a i can see the new vg but also it says physical volume belong to a volume group (use vgimport)."
is that the previous vgs information is remain because you didn't format disks.

Marvin Strong
Honored Contributor

Re: Queries regarding VGs in HP UX

To my knowledge you need all that information in the cluster configuration.

When removing vg's vgexport is the preferred method.

If you did pvcreate -f /dev/rdsk/c??t??d??
if that was executed correctly then you will not get the belongs to a volume group error.
Steven E. Protter
Exalted Contributor

Re: Queries regarding VGs in HP UX

Shalom,

Its better to use vgexport to remove volume groups. That give you the option if you forgot to back something up of restoring it using vgimport.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com