Download IBP Replicator 4.1
Transcript
Chapter 8 - Managing Replication 93 # Configuration DB user #CONFIG_USER=SYSDBA [see note below] # Configuration DB password #CONFIG_PASSWORD=masterkey [see note below] # Configuration DB role #CONFIG_ROLE=repl_admin [see note below] # Name and location of pid-file (optional) #PID_FILE=/var/run/IBPReplicator.pid [see note below] #------------------------------------------------------------------------------- User and Password The settings CONFIG_USER and CONFIG_PASSWORD refer to the user name and password for the adminstrator of the configuration database, as you defined them (or have yet to define) when setting up the configuration using the Replication Manager utility, either from a Windows client on the network or installed locally under wine. Configuration Database Role If you needed to create an SQL role with permissions to enable a non-SYSDBA and non-Owner user to operate on the configuration database then configure this parameter; otherwise, ignore it. WARNING Never use the name 'REPL' for a role. Location of PID File This setting determines where the replserver will write the pid file that behaves as a lock to prevent two instances running concurrently. It can be reconfigured here or, alternatively, with a command-line switch. Starting replserver Automatically as a Daemon To set up replserver to run automatically as a daemon at boot-up: chkconfig IBPReplicator on TIP :: You can run multiple replserver daemons, as long as each uses its own PID file. 8.2.2 Controlling replserver Processes Controlling replserver as a Daemon When the replication daemon is under chkconfig control, you can use the following service commands to control it during operation. To start the daemon: service IBPReplicator start © 2013 IBPhoenix Editors