[20171031]How to find Cluster name

简介: [20171031]How to find Cluster name on RAC instance.txt --//如何获得Cluster name,做一个记录: 1.

[20171031]How to find Cluster name on RAC instance.txt

--//如何获得Cluster name,做一个记录:

1.以grid用户登录:

SYS@+ASM1> @ &r/ver
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

$  which cemutlo
/u01/app/11.2.0.4/grid/bin/cemutlo

$  echo $ORACLE_HOME
/u01/app/11.2.0.4/grid

$  cemutlo
Usage: /u01/app/11.2.0.4/grid/bin/cemutlo.bin [-n] [-w]
        where:
        -n prints the cluster name
        -w prints the clusterware version in the following format:
                 <major_version>:<minor_version>:<vendor_info>

$  cemutlo -n -w
xxhospital
2:1:

2.还可以使用olsnodes命令

$  which olsnodes
/u01/app/11.2.0.4/grid/bin/olsnodes


$  olsnodes -h
Usage: olsnodes [ [-n] [-i] [-s] [-t] [<node> | -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
                <node> 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

$  olsnodes -c
xxhospital

$  olsnodes -c -v
lang init : Initializing LXL global
main: Initializing CLSS context
get cluster name: Get cluster nameprint data: Printing the node data
print data: lsdata has nodename = null
xxhospital
main: olsnodes executed successfully
term: Terminating LSF

目录
相关文章
|
调度 Perl
node(s) didn‘t match node selector.
node(s) didn‘t match node selector.
441 0
|
5月前
|
网络安全
Managed Node
【8月更文挑战第4】
32 7
|
6月前
|
消息中间件 Shell
mq报错abbit@syld36: * connected to epmd (port 4369) on syld36 * epmd reports node ‘rabbit‘ uses po
mq报错abbit@syld36: * connected to epmd (port 4369) on syld36 * epmd reports node ‘rabbit‘ uses po
106 0
|
8月前
|
消息中间件 Linux
mq报错abbit@syld36: * connected to epmd (port 4369) on syld36 * epmd reports node ‘rabbit‘ uses po
mq报错abbit@syld36: * connected to epmd (port 4369) on syld36 * epmd reports node ‘rabbit‘ uses po
140 0
解决 ERROR: cannot launch node of type [xxx]: can‘t locate node [xxx] in package [xxx]
解决 ERROR: cannot launch node of type [xxx]: can‘t locate node [xxx] in package [xxx]
952 0
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file
首先我碰到的问题是服务器突然断电导致elasticsearch宕机,当我再次启动的时候 >FileSystemException: /data/elasticsearchDatas/datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file: 结构需要清理
193 0
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file
|
NoSQL Redis
node-redis:ErrorReply: ERR wrong number of arguments for ‘auth‘ command
node-redis:ErrorReply: ERR wrong number of arguments for ‘auth‘ command
436 0
问题记录:node-exporter服务启动报错:Segmentation fault
问题记录:node-exporter服务启动报错:Segmentation fault
265 0
|
存储 JSON 应用服务中间件
【Elastic Engineering】Elasticsearch 中的一些重要概念: cluster, node, index, document, shards 及 replica
Elasticsearch 中的一些重要概念: cluster, node, index, document, shards 及 replica
19849 0
【Elastic Engineering】Elasticsearch 中的一些重要概念: cluster, node, index, document, shards 及 replica
|
消息中间件
RabbitMq Virtual host ‘myHost’ experienced an error on node XXXX and may be inaccessible
RabbitMq Virtual host ‘myHost’ experienced an error on node XXXX and may be inaccessible
907 0
RabbitMq Virtual host ‘myHost’ experienced an error on node XXXX and may be inaccessible