微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

原文地址:https://www.jb51.cc/oracle/210589.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐