- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't Lvcreate when VG is Shared in Oracle 10G...
Operating System - HP-UX
1752762
Members
4840
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2007 05:45 PM
тАО01-03-2007 05:45 PM
Hi All,
We have 2 new itanium machines running HPUX 11.23. ( ia64 hp server rx2620 ) patched to September 2006 & patches that oracle recommends.
We have installed Oracle 10g RAC ( Real Application Cluster ).
The Volume Group ( vgractst ) is in shared mode.
My question is: HOW DO WE create or extend Lvols in the VG while the the VG is in shared mode?
I am able to to lvcreate, vgextend, and lvextend when I shut down Application, and deactivate the VG on all other nodes. ( then I do a vgexport -p -s -m & then vgimport on the other nodes )
But How do I do this when the VG is shared, as I do not want to shutdown the servers every time I wish to simply add some disk space ?
( Is this a fundermental problem with oracle RACs' on HPUX ? )
I do not believe there is a HW problem.
root@x01 # lvextend -L 1000 /dev/vgractst/system_001
lvextend: The volume group "/dev/vgractst" is active in Shared Mode.
Cannot perform configuration change.
lvcreate -n isaac_test -L 100 vgractst
lvcreate: The volume group "/dev/vgractst" is active in Shared Mode.
Cannot perform configuration change.
INFO:
We have installed HP's ServiceGuard and ServiceGuard Extension for RAC.
T1905BA A.11.17.00 Serviceguard
T1907BA A.11.17.00 Serviceguard Extension for RAC
We have activated our Volume Group in shared mode, and vgdisplay shows the status correctly.
vgchange -S y -c y vgractst ## all nodes
vgchange -a s vgractst ## all nodes.
vgdisplay -v vgractst
--- Volume groups ---
VG Name /dev/vgractst
VG Write Access read/write
VG Status available, shared, client
....
x01 Server
x02 Client
We have 2 new itanium machines running HPUX 11.23. ( ia64 hp server rx2620 ) patched to September 2006 & patches that oracle recommends.
We have installed Oracle 10g RAC ( Real Application Cluster ).
The Volume Group ( vgractst ) is in shared mode.
My question is: HOW DO WE create or extend Lvols in the VG while the the VG is in shared mode?
I am able to to lvcreate, vgextend, and lvextend when I shut down Application, and deactivate the VG on all other nodes. ( then I do a vgexport -p -s -m & then vgimport on the other nodes )
But How do I do this when the VG is shared, as I do not want to shutdown the servers every time I wish to simply add some disk space ?
( Is this a fundermental problem with oracle RACs' on HPUX ? )
I do not believe there is a HW problem.
root@x01 # lvextend -L 1000 /dev/vgractst/system_001
lvextend: The volume group "/dev/vgractst" is active in Shared Mode.
Cannot perform configuration change.
lvcreate -n isaac_test -L 100 vgractst
lvcreate: The volume group "/dev/vgractst" is active in Shared Mode.
Cannot perform configuration change.
INFO:
We have installed HP's ServiceGuard and ServiceGuard Extension for RAC.
T1905BA A.11.17.00 Serviceguard
T1907BA A.11.17.00 Serviceguard Extension for RAC
We have activated our Volume Group in shared mode, and vgdisplay shows the status correctly.
vgchange -S y -c y vgractst ## all nodes
vgchange -a s vgractst ## all nodes.
vgdisplay -v vgractst
--- Volume groups ---
VG Name /dev/vgractst
VG Write Access read/write
VG Status available, shared, client
....
x01 Server
x02 Client
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2007 06:49 PM
тАО01-03-2007 06:49 PM
Re: Can't Lvcreate when VG is Shared in Oracle 10G RAC
Shalom,
Oracle RAC requires volume groups to be activated in shared mode. This disables certain functionality. You will need to stop Oracle RAC and activate the volume group in a non-shared mode to complete the work.
Yes, that means downtime for Oracle.
It's not a bug, its a feature.
SEP
Oracle RAC requires volume groups to be activated in shared mode. This disables certain functionality. You will need to stop Oracle RAC and activate the volume group in a non-shared mode to complete the work.
Yes, that means downtime for Oracle.
It's not a bug, its a feature.
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2007 02:10 AM
тАО01-04-2007 02:10 AM
Solution
Actually if you are on Serviceguard 11.17 there is a way to acheive this whilst keeping Oracle on just 1 node in the cluster online. It's called Single Node Online volume Reconfiguration (SNOR) and requires that you have these patches or newer:
PHCO_33309
PHKL_33312
Have a look at ITRC KB Article KBRC00017735 :
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082274788
HTH
Duncan
I am an HPE Employee
PHCO_33309
PHKL_33312
Have a look at ITRC KB Article KBRC00017735 :
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082274788
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 12:01 PM
тАО01-08-2007 12:01 PM
Re: Can't Lvcreate when VG is Shared in Oracle 10G RAC
Thanks for the Replies.
Yes Dunken is right, and we have tested it!
RAC needs to be running on one node only first.
Sorry Stephen, you are incorrect - there is a new frature, But I appreciate your effort to assist.
You can also find the doc at:
http://www.docs.hp.com/en/7389/LVM_SNOR_whitepaper.pdf
Summary. The solution is to:
1) Deactivate VG sharing on all execept one node. ( vgchange -a n ), after shuting the application.( crsctl stop crs )
2)On the node that is still operating, change the VG form shared to exclustive. ( it remaines active).
3) Do the lvcreate/vgextend/lvextends.
4) Do vgexport/vgimport map if lvcreate or vgextend was done.
5) change the VG back to shared on other machines.
6) start App on other nodes: ( crsctl stop crs )
vgchange(1M)
A new option (-x) was added to the vgchange command to change the activation mode of a shared volume group.
Changing the mode to exclusive from shared
vgchange -a e -x vg_name
Thanks, Isaac
Yes Dunken is right, and we have tested it!
RAC needs to be running on one node only first.
Sorry Stephen, you are incorrect - there is a new frature, But I appreciate your effort to assist.
You can also find the doc at:
http://www.docs.hp.com/en/7389/LVM_SNOR_whitepaper.pdf
Summary. The solution is to:
1) Deactivate VG sharing on all execept one node. ( vgchange -a n ), after shuting the application.( crsctl stop crs )
2)On the node that is still operating, change the VG form shared to exclustive. ( it remaines active).
3) Do the lvcreate/vgextend/lvextends.
4) Do vgexport/vgimport map if lvcreate or vgextend was done.
5) change the VG back to shared on other machines.
6) start App on other nodes: ( crsctl stop crs )
vgchange(1M)
A new option (-x) was added to the vgchange command to change the activation mode of a shared volume group.
Changing the mode to exclusive from shared
vgchange -a e -x vg_name
Thanks, Isaac
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP