Ccg-admin

From Earlham Cluster Department

(Difference between revisions)
Jump to: navigation, search
(Users and Groups)
(Current To Do)
Line 1: Line 1:
= Current To Do =
= Current To Do =
-
* '''Dali.cluster.earlham.edu'''
+
* This section has been moved to a GDrive document, https://docs.google.com/document/d/1_qsH4eFZRW_rmqq2kgMF_DbKBL-HukjBuAdr93j0oJ0/edit
-
**<strike>ldap [KM]</strike>
+
-
**make/export volume
+
-
**<strike>sudo [KM]</strike>
+
-
 
+
-
* '''General'''
+
-
** NFS and flock() and ownership problems between v3 and v4
+
-
** Intel compiler (C/C++ & FORTRAN), al-salam, fatboy, layout, bobsced
+
-
** GCC recent, al-salam, fatboy, layout, bobsced
+
-
** OpenMPI 1.6.5, al-salam, layout, bobsced
+
-
** CHARMM (command line, not through WebMO, use Michael's?)
+
-
** pdynamo, some cluster depending on the usage model
+
-
 
+
-
* '''Fatboy.cluster.earlham.edu'''
+
-
**<strike>sudo[KM]</strike>
+
-
** figure out groups problem [KM]
+
-
** <strike>anaconda python [AR] </strike>
+
-
 
+
-
* '''Layout.cluster.earlham.edu'''
+
-
** <strike>sudo on all nodes [KM]</strike>
+
-
** change passwords on all nodes (root, exxact) [KM]
+
-
** michael's list (including anaconda python (https://store.continuum.io/cshop/anaconda) on all nodes, [KM]
+
-
*** MDAnalysis (normally installed inside of Anaconda via "pip install MDAnalysis")
+
-
*** VMD
+
-
*** PyMOL
+
-
** <strike>qsub install (torque) on all nodes [KM]</strike>
+
-
** <strike>Install WebMo [KM]</strike>
+
-
*** <strike>Put CD in fatboy and get stuff off of it to copy to layout. Install Gaussian, then Torque, then WebMo in /mounts/software</strike>
+
-
 
+
-
* '''Al-salam.cluster.earlham.edu'''
+
-
** anaconda python on all nodes
+
-
**<strike>sudo on all nodes[KM]</strike>
+
-
** update WebMo on Al-Salam (after layout install/test) [KM]
+
-
 
+
-
* '''All machines'''
+
-
** Close root's sshd's configuration ('''on head node only''') to disallow remote root connection [KM]
+
-
** Develop a global file system naming structure and implement it [KM,AR,CP]
+
-
**<strike>ntp client config (using proto) on hopper, layout*, al-salam*, fatboy, bigfe [AR]</strike>
+
-
 
+
-
* '''General'''
+
-
** Low latency network - fiber or copper based 10GbE [IB]
+
-
** Rack consolidation -
+
-
** Permission masks for places where N people will be working, layout, fatboy, shared filesystems (/cluster, etc.) [AR]
+
-
** Ganglia or equivalent setup, consider MRTG too?
+
-
** Fix difference between head and compute nodes for nsswitch.conf
+
-
 
+
-
This list should be annotated with the initials of who is working on each item.
+
= Cluster Pages =  
= Cluster Pages =  

Revision as of 14:56, 13 September 2014

Contents

Current To Do

Cluster Pages

Installing Software

Enabling a package within Modules

If you think your new package is important enough to be loaded by default, then add it to the list in /mounts/al-salam/software/Modules/3.2.7/init/al-salam.{sh,csh}

DNS/DCHP for a single host

Users and Groups

Users are authenticated based on an LDAP server running on Hopper. cpu is installed on Hopper as an LDAP-user management tool. You should use it to view/edit/create users unless you're super comfortable with ldapmodify and LDIF. Passwords can be changed easily with the ldpasswd.pl command on Hopper. It can be used both by users to change their own password and root to change another user's password.

Groups are also in LDAP. Check the tail end of the result of cpu cat for group info.

man cpu-ldap will tell you all about using cpu for user/group management. For the most part, its format is pretty similar to pw, but there are some minor differences. Read the man page.

Monitoring

Creating new users

Users are created with a perl script called newusers.pl and with a data file that includes the new user information called batch-current.dat.

First figure out whether the users you are creating need shell access or not. Make sure the perl script reflects this characteristics. The line below is what you'll need to modify, and you'll need to be root to do any of the following.

$cpu_out = system("cpu useradd -c '$gecos' -m -k/etc/skel -m -p$password -g users -d /cluster/home/$name -s /bin/bash $name");

If the users need shell access then what is there is fine. If they don't need shell access then change the /bin/bash to /sbin/nologin . Next modify and save the batch-current.dat file with the new users you want to add. The pattern is: full name:username:email address. If you wanting to add more than one, each one should go on a separate line.

Now, to add the users: perl newusers.pl -f batch-current.dat

Some stuff should pass on the screen saying that the new users are created (hopefully). Now we're going to set up those new user's ssh keys. To do that (as yourself):

- ssh as0

- sudo su - root

For every new user:

- su - <newuser>


New Hopper

Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox