Gak,

 

                The way that the LVMVolumeGroup agent determines the
state of the resource (VG in your case) is by execution of the monitor
script under /opt/VRTSvcs/bin/LVMVolumeGroup.  If memory serves, this is
a Perl based script that you should be able to cat out and view easily.
I believe what it does is to look to see if the output of vgdisplay
<volume_group> shows its status as 'exported'.  (vgdisplay <vg> | grep
-I `Status.*exported`.  You may want to check this manually to see if it
is or is not like this.

                

                Tom

 

 

From: veritas-ha-boun...@mailman.eng.auburn.edu
[mailto:veritas-ha-boun...@mailman.eng.auburn.edu] On Behalf Of Gak
Sent: Wednesday, January 27, 2010 2:52 AM
To: Veritas-ha@mailman.eng.auburn.edu; Ganesh Kamath
Subject: [Veritas-ha] VCS 5.0 MP3 on RHEL5.2

 

 


Hi,

I have a VCS 5.x config on RHEL 5.2 with LVM, not VxVM.

But the group never stays online and keeps flapping between teh nodes
with a concurrency violation message about the VG. I think it is because
it sees the LVM VG active on both the nodes and gets confused. This is a
failover group.



2010/01/27 20:50:04 VCS INFO V-16-6-15004 (x.x.x.x) hatrigger:Failed to
send trigger for postoffline; script doesn't exist
2010/01/27 21:05:03 VCS INFO V-16-1-10299 Resource VG (Owner: unknown,
Group: test) is online on x.x.x.x (Not initiated by VCS)
2010/01/27 21:05:03 VCS NOTICE V-16-1-10233 Clearing Restart attribute
for group test on all nodes
2010/01/27 21:05:05 VCS INFO V-16-1-10299 Resource VG (Owner: unknown,
Group: test) is online on x.x.x.x (Not initiated by VCS)
2010/01/27 21:05:05 VCS ERROR V-16-1-10214 Concurrency
Violation:CurrentCount increased above 1 for failover group test
2010/01/27 21:05:05 VCS NOTICE V-16-1-10233 Clearing Restart attribute
for group test on all nodes
2010/01/27 21:05:05 VCS WARNING V-16-6-15034 (x.x.x.x)
violation:Offlining group test on system x.x.x.x
2010/01/27 21:05:05 VCS INFO V-16-1-50135 User root fired command: hagrp
-offline test  x.x.x.x  from localhost
2010/01/27 21:05:05 VCS NOTICE V-16-1-10167 Initiating manual offline of
group test on system x.x.x.x
2010/01/27 21:05:05 VCS NOTICE V-16-1-10300 Initiating Offline of
Resource VG (Owner: unknown, Group: test) on System x.x.x.x
2010/01/27 21:05:05 VCS INFO V-16-6-15002 (x.x.x.x) hatrigger:hatrigger
executed /opt/VRTSvcs/bin/triggers/violation x.x.x.x test   successfully
2010/01/27 21:05:07 VCS INFO V-16-1-10305 Resource VG (Owner: unknown,
Group: test) is offline on x.x.x.x (VCS initiated)
2010/01/27 21:05:07 VCS NOTICE V-16-1-10446 Group test is offline on
system x.x.x.x
2010/01/27 21:05:07 VCS INFO V-16-10031-15005 (x.x.x.x)
triggers:???:nfs_postoffline:(postoffline) Invoked with arguments
x.x.x.x, test
2010/01/27 21:05:07 VCS INFO V-16-6-15002 (x.x.x.x) hatrigger:hatrigger
executed /opt/VRTSvcs/bin/triggers/nfs_postoffline x.x.x.x test
successfully
2010/01/27 21:05:07 VCS INFO V-16-6-15004 (x.x.x.x) hatrigger:Failed to
send trigger for postoffline; script doesn't exist
2010/01/27 21:06:04 VCS ERROR V-16-2-13067 (x.x.x.x) Agent is calling
clean for resource(VG) because the resource became OFFLINE unexpectedly,
on its own.
2010/01/27 21:06:05 VCS INFO V-16-2-13068 (x.x.x.x) Resource(VG) - clean
completed successfully.
2010/01/27 21:06:06 VCS INFO V-16-1-10307 Resource VG (Owner: unknown,
Group: test) is offline on x.x.x.x (Not initiated by VCS)
2010/01/27 21:06:06 VCS INFO V-16-6-15004 (x.x.x.x) hatrigger:Failed to
send trigger for resfault; script doesn't exist
2010/01/27 21:14:48 VCS NOTICE V-16-1-10022 Agent LVMLogicalVolume
stopped
2010/01/27 21:14:57 VCS INFO V-16-1-10307 Resource VG (Owner: unknown,
Group: test) is offline on x.x.x.x (Not initiated by VCS)
2010/01/27 21:14:57 VCS NOTICE V-16-1-10446 Group test is offline on
system x.x.x.x
2010/01/27 21:14:57 VCS NOTICE V-16-1-10301 Initiating Online of
Resource VG (Owner: unknown, Group: test) on System x.x.x.x
2010/01/27 21:14:57 VCS INFO V-16-10031-15005 (x.x.x.x)
triggers:???:nfs_postoffline:(postoffline) Invoked with arguments
x.x.x.x, test

I have also attached the main.cf file.

What am i missing?. I also tried de-activating teh vg on boot by
appending a vgchange -a n orahome, but to no avail.

Any inputs will be appreciated!.

thanks!
Gak




-- 
I have the simplest of tastes;
I am easily satisfied with the best.

_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha

Reply via email to