Go Back   The UNIX and Linux Forums > Operating Systems > AIX


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-20-2012
Registered User
 
Join Date: Jul 2011
Location: Bangalore
Posts: 74
Thanks: 27
Thanked 0 Times in 0 Posts
HACMP file system

Hi

I have a doubt. Our setup is a 2 node HACMP cluster. To create a HACMP file system we do via #smitty hacmp -> cspoc.

Imagine if I have done a mistake and created the file system locally in one of the node using #smitty crfs. How to bring this file system now under HACMP?
Sponsored Links
    #2  
Old 06-20-2012
funksen funksen is offline Forum Advisor  
Registered User
 
Join Date: Nov 2006
Location: Austria/Vienna
Posts: 675
Thanks: 21
Thanked 31 Times in 30 Posts
depends on your resource group configuration, normally you specify a whole volume group to be shared between your nodes, so your filesystem is mounted / unmounted automatically, even if you don't use cspoc to create it.

but you have to make sure, that the /etc/filesystems entries are on both nodes, set automount to no



now you have different vg time stamps on both nodes, so you can either use extended verification and synchronisation, with automatically correct errors to yes, (resource group must be offline) or the command:


Code:
/usr/es/sbin/cluster/utilities/clupdatevgts volumegroup

on the node where you did not create the fs
Sponsored Links
    #3  
Old 06-20-2012
bakunin bakunin is online now Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 3,291
Thanks: 27
Thanked 450 Times in 351 Posts
I wonder if a "learning import" on the other node wouldn't suffice. I haven't had such a situation in a long, long time, but back in HACMP 4.4 this was the way to go.

I hope this helps.

bakunin
    #4  
Old 06-21-2012
Registered User
 
Join Date: Feb 2010
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Cluster file system

Hi,

Can i use the below command online without offline the RG.

/usr/es/sbin/cluster/utilities/clupdatevgts volumegroup

one of our FS is not able to increase through c-spoc. So we are manually increasing. How to update this in second node online.

How to solve this problem ( not able increase FS cspoc)
Sponsored Links
    #5  
Old 06-22-2012
funksen funksen is offline Forum Advisor  
Registered User
 
Join Date: Nov 2006
Location: Austria/Vienna
Posts: 675
Thanks: 21
Thanked 31 Times in 30 Posts
I checked my clusters, clupdatevgts seems to be not present in hacmp since at least 5.4

importvg -L works, but has the disadvantage that the vg has to be offline


on node where the vg is concurrent passive online, you could use


Code:
varyoffvg vg
importvg -L vgname hdisk
varyonvg -c -n -P vgname



I tried this out on the standbynode of a running hacmp 5.4 testcluster, and it worked without the cluster complaining about it in any logfile, not even in clstrmgr.debug.long



@sunnybee: whats the error message of cspoc?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Network File System using HACMP aixromeo AIX 2 07-04-2011 09:57 AM
HACMP does not start db2 after failover (db2nodes not getting modified by hacmp) gkr747 AIX 4 04-26-2011 04:41 AM
Make system backup for 2 nodes HACMP cluster h@foorsa.biz AIX 3 04-20-2011 02:00 AM
file system not getting mounted in read write mode after system power failure gtkpmbpl SCO 1 09-24-2009 12:57 PM
how to mount a file system of a remote machine to local file system cy163 UNIX for Dummies Questions & Answers 2 01-31-2008 08:04 AM



All times are GMT -4. The time now is 05:34 PM.