Procedure:SpectrumScaleInstall

From OACISS Systems Wiki
Jump to navigation Jump to search

The basic steps to install Spectrum Scale on client nodes are as follows:

  • Add the EMS' root key to the host authorized_keys
  • Add PATH="$PATH:/usr/lpp/mmfs/bin" to root's .bashrc to make things easier
  • Install prerequisite packages:
    • For rhel: yum -y install kernel-devel cpp gcc gcc-c++ glibc sssd ypbind openldap-clients krb5-workstation ksh m4 net-tools
    • For ubuntu: apt install cpp gcc g++ yp-tools ksh
  • Run the Spectrum Scale installer-extractor (in erik-k's 'drivers' directory): ./Spectrum_Scale_Data_Management-5.0.5.7-x86_64-Linux-install
  • Install the Spectrum packages:
    • cd /usr/lpp/mmfs/5.0.5.7/gpfs_rpms/
    • rpm -ivh gpfs.base*.rpm gpfs.gpl*rpm gpfs.license*rpm gpfs.gskit*rpm gpfs.msg*rpm gpfs.compression*rpm gpfs.adv*rpm gpfs.crypto*rpm

or

    • cd /usr/lpp/mmfs/5.0.5.7/gpfs_debs/
    • apt install ./gpfs.base*.deb ./gpfs.gpl*deb ./gpfs.license*deb ./gpfs.gskit*deb ./gpfs.msg*deb ./gpfs.compression*deb ./gpfs.adv*deb ./gpfs.crypto*deb
  • mmbuildgpl

Followed by running on the EMS,

  • mmaddnode -N NODE.stor:nonquorum::client --accept
  • mmstartup -N NODE
  • mmgetstate -a # confirm it's running

... Whereupon /gpfs/gpfs0/ magically appears on the host node. Mischief managed.