Difference between revisions of "Installation"
(Created page with "= Install using local yum repo === Prereq yum install -y httpd createrepo === Extract RPMS ./Spectrum_Scale_Standard-<version>-x86_64-Linux-install --silent --dir /var/www/h...") |
(No difference)
|
Revision as of 10:11, 11 April 2018
= Install using local yum repo
=== Prereq yum install -y httpd createrepo
=== Extract RPMS ./Spectrum_Scale_Standard-<version>-x86_64-Linux-install --silent --dir /var/www/html/repos/gpfs/<version>
- Note: --silent will accept the license agreement, dir tells the instsaller to output the RPMs to a non standard directory. By default dir is /usr/lpp/mmfs/<versio>
=== Start Apache web server. systemctl start httpd
=== Create repo file cat << EOF > /etc/yum.repos.d/GPFS.repo [GPFS-Core] name = GPFS Core RPMS baseurl = http://<webserver>/repos/gpfs/4.2.3.0/gpfs_rpms gpgcheck = 0 enable = 1
[GPFS-ZIMon] name = GPFS ZIMon RPMS for monitoring and metric collection for GUI baseurl = http://<webserver>/repos/gpfs/4.2.3.0/zimon_rpms/rhel7 gpgcheck = 0 enable = 1 EOF
=== Install GPFS packages on all nodes yum install -y gpfs.base gpfs.docs gpfs.ext gpfs.gpl gpfs.gskit gpfs.license gpfs.msg.en_US
=== Build GPFS Portability Layer RPM and add to repo yum groupinstall -y "Development Tools" yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r) /usr/lpp/mmfs/bin/mmbuildgpl --build-package
- Note: If using CentOS instead of RHEL there will be an error "Cannot determine the distribution type". To get
around this run the following LINUX_DISTRIBUTION=REDHAT_AS_LINUX /usr/lpp/mmfs/bin/mmbuildgpl --build-package
== The --build-package flag instructs the command to create RPMs instead of installing. To make these available ==to other nodes add them to the local repo cp /root/rpmbuild/RPMS/x86_64/gpfs.gplbin-$(uname -r)-<gpfs_version>.x86_64.rpm /var/www/html/repos/gpfs/<version>/gpfs_rpms createrepo /var/www/html/repos/gpfs/<version>/gpfs_rpms
== Install the Portability Layer on all nodes yum -y install gpfs.gplbin-$(uname -r)
== If you cannot find the package, it is likely because yum cache is not up to date. To fix this, run yum clean all yum makecache