Computing

From tigwiki

Jump to: navigation, search

Contents

[edit] Setting Up a New PC With Scientific Linux

Setting Up A New PC

[edit] Adding a New User to the Cluster

The following steps will add a new user to the TIGRESS computer cluster:

  • ssh to the NIS server (currently mother8pi).
  • su - (enter root password when prompted).
  • useradd -d /home1/[username] -g users -s /bin/[bash/tcsh] -u [New User ID] -p KoFyNL.278fME [username]
  • On NIS server, edit /etc/auto.home to include the new user and their home directory.
  • cd /var/yp
  • make
  • Now sign in to the machine hosting the new users home directory.
  • If the user's home directory will be located on another machine, copy the contents of the newly created home directory to /home1/ on the new machine. To avoid changing the permissions and other file attributes use rsync -avz to copy.
  • Now back as root on mother8pi:
  • usermod -d /home/[username] username
  • cd /var/yp ; make

The new user should now be set up and accessible from any machine in the cluster.

[edit] Initial password

KoFyNL.278fME is an encrypted form of our "usual" password as of early 2012. The newly-added user must be encouraged to change it ASAP using yppasswd (not passwd!). If you want to set the initial password to Trdgam, use the command line perl -e'print crypt("Trdgam","Trdgam")."\n" ' to generate the encrypted form of Trdgam, and then use the output of that command instead of KoFyNL.278fME. (Try it with the usual password to verify that it works. Obviously you can replace Trdgam with any arbitrary new password, as long as you do it consistently

[edit] Gamma Group linux cluster

These are the details and locations of the Gamma group linux machines, in addition to the DAQ machines used within the group. They are maintained by Carl Unsworth (cu@triumf.ca x7486).

Computer Name Location/User Processor Memory Operating System Notes
Midtig06 Intel Xeon 2.6GHz 2 GB Scientific Linux (5.5)
Midtig03 TIGRESS testing bench AMD Athlon 64 X2 4400+ 4 GB Scientific Linux (4.4) TIGRESS detector testing DAQ
Midtig02 TIGRESS counting room AMD Athlon 64 X2 4400+ 4 GB Scientific Linux (4.4) TIGRESS DAQ
Midtig01 BGO testing bench AMD Athlon MP 2400+ 2 GB Scientific Linux (5.0) BGO testing DAQ
Isdaq08 8pi Counting room AMD Athlon 64 X2 4400+ 4 GB Scientific Linux (4.4) 8pi DAQ
Chanchal Zhimin Wang Intel Core2Quad 2.83GHz 8 GB Scientific Linux (5.3)
Pankipollo Peter Bender AMD Athlon 64 X2 6000+ 8 GB Scientific Linux (6.0)
Metis Mustafa Rajabali Intel Core2Quad 2.66GHz 8 GB Scientific Linux (5.3)
Jaguar AMD Opteron 246 2 GB Scientific Linux (4.2)
Lynx Vacuum Bench Intel Pentium 4 2.4GHz 1 GB Red Hat Linux release 9
Mother8pi Counting Room Intel Pentium 4 2.40GHz 2 GB Scientific Linux (5.0) NIS master (home directory server)
Panther Chris Pearson Intel Core i7 2.80GHz 8 GB Scientific Linux (5.4) NIS slave
Zaphod Phil Voss Intel Core2Quad 2.83GHz 8 GB Fedora Core 9
Smilodon Carl Unsworth Intel Core i7 CPU 2.80GHz 16 GB Scientific Linux (5.4)
Megalodon Jason Park Intel Core i5-2300 2.80GHz 16 GB Scientific Linux (6.0)
Docodon Lee Evitts Intel Core i5-2300 2.80GHz 16 GB Scientific Linux (6.0)
Darwin David Cross Intel Core i7 2.93GHz 8 GB Scientific Linux (5.5)
Athena Chantal Nobs Intel Core i5 CPU 3.20GHz 16 GB Scientific Linux (5.5)
Mastodon Alison Radich Intel Core i7 CPU 2.80GHz 16 GB Scientific Linux (5.4)
Aquila Adam Garnsworthy Intel Core i7 CPU 3.40GHz 16 GB Scientific Linux (6.0)
Radon Counting Room AMD Athlon 7750 Dual-Core Processor 8 GB Fedora release 10
trwin.tigress 16 GB Windows Windows server for firmware compilation

[edit] EPICS wont load on newer PC

Trying to ssh into an EPICS server from one of our newer PCs (SLinux 6+) can fail with the error:

font init failed

The required fonts are present but EPICS/Xwindows can't find them, I managed to fix this problem by running:

xset fp+ /usr/share/X11/fonts/75dpi

If this works for you, you can add it to a startup script such as .bashrc or .profile in your home directory. This is a bit of a clumsy patch, I'll try to find a better fix and update this information later.

Personal tools
Experiment Pages