We're here to help!

How to launch the Observer process with systemd?

Follow

Read our docs  This article describes how to launch the Dbvisit Standby Observer component with systemd. This, however, does not stop the process properly.


Problem Details

Problem Statement

How to launch Observer component using systemd

Applicable Error Code

N/A

Affected Versions

Standby v9

Affected Platforms

Linux 7

 

 

NOTE: Below is an example script for the Observer component. 
 

touch /usr/lib/systemd/system/dbvobserver.service

chmod 755 /usr/lib/systemd/system/dbvobserver.service

 

 Then add the following

#
# /usr/lib/systemd/system/dbvobserver.service
#
# Dbvisit Observer - Dbvnet systemd unit file
# Description: Dbvisit observer daemon.

Environment=PATH=$PATH:$ORACLE_HOME/bin

[Unit]
Description=Dbvisit Standby - Observer
After=syslog.target network.target

[Service]
Type=oneshot
RemainAfterExit=yes
User=oracle
Group=oinstall
ExecStart=/bin/nohup /opt/dbvisit/observer/observersvc -f /opt/dbvisit/observer/conf/observer.conf > /dev/null &

[Install]
WantedBy=multi-user.target

Execute the following :

systemctl enable dbvobserver.service

systemctl daemon-reload 

 

 

Have more questions? Submit a request

Comments