Oracle中的ONS

來源:互聯網
上載者:User

ONS(Oracle notification service)

ONS--A publish and subscribe service for communicating Fast Application Notification (FAN) events. 主要用於中介軟體和資料庫的相連.

ps -ef |grep ons

crs_stat -t

Name           Type           Target    State     Host       

------------------------------------------------------------            

ora.orcl1.ons application    ONLINE    OFFLINE              

crs_start ora.orcl1.ons


ONS log: $GRID_HOME/opmn/logs/ons.log.*

ONS config: $GRID_HOME/opmn/conf/ons.config

grep port $GRID_HOME/opmn/conf/ons.config

localport=6100          # line added by Agent

remoteport=6200         # line added by Agent

lsof | grep 6200 | grep LISTEN

netstat -an | grep 6200 | grep LISTEN

如果進程有守護進程,需要先kill 父進程

srvctl status nodeapps

crs_stat -ls

onsctl


usage: onsctl [verbose] <command> [<options>]

The verbose option enables debug tracing and logging (for the server start).

Permitted <command>/<options> combinations are:

command   options
-------   ---------
start                       - Start ons
shutdown                    - Shutdown ons
reload                      - Trigger ons to reread its configuration file
debug     [<attr>=<val> ..] - Display ons server debug information
set       [<attr>=<val> ..] - Set ons log parameters
query     [<attr>=<val>]    - Query ons log parameters
ping      [<max-retry>]     - Ping local ons
help                        - Print brief usage description (this)
usage     [<command>]       - Print detailed usage description

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.