Unix Technical Forum

exportvg/importvg across AIX versions (using SAN disk)

This is a discussion on exportvg/importvg across AIX versions (using SAN disk) within the AIX Operating System forums, part of the Unix Operating Systems category; --> Having never done this, perhaps it's simpler than I'm making it out to be, but is this possible? Two ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 09:29 AM
sdpeck
 
Posts: n/a
Default exportvg/importvg across AIX versions (using SAN disk)

Having never done this, perhaps it's simpler than I'm making it out to
be, but is this possible?

Two systems on the same SAN, one is 5.2 ML5, the other 5.3 ML4. If I
exportvg my vg's from the 5.2 system (H80), and the LUNs are in the
same zone as my 5.3 system (570), can I simply importvg those same
vg's on the new system?

Any problems going from 5.2 to 5.3?

TIA,
Scott

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 09:29 AM
steevojb@gmail.com
 
Posts: n/a
Default Re: exportvg/importvg across AIX versions (using SAN disk)

Hi Scott

Ensure it's available on the other node

cfgmgr
you should be able to see matching pvid's

If you can see the disk but not the pvid,

chdev -l hdisk# -a pv=yes

You should then be able to

importvg -y vgname hdisk#

HTH

Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 09:29 AM
Swen Jung
 
Posts: n/a
Default Re: exportvg/importvg across AIX versions (using SAN disk)

Hi Scott,

if you have varied off the Volumegroup on the source side, you are able
to import this Volumegroup on your target system.

But to be able to import a Volume Group, you need to have the PVIDs
visible.

If the hdisks are available on the target system, but "lspv" showes no
PVID, you should use "rmdev -l hdisk<X>" to switch the hdisks to
"defined". If all disks are "defined", "cfgmgr" should bring back all
hdisks to "available" and should have read the PVIDs into the ODM.

If lspv showes the former used PVIDs, you should be able to import the
Volume Group.

If you have changed the PVIDs, using "chdev -l hdisk<X> -a pv=yes", you
can use "recreatevg" to recover this VolumeGroup and update the VGDAs.


Best regards,

Swen

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 09:30 AM
Markus Baertschi
 
Posts: n/a
Default Re: exportvg/importvg across AIX versions (using SAN disk)

In article <1147193535.052137.199970
@v46g2000cwv.googlegroups.com>, sdpeck@gmail.com says...
> Any problems going from 5.2 to 5.3?


There are no problem going from 5.2 to 5.3. But if you modify the
VG on the 5.3 side you might not be able to go back to 5.2. I
don't remember specifics, but the 'huge' VG size might be such an
option.

Markus
--
Markus Baertschi Phone: ++41 (21) 807 1677
Bas du Rossé 14b Fax : ++41 (21) 807 1678
CH-1163, Etoy Email: markus@markus.org
Switzerland Homepage: www.markus.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 09:30 AM
sdpeck
 
Posts: n/a
Default Re: exportvg/importvg across AIX versions (using SAN disk)

Thanks everyone. We're going to start testing this today.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com