- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service Guard make_recovery lvmmtab
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
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
04-13-2007 06:30 AM
04-13-2007 06:30 AM
Service Guard make_recovery lvmmtab
in a two node cluster i have created a recovery tape. At the moment of creation all package run on the other node. I make a recovery of the server. Everything runs fine, but then i want to start a package on the recovered node it fails. In the package log i found the following message:
vgchange: Volume group "/dev/vg03" does not exist in the "/etc/lvmtab" file.
ERROR: Function activate_volume_group
ERROR: Failed to activate vg03
strings /etc/lvmtab shows that only the disk of the vg00 are in the lvmtab.
I have searched in the forum and make some tests:
A simple vgscan -a -v does not work. The other introduced solution is a vgexport/vgimport procedure, well known from MC/ServiceGuard package creation. It is not easy for me to accept that this should be the only solution, because the correct device files are available under /dev/vgxx and also the files in the directory /etc/lvmconf (vgxx.conf, vgxx.mapfile)
Yes I am lazy, but on the other side it is easy to make a mistake during the vgexport/vgimport procedure.
Every hint is welcome
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 06:35 AM
04-13-2007 06:35 AM
Re: Service Guard make_recovery lvmmtab
I can't vouch for the content of /etc/lvmtab in the make_tape_recovery files, so the easiest way to re-load lvmtab is to make and save map files for the cluster VGs in /etc/lvmconf.
Use the vgexport -vs options to put the VGID at the top of the file.
After the the ignite-rebuild and mkdir /dev/vgname; mknod /dev/vgname/group commands, use the vgimport -s -m options to get LVM to scan the backplane for all disks, and load those that have a matching VGID.
That should do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 07:07 AM
04-13-2007 07:07 AM
Re: Service Guard make_recovery lvmmtab
I'm lazy too. I make sure that I never need an Ignite image and I literally never have used one except during "play" or DR testing.
Amazingly, I have never even had a package failover other than those I command myself --- and this represents over 10 years of MC/SG (oops that's SG now) experience. During that same period, I have had tens of disk failures, NIC failures, power supply failures -- but none of those required a shutdown and all were fixed "on the fly" nor have I had an OS crash during that period.
Nevertheless, I still take weekly Ignite images (in addition to lifeboat disk images) so that I never need them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 09:28 AM
04-13-2007 09:28 AM
Re: Service Guard make_recovery lvmmtab
There is a known issue with older versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2007 01:21 AM
04-14-2007 01:21 AM
Re: Service Guard make_recovery lvmmtab
Here my remarks:
@Stephen: I have recovered the original lvmtab from my backup. Everyting works fine.
@A Clay Stephenson: You are right. Ignite has it limits and that is good. FYI the recovery was a test which my customer requests. You gave me a very importent hint. The standby network interface was configured from ignite. The result was that the standby functinality was out of order. The cmcheckconf abort.
Here my result for a disaster recovery of a cluster node.
If you create a recovery tape make a copy of the files /etc/lvmtab and /etc/rc.config.d/netconf (make not a copy in the rc.config.d). After the recovery you can use this files to restore the old configuration. (This statement is of course without gurantee)
I found a good thread for my network configuration problem:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1106455
I hold the thread open for a while. Please feel free to give additional hints. I think i have tested the cluster well, but ...
Thank you in advance