Visit Our UNIX and Linux User Community

Full Discussion: Sun cluster 3.2
Operating Systems Solaris Sun cluster 3.2 Post 302522629 by ningy on Monday 16th of May 2011 05:42:06 AM
Old 05-16-2011
Sun cluster 3.2


I have a new mount point which is to added to to an existing resource group. I read many docs but I am not able to find the exact methods.
Could anyone help me pls.
Test Your Knowledge in Computers #589
Difficulty: Medium
A binary search algorithm requires that the array being searched is sorted in descending order.
True or False?

9 More Discussions You Might Find Interesting

1. High Performance Computing

SUN Cluster Vs Veritas Cluster

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

2. Solaris

sun cluster

hi can u please send me how to configure cluster in x86 machines. i am using VM ware. Is there any difference in X86 and SPARC cluster installations please help me thaks to all (1 Reply)
Discussion started by: sijocg
1 Replies

3. Solaris

Sun Cluster 3.2

Hi, I am getting these messages constantly at random times there is not visible impact but would like to know what these messages mean? Cluster.RGM.rgmd: resource group on node change to RG_ON_PENDING_R_RERT Cluster.RGM.rgmd: resource group on node change to RG_ONLINE (1 Reply)
Discussion started by: xor
1 Replies

4. Solaris

Sun Cluster

Hi All I hav working knowledge on solarois 10. Could anyone suggest me any doc or material for learning SUN cluster from scratch. Anything from basic level . Thanks in advance!! (1 Reply)
Discussion started by: ningy
1 Replies

5. Solaris

Sun cluster and Veritas cluster question.

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

6. Solaris

Sun cluster 3.1

Hi, I have upgraded a Sparc T2000 server which is node 2, in a Sun Cluster 3.1 two node cluster from Solaris 10 Update 2, to 10 Update 7. This is a requirement for a NetApps solution as we currently have a Sun 3510 SAN. I am at a stage where I believe the two nodes will not communicate over the... (0 Replies)
Discussion started by: zetex
0 Replies

7. Solaris

Sun cluster

Any body can tell me where i can download sun cluster installation and configuration video. is there any option to install cluster in 32 bit virtual machine. please help (4 Replies)
Discussion started by: sunnybee
4 Replies

8. Solaris

Sun cluster 4.0 - zone cluster failover doubt

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

Sun cluster v3.2 - Is this right?

Running Sun Cluster v3.2 it appears. Two clustered physcial servers both running Solaris 10. Both servers run a number of Oracle DBs etc. BUT I'm a bit concerned that its been set up but will never switch in the even of failure of one of the hosts? Some of the cluster groups we've... (3 Replies)
Discussion started by: psychocandy
3 Replies
scha_resource_setstatus(3HA)				 Sun Cluster HA and Data Services			      scha_resource_setstatus(3HA)

scha_resource_setstatus, scha_resource_setstatus_zone - set resource status functions SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l scha #include <scha.h> scha_err_t scha_resource_setstatus(const char *rname, const char *rgname, scha_rsstatus_t status, const char *status_msg); scha_err_t scha_resource_setstatus_zone(const char *rname, const char *rgname, const char *zonename, scha_rsstatus_t status, const char *status_msg); DESCRIPTION
The scha_resource_setstatus() and scha_resource_setstatus_zone() functions set the Status and Status_msg properties of a resource that is managed by the Resource Group Manager (RGM). A resource's monitor uses these functions to indicate the resource's state as perceived by the monitor. Use the scha_resource_setstatus() and scha_resource_setstatus_zone() functions only for resource types whose Global_zone property is set to TRUE. These functions are not needed if the Global_zone property is set to FALSE. For more information, see the rt_properties(5) man page. The rname argument names the resource whose status is to be set. The rgname argument is the name of the resource group that contains the resource. The zonename argument is the name of the non-global zone in which the resource group is configured to run. If the Global_zone property is set to TRUE, methods execute in the global zone even if the resource group that contains the resource runs in a non-global zone. The status argument is an enum value of type scha_rsstatus_t: SCHA_RSSTATUS_OK, SCHA_RSSTATUS_OFFLINE, SCHA_RSSTATUS_FAULTED, SCHA_RSSTA- TUS_DEGRADED, or SCHA_RSSTATUS_UNKNOWN. The status_msg argument is the new value for the Status_msg property. The status_msg argument can be NULL. A successful call to the scha_resource_setstatus() or scha_resource_setstatus_zone() function causes the Status and Status_msg properties of the resource to be updated with the supplied values. The update of the resource status is logged in the cluster system log and is acces- sible by cluster administration tools. RETURN VALUES
The scha_resource_setstatus() and scha_resource_setstatus_zone() functions return the following values: 0 The function succeeded. nonzero The function failed. ERRORS
SCHA_ERR_NOERR The function succeeded. See scha_calls(3HA) for a description of other error codes. EXAMPLES
Example 1 Using the scha_resource_setstatus_zone() Function #include <scha.h> scha_err_t err_code; const char *rname = "example_R"; const char *rgname = "example_RG"; err_code = scha_resource_setstatus_zone(rname, rgname, SCHA_RSSTATUS_OK, "No problems"); FILES
/usr/cluster/include/scha.h Include file /usr/cluster/lib/ Library ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
scha_resource_setstatus(1HA), scha_calls(3HA), scha_strerror(3HA), attributes(5), rt_properties(5) Sun Cluster 3.2 7 Sep 2007 scha_resource_setstatus(3HA)

Featured Tech Videos

All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy