怎么得到Oracle cluster name?

转载自:

How to Query the Cluster Name (Doc ID 577300.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.

GOAL

How to find out the cluster name after Oracle clusterware installed?

SOLUTION

One can use cemutlo command.

cd$CRS_HOME/bin
./cemutlo-h<===willlistalltheoptions
Usage:./cemutlo.bin[-n][-w]
where:
-nprintstheclustername
-wprintstheclusterwareversioninthefollowingformat:
<major_version>:<minor_version>:<vendor_info>


Output example:

./cemutlo-n
clustergp1 <=== cluster name,default cluster name is "crs"



[grid@hosta ~]$ which cemutlo
/u01/app/11.2.0/grid/bin/cemutlo
[grid@hosta ~]$ cemutlo -n
orcl-cluster
[grid@hosta ~]$

相关文章

文章浏览阅读773次,点赞6次,收藏9次。【代码】c# json字符...
文章浏览阅读8.7k次,点赞2次,收藏17次。此现象一般定位到远...
文章浏览阅读2.8k次。mysql脚本转化为oracle脚本_mysql建表语...
文章浏览阅读2.2k次。cx_Oracle报错:cx_Oracle DatabaseErr...
文章浏览阅读1.1k次,点赞38次,收藏35次。本文深入探讨了Or...
文章浏览阅读1.5k次。默认自动收集统计信息的时间为晚上10点...