- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to permently change the status of the volume g...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
10-27-2008 03:56 AM
10-27-2008 03:56 AM
how to permently change the status of the volume group in shred moe?
We have a two node cluster with service gurad 11.18 and hpux 11i v3.
Its using for oracle rac.
before halting the node we need to change the volume group from shred to node. Same way we need to change the volume group status from none to shared after coming up the cluter.
How to change it permently without manually changing it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 04:18 AM
10-28-2008 04:18 AM
Re: how to permently change the status of the volume group in shred moe?
Normally, LVM volume groups are activated using 'vgchange -a y
In the manual titled, "Using Serviceguard Extension for RAC, 7th Edition, September 2008", located at http://docs.hp.com/en/T1859-90059/T1859-90059.pdf, page 117 describes how to make an LVM volume group sharable on multiple nodes at the same time.
Boot-time operations cannot activate a volume group marked for 'shared' activation. Such a VG can only be activated by root using a special vgchange command, or by a Serviceguard package control script. Before such can be accomplished, the VG must be flagged to activate in 'shared' mode. Doing so will place a special activation mode setting in the LVM metadata on each disk in the VG.
The procedure to change the activation mode to 'shared' requires a manual command, 'vgchange -c y -S y
Other than scripting such commands, there is no automated means of changing a volume groups' activation mode to and from "shared" activation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 04:27 AM
10-28-2008 04:27 AM
Re: how to permently change the status of the volume group in shred moe?
To shared the vg you have to give this command
vgchange -C y -S y vgname
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 06:31 AM
10-28-2008 06:31 AM
Re: how to permently change the status of the volume group in shred moe?
I am having one query
1) All the datadisks, voting disk, Oracle Cluster Registry are in lvm.
2) Are you using ASM
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 08:39 PM
10-28-2008 08:39 PM
Re: how to permently change the status of the volume group in shred moe?
We are using ASM disk ON TOP OF slvm.asm DISK IS IN ONE VOLUME GROUP CALLED "VGASM" and the ocr and voting disk is in another volume grouop called "vg0vdocr".
Here oracle clusterware iis using andfd the packages are created by oracle not by SG.
The above query is becuase for shutting down/restarting the server i faced following tasks.
1. Halt the oracle databse.
2. deactivate the shred volume group from the client node first and finally from the server node.
3. HALT THE CLISUETR .
4. sHUT DOWN OR RESTART THE SERVER.
5.after the completion of rebooting process i need to activate the shared volume group to shared mode from server first and next to client node.
Is it possible to do to run some scripts for the step 2 and 5?
Thanx andrgds,
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 10:37 PM
10-28-2008 10:37 PM
Re: how to permently change the status of the volume group in shred moe?
Making the VGs cluster aware and shared is done in the cluster configuration file..
If am not wrong u have to add an entry in the cluster.ascci file "OPS_VOLUME_GROUP /dev/vgXX"
Also apply this configuration..
Regrads
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 11:33 PM
10-28-2008 11:33 PM
Re: how to permently change the status of the volume group in shred moe?
> 5.after the completion of rebooting process i need to activate the shared volume group to shared mode from server first and next to client node
Try to do using /etc/lvmrc .
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 11:50 PM
10-28-2008 11:50 PM
Re: how to permently change the status of the volume group in shred moe?
lvmrc is normally used for activating the Vgs wchich are not controlled by service guard.
VGs which are in service guard control should be listed in cluster configuration file as "VOLUME_GROUP /dev/vgXX"
And this is how service guard will make the VGs cluster aware (or same as doing vgchange -c y) while the cluster startup
In this case you are using shared VG(SLVM) so instead of "VOLUME_GROUP /dev/vgxx" use "OPS_VOLUME_GROUP /dev/vgxx" By this way service gurad will make the VG cluster aware as well as shareable( or same as doing vgchange -c y -S y )
HTH
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 06:35 AM
10-29-2008 06:35 AM
Re: how to permently change the status of the volume group in shred moe?
these entries are there in the cluster.ascii file.I think this entry is for the command "vgchange -c y -S y " as u said.
This is for RAC volume group to be sharable and cluster aware.
Am asking about the command " vgchange -a s "vgname" ".
As per the Oracle docs its says that this command has to be run each time when the cluster starts.
Rgds
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 11:18 PM
10-29-2008 11:18 PM
Re: how to permently change the status of the volume group in shred moe?
vgchange -a s will be done by your package control script
Entries in the package control script should be like below,Make the changes in control script of all the nodes
VGCHANGE="vgchange -a s -p"
VG[0]="/dev/vgXX"
Once you have the above entries the package control script the vgs will be activated as shared in the nodes(This is similar to do vgchnage -a e in non-RAC environment)
HTH
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2008 12:36 AM
11-01-2008 12:36 AM
Re: how to permently change the status of the volume group in shred moe?
Thanx for your reply.
Here we are not using the service guard for package configuration. Oracle clusterware is using for this.
SG is upto the hardware cluster level.
What need to be done in thsi condition?
Thanx and rgds,
Prasanth.