你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle中的ONS

[日期:2012-08-04] 来源:Linux社区  作者:icybay [字体:大 中 小]

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

linux
相关资讯       Oracle基础 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款