怎么得到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 ~]$

相关文章

Java Oracle 结果集是Java语言中处理数据库查询结果的一种方...
Java AES和Oracle AES是现代加密技术中最常使用的两种AES加密...
Java是一种广泛应用的编程语言,具备可靠性、安全性、跨平台...
随着移动互联网的发展,抽奖活动成为了营销活动中不可或缺的...
Java和Oracle都是在计算机领域应用非常广泛的技术,他们经常...
Java 是一门非常流行的编程语言,它可以运行于各种操作系统上...