<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,
I have 2 servers supermicro lsi 2108 with many disks (80TB) and I'm trying to build a SAN with
drbd and pacemaker. I'm studying, but I have no experience on large
array of disks with drbd and pacemaker, so I have some questions:<br><br></div>I'm
using MegaRAID Storage Manager to create virtual drives. Each virtual
drive is a device on linux (eg /dev/sdb, /dev/sdc.....), so my first question is: it's a good idea to
create virtual drive of 8 TB (max)? I'm thinking to rebuild array time
in case of disk failure (about 1 day for 8 TB). <br><br></div>This is my cluster "infrastructure":<br></div>1) linux device (eg /dev/sdb) (create as a virtual drive in megaraid storage manager)<br></div>2)
Ext4 partition (so /dev/sdb1 with maximum space allocated (8TB)) --
Question: ext4 is a good idea? Filesystem is mandatory at this level?<br></div>3) DRBD resource (rX. disk = /dev/sdb)<br></div>4) Physical Volume with /dev/drbdX<br></div>5) Volume Group vgiscsiXX<br></div>6) Logical Volume /dev/vgiscsiXX/lunY<br></div>7) Pacemaker resource DRBD (Master/slave)<br></div>8) Pacemaker resource LVM (ocf:LVM)<br></div>9) Pacemaker resource ISCSITarget<br></div>10) Pacemaker resource ISCSILogicalUnit<br></div>11) Paremaker resource VIP<br><br></div>Questions:<br></div>It's a good idea create more drbd resources or should I create only one resource and add all "megaraid devices" at start time? At this link there is an image of the cluster in LCMC -> <a href="http://pasteboard.co/HAinx8g.png">http://pasteboard.co/HAinx8g.png</a> . How should I manage multiple drbd resources in pacemaker? In particular, I don't know if colocation and ordering respect to LVM are correct. Please give me some advises....<br></div>It's a good idea create one Volume group for all luns?<br></div>Following
this example, if I need to resize a LUN, I can add a drbd resource,
create a PV, vgextend the volume group and then resize the logical
volume associated to the lun. <br><br></div>I'm sorry If this is a OT or if I wrote stupid things...<br></div>Thank you,<br></div>MM</div>