<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Section 8.3.2.2 (Configuring Heartbeat) includes a worked example to
configure OST failover (active/active): <br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.lustre.org/manual/LustreManual18_HTML/Failover.html#50598002_pgfId-1295199">http://wiki.lustre.org/manual/LustreManual18_HTML/Failover.html#50598002_pgfId-1295199</a><br>
<br>
On 4/20/2010 6:42 AM, <a class="moz-txt-link-abbreviated" href="mailto:xgl@xgl.pereslavl.ru">xgl@xgl.pereslavl.ru</a> wrote:
<blockquote cite="mid:ghtNjbV8hR24PKH1@wmail.botik.ru" type="cite">
  <pre wrap="">Greetings!

Sorry for troubling you by such question but I cannot find example in documentation and meet some problems.

I want to use Active/Active failover configuration. (Where can I find some examples?)

I have 2 nodes - s1 and s2 used as OSS'es
I also have 3 block devices
(MDS) - 1Tb used as MDS|MDT
(OST0) 8Tb used as OST1
(OST1) 8Tb used as OST2
All devices available from both OSS's.

OST0 mounted on s1
MDS and OST1 mounted on s2 in normal state.

How can I configure system such way, that if one os OSS'es (s2, as an example), fails out, second OSS (s1) take control of all resources?

I have heartbeat installed and configured.
[root@s2 ~]# cat /etc/ha.d/haresources
s1 Filesystem::/dev/disk/b801::/mnt/ost0::lustre
s2 Filesystem::/dev/disk/b800::/mnt/mdt::lustre Filesystem::/dev/disk/8800::/mnt/ost1::lustre

I configure system;
On s2 I format and mount MDT and OST1
mkfs.lustre --reformat --fsname=lustre --mgs --mdt /dev/disk/by-id/b800   
mount -t lustre /dev/disk/b800 /mnt/mdt/
mkfs.lustre --reformat --ost --fsname=lustre --mgsnode=192.168.11.12@o2ib /dev/disk/8800
mount -t lustre /dev/disk/8800 /mnt/ost1

On s1 I format and mount OST0
mkfs.lustre --reformat --ost --fsname=lustre --mgsnode=192.168.11.12@o2ib /dev/disk/b801
mount -t lustre /dev/disk/b801 /mnt/ost0

service heartbeat up and running on both nodes.

Where have I add some parameters to have lustre up and running if s2 going down? Or where can I find some examples?
How can s1 takeover MDS (/mnt/mdt) and OST1 (/mnt/ost1) that usually mounted on s2?

Thanks,
Katya
_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<a href="http://www.oracle.com" target="_blank"><img
 src="cid:part1.05040709.05080207@oracle.com" alt="Oracle" border="0"
 height="26" width="114"></a><br>
<font color="#666666" face="Verdana, Arial, Helvetica, sans-serif"
 size="2">Sheila Barthel | Documentation Lead<br>
Phone: <a href="tel:+1%203035622468">+1 3035622468</a> <br>
<font color="#ff0000">Oracle</font> Lustre Group<br>
</font><br>
<a href="http://www.oracle.com/commitment" target="_blank"><img
 src="cid:part2.01030007.05010405@oracle.com" alt="Green Oracle"
 align="absmiddle" border="0" height="28" width="44"></a>
<font color="#4b7d42" face="Verdana, Arial, Helvetica, sans-serif"
 size="1">Oracle is committed to developing practices and products that
help protect the environment</font>
<!-- This signature was generated by the MyDesktop Oracle Business Signature utility version 3.6.0 --><!-- Visit http://mydesktop.oracle.com/ and try it for yourself -->
</div>
</body>
</html>