11-11-2013
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.
9 More Discussions You Might Find Interesting
1. Linux
hey we doing a clean up here at work and throwing out all the old PC's. Not the best like 300Mhz or around there they are.
I've grab a few since I would like to teach myself how to cluster! Only one thing. I got no idea where to start.
I know do a search on google etc. But I was wondering... (3 Replies)
Discussion started by: woofie
3 Replies
2. AIX
Hi All
I have two Pseries servers with AIX 5L as operating systems. HACMP cluster was there. For some reasons I have to change IP addresses of Servers. So How could I do it?
Ajay (2 Replies)
Discussion started by: ajay234
2 Replies
3. High Performance Computing
Provides a description of how to set up a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris.
More... (0 Replies)
Discussion started by: Linux Bot
0 Replies
4. High Performance Computing
Dear All,
Can anyone explain about Pros and Cons of SUN and Veritas Cluster ?
Any comparison chart is highly appreciated.
Regards,
RAA (4 Replies)
Discussion started by: RAA
4 Replies
5. High Performance Computing
Hi everyone,
I need to implement a cluster solution and i have no idea how to do it, we have 10 servers with quad core and high computation is our goal, please any documentation would be appreciated and also i am thinking of getting a HPC software from to redhat to implement it, i need your... (2 Replies)
Discussion started by: bensen
2 Replies
6. Solaris
Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC.
Am thinking how to migrate to sun cluster setup instead.
My plan as follows leave the existing vcs intact as a fallback plan.
Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies
7. UNIX for Dummies Questions & Answers
Hi friends pls give be a brief definition about clusters , i heard abt it its a server isnt any one have idea abt it
how to form a cluster ?
whts the configuration need for comning a cluster ?
wht os they used in it ?
How many servers can installed in a cluster ?
give me full detailes abt... (1 Reply)
Discussion started by: babinlonston
1 Replies
8. Solaris
Hello experts -
I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts.
(1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over)
(2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies
9. Solaris
I have two servers which are working active active (cluster).
my problem is :
When I put the following command :hastat -a to know the active node I have this message:"could not detect active node"
NB:the version of my solaris is 10 8/07 s10x_u4wos_12h x86
How to solve this problem
... (0 Replies)
Discussion started by: zineb06
0 Replies
LEARN ABOUT OPENSOLARIS
scha_resourcetype_get
scha_resourcetype_get(1HA) Sun Cluster Commands scha_resourcetype_get(1HA)
NAME
scha_resourcetype_get - access resource type information
SYNOPSIS
scha_resourcetype_get -O optag -T type
DESCRIPTION
The scha_resourcetype_get command accesses information about a resource type that is registered with the Resource Group Manager (RGM).
Use this command in shell script implementations of the callback methods for resource types that represent services that are controlled by
the RGM. This command provides the same information as the scha_resourcetype_get(3HA) C function.
Information is output by this command to the standard output (stdout) in formatted strings, as described in the scha_cmds(1HA) man page.
Output is a string or several strings that are output on separate lines. You can store the output in shell variables. You can also parse
the output by using the awk(1) command or other shell commands for further use by the script.
You need solaris.cluster.resource.read RBAC authorization to use this command. See the rbac(5) man page.
Authorized users can issue privileged Sun Cluster commands on the command line from the pfsh(1), pfcsh(1), or pfksh(1) profile shell. A
profile shell is a special kind of shell that enables you to access privileged Sun Cluster commands that are assigned to the Sun Cluster
Commands rights profile. A profile shell is launched when you run su(1M) to assume a role. You can also use pfexec(1) to issue privileged
Sun Cluster commands.
OPTIONS
The following options are supported:
-O optag Indicates the information to be accessed.
Note -
optag options, such as API_VERSION and BOOT, are not case sensitive. You can use any combination of uppercase and lowercase
letters when you specify optag options.
The following optag values retrieve the corresponding resource type properties. The value of the named property of the
resource's type is output.
API_VERSION
BOOT
FAILOVER
FINI
INIT
INIT_NODES
INSTALLED_NODES
IS_LOGICAL_HOSTNAME
IS_SHARED_ADDRESS
MONITOR_CHECK
MONITOR_START
MONITOR_STOP
PKGLIST
POSTNET_STOP
PRENET_START
RESOURCE_LIST
RT_BASEDIR
RT_DESCRIPTION
RT_SYSTEM
RT_VERSION
SINGLE_INSTANCE
START
STOP
UPDATE
VALIDATE
-T type Is the name of a resource type that is registered for use by the RGM cluster facility.
EXIT STATUS
The following exit values are returned:
0 The command completed successfully.
nonzero An error occurred.
Failure error codes are described scha_calls(3HA).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
awk(1), scha_cmds(1HA), scha_calls(3HA), scha_resourcetype_get(3HA), attributes(5), rt_properties(5)
Sun Cluster 3.2 31 May 2006 scha_resourcetype_get(1HA)