达梦数据库的DM 数据守护(DM Data Watch)启动和关闭顺序
一 数据守护关闭
1 退出监视器
2 关闭备机的守护进程
[dmdba@test2 arch]$ DmWatcherServiceDMSVR02 stop
Stopping DmWatcherServiceDMSVR02: [ OK ]
3 关闭主机的守护进程
[dmdba@test1 ~]$ DmWatcherServiceDMSVR01 stop
Stopping DmWatcherServiceDMSVR01: [ OK ]
4 关闭主机实例
[dmdba@test1 ~]$ DmServiceDMSVR01 stop
Stopping DmServiceDMSVR01: [ OK ]
5 关闭备机实例
[dmdba@test2 arch]$ DmServiceDMSVR02 stop
Stopping DmServiceDMSVR02: [ OK ]
二 数据守护启动
1 开启主机实例到mount状态
[dmdba@test1 ~]$ DmServiceDMSVR01 start mount
Starting DmServiceDMSVR01: [ OK ]
2 开启主机实例到mount状态
[dmdba@test2 ~]$ DmServiceDMSVR02 start mount
Starting DmServiceDMSVR02: [ OK ]
3 开启主机的守护进程
[dmdba@test1 ~]$ DmWatcherServiceDMSVR01 start
Starting DmWatcherServiceDMSVR01: [ OK ]
4 开启主机的守护进程
[dmdba@test2 ~]$ DmWatcherServiceDMSVR02 start
Starting DmWatcherServiceDMSVR02: [ OK ]
5 启动监视机上的监视器
[dmdba@monitor ~]$ dmmonitor /dm8/data/dmmonitor.ini