...
Note |
---|
Dbvisit Standby Multiplatform has two components: dbvagentmanager and dbvcontrol. While dbvagentmanager must be deployed on each primary and standby server, there should be only one dbvcontrol component per whole environment. It is supported to deploy dbvcontrol on primary server or on standby server but never to both at the same time. It is also supported to use separated host from primary or standby for dbvcontrol. |
1. Linux
On Linux there are two methods of for start and stop: systemctl service and starting background process via nohup.
Info |
---|
dbvagentmanager and dbvcontrol share same commands syntax for start and stop. |
Note |
---|
Choose only one method from the two for your environment, do not combine them |
1.1 Systemctl Service
The advantage of having Dbvisit Standby Multiplatform components setup as systemctl services is that systemctl will automatically startup Dbvisit Standby Multiplatform components after server boot.
...
Code Block |
---|
sudo systemctl start dbvagentmanager
sudo systemctl stop dbvagentmanager
sudo systemctl restart dbvagentmanager
sudo systemctl status dbvagentmanager
sudo systemctl start dbvcontrol
sudo systemctl stop dbvcontrol
sudo systemctl restart dbvcontrol
sudo systemctl status dbvcontrol |
For uninstalling the systemctl dbvagentmanager service from Linux OS we recommend to use following commands:
Code Block |
---|
sudo /usr/dbvisit/standbymp/bin/dbvagentmanager service stop sudo /usr/dbvisit/standbymp/bin/dbvagentmanager service uninstall sudo /usr/dbvisit/standbymp/bin/dbvcontrol service stop sudo /usr/dbvisit/standbymp/bin/dbvcontrol service uninstall |
1.2 Background Process
Note |
---|
Never use root user for this method. |
...
Code Block |
---|
$ ps -ef | grep dbvagentmanager | grep -v grep oracle 17474 3630 1 15:29 pts/0 00:00:00 /usr/dbvisit/standbymp/bin/dbvagentmanager service run $ kill 17474 |
2. Windows
On Windows you can easily control Dbvisit Standby Multiplatform components through services:
...
Services are created automatically during Dbvisit Standby Multiplatform installation. It is supported to set the startup type of the services to Automatic (Delayed) if required.
3. Oracle Grid Environments
On Oracle Grid environments there are specific steps for creating and starting Dbvisit Standby Multiplatform components services via crsctl cluster resource:
...