BwFileStorage Login Cluster: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<pre> |
<pre> |
||
$SHELL=/bin/bash |
$SHELL=/bin/bash |
||
$USER= |
$USER=prefix_loginname |
||
$BWFS=$BWFILESTORAGE=/bwfilestorage/ |
$BWFS=$BWFILESTORAGE=/bwfilestorage/prefix/prefix_groupname/prefix_loginname |
||
$SNAPSHOTS=/bwfilestorage/ |
$SNAPSHOTS=/bwfilestorage/prefix/.snapshots |
||
$TEMP=/temp/oe/oe_groupname/ |
$TEMP=/temp/oe/oe_groupname/prefix_loginname |
||
</pre> |
</pre> |
||
<hr> |
|||
prefix : [https://www.bwidm.de/attribute/belegung-fuer-bwidmorgid/ fileset name per organization; prefix for login name and group name] |
|||
<hr> |
|||
<H2>Using SSH from Unix client</H2> |
<H2>Using SSH from Unix client</H2> |
||
Line 22: | Line 23: | ||
'''Example:''' |
'''Example:''' |
||
<pre> |
<pre> |
||
>ssh -p 22 |
>ssh -p 22 prefix_loginname@bwfilestorage-login.lsdf.kit.edu |
||
</pre> |
</pre> |
||
Line 30: | Line 31: | ||
<pre> |
<pre> |
||
>ssh-keygen -b 2048 -t rsa -C "Login username" |
>ssh-keygen -b 2048 -t rsa -C "Login username" |
||
>ssh-copy-id -i ~/.ssh/id_rsa.pub |
>ssh-copy-id -i ~/.ssh/id_rsa.pub prefix_loginname@bwfilestorage-login.lsdf.kit.edu |
||
</pre> |
</pre> |
||
Revision as of 13:35, 16 March 2015
Cluster name: bwfilestorage-login.lsdf.kit.edu
The login cluster are directly accessible by end users.
These nodes are used for interactive login, file management, data retrieving and restoring.
Four nodes are dedicated to this service but they are all accessible via one host name and a DNS round-robin alias distributes the login sessions to the different login nodes.
Environment Variables:
$SHELL=/bin/bash $USER=prefix_loginname $BWFS=$BWFILESTORAGE=/bwfilestorage/prefix/prefix_groupname/prefix_loginname $SNAPSHOTS=/bwfilestorage/prefix/.snapshots $TEMP=/temp/oe/oe_groupname/prefix_loginname
prefix : fileset name per organization; prefix for login name and group name
Using SSH from Unix client
Example:
>ssh -p 22 prefix_loginname@bwfilestorage-login.lsdf.kit.edu
Access per ssh key:
Example:
>ssh-keygen -b 2048 -t rsa -C "Login username" >ssh-copy-id -i ~/.ssh/id_rsa.pub prefix_loginname@bwfilestorage-login.lsdf.kit.edu
Attention: Posix style file commands (for instance chmod) must not be applied on files on a CIFS share. This may revoke sharing and Access Lists (ACLs), steering the access to the files.
Using SSH from Windows and Mac client
Windows clients do not have a SSH client installed by default, so it needs to be installed before this protocol can be used.
Tools for example: