达梦数据库服务启动的几种方式
1、dmsrever前台启动
[[email protected] bin]$ ./dmserver /dm8/data/DAMENG/dm.ini
file dm.key not found, use default license!
version info: develop
Use normal os_malloc instead of HugeTLB
Use normal os_malloc instead of HugeTLB
DM Database Server x64 V7.1.6.42-Build(2018.01.18-88492)ENT startup...
License will expire on 2020-11-02
ckpt lsn: 33018
set EP[0]'s pseg state to inactive
iid page's trxid = 1178
NEXT TRX ID = 1179
SYSTEM IS READY.
2、DmService方式启动(需要用dmdba用户启动)
[[email protected] bin]$ ./DmServiceDMSERVER1 start
Starting DmServiceDMSERVER1: [ OK ]
[[email protected] bin]$ ./DmServiceDMSERVER1 status
DmServiceDMSERVER1 (pid 17519) is running...
[[email protected] bin]$ ps -ef |grep dmserver
dmdba 17519 1 1 19:32 pts/3 00:00:00 /dm8/bin/dmserver /dm8/data1/DAMENG/dm.ini -nocon
soledmdba 17587 17424 0 19:32 pts/3 00:00:00 grep --color=auto dmserver
3、注册系统服务(使用的是中标麒麟操作系统;使用root用户启动)
[[email protected] root]# ./dm_service_installer.sh -t dmserver -p DM -i /dm8/data/DAMENG/dm.ini -m op
en
创建服务(DmServiceDM)完成
[[email protected]lhost root]# systemctl status DmServiceDM
DmServiceDM.service - DmServiceDM
Loaded: loaded (/usr/lib/systemd/system/DmServiceDM.service; enabled)
Active: inactive (dead)
[[email protected] root]# systemctl start DmServiceDM
4、图形化工具启动(使用root用户启动,不允许dmdba用户启动)
[[email protected] tool]# ./dmservice.sh