Replicate server procedures
This section describes how to start and stop a Replicate instance, and how to check whether an instance is running.
Starting, stopping, or restarting a Replicate instance
The commands for starting, stopping, or restarting a Replicate instance, differ according to whether Replicate is running as a service instance or as a non-service instance.
Starting, stopping, or restarting a Replicate service instance
To start, stop or restart a Replicate service instance, run the relevant command:
Start:
systemctl start <servicename>
Stop:
systemctl stop <servicename>
Restart:
systemctl restart <servicename>
Example:
systemctl start areplicate
Starting, stopping, or restarting a Replicate non-service instance
To start, stop or restart a Replicate non-service instance, run the relevant command:
Start:
<product_dir>/bin/instancename start
Stop:
<product_dir>/bin/instancename stop
Restart:
<product_dir>/bin/instancename restart
Example:
/opt/attunity/replicate/bin/instancename start
Verifying that a Replicate instance is running
The command for verifying if the Replicate instance is running, differs according to whether Replicate is running as a service instance or as a non-service instance.
Verifying that a Replicate service instance is running
To verify that a Replicate service instance is running, run the following command:
systemctl status servicename
Example:
systemctl status areplicate
Verifying that a Replicate non-service instance is running
To verify that a Replicate non-service instance is running, run the following command:
<product_dir>/bin/instancename status
Example command:
/opt/attunity/replicate/bin/instancename status
Example output:
running: /opt/attunity/replicate/bin/repctl -d /opt/attunity/replicate/instancename data service start port=4550 rest_port=4552