Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ su
# /sbin/service postgreql start
# /sbin/service tomcat55 start
# /sbin/service flogicd start
# /sbin/service xinetd restart
# /sbin/chkconfig postgresql on
# /sbin/chkconfig tomcat55 on
# /sbin/chkconfig flogicd on
# /sbin/chkconfig xinetd on
# /sbin/chkconfig fcopyd on

...

Configure PostgreSQL

The FASTCopy automation software (module ISOC.FASTCopyDB.FASTCopyDB) uses a set of database tables to perform and track incoming and outgoing FASTCopy transfers. On a fresh installation, a PostgreSQL user and database must be created, and the PostgreSQL server must be configured to allow local and network access to the database. Note that creating a PostgreSQL user does not create a system user account. The 'createuser' command will prompt for a password used to authenticate the user to the database. Choose a suitable password and record it for use in later configuration steps.

...

Once the PostgreSQL user and database are created, edit the file /var/lib/pgsql/data/postgresql.conf and change the line "tcpip_socket = false" near the top of the file to "tcpip_socket = true". Edit the file /var/lib/pgsql/data/pg_hba.conf and add the following two lines immediately above the line beginning "local all all...":

Code Block
local   GLAST_ISOC      GLAST_ISOC                      md5
host    GLAST_ISOC      GLAST_ISOC      0.0.0.0 0.0.0.0 md5

...

Code Block
$ su
# /sbin/service postgresql restart

Load the FASTCopyDB schema

After PostgreSQL is reconfigured and restarted, use the following commands to load the FASTCopyDB schema into the GLAST_ISOC database as the GLAST_ISOC user (note that the psql command will prompt for the GLAST_ISOC user's password):

Code Block

$ cd /usr/local/lib/python2.4/site-packages/ISOC/FASTCopyDB/dbase
$ psql -U GLAST_ISOC -f build_postgresql.sql GLAST_ISOC

Command-Line Tools