Microsoft Linux Cluster User Notes

From MRC Centre for Outbreak Analysis and Modelling
Revision as of 16:16, 4 October 2016 by Admin (talk | contribs)
Jump to navigation Jump to search

Mounting shares for cluster use

The only thing you really need to do before using the linux nodes on the fi--didelxhn cluster, is sort out any windows shares you're going to want access to. When you log in (or when the cluster logs in as you), your DIDE home directory will be automatically mounted as ~/dide/home, (where ~ is automatically set to /homes/<dide-username> - which is cluster-node specific, hence different on every node. Don't save stuff there!). If you want access to other windows shares, then create a file in your DIDE home directory, called .pam_mount.conf.xml containing something like this, replacing <dide-username> with your username (mine would be wrh1):-

<?xml version="1.0" encoding="utf-8" ?>
<pam_mount>
  <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/tmp" path="Tmp" server="fi--didef2.dide.ic.ac.uk" fstype="cifs" />
  <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/f2gsim" path="GlobalSim" server="fi--didef2.dide.ic.ac.uk" fstype="cifs" />
  <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/nas1gsim" path="Test" server="fi--didenas1.dide.ic.ac.uk" fstype="cifs" />
</pam_mount>