[lustre-discuss] lustre-discuss Digest, Vol 130, Issue 21

Ms. Megan Larko dobsonunit at gmail.com
Mon Jan 30 12:00:03 PST 2017


Greetings,

WRT to Subject:  Lustre Installation...
 From: Devendra Patil


For CentOS 7.2 (not using ZFS, but XFS backing):
Server kernel: kernel-3.10.0-327.3.1.el7_lustre.x86_64
Client kernel:  kernel-3.0.10-327.3.1.el7.x86_64

Lustre 2.8.0:
Server:  basically, I used the rpms that matched the kernel.   such as
lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.rpm
and similar files such as kernel-headers-3.10.0-327.3.1.el7_lustre.x86_64,
lustre-modules-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64
lustre-osd-ldiskfs-2.8.0-3.10.0_327.3.1.el7_lustre.X86_64
lustre-osd-ldiskfs-mount-2.8.0-3.10.0_327.3.1.el7_lustre.X86_64
...and lustre-dkms, lustre-iokit, lustre-osd-zfs, lustre-osd-zfs-mount....

Client is very similar, but shorter Lustre rpm list:
lustre-client-2.8.0-3.10.0_327.3.1.el7.x86_64
lustre-client-modules-2.8.0-3.10.0_327.3.1.el7.x86_64
lustre-client-dkms-2.8.0-1.el7.noarch
lustre-client-tests-2.8.0-3.10.0_327.3.1.el7.x86_64

Cheers!
megan

On Fri, Jan 27, 2017 at 7:17 AM, <lustre-discuss-request at lists.lustre.org>
wrote:

> Send lustre-discuss mailing list submissions to
>         lustre-discuss at lists.lustre.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> or, via email, send a message with subject or body 'help' to
>         lustre-discuss-request at lists.lustre.org
>
> You can reach the person managing the list at
>         lustre-discuss-owner at lists.lustre.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lustre-discuss digest..."
>
>
> Today's Topics:
>
>    1. Lustre Installation... (Devendra Patil)
>    2. Re: Lustre Installation... (Jeff Slapp)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Jan 2017 15:35:34 +0530
> From: Devendra Patil <dspatil7768 at gmail.com>
> To: lustre-discuss at lists.lustre.org
> Subject: [lustre-discuss] Lustre Installation...
> Message-ID:
>         <CAPVOsYUt31+oZmVZvbOayssG2a1ANsBYumStZoApk
> eEupKBDuQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> I'm newbie to lustre. Currently I'm facing issue while installing lustre on
> CentOs 7.2. Can anyone guide me which OS to use and compatible lustre
> version for it.
>
> Thank you,
> Devendra Patil
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lustre.org/pipermail/lustre-discuss-
> lustre.org/attachments/20170127/f5d3b3cb/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 27 Jan 2017 12:17:18 +0000
> From: Jeff Slapp <Jeff.Slapp at DataCore.com>
> To: Devendra Patil <dspatil7768 at gmail.com>,
>         "lustre-discuss at lists.lustre.org"       <
> lustre-discuss at lists.lustre.org>
> Subject: Re: [lustre-discuss] Lustre Installation...
> Message-ID:
>         <9ae4f4edcfd448018dad607386e5fa92 at Mail-RE3.datacoresoftware.com>
> Content-Type: text/plain; charset="utf-8"
>
> Good day Devendra,
>
> Below are the steps I used to install the MGS, OSS and client using ZFS.
> If you are using CentOS 7.2 you will need to adjust some of the parameters
> below to match:
>
> [INITIAL OS INSTALL]
> Using CentOS 7.3.1611 with the following roles enabled:
>                File and Storage Server
>                Guest Agents (if in a VM)
>                Large System Performance
>                Network File System Client
>                Performance Tools
>                Compatibility Libraries
>                Development Tools
>
> [POST OS INSTALL STEPS TO BE PERFORMED ON ALL LUSTRE NODES (MGS/MGT AND
> OSS)]
> hostname [YOUR SERVER NAME] - or use nmtui to configure network interfaces
> vi /etc/yum.repos.d/lustre_server.repo
>                [lustre-server]
>                name=CentOS-$releasever - Lustre server
>                baseurl=https://downloads.hpdd.intel.com/public/lustre/
> lustre-2.9.0/el7.3.1611/server/
>                gpgcheck=0
> yum -y install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-
> release-7-8.noarch.rpm
> yum clean all
> kernel_version=`yum list --showduplicates kernel | grep lustre-server |
> awk '{print $2}'`
> kernel_firmware_version=`yum list --showduplicates kernel-firmware | grep
> lustre-server | awk '{print $2}'`
> yum -y install --nogpgcheck --setopt=protected_multilib=false
> kernel-${kernel_version} kernel-firmware-${kernel_firmware_version}
> kernel-devel-${kernel_version} kernel-headers-${kernel_version}
> yum clean all
> yum -y install yum-plugin-versionlock
> yum versionlock add kernel
> yum versionlock add kernel-firmware
> yum versionlock add kernel-devel
> yum versionlock add kernel-headers
> yum clean all
> yum-config-manager --disable lustre-server
> yum -y install http://download.zfsonlinux.org/epel/zfs-release.el7_3.
> noarch.rpm
> yum clean all
> yum-config-manager --disable zfs
> yum-config-manager --enable zfs-kmod
> ** reboot **
> yum -y install wget
> yum -y install rpm-build
> yum -y install kmod-zfs-devel libzfs2-devel
> yum -y install libselinux-devel libtool
> rm -f lustre-2.9.0-1.src.rpm&& wget -q https://downloads.hpdd.intel.
> com/public/lustre/lustre-2.9.0/el7/server/SRPMS/lustre-2.9.0-1.src.rpm
> rm -rf ~rpmbuild&& rpmbuild --rebuild --with zfs lustre-2.9.0-1.src.rpm
> cd ~/rpmbuild/RPMS/`uname -m`/&& yum -y install kmod-lustre-osd-zfs-2.9.0*
> kmod-lustre-2.9.0* lustre-osd-zfs-mount-2.9.0* lustre-2.9.0* lustre-iokit*
> modprobe zfs
> systemctl stop firewalld
> systemctl disable firewalld
> systemctl preset zfs-import-cache zfs-import-scan zfs-mount zfs-share
> zfs-zed zfs.target
> systemctl enable zfs-import-scan
> chkconfig lustre on
> echo "options lnet networks=tcp0(eth0)" > /etc/modprobe.d/lustre.conf
>
> [MGS/MDT SPECIFIC]
> zpool create -f mgs01-pool mirror /dev/sd[b-c]
> mkfs.lustre --mdt --mgs --backfstype=zfs --fsname=ZFS01 --index=0
> --mgsnode=[MGS IP ADDRESS]@tcp0 mgs01-pool/ZFS01
> mkdir /mnt/ZFS01
> lctl dl
> mount -t lustre mgs01-pool/ZFS01 /mnt/ZFS01
> lctl dl
>
> [OSS SPECIFIC]
> zpool create -f oss01-pool raidz /dev/sd[b-e]
> mkfs.lustre --ost --backfstype=zfs --fsname=ZFS01 --index=0 --mgsnode=[MGS
> IP ADDRESS]@tcp0 oss01-pool/ZFS01
> mkdir /mnt/ZFS01
> lctl dl
> mount -t lustre oss01-pool/ZFS01 /mnt/ZFS01
> lctl dl
>
> [LUSTRE CLIENT INSTALL]
> vi /etc/yum.repos.d/lustre_client.repo
>                [lustre-client]
>                name=CentOS-$releasever - Lustre client
>                baseurl=https://downloads.hpdd.intel.com/public/lustre/
> lustre-2.9.0/el7.3.1611/client/
>                gpgcheck=0
> yum -y install lustre-client-2.9.0* kmod-lustre-client-2.9.0*
> mkdir /mnt/lustre
> echo "options lnet networks=tcp0(eth0)" > /etc/modprobe.d/lustre.conf
> mount -t lustre [IP ADDRESS OF MGS SERVER]@tcp0:/ZFS01 /mnt/lustre
>
>
> Hope this helps.
>
>
> From: lustre-discuss [mailto:lustre-discuss-bounces at lists.lustre.org] On
> Behalf Of Devendra Patil
> Sent: Friday, January 27, 2017 5:06 AM
> To: lustre-discuss at lists.lustre.org
> Subject: [lustre-discuss] Lustre Installation...
>
> Hello,
>
> I'm newbie to lustre. Currently I'm facing issue while installing lustre
> on CentOs 7.2. Can anyone guide me which OS to use and compatible lustre
> version for it.
>
> Thank you,
> Devendra Patil
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lustre.org/pipermail/lustre-discuss-
> lustre.org/attachments/20170127/b4ccc842/attachment.htm>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
>
> ------------------------------
>
> End of lustre-discuss Digest, Vol 130, Issue 21
> ***********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20170130/168bf266/attachment-0001.htm>


More information about the lustre-discuss mailing list