02-20-2012
that's how I killed a tsm-Cluster
, added one vg to a resource group that already had about 5 vgs, after a sync the resource group reconfigured itself, forcing unmount and mount
but you can safely add a new resource group to the cluster while it is running
don't know if this behavior has changed in newer power ha (6/7) releases
10 More Discussions You Might Find Interesting
1. High Performance Computing
I have rcently setup a 4 node cluster running sun cluster 3.2
and I have installed 4 zones on each node. when installing the zones I had to install the zone on all nodes the on the last node do a zlogin -C <zonename>
this worked ok.
theni I tried to siwitch the zone to node a thei work... (14 Replies)
Discussion started by: lesliek
14 Replies
2. Solaris
Pre: no gpasswd/adduser
there is just usermod can be used, also there is no -a option for usermod.
How should I add a user into a group? (4 Replies)
Discussion started by: a2156z
4 Replies
3. Solaris
Hi,
I am running Solaris 10 + VCS 5 in one of our environment. Recently one of my colleague configured all resources in a single service group.( ie, one service group which has all resources) ,Usually we create seperate service groups for Hardware & for application.
For eg: SYS_HW_GRP, will... (0 Replies)
Discussion started by: mpics66
0 Replies
4. AIX
Hi,
I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification.
Can some one help me in creating a scrript. I have more than one RG online. (Max 4 Resource Groups in... (2 Replies)
Discussion started by: srnagu
2 Replies
5. AIX
Hi,
Not sure if this is the correct forum to post this on but maybe a mod could move it if not.
When trying to move a HACMP resource group between lpars on AIX I receive the following.
State not STABLE/RP_RUNNING or ibcasts Join for node 2 rejected,
Clearing in join protocol flag... (11 Replies)
Discussion started by: elmesy
11 Replies
6. AIX
Hi,
I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over)
Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
Discussion started by: kancherla.sree
2 Replies
8. AIX
Hi all, I have the following in hacmp.out for bringing Resource group online.
Volume groups themselves are Enhanced-Capable and on each node I can varyon and mount filesystems.
+main1_rg_01:cl_activate_vgs STATUS=0
+main1_rg_01:cl_activate_vgs typeset -li STATUS
+main1_rg_01:cl_activate_vgs... (2 Replies)
Discussion started by: OdilPVC
2 Replies
9. Solaris
Hi
Well I would like to know step by step process of adding a mountpoint in HAPLUS resource in SUN cluster as I go the below command to add a mount point but not the step by step process of adding a mount point in existing HA Plus resource.
clrs set -p FileSystemMountPoints+=<new_MP>... (3 Replies)
Discussion started by: amity
3 Replies
10. AIX
Hello all,
I'm working to fix a two-node SysMirror cluster that uses NFS mounts from a NetApp appliance as the data repository. Currently all the NFS mounts/unmounts are called from the application controller scripts, and since file collection isn't currently working, (One fight at at time... (3 Replies)
Discussion started by: ZekesGarage
3 Replies
LEARN ABOUT OPENSOLARIS
scha_resource_setstatus
scha_resource_setstatus(3HA) Sun Cluster HA and Data Services scha_resource_setstatus(3HA)
NAME
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/libscha.so 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)