Globus Toolkit Tutorial The Globus Consortium
 
 

Chapter 4: Deploying The PostgreSQL Relational Database

Preliminaries

We will want to run the Globus Reliable File Transfer (RFT) service on nodes B and C since they are the head nodes for our "clusters". RFT requires a relational database backend in order to preserve state across machine shutdowns.

Depending on the details of your Fedora Core 4 installation the PostgreSQL database may already be installed. You can check using the 'rpm' command as shown:

[root@nodeB ~]# rpm -qa|grep postgres

You should get a result similar to this:

postgresql-8.0.3-1
postgresql-server-8.0.3-1
postgresql-libs-8.0.3-1

You will need to have all three of those packages installed. If they are not installed you can use 'yum' to install the packages. Once you are confident the packages are installed you want to make sure that a 'postgres' user account is available:

[root@nodeB ~]# grep postgres /etc/passwd
postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

If a 'postgres' user account is not available for some reason please create the account now using the 'useradd' command.

We do not want postgres to start upon boot right now and we do not want to use the /etc/init.d/postgresql script--it is too general and doesn't suit our needs. Please use the 'chkconfig' command to make sure that postgres will not be started automatically:

[root@nodeB ~]# /sbin/chkconfig --list | grep postgres
postgresql 0:off 1:off 2:off 3:off 4:off 5:off 6:off

If the output shows that any of the runlevels 0 through 6 have 'on' please review the chkconfig command and turn 'on' for that level to 'off'.
 
 
 
FAQ Feedback The Globus Consortium Home Page