Sponsored Content
Operating Systems AIX HACMP resource group State not STABLE Post 302490996 by elmesy on Wednesday 26th of January 2011 11:01:20 AM
Old 01-26-2011
Thanks for the help will have to give this a try on the weekend as it's production.
 

8 More Discussions You Might Find Interesting

1. High Performance Computing

sun Cluster resource group cant failover

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

Solaris + VCS , move a resource to another group

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

3. AIX

Resource Group Monitoring

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

4. AIX

Adding a Volume Group to an HACMP Resource Group?

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

5. AIX

HACMP, NFS cross-mount problem. Can not move resource group

Hi, I'm new to HACMP. Currently I setup a cluster with nfs cross-mount follow this guide: kristijan.org NFS cross-mounts in PowerHA/HACMPMy cluster has two nodes: erp01 and erp02. I'm using nfs4 with filesystem for nfs is: /sapnfs Cluster start without problems. But I cannnot move RG (with... (3 Replies)
Discussion started by: giobuon
3 Replies

6. AIX

Adding existing VG to powerHA Resource group

Hello. I am Running AIX 6.1 and PowerHA 6.1 I have an active/active cluster (Prod/Dev) cluster. Each side will failover to the other. I have on my prod side an active volume group with a file system. The VG is imported on both nodes and active (varried on, file system mounted) on the prod... (3 Replies)
Discussion started by: mhenryj
3 Replies

7. AIX

Power HA 6.1 Bring Resource group online issue

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

8. AIX

Sysmirror 7.1.3 Resource Group NFS mounts

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
CRM_RESOURCE(8) 						  [FIXME: manual]						   CRM_RESOURCE(8)

NAME
crm_resource - interact with the Cluster Resource Manager SYNOPSIS
crm_resource [-?|-V|-S] -L|-Q|-W|-D|-C|-P|-p [options] DESCRIPTION
The crm_resource command performs various resource-related actions on the cluster. It can modify the definition of configured resources, start and stop resources, and delete and migrate resources between nodes. --help, -? Print the help message. --verbose, -V Turn on debug information. Note Increase the level of verbosity by providing additional instances. --quiet, -Q Print only the value on stdout (for use with -W). COMMANDS
--list, -L List all resources. --query-xml, -x Query a resource. Requires: -r --locate, -W Locate a resource. Requires: -r --migrate, -M Migrate a resource from its current location. Use -H to specify a destination. If -H is not specified, the resource is forced to move by creating a rule for the current location and a score of -INFINITY. Note This prevents the resource from running on this node until the constraint is removed with -U. Requires: -r, Optional: -H, -f --un-migrate, -U Remove all constraints created by -M Requires: -r --delete, -D Delete a resource from the CIB. Requires: -r, -t --cleanup, -C Delete a resource from the LRM. Requires: -r. Optional: -H --reprobe, -P Recheck for resources started outside the CRM. Optional: -H --refresh, -R Refresh the CIB from the LRM. Optional: -H --set-parameter string, -p string Set the named parameter for a resource. Requires: -r, -v. Optional: -i, -s --get-parameter string, -g string Get the named parameter for a resource. Requires: -r. Optional: -i, -s --delete-parameter string, -d string Delete the named parameter for a resource. Requires: -r. Optional: -i --get-property string, -G string Get the named property (such as class, type, or is_managed) of a resource. Requires: -r --set-property string, -S string Set the named property (not parameter) for a resource. Requires: -r, -t, -v OPTIONS
--resource string, -r string Specify the resource ID. --resource-type string, -t string Specify the resource type (primitive, clone, group, etc.). --property-value string, -v string Specify the property value. --host-uname string, -H string Specify the hostname. --force-relocation, -f Force the resource to move by creating a rule for the current location and a score of -INFINITY This should be used if the resource's stickiness and constraint scores total more than INFINITY (currently 100,000). Note This prevents the resource from running on this node until the constraint is removed with -U. -s string (Advanced Use Only) Specify the ID of the instance_attributes object to change. -i string (Advanced Use Only) Specify the ID of the nvpair object to change or delete. EXAMPLES
Listing all resources: crm_resource -L Checking where a resource is running (and if it is): crm_resource -W -r my_first_ip If the my_first_ip resource is running, the output of this command reveals the node on which it is running. If it is not running, the output shows this. Start or stop a resource: crm_resource -r my_first_ip -p target_role -v started crm_resource -r my_first_ip -p target_role -v stopped Query the definition of a resource: crm_resource -Q -r my_first_ip Migrate a resource away from its current location: crm_resource -M -r my_first_ip Migrate a resource to a specific location: crm_resource -M -r my_first_ip -H c001n02 Allow a resource to return to its normal location: crm_resource -U -r my_first_ip Note The values of resource_stickiness and default_resource_stickiness may mean that it does not move back. In such cases, you should use -M to move it back before running this command. Delete a resource from the CRM: crm_resource -D -r my_first_ip -t primitive Delete a resource group from the CRM: crm_resource -D -r my_first_group -t group Disable resource management for a resource in the CRM: crm_resource -p is_managed -r my_first_ip -t primitive -v off Enable resource management for a resource in the CRM: crm_resource -p is_managed -r my_first_ip -t primitive -v on Reset a failed resource after having been manually cleaned up: crm_resource -C -H c001n02 -r my_first_ip Recheck all nodes for resources started outside the CRM: crm_resource -P Recheck one node for resources started outside the CRM: crm_resource -P -H c001n02 FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk. Editing this file directly is strongly discouraged. SEE ALSO
???, ???, lrmadmin(8), heartbeat(8) AUTHOR
crm_resource was written by Andrew Beekhof. [FIXME: source] 07/05/2010 CRM_RESOURCE(8)
All times are GMT -4. The time now is 03:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy