How to make existing volume group "shared"?


 
Thread Tools Search this Thread
Operating Systems AIX How to make existing volume group "shared"?
# 8  
Old 08-08-2013
I seem to recall there might be a way...but I am thinking old hacmp where there might have been a way to take the odm entries from the live system and update the odm on the old system. Not sure.
# 9  
Old 08-09-2013
Ok. I had a thought - would this work?

Can I add new disks to the primary, create a new shared VG using the new disks, and then somehow migrate the VG contents to the new VG and get rid of the old VG (while the VG is active)?

Thanks.
# 10  
Old 08-09-2013
Hello there,
After reading your post I assume that you wanted the newly created VG to be shared,
For that you need couple of things,
The reserve policy of each disk under that VG should be 'NO' and the VG must be concurrent capable.

Now, you can add a new VG, LV and File system to a cluster without bringing it down or causing a failover. use CSPOC to add a VG to your cluster.

So, before creating vg, on each disk run chdev -l hdisk -a RSV=no (where RSV=reserve_lock or policy depending upon your storage).

Now, you CSPOC to create a new VG, it will create a vg and what even you want (like LV and FS) and also sync the cluster, meaning updating the same info at the passive node.
# 11  
Old 08-13-2013
I do not have an "HACMP" (v1-v5) (aka PowerHA (v6) aka System Mirror (v7)) handy, but since HACMP v5 volume groups are meant to be "enhanced concurrent".

What this means in "AIX speak" is that the VGDA is open on both sides so that when the active side makes a change to the volume group that inactive (passive) side can update the ODM with the data - which speeds up the takeover time when either moving a resource group manually of during a failover. The reason being - getting the VGDA (read ODM) data current during a move was often 30-50% of the time needed for a move. "Enhanced" concurrent speeds this up.

You should be able to synchronize the resource groups. You may get an warning about not being "enhanced concurrent" - but this means your move/failover will take longer.

To make it enhanced concurrent you will need to stop the application so the volume group can be varied off and then on again.

p.s. when a disk is part of an enhanced concurrent vg it can be used for a non-IP network for passing a heartbeat. This is changed, I do not know the details, in SystemMirror (v7) as it uses CAA (Cluster Aware AIX) rather than RSCT for topology monitoring.

Hope this clarifies it enough for you, and the AIX speak was not too difficult :wink:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

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

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. Programming

extract the same format from existing excel file using " Spreadsheet::ParseExcel " module

Hi , can any one tell me,"How to extract the same format from existing excel file to new excel file " using Spreadsheet::WriteExcel or Spreadsheet::ParseExcel module ??? Example_pgm: Below program is used to read existing excel file..In this program "my $cell = $_;" line is used to... (0 Replies)
Discussion started by: kavi.mogu
0 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

7. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

8. Programming

how could i make a program mixed with many "|", "<" and ">"

I have written following code to do: ls -l | wc -w, it works: but when there are not only a single "|", if there are more such as: ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies

9. UNIX for Dummies Questions & Answers

"./cofigure" and "make" turmoil

I am a Unix newbie and I downloaded some X11 programs. I have gcc, but I cannot compile the files. I NEED HELP!!!! :confused: (16 Replies)
Discussion started by: gnerd
16 Replies
Login or Register to Ask a Question