...
Once the ISOC packages and their dependencies are installed on a fresh system, some installation-specific setup of both the underlying services and the ISOC software itself is necessary.h3
Starting daemons and services
Issue the following commands to bring up the supporting services and ensure that they will start up when the system is rebooted:
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
|
Set up the FASTCopy-Automation database
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.
Code Block |
---|
$ su
# su postgres
$ createuser -A -D -P GLAST_ISOC
$ createdb -O GLAST_ISOC GLAST_ISOC
$ exit
# exit
$
|
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
|
After these configuration files are modified, restart the database server using the following commands:
Code Block |
---|
$ su
# /sbin/service postgresql restart
|