The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To convert multi format file to a readable ascii format gaur.deepti UNIX for Dummies Questions & Answers 5 03-25-2008 03:03 PM
Convert UTF8 Format file to ANSI format rajreddy UNIX for Dummies Questions & Answers 9 05-25-2007 09:26 AM
Convert UTF8 Format file to ANSI format rajreddy UNIX for Advanced & Expert Users 1 05-24-2007 07:40 AM
convert mmddyy date format to ccyyddd format?? Bhups Shell Programming and Scripting 2 09-28-2006 12:30 AM
change the empty function from the old format to the new format powah Shell Programming and Scripting 0 06-23-2005 01:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-11-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,294
I don't know why you always talk about formatting.

When you have productive node AIX1 and it's backuped by a standby node AIX2 of which AIX2's storage is a mirror which is at normal times read-only from AIX2 side, then you just don't touch it from AIX2 as long as there is no crash or maintenance needed.

Quote:
Suppose disaster recovery occurs, mirror is manually broken : LUN is getting read write attribute and of course Data are already present on the LUN.
HOW do I proceed to mount this LUN to my AIX WITHOUT FORMATING ??
You do not FORMAT. There is no such thing to do that at all. Get rid of that word!
If you keep your cluster maintained, normally AIX2 would know at least all VGs AIX1 knows. If not you can, as vbe already said, just importvg the VGs from the now read-write available storage on AIX2. Also you can maybe just varyonvg them.

Forget that word "FORMAT"!

When storage is available and VGs vary on at AIX2, you can just add a new LV by smit(ty) or mklv + crfs for example.

What we do if a VG changes on one node is, that we get a downtime and varyoffvg it on prod node and just exportvg/importvg it on AIX2 so it also knows/has an up-to-date configuration.
Small hint: There is a switch -L for importvg to learn any changes in configuration compared to what it currently knows; from man importvg:

Code:
       -LVolumeGroup
            Takes a volume group and learns about possible changes performed to that volume group. Any new logical volumes created as a
            result of this command emulate the ownership, group identification, and permissions of the /dev special file for the volume
            group listed in the -y flag. The -L flag performs the functional equivalent of the -F and -n flags during execution.
...

Then we varyoffvg on AIX2 again and give it back to AIX1 so production can continue at times.

No offense but if you feel uncomfortable in HA/CMP environment or if you are still a bit unfamiliar to AIX and LVM etc. I suggest you get another co-worker that knows his way around with you when working at such a cluster since it is easy to break something. Really not meant as offense but just to point out how sensible this is.
Or if possible, test it out at some test cluser first to become familiar with it.

Last edited by zaxxon; 03-11-2009 at 09:15 AM..
  #2 (permalink)  
Old 03-11-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,577
You want to have an HACMP functionality without the software (otherwise you would have sai "we use HACMP") - But that doesnt change what Zaxxon and I have explained:
A disk or PV is useless if you dont know its structure (and so you create one!) to be able to "share" the data on it - Since UNIX takes care of the writing to it, only one can access in RW at any time - That is why you have the exclusive mode - to let the OS know it is a shared disk, for this both server have to know the the content of the VG ( the PVs and LVM structure) that is why you DONT CREATE a new one (server 1 did that...) but importvg.
What we are saying is that server2 should already be aware of the VG and you, to mount its content only have to varyonvg, zaxxon will correct me if I didnt get it right...
  #3 (permalink)  
Old 03-11-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,294
@vbe: That hits it.
There is also concurrent access to storage in clusters possible to be configured, but it seems that isn't the case here. All of our clusters which are 2 node clusters have due to reservation only access to 1 storage at a time. Writing the mirror is done by SRDF on our EMC system, by AIX mirror on our part of our Clariions and SAN Symphony at the other half of Clariion storage units.
We only have concurrent acces on Heartbeat devices.
  #4 (permalink)  
Old 03-13-2009
Ivan45 Ivan45 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
Hello Zaxxon, Vbe,

thanks a lot for your answers.
I will test and test for sure !!
Cheers
Ivan
Closed Thread

Bookmarks

Tags
lvm format

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0