- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding disk in SG Cluster
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
09-20-2000 10:52 AM
09-20-2000 10:52 AM
Today, I need to add disk to 1 node. So I can take down 2 of the nodes in the cluster with no problems. But one of the other nodes I can't take down; production running till midnight.
So my question is....
Since on this other node I only need to do the vgimport to keep it consistent with everything else...can I do the vgimport while it's up and running...safely.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 10:57 AM
09-20-2000 10:57 AM
Re: Adding disk in SG Cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 10:57 AM
09-20-2000 10:57 AM
SolutionTo do the vgimport each node in the cluster needs to see and own the disks, so you cant do it on the non-active nodes because the disks are in use on the active node. You will need the package down so you can do the vgimport on each node in turn im afraid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:23 AM
09-20-2000 11:23 AM
Re: Adding disk in SG Cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:28 AM
09-20-2000 11:28 AM
Re: Adding disk in SG Cluster
You do not have ot shut down everything on the "production" server, but you do need to halt the package in question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:29 AM
09-20-2000 11:29 AM
Re: Adding disk in SG Cluster
So if I'm understanding....I could do the vgimport on the other node, while it is up and running, because the affected VG is not mounted on this other node at this time.
Right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:30 AM
09-20-2000 11:30 AM
Re: Adding disk in SG Cluster
vgchange -c n vg??
vgexport vg??
vgimport
vgchange -c y vg??
should be possible with the cluster running and the VG in use on another node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:35 AM
09-20-2000 11:35 AM
Re: Adding disk in SG Cluster
Thank you all !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:35 AM
09-20-2000 11:35 AM
Re: Adding disk in SG Cluster
Note: on teh vgchange -c options, the VG must be deactivated before these markers can be executed. (per man page)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:36 AM
09-20-2000 11:36 AM
Re: Adding disk in SG Cluster
All you are doing is adding the VG to /etc/lvmtab and creating the device files.
If it was then could you not temporarily vgchange -c n to remove exclusivity while you did the import and then put it back?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:42 AM
09-20-2000 11:42 AM
Re: Adding disk in SG Cluster
Like I said...I tend to be 'very safe' - so I never make changes on MC/SG unless I take it all down...it's just this time, I just don't have that option..
Thank you all again for all your wonderful help ! It helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:45 AM
09-20-2000 11:45 AM
Re: Adding disk in SG Cluster
You are correct that the vgimport does not activate the VG. However, for the disks to be imported the system must take "ownership" of the disks (in order to write/examine LVM headers). This is not possible while the disks are activated in exclusive mode by another system within the cluster. You can use the vgchange -c n command to remove the flag indicating that the VG is part of a clustered environment, but as I noted above this requires the VG to first be deactivated. (ie -- the package must be down.)
That's just my opinion, though, I could be wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 11:50 AM
09-20-2000 11:50 AM
Re: Adding disk in SG Cluster
This is theory to me as well! I have a couple of L servers that I'm setting up at the moment. I'll give this a try at the earliest opportunity!
However I thought that the 'exclusive' use of a VG only prevented another node from activating the VG. I don't believe that you can prevent any other node from reading or writing the individual disks.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 12:06 PM
09-20-2000 12:06 PM
Re: Adding disk in SG Cluster
Do test it, though, I don't have a cluster that I can play with at the moment and I am curious. If you don't feel like posting the results generally, please email me at riggsa@sensormatic.com.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 12:25 PM
09-20-2000 12:25 PM
Re: Adding disk in SG Cluster
pack of vultures!! (heheheh just kidding mates! bit of aussie humour! ((thats humour with a u)))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 12:29 PM
09-20-2000 12:29 PM
Re: Adding disk in SG Cluster
Next thing you know they'll think they have better swimmers than the USA. 87)
Good on ya, mate. Knock back a VB for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 01:02 PM
09-20-2000 01:02 PM
Re: Adding disk in SG Cluster
They sent me away exactly when the olympics started hmmm (not very happy at all!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 01:05 PM
09-20-2000 01:05 PM
Re: Adding disk in SG Cluster
This is why you should do a manual vgcfgbackup once the vg is made cluster aware!
The idea behind Exclusive mode for MC/SG is to prevent any other node activating the VG in writeable mode, although you are allowed to activate it in read-only mode with vgchange -a r.
This also allows a vgimport using the map file while the vg is already active on a node.
Hope that clears up a few points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 01:07 PM
09-20-2000 01:07 PM
Re: Adding disk in SG Cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 01:45 PM
09-20-2000 01:45 PM
Re: Adding disk in SG Cluster
Anthony -- I have yet to find one. Heck, I'd even settle for a Twoey's Dark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 02:38 AM
09-21-2000 02:38 AM
Re: Adding disk in SG Cluster
I was also able to modify the VG configuration (added a disk) on the 'exclusive' node, reimport the VG on the standby node and fail the package over. The additional disk was recognised on the standby node.
So it looks as though 'exclusive' mode doesn't prevent anything regarding vgexport/vgimport. All it does is prevent a second node from activating the VG for writing.
If anybody has any further suggestions for testing, let me know.
Regards to all,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 07:27 AM
09-21-2000 07:27 AM
Re: Adding disk in SG Cluster
Just 'cause I'm a woman and like the last word - I'd thought I'd let you know how it went.
Well, it does work.
3 node cluster...stop the package on the node that the package runs on. Do what you usually do there and vgexport the mapfile and rcp it to the 2 other nodes (that are up and running on their own packages).
Now before you bring that package on node 3 back up....go over to each of the other nodes and do the following:
vgchange -c n /dev/node3_volgrp
vgchange -a y /dev/node3_volgrp
**** here's the tricky part - - normally you would rm the group and recreate with mknod and do the vgimport...but it doesn't like that !. -- So at this point do a vgexport /dev/node3_volgrp and get it out of the /etc/lvmtab that way. Then go back and do the recreate of the group with mknod....then do the vgimport -vs /dev/node3_vg/vg.map etc. ****
Now just vgchange activity back to the cluster.
When you finish this on all your nodes, restart the package on node3 and voila ! All done.
I'd like to say this was a piece of cake...but it wasn't, because this node 3 runs FileNet and if anyone out there has ever worked with it, you know adding disk or making any modifications isn't *fun*. FileNet has a mind of it's own....so it was a long, long, long night....
**************************************
Anyway, your right I was generous with points...(but only cause someone told me once that I was 'kissing but' when I said something about points once before...so I decided to be generous, where they felt I was rude and insulting on this issue....).
Enjoy the points....they were earned and worth every bit !!
Thank you All !
Rita