当前位置:网站首页>Dameng database startup and shutdown

Dameng database startup and shutdown

2022-06-11 07:59:00 [email protected]

DAMENG Database start stop

It is recommended to use scripts to manage the startup and shutdown of online databases , Prohibit the foreground from starting the database . The following example is linux Start and stop under the system ,Windows Please refer to the official documents of Dameng for system management .

1. Register database service

The online environment generally uses the command line to initialize the database instance , After the instance is initialized , Need to switch to root Register the database service script under the user , Use the database service script to start and stop the database :

#  Example 1: use root User registration DAMENG Database service script 
# su - root
# cd /data/TestDM/dmdbms/app/script/root/
# ./dm_service_installer.sh -t dmserver -p DMSERVER -dm_ini /data/TestDM/dmdbms/dm_data/DAMENG/dm.ini 
DMSERVER -dm_ini /data/TestDM/dmdbms/dm_data/DAMENG/dm.ini 
Created symlink from /etc/systemd/
原网站

版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206110754234534.html