Visit Our UNIX and Linux User Community


Does HACMP have bugs increasing filesystem or Logical volumes


 
Thread Tools Search this Thread
Operating Systems AIX Does HACMP have bugs increasing filesystem or Logical volumes
# 8  
Old 10-15-2009
ECM VGs

Using Enhanced-Concurrent VGs is great, but it's recommended that the disks have their reserve policy set to "no_reserve" if possible. This will prevent any ill-behaved programs from opening a disk with reserve, thus clobbering the VG access on the other nodes.

Also, why do you believe that synchronizing the VGs requires HACMP to be down? You should be able to run "smit HACMP --> CSPOC --> Logical Volume Management --> Synchronize Shared VG Definition" at any time.
# 9  
Old 10-17-2009
gus2000 i think that's right way. It should be done without shutting down HACMP.

clvgdats

Quote:
VGDA out of sync

With HACMP, you can run into the following error during a verification/synchronization:

WARNING: The LVM time stamp for shared volume group: testvg is inconsistent with the time stamp in the VGDA for the following nodes: host01

To correct the above condition, run verification & synchronization with "Automatically correct errors found during verification?" set to either 'Yes' or 'Interactive'. The cluster must be down for the corrective action to run.


This can happen when you've added additional space to a logical volume/file system from the command line instead of using the smitty hacmp menu's. But you certainly don't want to take down the entire HACMP cluster to solve this message.

First of all, you don't. The cluster will fail-over nicely anyway, without these VGDA's being in sync. But, still, it is an annoying warning, that you would like to get rid off.

Have a look at your shared logical volumes. By using the lsattr command, you can see if they are actually in sync or not: host01 # lsattr -Z: -l testlv -a label -a copies -a size -a type -a strictness -Fvalue
/test:1:809:jfs2:y:

host02 # lsattr -Z: -l testlv -a label -a copies -a size -a type -a strictness -Fvalue

/test:1:806:jfs2:y:
Well, there you have it. One host reports testlv having a size of 806 LPs, the other says it's 809. Not good. You will run into this when you've used the extendlv and chfs commands to increase the size of a shared file system. You should have used the smitty menu's.

The good thing is, HACMP will sync the VGDA's if you do some kind of logical volume operation through the smitty hacmp menu's. So, either increase the size of a shared logical volume through the smitty menu's with just one LP (and of course, also increase the size of the corresponding file system); Or, you can create an additional shared logical volume through smitty of just one LP, and then remove it again afterwards.

When you've done that, simply re-run the verification/synchronization, and you'll notice that the warning message is gone. Make sure you run the lsattr command again on your shared logical volumes on all the nodes in your cluster to confirm.
Hacmp / High Availability - Meilink.net

HACMP Synchronization problem
choice1: leave it to lazy update to fix when hacmp falls over next time, or fix when you have a maintenance window.
choice2: Do change in FS
temporary unlock VG on node that owns VG at the moment:varyonvg -b -u VGNAME
On node that does NOT have VG active run importvg -L VGNAME hdiskNAME
On node that HAS VG active, LOCK VG again: varyonvg VGNAME
# 10  
Old 12-12-2009
HACMP 5.4 / 5.5 does have bugs

Yes, IBM POWER HA or HACMP 5.4 / 5.5 does have bugs regarding increasing filesystems. see here

IBM IY90392: CHANGING FILESYSTEM THROUGH CSPOC FAILS AND RESULTS IN RG_MOVE - United States


APAR status

  • Closed as program error.

Error description

  • The customer changed a filesystem size through CSPOC and
    that failed, but it also resulted in moving the resource
    group to the other node.
Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Users of HACMP for AIX R540 performing C-SPOC operations with
    * the cluster.es.cspoc.cmds and cluster.es.cspoc.rte filesets
    * below the level of 5.4.0.2.
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * C-SPOC operations on shared volume groups can result in the
    * volume group becoming inaccessible.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IY90392.
    ****************************************************************
Problem conclusion

  • Correct code added in 551404 to update timestamp to do so
    without setting or leaving a reserve on the volume group
Temporary fix

*********
* HIPER *


*********
# 11  
Old 12-12-2009
Quote:
Originally Posted by filosophizer
Yes, IBM POWER HA or HACMP 5.4 / 5.5 does have bugs regarding increasing filesystems. see here
filosophizer, this was exactly, what shockneck said above:

Quote:
Originally Posted by shockneck
It might come as a surprise but the answer is: YES!
However, he continued:

Quote:
Originally Posted by shockneck
However, occasionally the bug exists between keyboard and chair.

In your case your VG was not in EC-Mode and with shocknecks help you got that corrected. Your posted APAR was already fixed and if you either have AIX 6.1-04 or 5.3-11 this fix would be already on your system, according to IBMs FixDist Central.

That begs the question: what are you trying to tell us?

bakunin
# 12  
Old 12-13-2009
Quote:
In your case your VG was not in EC-Mode and with shocknecks help you got that corrected. Your posted APAR was already fixed and if you either have AIX 6.1-04 or 5.3-11 this fix would be already on your system, according to IBMs FixDist Central.

That begs the question: what are you trying to tell us?
Thanks Bakunin and Shockneck for your help and support. Yes, I got it fixed, but you know earlier versions of HACMP like 5.1 didn't have any problem with increasing the filesystem of a non-EC VG. VG doesn't have to be in EC-Mode for increasing the filesystem through HACMP. With the fix you can increase it without the VG being in EC-Mode. It seems that this bug is in the HACMP 5.4 / 5.5

Last edited by filosophizer; 12-13-2009 at 06:06 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #914
Difficulty: Medium
In bash, grep -v -e '^[[:space:]]*$' file.txt will filter all the blank lines from file.txt and save the results in a file called file.txt.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Check Solaris VM Databases metadb does not have enough information about logical volumes

Check Solaris VM Databases metadb does not have enough information about logical volumes. Current value is 0% I have checked the SVM status, all disks are good state and synched perfectly. no errors in metadb -i. what is this alert exact mean? what we have to check for the value? Please... (1 Reply)
Discussion started by: Naveen.6025
1 Replies

2. Solaris

command for List of logical volumes

On my solaris box, default Sun volume manager is running. I want to check the list of logical volumes and following details for each logical volume: freeSpace usedSpace type isClustered auxId permissions currentLogicalExtent segmentCount allocationType isOpen To know state of... (12 Replies)
Discussion started by: epriya2003
12 Replies

3. UNIX and Linux Applications

raw logical volumes to jfs2

Does anybody if it is possible to convert raw logical volumes to jfs2? If so how is it done or where can I find the information to make the conversion. We have an Oracle Db on AIX and it is using raw lv's which we want to convert to jfs2 because the raw devices don't restore correctly from our... (4 Replies)
Discussion started by: daveisme
4 Replies

4. UNIX for Dummies Questions & Answers

Move veritas filesystem space between Logical volumes

I have a veritas file system (fsA) that is nearing capacity. We have secondary file system (fsB). that is unused and would like to move some of it's disk space but I'm unsure as to how to do this with. /dev/vx/dsk/vg05/lvol05 25288704 21887258 3188911 88% ... (2 Replies)
Discussion started by: Steelysteel
2 Replies

5. HP-UX

Renaming logical volume group and volumes

Hi all, How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use. eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
Discussion started by: Mr. Zer0
6 Replies

6. Linux

one nfs mount point for many logical volumes

hi i am wondering if it is possible to use one nfs mount point for several logical volumes. i have a top level directory /imaging with data1 - data50 below it. each dataX directory is a logical volume configured through LVM. if i mount them separately on the client (i.e. 50 lines in fstab... (1 Reply)
Discussion started by: user23
1 Replies

7. AIX

Used Space on Logical Volumes

Hi Everybody, Is there any way to know the used space on a specific Logical Volume? Note, my question related to the LVs that have no mount point & not belong to any FileSystem. Thanks in advance :rolleyes: (7 Replies)
Discussion started by: aldowsary
7 Replies

8. UNIX for Dummies Questions & Answers

Setting up Logical Volumes in Solaris 10

I have just created two RAID 0 ( Stripped ) devices through Storage Manager and can see them as d0 and d1 ( /dev/md/dsk/d0 and d1 appear to exist ) However how do I now mount these devices ? The manual talks about creating a UFS of LOFS filesystem. Do I need to do this ? I have create /u01... (3 Replies)
Discussion started by: jimthompson
3 Replies

9. News, Links, Events and Announcements

Did not know about logical volumes

I had just updated - reinstalled - my RH9 to a Fedore Core 3. I did not know about the Logical volumes that automatically combined partitions on drive 1 and 2 into one mounted volume. In my attempts to do something with the hdb2 partition - not knowing that it was already in use - I killed my... (2 Replies)
Discussion started by: gezi
2 Replies

10. UNIX for Dummies Questions & Answers

AIC logical volumes

Does anyone know where I can find good documentation on modifying AIX logical volumes. Basically, I have a box that has 2 file systems that rae 99% full. I would like to add another disk, and migrate a file system or 2 to it, then reclaim the space by adding it to other volumes. I understand that... (1 Reply)
Discussion started by: 98_1LE
1 Replies

Featured Tech Videos