Operating System - HP-UX
1833863 Members
2269 Online
110063 Solutions
New Discussion

Re: package failed to activate

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

package failed to activate

Hi all,

I have a problem trying to activate a MC/SG package on one of our cluster (2 K-class Servers running HPUX11.00 ) ioscan -funC disk shows both harddisk that are supposed to belong to this vg:
c0t5d0 and c1t5d0 - from lvmtab. See the error in the attached log file from /etc/cmcluster/pkggprsbb/
Any help will be apreciated.

Thanks in advance,
ionut
If it weren't for STRESS I'd have no energy at all
6 REPLIES 6
Darren Prior
Honored Contributor

Re: package failed to activate

Hi Ionut,

You've got cross device links... Can you check the minor numbers of the various /dev/vgxx/group files to make sure you don't have duplicates.

regards,

Darren.
Calm down. It's only ones and zeros...
Rainer von Bongartz
Honored Contributor
Solution

Re: package failed to activate


This will help you:

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066417356


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
melvyn burnard
Honored Contributor

Re: package failed to activate

Well you have a very basic LVM error, as follows:
2003-04-08 11:44:49 : Changing volume group /dev/vggprsbb to clustering mode...
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/ds:
Cross-device link
vgchange: Could not attach to volume group "/dev/vggprsbb" all of
its physical volumes.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
2003-04-08 11:44:50 : WARNING: vgchange failed, continuing.
2003-04-08 11:44:50 : Activating volume group /dev/vggprsbb...
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/ds:
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vggprsbb":
Quorum not present, or some physical volume(s) are missing.

2003-04-08 11:44:50 : ERROR: vgchange failed, exiting...
2003-04-08 11:44:50 : ERROR: Function activate_volume_groups
2003-04-08 11:44:50 : Deactivating volume group /dev/vggprsbb...


So you need to fix these cross-device links and verfy all works using hte manual commands before trying to get SG to start the package.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Michael Steele_2
Honored Contributor

Re: package failed to activate

Cross linked means two vg's are claiming ownership of the same disk or there are duplicate group minor numbers. 'strings /etc/lvmtab' and 'll -d /dev/vg*/group'.

Also, does this appear on one node or both?

Check the package:

cmcheckconf -k -v -P /etc/cmcluster/package.conf
Support Fatherhood - Stop Family Law
Ionut Grigorescu_2
Super Advisor

Re: package failed to activate

Danke fuer das Dokument, Rainer!
Thank you all for the answers. I think I have made a mistake - I have vgexported vggprssbb volume group to /tmp/vggprsbb.map, then mkdir, mknod (the same minor number as before), but when vgimported I wasn't able to pass both harddisk (it was mirrored before), only one of them and at vgchange -a y the system complained about low quorum - is there a way to repair that? I have perform it only on one server, the other one still have the original configuration.

Regards,
ionut
If it weren't for STRESS I'd have no energy at all
Ionut Grigorescu_2
Super Advisor

Re: package failed to activate

strings /etc/lvmconf/vggprsbb.conf produces:
on server 2:

CONFIG01
/dev/vggprsbb
/dev/rdsk/c0t5d0
/dev/rdsk/c1t5d0
LVMREC01n
LVMREC01n
@BVGDA0001
VGSA0001:

on server 1: (here I have made the vgexport/vgimport)
CONFIG01
/dev/vggprsbb
/dev/rdsk/c1t5d0
/dev/rdsk/c0t5d0
LVMREC01n
LVMREC01n
E=:VGDA0001
VGSA0001:

If it weren't for STRESS I'd have no energy at all