Oracle 11g RAC monitoring daily management

Source: Internet
Author: User

Need to master the command, last week encountered a small problem, is the need to restart the database monitoring, some students even use the Oracle user restart monitoring, the principle is wrong how to line. The following actions need to be performed under a grid user.

1. Viewing the Listening status

<roidb2:+ASM2:/home/grid>$srvctl status listenerListener LISTENER is enabledListener LISTENER is running on node(s): roidb1,roidb2<roidb2:+ASM2:/home/grid>$srvctl status scan_listenerSCAN Listener LISTENER_SCAN1 is enabledSCAN listener LISTENER_SCAN1 is running on node roidb2<roidb2:+ASM2:/home/grid>$

2. Turn off monitoring

<roidb2:+ASM2:/home/grid>$srvctl stop listener -n roidb1<roidb2:+ASM2:/home/grid>$srvctl status listener -n roidb1Listener LISTENER is enabled on node(s): roidb1Listener LISTENER is not running on node(s): roidb1<roidb2:+ASM2:/home/grid>$<roidb2:+ASM2:/home/grid>$srvctl stop scan_listener<roidb2:+ASM2:/home/grid>$srvctl status scan_listenerSCAN Listener LISTENER_SCAN1 is enabledSCAN listener LISTENER_SCAN1 is not running<roidb2:+ASM2:/home/grid>$

3. Start monitoring

<roidb2:+ASM2:/home/grid>$srvctl status listenerListener LISTENER is enabledListener LISTENER is running on node(s): roidb1,roidb2<roidb2:+ASM2:/home/grid>$srvctl status scan_listenerSCAN Listener LISTENER_SCAN1 is enabledSCAN listener LISTENER_SCAN1 is running on node roidb2<roidb2:+ASM2:/home/grid>$

Oracle 11g RAC monitoring daily management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.