[lustre-discuss] Converting MGS to ZFS - HA Config Question

Sid Young sid.young at gmail.com
Thu May 27 20:52:49 PDT 2021


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 at 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 and the other MDS is, 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= at o2ib
mkfs_cmd = zpool create -f -O canmount=off mgspool mirror d3710M0 d3710M1
mkfs_cmd = zfs create -o canmount=off  mgspool/mgt
Writing mgspool/mgt properties
  lustre:failover.node= at o2ib
[root at hpc-mds-02]#

]# zfs list
mgspool       468K   860G    96K  /mgspool
mgspool/mgt    96K   860G    96K  /mgspool/mgt
[root at hpc-mds-02 by-id]# zpool status
  pool: mgspool
 state: ONLINE
  scan: none requested

        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 at hpc-mds-02#

Sid Young
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20210528/f321a692/attachment.html>

More information about the lustre-discuss mailing list