[Prev] [Next] [Top] [Bottom] [Contents] (5 out of 6)

Database Administration

Starting the Sapphire/Gateway

A Sapphire/Gateway daemon should be started on the machine(s) that run web servers as well as machines used for development. If the web server machine and the machine that runs Sapphire/Web is the same, only one Gateway is necessary. See Chapter 4, Using the Sapphire/Gateway, in this Guide ¯for more information.

To start the Sapphire/Gateway, the following steps must be performed:

1. Set database-specific environment variables:
SYBASE

C Shell

       setenv SYBASE sybase_directory
where: sybase_directory is the directory containing the Sybase interfaces file.

Bourne/Korn Shell

       SYBASE=sybase_directory; export SYBASE
ORACLE

C Shell

       setenv ORACLE_HOME oracle_directory
       setenv ORACLE_SID default_oracle_database
where: oracle_directory is the directory in which Oracle is installed and default_oracle_database is the name of a local Oracle database, or: a connection string, to a remote Oracle database.

Bourne/Korn Shell

       ORACLE_HOME=oracle_directory; export ORACLE_HOME
       ORACLE_SID=default_oracle_database; export ORACLE_SID
INFORMIX

C Shell

       setenv INFORMIXDIR informix_directory
where: informix_directory is the directory containing the etc/sqlhosts file.

Bourne/Korn Shell

	INFORMIXDIR=informix_directory; export INFORMIXDIR
Set the SAPPHIRE environment variable.

C Shell

	setenv $SAPPHIRE sapphire_home
Bourne/Korn Shell

	SAPPHIRE=Sapphire_home; export Sapphire
2. Start Sapphire/Gateway on the necessary machine(s).
	$SAPPHIRE/bin/dborbd.sh


[Prev] [Next] [Top] [Bottom] [Contents] (5 out of 6)