Cluster

I am new to clustering enviornment , so can anyone tell me command or set of command or script that can determin whether any particular server is in cluster or not?

Have you tried the documentation before asking a question?

http://www.oracle.com/technetwork/documentation/index.html\#sys_sw

1 Like

@DukeNuke2..thanks for giving me that link which has all the documentation:)
i will go through it
But currently i want some help to find solaris servers(out of thousands servers) is within a Cluster or not ,if yes then display the Cluster Name...can i have some hint or help in this regards.

Checking for the presence of /etc/cluster might be a good start...

ok...can you please tell me,whether there are any specific commands which will give me the name of the cluster (if the solaris machine is within a Cluster)...It will be beneficial if you can provide me the command and its output so that i can implement it in my shell script.

Basically i want to first do a check whether the particular solaris machine is within the cluster or not.If yes then i want to get the cluster name.

There are commands... But the syntax is depending on the version of the installed cluster software. So you need to check the documentation to find the commands you need.

An appendix about commands on cluster 3.2 is here:
http://docs.oracle.com/cd/E19787-01/820-7358/gamam/index.html

But there are newer versions like 3.3 and 4.0 and also older versions which use completly different commands. I recommend to use the Oracle Explorer (a tool to gather information about your system) and "grep" the information you need from the output of this tool. This is a lot easier than to write a script...