Adding a user to the Medusa cluster
The green text in the following
instructions should be replaced by the appropriate values. These
instructions are not intended to replace man pages. They extend that
information to a protocol to be followed on Medusa.
- Assemble the username,
contact info (email and phone),
data group requirements,
for the new user. These values
must be chosen according to the rules laid out in the
user/group table. This table is automatically generated; when you add a
user to the requisite system files, they will appear in this table.
- Log into medusa.phys.uwm.edu as your superuser
account (skflasch, shammerd, sparmor, etc). This account should have
- Add the user with the addnisuser script.
You can find this script in the tools
CVS repository, accessible at the console or
on our public CVS page. If for some reason you have problems
accessing this, you can download it here, but
be warned this may not be as up to date as the version in CVS.
Usage of the script is simple:
./addnisuser uid gid username machine
gid: 500-UWMLSC 502-external
where machine is the value
uwmlsc (likely if the user is internal) or
storage1 (likely if the user is external).
- Manually add human readable name to /var/yp/ypfiles/passwd file.
- Add the user to the appropriate data groups in
cd /var/yp/ ; make
- Put the new versions of auto.home and the nis
passwd file (both updated in the last step) in the CVS repository. To do this,
/var/yp/ypfiles/passwd into the
directory in the 7.3install CVS repository and commit it.
- Backup the updated user account files:
- Add the following line to the /etc/aliases file:
Then run the command
- Put the new version of /etc/aliases in the CVS
repository. To do this, copy /etc/aliases into the
masterconfig/master001/configfiles/etc directory in
the 7.3install CVS repository and commit it.
- Log out of medusa.phys.uwm.edu
- If the user being added is an external user, log into
storage1.phys.uwm.edu as root and do the
cp /etc/skel/.* /export1/homes/username
chown --recursive uid.gid username
[note: skip this step if the user is internal - a different procedure is
- Log out of storage1.phys.uwm.edu
- Add the user to the appropriate grid-mapfile. Ask Paul (or Scott) where
these are stored.
- Add the user to the userpriorites script on
condor. Set the priority to the appropriate value, and check the file into
- Add the users contact info (phone, email) to the appropriate files on
/var/yp/ypfiles/email. These files then need to be checked into CVS.
See "Updating uwmlsc NIS domain" docs on the computing page. Then do a cd /var/yp/ ; make.
- ssh root@dataserver
- su - datarobot ignore the error: bash: /etc/globus-user-env.sh: No such file or directory
- Add cert into to /opt/LDR/ldr/etc/grid-mapfile.LDRdataFindServer
- logout of dataserver
- Using a web browser, go to the
medusa-users administrative page. Log in and add the new user to
the e-mail list. This is an important step, since announcements
about maintanence schedules and other important information for users
goes to this list. If you do not know the password,
- Test the new account to make sure it works.
- Send the following text to the user (please edit appropriately and
provide necessary details):
You have been granted an account on our Beowulf system here at UWM.
Here is the information:
We are encouraging users to connect to the Medusa cluster using Grid
tools and have made available a number of RPMs that you can easily
install. The RPMs include Grid-enabled versions of SSH and FTP. Please
for links to the RPMs along with full instructions on how to install
and use the Grid tools.
Currently the Medusa cluster has 296 slave nodes and a number of
master nodes, but you MUST log into hydra and not one of the other
masters. We have a web page with documentation regarding accessing the
cluster. Documentation for users is minimal, but under development, so
suggestions are welcome:
Your home directory is visible from all machines, so you should be
able to pick up auxilliary files from there as you need to. If you
have problems with the system, please submit a problem report by
going to our web page and following the link at the top of the
navigation bar; use guest/guest as the user/passwd and change the
database toggle switch to medusa. We will deal with the issue as
time permits. Please attempt to understand the classifications of
bugs and use the appropriate urgency identification.
If you have requested it, we will also given you an ldas user/passwd
here at UWM sometime in the next day or two.
To get started using a shared object, you should build LAL and
LALWrapper on our system in your home directory according to the most
recent howto document. Once you have completed the build, you can
access your dso by
where XXX is replaced by the appropriate name.
Also, a couple of rules about our system:
1. Please do not write output to your home directory, this may cause
noticable performance issues. See #2.
2. Please do not keep large amounts of data in your home directory.
We back up the home directories once a week and do not have the
resources to deal with problems at this time. If you want to store
data temporarily use the space in /scratch which is accessible from
3. Please be aware that the computer you log into is used by several
people. Please don't run major code on it. Use it for compiling and
4. If you have a very urgent problem, please e-mail
firstname.lastname@example.org about it.
Welcome to the UWM Medusa cluster!
The UWM-LSC Group
- After the user has downloaded the Grid tools RPMs and has obtained
a X.509 certificate he/she is instructed to send medusa-admin the
Distinguished Name from his/her certificate. Edit the grid-mapfile
hydra and add the Distinguished Name along with the mapping to the local
username. Follow the syntax of the names already in the file. Each line should
be of the form
"/O=Grid/O=Globus/OU=UWM/CN=Scott Koranda" skoranda
$Id: adding_a_user.html,v 1.46 2005/05/25 21:50:05 elemenoh Exp $