Sponsored Content
Operating Systems AIX How to make existing volume group "shared"? Post 302841939 by ridgetop01 on Thursday 8th of August 2013 09:07:56 AM
Old 08-08-2013
Quote:
Originally Posted by blackrageous
Are you doing MPIO? Are these physical systems or lpars? Is this HACMP? How do you open the volume group on the system you say that can see the disk?
AIX is not my "native language", I do much more Solaris, so please forgive any terminology mistakes!

Our luns are served from an EMC Clariion san, and are SATA. The cluster is HACMP, with no standalone management server. OS is 5.3. Servers are P6 550s.

Here's the VG from the Primary/active node:
Code:
bash-2.05b# lsvg vg_arc2
VOLUME GROUP:       vg_arc2                  VG IDENTIFIER:  00cbd24200004c0000000135104bc85d
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      36460 (2333440 megabytes)
MAX LVs:            256                      FREE PPs:       0 (0 megabytes)
LVs:                4                        USED PPs:       36460 (2333440 megabytes)
OPEN LVs:           4                        QUORUM:         5 (Enabled)
TOTAL PVs:          8                        VG DESCRIPTORS: 8
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         8                        AUTO ON:        no
MAX PPs per VG:     65536                    MAX PVs:        1024
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
bash-2.05b# lsvg -p vg_arc2
vg_arc2:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdiskpower32      active            7197        0           00..00..00..00..00
hdiskpower33      active            7197        0           00..00..00..00..00
hdiskpower34      active            7197        0           00..00..00..00..00
hdiskpower35      active            7197        0           00..00..00..00..00
hdiskpower41      active            1918        0           00..00..00..00..00
hdiskpower42      active            1918        0           00..00..00..00..00
hdiskpower43      active            1918        0           00..00..00..00..00
hdiskpower44      active            1918        0           00..00..00..00..00
bash-2.05b# lsvg -l vg_arc2
vg_arc2:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
lv_arc9             jfs2       9115    9115    2    open/syncd    /archive9
lv_arc10            jfs2       9115    9115    2    open/syncd    /archive10
lv_arc11            jfs2       9115    9115    2    open/syncd    /archive11
lv_arc12            jfs2       9115    9115    2    open/syncd    /archive12
bash-2.05b# lspv |grep vg_arc2
hdiskpower32    00cbd2427b2ff68d                    vg_arc2         active
hdiskpower33    00cbd2427b35914d                    vg_arc2         active
hdiskpower34    00cbd2427b279500                    vg_arc2         active
hdiskpower35    00cbd2427b2b3c06                    vg_arc2         active
hdiskpower41    00cbd24203dcdec2                    vg_arc2         active
hdiskpower42    00cbd24203e5c4dc                    vg_arc2         active
hdiskpower43    00cbd24203df9ccd                    vg_arc2         active
hdiskpower44    00cbd24203e5eb16                    vg_arc2         active

Here are the same commands from the Secondary/inactive node:
Code:
bash-2.05b# lsvg vg_arc2
0516-306 : Unable to find volume group vg_arc2 in the Device
        Configuration Database.
bash-2.05b# lsvg -p vg_arc2
0516-306 : Unable to find volume group vg_arc2 in the Device
        Configuration Database.
bash-2.05b# lsvg -l vg_arc2
0516-306 : Unable to find volume group vg_arc2 in the Device
        Configuration Database.
bash-2.05b# lspv |grep vg_arc2
bash-2.05b# lspv | egrep 'hdiskpower3|hdiskpower4'
hdiskpower32    00cbd2427b2ff68d                      None
hdiskpower33    00cbd2427b35914d                    None
hdiskpower34    00cbd2427b279500                    None
hdiskpower35    00cbd2427b2b3c06                    None
hdiskpower41    none                                None
hdiskpower42    none                                None
hdiskpower43    none                                None
hdiskpower44    none                                None

The secondary node at least sees the PVIDs of 4 of the disks, the 4 it doesn't see PVIDs for were just added.

"smit cl_admin" shows that this volume group is not shared at all, while various other VGs are shared:
Code:
#Volume Group            Resource Group          Node List
 hbvg                    <None>                  cmax1,cmax2
 vg_arc                  cmax_res                cmax1,cmax2
 vg_bkp                  cmax_res                cmax1,cmax2
 vg_cmax                 cmax_res                cmax1,cmax2
 vg_dba                  cmax_res                cmax1,cmax2

Thanks...

Last edited by Scott; 08-08-2013 at 11:11 AM.. Reason: Use code tags, please...
 

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
All times are GMT -4. The time now is 07:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy