转载自:
How to Query the Cluster Name (Doc ID 577300.1)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterInformation in this document applies to any platform.
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 <=== will list all the options
Usage: ./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 -h <=== will list all the options
Usage: ./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>
Output example:
./cemutlo -n
clustergp1 <=== cluster name, default cluster name is "crs"
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集群名称
本文介绍了一种查询已安装Oracle集群名称的方法。通过使用cemutlo命令,可以在命令行中轻松获取集群名。文章提供了该命令的使用示例及输出解释。
119

被折叠的 条评论
为什么被折叠?



