Home > database >  DM7 configuration data guard startup and shutdown procedures
DM7 configuration data guard startup and shutdown procedures

Time:10-09

1. Close the data guard steps

# # to check the master node state
Service DmWatcherServiceGRP1_RT_01 status
Service DmServiceGRP1_RT_01 status

# # for the node state
Service DmWatcherServiceGRP1_RT_02 status
Service DmServiceGRP1_RT_02 status

# close monitor
CTR + C can shut down

# close the main library DMwatcher daemon
/root @ host1 ~ # service DmWatcherServiceGRP1_RT_01 stop

# view instance service status, there is no automatic shutdown, performed manually closing
/root @ host1 ~ # service DmServiceGRP1_RT_01 status
/root @ host1 ~ # service DmServiceGRP1_RT_01 stop

# close for library DMwatcher daemon
/root @ host2 ~ # service DmWatcherServiceGRP1_RT_02 stop

# view instance service status, there is no automatic shutdown, performed manually closing
/root @ host2 ~ # service DmServiceGRP1_RT_02 status
/root @ host2 ~ # service DmServiceGRP1_RT_02 stop

2. Open the data guard steps

# start (library) prepared daemon, start the daemon automatically restart the instance back when
/root @ host2 ~ # service DmWatcherServiceGRP1_RT_02 start

# start view instance situation after
/root @ host2 ~ # service DmServiceGRP1_RT_02 status
DmServiceGRP1_RT_02 (pid 7954) is running...

# start the daemon (main library), back when to start the daemon automatically restart the instance
/root @ host1 ~ # service DmWatcherServiceGRP1_RT_01 start

# start view instance situation after
/root @ host1 ~ # service DmServiceGRP1_RT_01 status
DmServiceGRP1_RT_01 (pid 54481) is running...

# start the listener
[dmdba @ host3 ~] $CD/dm7/bin
[dmdba @ host3 bin] $./dmmonitor dm7/dmmonitor ini
  • Related