----数据库服务启停登录监视器服务器
su - dmdba
cd /home/dmdba/dmdbms/bin
./RWW_cluster_stop.sh 停止集群
./RWW_cluster_start.sh 启动集群
----查看集群状态
cd /home/dmdba/dmdbms/bin
./dmmonitor /home/dmdba/dmdbms/bin/dmmonitor_manual.ini
show
启停监视器服务
登录监视器服务器
su - dmdba
cd /home/dmdba/dmdbms/bin
./DmMonitorServiceDMMONITOR stop 停止监视器服务
./DmMonitorServiceDMMONITOR start 启动监视器服务
[dmdba@dbmonitor bin]$ ps -ef|grep dmmonitor
dmdba 4694 1 0 2020 ? 00:58:39 /home/dmdba/dmdbms/bin/dmmonitor /home/dmdba/dmdbms/bin/dmmonitor.ini
dmdba 8819 7485 0 09:35 pts/0 00:00:00 grep --color=auto dmmonitor
[dmdba@dbmonitor bin]$ ./dmmonitor ./dmmonitor
dmmonitor dmmonitor.ini dmmonitor_manal.ini
[dmdba@dbmonitor bin]$ ./dmmonitor ./dmmonitor_manal.ini
[monitor] 2021-03-02 09:36:15: DMMONITOR[4.0] V8
[monitor] 2021-03-02 09:36:15: DMMONITOR[4.0] IS READY.
[monitor] 2021-03-02 09:36:15: 收到守护进程(GRP1_RWW_01)消息
WTIME WSTATUS INST_OK INAME ISTATUS IMODE RSTAT N_OPEN FLSN CLSN
2021-03-02 09:36:23 OPEN OK GRP1_RWW_01 OPEN PRIMARY VALID 14 425958632 425958632
[monitor] 2021-03-02 09:36:15: 收到守护进程(GRP1_RWW_03)消息
WTIME WSTATUS INST_OK INAME ISTATUS IMODE RSTAT N_OPEN FLSN CLSN
2021-03-02 09:36:20 OPEN OK GRP1_RWW_03 OPEN STANDBY VALID 14 425958627 425958627
[monitor] 2021-03-02 09:36:15: 收到守护进程(GRP1_RWW_02)消息
WTIME WSTATUS INST_OK INAME ISTATUS IMODE RSTAT N_OPEN FLSN CLSN
2021-03-02 09:36:17 OPEN OK GRP1_RWW_02 OPEN STANDBY VALID 14 425958627 425958627
show
2021-03-02 09:36:36
#================================================================================#
GROUP OGUID MON_CONFIRM MODE MPP_FLAG
GRP1 453332 FALSE AUTO FALSE