Sun Cluster switching issue


 
Thread Tools Search this Thread
Operating Systems Solaris Sun Cluster switching issue
# 1  
Old 12-09-2011
Sun Cluster switching issue

I have installed sun cluster 3.2 on two sprac servers. Configured a failover resource group. Added a LogicalHostname resource to it. LogicalHostname is also added to /etc/hosts with ip address.
I am able to access cluster by share ip used for logical hostname but when i try to switch the resource to other node of cluster, the resource go offline on both node and never switch.

Any help ...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Switching services from active node to failovernode in cluster

Hi All, I was asked to Switch the service from failover to active node as we need to reboot active node for regular maintenance. Unfortunately our senior admin left the organization. It would be helpful if some one answer this query. Detailed info with steps will be appreciated. Here are... (1 Reply)
Discussion started by: vamshigvk475
1 Replies

2. Solaris

Sun Cluster 3.2 Issue

Hello everyone, I have two Solaris 10 servers that are on cluster. The cluster is a Sun Cluster 3.2 I have a script cronned that stop/start a ressource in a resource group everyday. Today I have checked the status of the ressources and I found that my ressource group have a "Error--stop... (1 Reply)
Discussion started by: adilyos
1 Replies

3. 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

4. Solaris

Sun Cluster configuration issue

I am using VMware Workstation-7 on Windows-XP host . I am trying to configure Solaris 10-X86 guest os based 2 nodes Sun Cluster . I have added one extra Virtual Lan adapter on my VMware with another subnet (that I would like to put for SUN Cluster private communication). I have... (0 Replies)
Discussion started by: sanjee
0 Replies

5. 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

6. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question
scha_resource_setstatus(1HA)				       Sun Cluster Commands				      scha_resource_setstatus(1HA)

NAME
scha_resource_setstatus - set resource status SYNOPSIS
scha_resource_setstatus -R resource -G group -s status [-m msg] [-Z zonename] DESCRIPTION
The scha_resource_setstatus command sets the Status and Status_msg properties of a resource that is managed by the Resource Group Manager (RGM). This command is intended to be used by the resource's monitor to indicate the resource's state as perceived by the monitor. It pro- vides the same functionality as the scha_resource_setstatus(3HA) C function. When you execute the scha_resource_setstatus(1HA) command, the Status and Status_msg properties of the resource are updated with the values that you specify. Sun Cluster logs the change to the resource status in the cluster system log, which you can view with cluster administra- tion tools. You need solaris.cluster.resource.admin RBAC authorization to use this command. See rbac(5). You must also be able to assume a role to which the Sun Cluster Commands rights profile has been assigned to use this command. 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 com- mands. OPTIONS
The following options are supported: -G group Specifies the resource group that contains the resource. -m msg Specifies the text string that you want to assign to the Status_msg property of the resource. If you do not specify this option, the value of the resource's Status_msg is set to NULL. -R resource Specifies the resource whose status is to be set. -s status Specifies the value of status: OK, DEGRADED, FAULTED, UNKNOWN, or OFFLINE. -Z zonename Specifies the name of the non-global zone in which a 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 -Z option sets the status for the non-global zone where the resource group runs rather than for the global zone where the method runs. Use the -Z option only for resource types whose Global_zone property is set to TRUE. This option is not needed if the Global_zone prop- erty is set to FALSE. For more information about the Global_zone property, see the rt_properties(5) man page. EXAMPLES
Example 1 Setting the Status of Resource R1 With a Status_msg The following command sets the status of resource R1 in resource group RG2 to OK and sets the Status_msg to Resource R1 is OK: scha_resource_setstatus -R R1 -G RG2 -s OK -m "Resource R1 is OK" Example 2 Setting the Status of Resource R1 Without a Status_msg The following command sets the status of R1 in resource group RG2 to DEGRADED and sets the Status_msg to NULL: scha_resource_setstatus -R R1 -G RG2 -s DEGRADED Example 3 Setting the Status of Resource R1 in Zone Zone1 With a Status_msg The following example shows a resource type method or monitor that is implemented as a shell script. This shell script shows how to set the status of resource $resource in resource group $rg in zone $localzone to OK. This shell script also sets the Status_msg to "Resource R1 is OK". In this case, the -Z option must be specified because the resource type property Global_zone is assumed to be set to TRUE. resource= rg="" localzone="" zflag="" while getopts R:G:Z: do case $c in R) resource=$OPTARG;; G) rg=$OPTARG;; Z) zflag="-Z" localzone=$OPTARG;; esac done ... scha_resource_setstatus -R $resource -G $rg $zflag $localzone -s OK -m "Resource R1 is OK" EXIT STATUS
The following exit status codes are returned: 0 The command completed successfully. nonzero An error occurred. Failure error codes are described in scha_calls(3HA). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
scha_cmds(1HA), scha_calls(3HA), scha_resource_setstatus(3HA), attributes(5), rbac(5), rt_properties(5) Sun Cluster 3.2 7 Sep 2006 scha_resource_setstatus(1HA)