- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Issue with missing vg for cmcheckconf
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
01-22-2004 07:32 PM
01-22-2004 07:32 PM
I was trying to cmcheckconf my cluster configuration (nothing special a two node cluster with a shared vg (smsvg00). The vg is the cluster lock and is active on the node I'm running the cmcheckconf.
The output states:
Begin cluster verification...
Error: Volume Group /dev/smsvg00 is not found on any nodes in the cluster.
cmcheckconf : Unable to reconcile configuration file /etc/cmcluster/cmclconfig.ascii
with discovered configuration information.
But a vgdisplay smsvg00 tells me:
tbesm1a# vgdisplay smsvg00
--- Volume groups ---
VG Name /dev/smsvg00
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 18
Open LV 18
Max PV 64
Cur PV 4
Act PV 4
Max PE per PV 3199
VGDA 8
PE Size (Mbytes) 64
Total PE 8796
Alloc PE 8083
Free PE 713
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Any idea ?
Thanks,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:39 PM
01-22-2004 07:39 PM
Re: Issue with missing vg for cmcheckconf
If not, insert it as the last line and try again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:43 PM
01-22-2004 07:43 PM
Re: Issue with missing vg for cmcheckconf
Take a look at this threat:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=10355
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:44 PM
01-22-2004 07:44 PM
Re: Issue with missing vg for cmcheckconf
both nodes show on the bottom:
VOLUME_GROUP /dev/smsvg00
sigh...
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:49 PM
01-22-2004 07:49 PM
Re: Issue with missing vg for cmcheckconf
How come it is exclusive already if it is not part of serviceguard yet?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:54 PM
01-22-2004 07:54 PM
Re: Issue with missing vg for cmcheckconf
Interesting
What might be a good test is tio do:
cmquerycl -v -C test.ascii -n node1 -n node2
and then examine the resultant ascii file to see what that shows regarding VG's
Failing that, you may want to check the lvmtab files, as well as /dev/smsvg00 directories on each node.
Last test would be to halt the cluster
do vgchange -c n; vgchange -a y; cmcheckconf -v -C .............
and see what happens then.
Out of interest, what version of SG and which patch for SG is installed?
do:
what /usr/lbin/cmcld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:54 PM
01-22-2004 07:54 PM
Re: Issue with missing vg for cmcheckconf
the cluster was already configured but we had some HW issues on a shared disk array so that we had to apply some minor changes.
What I found is that the cmquerycl shows:
Volume groups on tbesm1a:
/dev/vg00/lvol1 FS MOUNTED /stand
/dev/vg00/lvol2
/dev/vg00/lvol3 FS MOUNTED /
/dev/vg00/lvol4 FS MOUNTED /home
/dev/vg00/lvol5 FS MOUNTED /opt
/dev/vg00/lvol6 FS MOUNTED /tmp
/dev/vg00/lvol7 FS MOUNTED /usr
/dev/vg00/lvol8 FS MOUNTED /var
/dev/vg00/SwapVol1
/dev/backupsmsvg00/DB01VolFS
/dev/backupsmsvg00/HomeVol
/dev/backupsmsvg00/NetscapeVol
/dev/backupsmsvg00/OmniVol
/dev/backupsmsvg00/OracleVol
/dev/backupsmsvg00/OrbixVol
/dev/backupsmsvg00/SmsVol
/dev/backupsmsvg00/SmsBillingVol
/dev/backupsmsvg00/SmsRptVol
/dev/backupsmsvg00/ApacheVol
/dev/backupsmsvg00/DB04VolFS
/dev/backupsmsvg00/DB05VolFS
/dev/backupsmsvg00/SmsLogVol
/dev/backupsmsvg00/DB02VolFS
/dev/backupsmsvg00/DB05ArchVol
/dev/backupsmsvg00/DB03VolFS
/dev/backupsmsvg00/DB06Vol
which is wrong since the backupsmsvg00 is a different VG.
Any idea on how to change this ?
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:57 PM
01-22-2004 07:57 PM
Re: Issue with missing vg for cmcheckconf
/usr/lbin/cmcld:
HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $Revision: 74.03 $
Build date: Sun Nov 25 15:15:30 PST 2001
Build id: ibld_sgops_a1113_patch
A.11.13 Date: 11/06/2001; PATCH: PHSS_25124
Daemon
Config DB
Cluster Monitor
Command Srv
CommunicationSrv
Config
Dlm
Local Comm
Network Sensor
Package Manager
Remote Comm
Quorum Module
API
Service Sensor
Cluster LVM
Status DB
Sync
Util
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:58 PM
01-22-2004 07:58 PM
Re: Issue with missing vg for cmcheckconf
If both nodes show the disk i think it iis the cluster lock disk. If not you can at the vgname only at the bottom.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:01 PM
01-22-2004 08:01 PM
Re: Issue with missing vg for cmcheckconf
ServiceGuard takes the VG's unique ID from lvmtab and tries to match it with configured disks. I attached a script called cmpdisks. Could you please run it whith both node names names as args and post the results?
./cmpdisks node1 node2 >cmpdisks.out
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:02 PM
01-22-2004 08:02 PM
Re: Issue with missing vg for cmcheckconf
Also, do ll /dev/*vg*/group and see what this shows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:02 PM
01-22-2004 08:02 PM
Re: Issue with missing vg for cmcheckconf
1. Halt the cluster.
2. Take the vg out of the cluster (vgchange -c n)
3. Activate the vg non-exclusive (vgchange -a y)
4. Apply the configuration.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:03 PM
01-22-2004 08:03 PM
Re: Issue with missing vg for cmcheckconf
WARNING: Cluster lock disk /dev/dsk/c10t0d0 has failed: I/O error
Actually the lvmtab does not include it:
tbesm1a# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/backupsmsvg00
/dev/dsk/c10t12d5
/dev/dsk/c12t12d5
/dev/dsk/c10t12d6
/dev/dsk/c12t12d6
/dev/dsk/c10t12d7
/dev/dsk/c12t12d7
/dev/smsvg00
/dev/dsk/c10t0d4
/dev/dsk/c10t0d5
/dev/dsk/c10t0d6
/dev/dsk/c10t0d7
/dev/dsk/c12t0d4
/dev/dsk/c12t0d5
/dev/dsk/c12t0d6
/dev/dsk/c12t0d7
The PV exists but is not recorded in any vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:06 PM
01-22-2004 08:06 PM
SolutionWhat's the result of this script:
strings -t d /etc/lvmtab |
grep /dev |
grep -v /dev/dsk |
while read offset path; do
xd -An -j$(($offset+1024)) -N8 -tuL /etc/lvmtab |
read vgid1 vgid2
echo $path $vgid1-$vgid2
done
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:16 PM
01-22-2004 08:16 PM
Re: Issue with missing vg for cmcheckconf
that one was used for backup purposes using BC feature on a a va7400 array.
Your script aoutputs:
/dev/vg00 631339383-1042130551
/dev/backupsmsvg00 628339303-1042137717
/dev/smsvg00 628339303-1042137717
which is what you're afraid of I believe.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:17 PM
01-22-2004 08:17 PM
Re: Issue with missing vg for cmcheckconf
It loks like your hardware changes may have had some nasty side effects, but what may be worth checking (if you are able) is to see WHEN you started getting the error message saying the lock disc is unavailable, as this may have been happening BEFORE you made any hardware changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:19 PM
01-22-2004 08:19 PM
Re: Issue with missing vg for cmcheckconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:21 PM
01-22-2004 08:21 PM
Re: Issue with missing vg for cmcheckconf
how should I proceed ?
Thanks !
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:31 PM
01-22-2004 08:31 PM
Re: Issue with missing vg for cmcheckconf
I think, vgexport'ing backupsmsvg00 from both nodes would help. This removes the duplicate entry from lvmtab... hopefully Serviceguard is happy again then. :)
If the problem persists, you should use vgchgid(1M) to change the VGID on all disks of backupsmsvg00. Generally I would recommend to do this after any BC split operation. Serviceguard really gets confused by these duplicates.
BTW, you should also choose a configured PV as cluster lock disk.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:32 PM
01-22-2004 08:32 PM
Re: Issue with missing vg for cmcheckconf
man vgchgid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:17 PM
01-22-2004 09:17 PM
Re: Issue with missing vg for cmcheckconf
Really thanks a lot.
I vgexported the backupsmsvg00 to clean lvmtab (I don't think I need that volume for the timebeing) and then halted the cluster and reapplied the conf (I needed to change the pvlock as well).
Everything seems good so far, I appreciated !
Cheers,
Mike