[lustre-discuss] Converting MGS to ZFS - HA Config Question
Sid Young
sid.young at gmail.com
Thu May 27 20:52:49 PDT 2021
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 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 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 at 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 at o2ib
lustre:version=1
lustre:flags=100
lustre:index=65535
lustre:svname=MGS
[root at hpc-mds-02]#
]# zfs list
NAME USED AVAIL REFER MOUNTPOINT
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
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 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