To perform maintenance on a single Replica, you should ensure that your application is not using the Replica, perform the necessary maintenance, and then re-enable the Replica within your application.
The steps are:
Put the replicator into the offline state to prevent replication and changes being applied to the database:
shell> trepctl -host host1 offlineTo perform operating system maintenance, including rebooting the system, the replicator can be stopped completely:
shell> replicator stopPerform the required maintenance, including updating the operating system, software or hardware changes.
Validate the server configuration:
shell> tpm validatePut the replicator back online:
shell> trepctl -host host1 onlineOr if you have stopped the replicator, restart the service again:
shell> replicator startOnce the datasource is back online, monitor the status of the service and ensure that the replicator has started up and that transactions are being extracted or applied.