Re: Mirroring question

From: Khalid Benhayoune (benhayoune_k@YAHOO.FR)
Date: Tue Mar 04 2003 - 10:25:44 EST


Thank you for your reply.

Imagine that I have two synchronized copies of an lv.

Are the writes to the lv done synchronously (in the same time) to the two copies or to one copy and then to the others ? Can I change this behaviour ?

 -----Message d'origine-----
De : IBM AIX Discussion List [mailto:aix-l@princeton.edu]De la part de Green, Simon
Envoyé : mardi 4 mars 2003 12:28
À : aix-l@princeton.edu
Objet : Re: Mirroring question

When you create a new mirror copy with the mklvcopy command the -k flag indicates that the copy is to be synchronised immediately. This is NOT the default. I usually prefer to leave it off, so that I can confirm that the copy has been allocated correctly before running a syncvg in the background, (although for smaller LVs I'll run it in the foreground). Once the copies are synchronised they should remain so under normal circumstances. Sometimes, because of disk errors, or other I/O failures, the copies may lose synchronisation and can become stale. This can be seen in lsvg, lslv or lspv output. When this happens it is necessary to run syncvg to re-synchronise the copies. Usually, this would be "syncvg -l <your_LV>". Unless you tell it otherwise this will just re-synchronise the stale partitions so it won't take very long provided you catch it early. If you have an error report for hardware or I/O errors it is wise to check that you have no stale partitions. We run an additional monitoring script which checks all volume groups periodically.

Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will seldom be appreciated.
-----Original Message-----
From: Khalid Benhayoune [mailto:benhayoune_k@YAHOO.FR]
Sent: 04 March 2003 12:10
To: aix-l@Princeton.EDU
Subject: Mirroring question

Hi all,

I'd like to know how the copies of a mirrored lv are synchronized ? should i do it manually (syncvg) or it is handled automatically by AIX.

K.Benhayoune
System engineer/DBA
Phone : 212-63-61-70-97
Address : Rue 76, n° 14, Bd Oum Rabia, EL OULFA - CASABLANCA

---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:37 EDT