managing_install

HOWTOs: SBGrid Installation Notes

Site Configuration

The SBGrid Software Suite is designed to be installed on a single computer at your site, which will then share that installation with all the workstations on your network via NFS. We refer to this computer as the site "master" server.

The master server will require at least 250 GB of free disk space on a case-sensitive file system and must run some variety of UNIX. The installation script will download the software branches you select, and then install a cron job that will run regularly to check for updates.

NFS-based installation

Pre-Installation

Installation Requirements
Hard Drive Space 250 GB required
Operating System Linux, OS X and other UNIX
Privileges Root account (Linux) or Administrator account (Mac)

Email accounts@sbgrid.org to request the installation script for the software. Be sure to include the following information in your email:

* Lab Name
* Types of computers on site: Linux, OS X Intel, OS X PowerPC, IRIX
* The names and email addresses of lab members that will use the software. One user may be designated to receive the majority of our correspondence if you would prefer not to hear from us too often.

Once the email has been received and your information has been entered into our system, we will email you a script you will run that will begin the remote installation process. Instructions for running the script will be included in that email, and are reproduced below for reference.

Installation

  1. Create an 'sbgrid' user on the machine that will host your software installation. This should be a normal, unprivileged user account.
  2. Log in as this 'sbgrid' user.
  3. Download the installation script from the URL provided in the account creation email.
  4. Make it executable: chmod +x sbgrid-admin
  5. Run the script: ./sbgrid-admin -i
  6. The script will walk you through configuring your installation, downloading the software and installing a cron job that will keep the software updated at your site. You will need the site name and install key provided in the account creation email. The installation may take anywhere from several hours to a day, depending on your network and the number of applications available to your site.

Post-Installation Steps

  1. Add a symlink in the root directory of each machine that wants to use the software. The installation script will print the suggested syntax for the command.ln -s /path/to/sbgrid/installation /programs
  2. Any user that wishes to use the software needs to configure their shell to initialize the SBGrid shell environment. For bash and other sh-compliant shells, add the following line to your ~/.bash_profile or ~/.bashrc: . /programs/sbgrid.shrc For csh and tcsh, add the following line to your ~/.cshrc: source /programs/sbgrid.cshrc
  3. For some linux distributions, the shipped version of tcsh does not support shell variables longer than 4096 characters. Since the current PATH in our default shell initialization is larger than that, you will need to update tcsh. RPMs for Red Hat 4/5 and CentOS 4/5 are provided at /programs/i386-linux/system/RPMS.

SGI IRIX Software Branch

Since the IRIX software branch is frozen and no longer receiving updates, it is not installed and updated in the same manner as the active software branches. In order to install the IRIX software branch, please run: ./sbgrid-admin -s

Note that the IRIX branch is only compatible with tcsh; there is no sh-compatible configuration for this branch.