怎么得到Oracle cluster name?

前端之家收集整理的这篇文章主要介绍了怎么得到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 ~]$

猜你在找的Oracle相关文章