NafLoginAndWgs

From Naf-Wiki
Jump to: navigation, search

NAF Login and WGS

Each experiment has several WGS (work-group-server) for interactive work. The current list (4.4.2014) is the following

ATLAS

Host OS
nafhh-atlas01 SL 6.5
nafhh-atlas02 SL 6.5
nafhh-atlas03 SL 6.5
nafhh-atlas04 SL 6.5
nafhh-atlas05 SL 5.9
nafhh-atlas06 SL 5.9

CMS

Host OS
nafhh-cms01 5.8
nafhh-cms02 5.8
nafhh-cms03 6.5
nafhh-cms04 6.5
nafhh-cms05 5.10
nafhh-cms06 5.10

ILC

Host OS
nafhh-ilc01 5.8
nafhh-ilc02 6.5

LHCb

Host OS
nafhh-lhcb01 6.4

Belle

Host OS
nafhh-belle01 6.5
nafhh-belle02 6.5


You can directly login to an host using ssh, e.g.: ssh mueller@nafhh-xyz01.desy.de

All the usual tips and tricks related to ssh (and kerberized ssh) apply. Use your preferred search engine or man ssh to find out. (Hint: Users might want to document them here:-) )

Using Kerberos

If you wish to use kerberos (kinit), you need these lines (possible not all of them) in your kerberos configuration (/etc/krb5.conf):

[realms]
  DESY.DE = {
    kdc = netra33.desy.de:88
    kdc = netra34.desy.de:88
    kdc = netra32.desy.de:88
    admin_server = netra32.desy.de
    default_domain = desy.de
  }
  IFH.DE = {
    kdc = kdc3.ifh.de kdc1.ifh.de kdc2.ifh.de
    admin_server = kdc1.ifh.de
    default_domain = ifh.de
  }
  WIN.DESY.DE = {
    krb4_get_tickets = false
    kdc = ADC11.WIN.DESY.DE
    kdc = ADC12.WIN.DESY.DE
    kdc = ADC13.WIN.DESY.DE
    kdc = ADC14.WIN.DESY.DE
    kdc = ADC15.WIN.DESY.DE
    admin_server = ADC11.WIN.DESY.DE
    default_domain = WIN.DESY.DE
    v4_instance_convert = {
      desy = desy.de
       win.desy = win.desy.de
    }
  }
  NAF.DESY.DE = {
    kdc = tcdc1.naf.desy.de tcdc2.naf.desy.de tcdc3.naf.desy.de
    default_domain = naf.desy.de
  }
 
[domain_realm]
  .desy.de = DESY.DE
  .naf.desy.de = NAF.DESY.DE
  .win.desy.de = WIN.DESY.DE
  .ifh.de = IFH.DE

Then you can use it via

kinit -f username@DESY.DE

Usage of WGS

Be reasonable when you use the WGS. No technical resource control happens on the WGS ... so be careful and nice to your colleagues that also want to use ressources on the WGS. As a rule of thumb, use the WGS for development, short (<10min) test jobs, graphical things, ... Do not use the WGS for longer lasting processes, or processes that do not require interactive return. Such processes are best placed onto the batch system - which has much more ressources and resource control mechanisms.

(We check WGS on a daily basis, and if we find long running jobs or jobs consuming huge amounts of memory, we write an automated email.)

NAF Remote Desktop

also know as Live-Server, or NX-like Server ... are described here