- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding LV to running package's VG possible?
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
Discussions
Discussions
Forums
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
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
тАО07-11-2002 05:53 AM
тАО07-11-2002 05:53 AM
The cirumstances are as such:
I have a running application as an SG package which I currently can't bring down.
On the other hand we are introducing overall monitoring by Tivoli.
Installing consultants and project's deadline are pressing to have this integrated while the customer doesn't even want their application being switched to a standby node :-(
So while the package was up (I know one shouldn't do this) I created in the package's shared VG a new LV and filesystem on it and mounted it under some mounpoint.
Then had the Tivoli agent/endpoint stuff installed (or copied) in this new Filesystem, and modified the package's control script in that way, that a new entry in the LV, FS, FS_MOUNT_OPT arrays been added and the customer_defined_(run|halt)_commands() functions got supplied with the necessary statements to bring the Tivoli stuff up or down.
I now want to distribute these modifications to the other cluster nodes, but fear that I will face complications on package halt or switch.
Is it at all possible to do what I want to do while the package is up?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:06 AM
тАО07-11-2002 06:06 AM
SolutionYou can add a logical volume to an existing cluster vg/package without any downtime. Just add the logical volume to the vg on the node the package is active at that time, then to a "ll" on /dev/vg_name to find out the majot and minor device nos for that lv. recreate the device files with the same majot and minor nos on the other cluster nodes using mknod command.
Modify the package control script to mount the lv and then replicate this control script to other cluster nodes where this pacage is supposed to run.
However if you have to add a disk to the vg to do this, you'll have to shutdown the package, add the disk, do a vgexport on the node where you are adding the disk and then do a vgimport on the other nodes.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:06 AM
тАО07-11-2002 06:06 AM
Re: Adding LV to running package's VG possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:07 AM
тАО07-11-2002 06:07 AM
Re: Adding LV to running package's VG possible?
I would not amend the package control files or config file with the package still up, this could lead to problems when trying to halt the package.
Again if adding a new logical volume I would recommend bringing the package down.
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:08 AM
тАО07-11-2002 06:08 AM
Re: Adding LV to running package's VG possible?
Try this link below on how to add the lv to a sg vg,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058849485
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:09 AM
тАО07-11-2002 06:09 AM
Re: Adding LV to running package's VG possible?
Ralph,
I think that this is not recommended but as far as I can see it should be of no problem.
Remember to vgexport/vgimport your VG and distubute the scripts.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:15 AM
тАО07-11-2002 06:15 AM
Re: Adding LV to running package's VG possible?
You can add the LV to the pakage's VG when the package is up. But after that you will have to distibute it and make required changes in the scripts using it.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 06:26 AM
тАО07-11-2002 06:26 AM
Re: Adding LV to running package's VG possible?
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 09:19 PM
тАО07-11-2002 09:19 PM
Re: Adding LV to running package's VG possible?
I know the steps involved to "sync" LVM and package configuration on all nodes (viz. vgexport, rcp, vgimport etc.) because I've done this some times before already.
But so far I've done this (to be on the safe side) only during a maintenance window and not with "hot" package.
Unfortunately this time circumstance don't allow this precaution.
That's why I just wanted to make sure if it was possible at all (though maybe not recommended).
And if I conclude from your answers correctly, you have confirmed this to me.
Regards
Ralph