[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-discuss
Subject:    [lustre-discuss] Converting MGS to ZFS - HA Config Question
From:       Sid Young via lustre-discuss <lustre-discuss () lists ! lustre ! org>
Date:       2021-05-28 3:52:49
Message-ID: CAEZ+gOyu2fuCzH8uu=ywH4T1xdJP_gxA=h46VYg_83MPn9qNdA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I am in the process of converting my pre-production cluster to use ZFS, and
I have a question regarding HA config parameters. The storage node has 24
disks, I've sliced off two disks in HBA mode to act as a 960G mirror. the
command is:

# mkfs.lustre --reformat --mgs  --failnode 10.140.93.41@o2ib
--backfstype=zfs mgspool/mgt mirror d3710M0 d3710M1

This runs successfully and I get the output below, however I want to make
sure the second MDS node can be failed over too using Pacemaker, so if the
server I am on now is 10.140.93.42 and the other MDS is 10.140.93.41, do I
need to specify the host its on now (.42) anywhere in the config? I tried
the servicenode parameter but it refuses to have servicenode and failnode
in the command:

   Permanent disk data:
Target:     MGS
Index:      unassigned
Lustre FS:
Mount type: zfs
Flags:      0x64
              (MGS first_time update )
Persistent mount opts:
Parameters: failover.node=10.140.93.41@o2ib
mkfs_cmd = zpool create -f -O canmount=off mgspool mirror d3710M0 d3710M1
mkfs_cmd = zfs create -o canmount=off  mgspool/mgt
  xattr=sa
  dnodesize=auto
Writing mgspool/mgt properties
  lustre:failover.node=10.140.93.41@o2ib
  lustre:version=1
  lustre:flags=100
  lustre:index=65535
  lustre:svname=MGS
[root@hpc-mds-02]#

]# zfs list
NAME          USED  AVAIL  REFER  MOUNTPOINT
mgspool       468K   860G    96K  /mgspool
mgspool/mgt    96K   860G    96K  /mgspool/mgt
[root@hpc-mds-02 by-id]# zpool status
  pool: mgspool
 state: ONLINE
  scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        mgspool      ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            d3710M0  ONLINE       0     0     0
            d3710M1  ONLINE       0     0     0

errors: No known data errors
[root@hpc-mds-02#



Sid Young

[Attachment #5 (text/html)]

<div dir="ltr">Hi,  <div><br></div><div>I am in the process of converting my \
pre-production cluster to use ZFS, and I have a question regarding HA config \
parameters. The storage node has 24 disks, I&#39;ve sliced off two disks in HBA mode \
to act as a 960G mirror. the command is:</div><div><pre># mkfs.lustre --reformat \
--mgs   --failnode 10.140.93.41@o2ib --backfstype=zfs mgspool/mgt mirror d3710M0 \
d3710M1<br></pre><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>This runs successfully \
and I get the output below, however I want to make sure the second MDS node can be \
failed over too using Pacemaker, so if the server I am on now is 10.140.93.42 and the \
other MDS is 10.140.93.41, do I need to specify the host its on now (.42) anywhere in \
the config? I tried the servicenode  parameter but it refuses to have servicenode and \
failnode in the command:</div><div><br>     Permanent disk data:<br>Target:       \
MGS<br>Index:         unassigned<br>Lustre FS:<br>Mount type: zfs<br>Flags:         \
0x64<br>                     (MGS first_time update )<br>Persistent mount \
opts:<br>Parameters: failover.node=10.140.93.41@o2ib<br>mkfs_cmd = zpool create -f -O \
canmount=off mgspool mirror d3710M0 d3710M1<br>mkfs_cmd = zfs create -o canmount=off  \
mgspool/mgt<br>   xattr=sa<br>   dnodesize=auto<br>Writing mgspool/mgt properties<br> \
lustre:failover.node=10.140.93.41@o2ib<br>   lustre:version=1<br>   \
lustre:flags=100<br>   lustre:index=65535<br>   \
lustre:svname=MGS<br>[root@hpc-mds-02]#<br></div><div><br></div><div>]# zfs \
list<br>NAME               USED   AVAIL   REFER   MOUNTPOINT<br>mgspool          468K \
860G      96K   /mgspool<br>mgspool/mgt      96K    860G      96K   \
/mgspool/mgt<br>[root@hpc-mds-02 by-id]# zpool status<br>   pool: mgspool<br>  state: \
ONLINE<br>   scan: none requested<br>config:<br><br>            NAME             \
STATE       READ WRITE CKSUM<br>            mgspool         ONLINE          0       0 \
0<br>               mirror-0    ONLINE          0       0       0<br>                 \
d3710M0   ONLINE          0       0       0<br>                  d3710M1   ONLINE     \
0       0       0<br><br>errors: No known data \
errors<br>[root@hpc-mds-02#<br></div><div><br></div><div><br></div><div><br></div><div>Sid \
Young</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>




_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic