Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2837831
  • 博文数量: 599
  • 博客积分: 16398
  • 博客等级: 上将
  • 技术积分: 6875
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-30 12:04
个人简介

WINDOWS下的程序员出身,偶尔也写一些linux平台下小程序, 后转行数据库行业,专注于ORACLE和DB2的运维和优化。 同时也是ios移动开发者。欢迎志同道合的朋友一起研究技术。 数据库技术交流群:58308065,23618606

文章分类

全部博文(599)

文章存档

2014年(12)

2013年(56)

2012年(199)

2011年(105)

2010年(128)

2009年(99)

分类: Oracle

2012-07-14 17:59:00

 
[grid@lerac1 ~]$ olsnodes -h
Usage: olsnodes [ [-n] [-i] [-s] [-t] [ | -l [-p]] | [-c] ] [-g] [-v]
        where
                -n print node number with the node name
                -p print private interconnect address for the local node
                -i print virtual IP address with the node name
                print information for the specified node
                -l print information for the local node
                -s print node status - active or inactive
                -t print node type - pinned or unpinned
                -g turn on logging
                -v Run in debug mode; use at direction of Oracle Support only.
                -c print clusterware name

点击(此处)折叠或打开

  1. [grid@lerac1 ~]$ olsnodes -c
  2. lerac-cluster

此外还可以显示节点的状态


点击(此处)折叠或打开

  1. [grid@lerac1 ~]$ olsnodes -s
  2. lerac1 Active
  3. lerac2 Active
  4. [grid@lerac1 ~]$

阅读(2640) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~