Sponsored Content
Operating Systems AIX Adding a Volume Group to an HACMP Resource Group? Post 302535254 by aixromeo on Thursday 30th of June 2011 08:09:26 AM
Old 06-30-2011
Guys Thanks a ton for the replies.
The issue has been resolved!

I did the following.

(Didnt create the VG using smitty vg)
1. smitty hacmp>(System Management)CSPOC>Storage>Volume Group>Create a VG

Selected both nodes
>node1
>node2

Selected the participating disks (one on node1 and the other on node2 same PVID)

Then I filled in the info > Resource Group, VG name and thats it..

My VG was created on both the nodes!

Then I went to the same options in point 1 and this time i selected Create a File system

Created my file system on the VG..

and now it is mounted on the active node and it moves with the resource group!

Thank you all Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

2. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

3. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

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

5. AIX

HACMP resource group State not STABLE

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

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

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

8. Shell Programming and Scripting

Need to create an for loop for adding an disk in veritas volume group.

Hi Experts I need an script to add an disk in to the veritas volume manager disk group. For example: # cd /tmp # view disk c6t5d2 c6t2d1 c6t3d7 c6t11d2 c7t11d2 c6t11d6 Normally we add the disk like this: # vxdg -g freedg freedisk01=c6t5d2 # vxdg -g freedg freedisk02=c6t2d1 #... (3 Replies)
Discussion started by: indrajit_preet
3 Replies

9. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

10. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
cmeval(1m)																cmeval(1m)

NAME
cmeval - evaluate the impact of Serviceguard configuration and state changes on the packages SYNOPSIS
[-v] output_file] input_file DESCRIPTION
is a "what if" analysis tool that evaluates the effect of configuration and state changes on Serviceguard packages. Combinations of pack- ages usually have numerous constraints, such as co-existence or mutual exclusion, amongst others; and allows one to evaluate the possible impact under various "what if" scenarios of Serviceguard specific events. accepts input from a file containing the machine parsable output of the command specifying the whole cluster configuration that needs to be evaluated. If the root user invokes the command, the input file must be owned by root and be writable only by root. The -v option displays verbose output. Without the -v option, only the final states of the packages are displayed. With the -v option, the intermediate states of the packages are also displayed. The command performs limited validation on the input file before feeding the data for evaluation. Since this command is intended for expert users, it is user's responsibility to provide the data input in a syntactically correct order. The behavior of the program is unspecified (including the exit codes) when the syntax is unexpected. The best way to determine the syntax is to look at the output of or to read the man page. can safely be used in a production environment without affecting the current state of the cluster or packages. The command doesn't execute the package run/halt scripts so the failures encountered by those scripts are not taken into account while generating the output file. One need not be logged in to the cluster being evaluated in order to run the evaluations, but is only supported when running on the same release/patch version as the cluster whose data is being evaluated. Reports can be generated offline. doesn't support package in mainte- nance mode. If the information of package in maintenance mode in the cmviewcl line output is modified, the prediction might not be accu- rate. Options supports the following options: The output file contains the list of affected packages and is designed for simple machine parsing using tools such as grep(1), cut(1), or awk(1). By default, the output of this command will go to the stdout. The output file will be empty if there are no affected packages for the simulated events. The information contains the following parameters: Name of the affected package Name of the node where effect takes place New state the package will transition to Each line of output is in the form: The possible action values are : failwait, relocate_wait, starting, down, and failing. Please refer cmviewcl(5) manpage for the meaning of the states. input_file The input file contains the output of command for the configuration/state changes that are to be evaluated. -v Verbose output will be displayed. This option provides intermediate actions associated with the state changes on Serviceguard pack- ages. The following table illustrates the mappings for the supported configuration events with a two node/two package cluster example in mind. A combination of these events can be evaluated simultaneously. The events include the actual commands for comparision. Although the actual commands would check that the input is valid before executing, and might not execute, or might fail, under some conditions, does not per- form these validations and will always execute. ------------------------------------------------------------------------------ Event How to Simulate the Example Segment From an Output Event Using File cmviewcl Line Output? ------------------------------------------------------------------------------ Cluster member Change specific node:node1|status=up node1 start up node status to up package:pkg1|node:node1|avail- cmrunnode -t and node availabil- able=yes node1) ity to yes for each package:pkg2|node:node1|avail- package configured able=yes to run on the node. ------------------------------------------------------------------------------ Cluster member Change specific node:node1|status=down node1 shutdown/ node status to down package:pkg1|node:node1|available=no failure and node availabil- package:pkg2|node:node1|available=no (cmhaltnode -t ity to no for each node1) package configured to run on the node. ------------------------------------------------------------------------------ Cluster bring up Change node status node:node1|status=up (cmruncl -t) to up and node node:node2|status=up availability to yes package:pkg1|autorun=enable for each package package:pkg1|node:node1|avail- configured to run able=yes on the cluster mem- package:pkg1|node:node2|avail- ber nodes. Make able=yes sure that all pack- package:pkg2|autorun=enable ages autorun flag package:pkg2|node:node1|avail- is enabled. able=yes package:pkg2|node:node2|avail- able=yes ------------------------------------------------------------------------------ Enable package Change package package:pkg1|autorun=enabled pkg1 switching autorun flag to package:pkg1|node:node1|avail- (cmmodpkg -t -e enabled and the able=yes pkg1) desired (usually package:pkg1|node:node2|avail- all) node avail- able=yes ability to yes. ------------------------------------------------------------------------------ Enable package Change package node package:pkg1|node:node1|avail- pkg1 node availability to able=yes switching yes. (cmmodpkg -t -n n1 -e pkg1) ------------------------------------------------------------------------------ Package pkg1 Change package package:pkg1|autorun=enabled startup on a autorun flag to package:pkg1|node:node1|avail- viable node enabled and all the able=yes {cmrunkpg -t -a node availability package:pkg1|node:node2|avail- pkg1) to yes. able=yes ------------------------------------------------------------------------------ Package pkg1 Change package package:pkg1|autorun=enabled startup on node1 autorun flag to package:pkg1|node:node1|avail- (cmrunpkg -t -n enabled, the spe- able=yes node1 pkg1) cific node avail- package:pkg1|node:node2|available=no ability to yes and all other node availability to no. ------------------------------------------------------------------------------ Package pkg1 Change package package:pkg1|autorun=enabled startup on local autorun flag to package:pkg1|node:node1|avail- node (cmrunpkg enabled, the local able=yes -t pkg1) node availability package:pkg1|node:node2|available=no to yes and all other node avail- ability to no. ------------------------------------------------------------------------------ Package pkg1 Change package package:pkg1|autorun=disabled shutdown/ fail- autorun flag to package:pkg1|node:node1|available=no ure (cmhaltpkg disabled and the -t pkg1 or package owner node cmhaltpkg -t -n availability to no node1 pkg1) ------------------------------------------------------------------------------ Package pkg1 Change node avail- package:pkg1|autorun=enabled migration from ability for all the package:pkg1|node:node1|available=no one node1 to configured nodes to package:pkg1|node:node2|avail- node2 no except for the able=yes node where package needs to move to yes. Make sure that the autorun is enabled. ------------------------------------------------------------------------------ Package pkg1 and Set the priority to package:pkg1|priority=10 pkg2 priority the desired number package:pkg2|priority=20 change ------------------------------------------------------------------------------ Package pkg1 Set the node order package:pkg1|node:node1|order=2 node order to the desired num- package:pkg1|node:node2|order=1 change ber ------------------------------------------------------------------------------ Subnet, EMS or Change the node package:pkg1|node:node1|available=no Storage unavail- availability to no package:pkg2|node:node2|available=no ability on node1 for each package configured to run on that node ------------------------------------------------------------------------------ Add/change Add/change capacity node:node1|capacity:memory|name=mem- capacity named name and limit ory node:node1|capacity:mem- "memory" for ory|limit=10000 node node1 ------------------------------------------------------------------------------ Add/change pack- Add/change weight weight_default:memory|name=memory age weight default name and weight_default:memory|value=10 default named value "memory" for all packages ------------------------------------------------------------------------------ Add/change Add/change weight package:pkg1|weight:memory|name=mem- weight named name and value ory "memory" for package:pkg1|weight:memory|value=20 package pkg1 ------------------------------------------------------------------------------ RETURN VALUE
returns the following value: 0 Successful completion. 1 Command failed with a syntax error or inaccuracies in the input file. EXAMPLES
To evaluate the impact of a node bring-up on two packages with a configured dependency and failback policy set to automatic:(1) Obtain an existing cluster configuration using command. NOTE: In the existing configuration, is running on an alternate node, as the primary node is not available. The failback policy is set to automatic. This means that when is eligible to run it, will automatically fail back to is running on its primary node. How- ever, it depends on pkg1 (which has the higher priority setting of 2719) with a same node dependency. This means when pkg1 fails back to its primary node, will be dragged along with pkg1 to run on the same node as node:node1|name=node1 node:node1|status=down : : node:node2|name=node2 node:node2|status=up : : package:pkg1|name=pkg1 package:pkg1|type=failover package:pkg1|status=up package:pkg1|state=running package:pkg1|autorun=enabled package:pkg1|owner=node2 package:pkg1|id=3200 package:pkg1|initial_autorun=enabled package:pkg1|failover_policy=configured_node package:pkg1|failback_policy=automatic package:pkg1|priority=2719 : : package:pkg1|node:node1|name=node1 package:pkg1|node:node1|status=down package:pkg1|node:node1|switching=enabled package:pkg1|node:node1|available=no package:pkg1|node:node1|type=Primary package:pkg1|node:node1|order=1 : : package:pkg1|node:node2|name=node2 package:pkg1|node:node2|status=up package:pkg1|node:node2|switching=enabled package:pkg1|node:node2|available=yes package:pkg1|node:node2|type=Alternate package:pkg1|node:node2|order=2 : : package:pkg2|name=pkg1 package:pkg2|type=failover package:pkg2|status=up package:pkg2|state=running package:pkg2|autorun=enabled package:pkg2|owner=node2 package:pkg2|id=3201 package:pkg2|initial_autorun=enabled package:pkg2|failover_policy=configured_node package:pkg2|failback_policy=manual package:pkg2|node:node1|order=1 package:pkg2|priority=no_priority : : package:pkg2|node:node2|name=node2 package:pkg2|node:node2|status=up package:pkg2|node:node2|switching=enabled package:pkg2|node:node2|available=yes package:pkg2|node:node2|type=Primary package:pkg2|node:node2|order=1 : : package:pkg2|node:node1|name=node1 package:pkg2|node:node1|status=down package:pkg2|node:node1|switching=enabled package:pkg2|node:node1|available=no package:pkg2|node:node1|type=Alternate package:pkg2|dependency:pkg1|node:spanish|satisfied=yes(2) Modify the configuration file to simulate the event node:node1|status=up package:pkg1|node:node1|available=yes package:pkg2|node:node1|available=yes package:pkg2|node:node1|available=yes(3) Invoke to simulate the event. The output will show the effect of the node1 bring-up . package:pkg1|node:node2|action=failing package:pkg2|node:node2|action=failing package:pkg1|node:node1|action=starting package:pkg2|node:node1|action=starting(4) Invoke to simulate the event. The output will show the end effect of the node1 bring-up. package:pkg1|node:node1|action=starting package:pkg2|node:node1|action=starting AUTHOR
was developed by HP. SEE ALSO
cmhaltnode(1M), cmhaltpkg(1M), cmmodpkg(1M), cmrunnode(1M), cmrunpkg(1M), cmruncl(1M), cmviewcl(1M). Requires Optional Serviceguard Software cmeval(1m)
All times are GMT -4. The time now is 11:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy