IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 16 and Version 17 of PS1_IPP_Czarlog_20190426


Ignore:
Timestamp:
May 1, 2019, 3:31:07 PM (7 years ago)
Author:
fairlamb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20190426

    v16 v17  
    668668The compute nodes require a specific set of files to be on them and some 'tmp' directories to temporarily store data while processing. The general process is copy across all the static files that are needeed, then sort out all the links between the drives and '/local/'
    669669
    670 First sure there is an ipp directory to put things in on volume .0, then rsync across the data files required (and set permissions):
     670Make sure there is an ipp directory to put things in on volume .0, then rsync the data across to it(and set permissions):
    671671{{{
    672672  mkdir -p /export/`hostname`.0/ipp
    673673  rsync -auv /data/ippc64.0/ipp/ /export/`hostname`.0/ipp
     674}}}
     675Then make sure the permissions are set for the ipp dir on vol 0
     676{{{
    674677  chown -R ipp:users /export/`hostname`.0/ipp
    675678  chmod -R 775 /export/`hostname`.0/ipp
    676679}}}
    677680
    678 Then, replace the symlink for 'tmp' in the /local/ directory to point to volume .0:
    679 {{{
    680   rm /local/ipp/tmp
     681Then, replace the symlink for 'ipp' in the /local/ directory to point to volume .0:
     682{{{
     683  rm /local/ipp
    681684  ln -s /export/`hostname`.0/ipp /local/ipp
    682685}}}
    683686
    684 Finally, make a 'tmp' directory on volume .1, and have the 'tmp' dir from .0 link to it.
     687Finally, make the tmp directory on .1, and have the and have the 'tmp' dir from .0 link to it.
    685688{{{
    686689  mkdir -p /export/`hostname`.1/ipp/tmp
    687   chown -R ipp:users /export/`hostname`.1/ipp/tmp
    688   chmod -R 775 /export/`hostname`.1/ipp/tmp
     690  chown -R ipp:users /export/`hostname`.1/ipp
     691  chmod -R 775 /export/`hostname`.1/ipp
    689692  ln -s /export/`hostname`.1/ipp/tmp /export/`hostname`.0/ipp/tmp
    690693}}}
    691 '''Note:''' the setup can be slightly different between nodes e.g. not all nodes have volume .1
     694'''Note:''' the setup can be different, not all nodes have volume .1
    692695
    693696