Microsoft Linux Cluster User Notes: Difference between revisions

From MRC Centre for Outbreak Analysis and Modelling
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Mounting shares for cluster use==
==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. If you want access to other windows shares, then create a file in your DIDE home directory, called <code>.pam_mount.conf.xml</code> containing something like this, replacing <dide-username> with your username (mine would be wrh1):-
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 <code>.pam_mount.conf.xml</code> containing something like this, replacing <dide-username> with your username (mine would be wrh1):-


<pre>
<pre>

Revision as of 17:16, 4 October 2016

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>