Unix Technical Forum

Help with migratepv command

This is a discussion on Help with migratepv command within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi we have the situation that data on one lpar on many hdisks should be moved to another physical ...


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-26-2008, 03:51 PM
Friedhelm Neyer
 
Posts: n/a
Default Help with migratepv command

Hi

we have the situation that data on one lpar on many hdisks should be
moved to another physical volumes in an other SAN box (disk
performance). So we think about using the migratepv command to move the
data. Would be the following steps correct ?

1. Attach needed new LUNs to both VIO servers
2. Map these new LUNs from both VIOs to the lpar and add them to the
volumegroup (extendvg ...)
3. Run migratepv command online to move data from old hdisk to new
hdisk (migratepv hdisk<source> hdisk<target>
4. Test if the migrated data are useable in the right manner
5. If all is ok, remove the old hdisks from the volumegroup (reducevg)

Are these steps practicable ?

Thx in advance

Friedhelm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-27-2008, 06:35 AM
0xdeadabe
 
Posts: n/a
Default Re: Help with migratepv command

Friedhelm Neyer wrote:
> Hi
>
> we have the situation that data on one lpar on many hdisks should be
> moved to another physical volumes in an other SAN box (disk
> performance). So we think about using the migratepv command to move the
> data. Would be the following steps correct ?
>
> 1. Attach needed new LUNs to both VIO servers
> 2. Map these new LUNs from both VIOs to the lpar and add them to the
> volumegroup (extendvg ...)
> 3. Run migratepv command online to move data from old hdisk to new
> hdisk (migratepv hdisk<source> hdisk<target>
> 4. Test if the migrated data are useable in the right manner
> 5. If all is ok, remove the old hdisks from the volumegroup (reducevg)
>
> Are these steps practicable ?
>
> Thx in advance
>
> Friedhelm


You pretty much got it. "migratepv" is pretty robust in that you won't
get a successful return on your command if something went wrong. I have
never had to test anything, because the file systems never were
unmounted while everything proceeded. If you are moving raw data
volumes, or Oracle data areas, then I would err on the side of caution
and not have them in use at the time, only because I have heard bad
things happening in the past. Somebody may chime in and alleviate these
concerns.

Hope this helps

SG
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 12:09 PM.


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