Storage Migration in HP servers (202 Views)
Reply
Occasional Contributor
Rajin43
Posts: 10
Registered: ‎08-07-2012
Message 1 of 4 (202 Views)

Storage Migration in HP servers

[ Edited ]

Hi All,

 

I have a task to Migrate the storage allocated to the HP-UX server to a new storage and to decomm the old one.

 

Can you people assist me how to proceed with that? Either pvmove is enough or rsync needs to be done.

 

Please provide the detailed step to understand the concept of it.

 

Regards

Rajini

 

 

P.S. This thread has been moved from Servers > General to HP-UX > LVM. - Hp forum Moderator

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,191
Registered: ‎10-02-2001
Message 2 of 4 (180 Views)

Re: Storage Migration in HP servers

Several options:

 

- use functionality of the storage to replicate (if available)

- use backup/restore

- use LVM mirroring

- ...


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,199
Registered: ‎05-29-2000
Message 3 of 4 (166 Views)

Re: Storage Migration in HP servers

If the root disk is part of the migration, don't even think about it until you know that the model of HP computer (and firmware level), the I/O card (and firmware), and the new storage (yes, the software version) will support booting HP-UX. If the boot disk(s) are internal then the steps mentioned above are possibilities.

 

Here are some comments:

 

rsync - not too bad after the initial copy; incremental updates are very fast; system can be left online until the switch

pvmove - too risky for me. pvmove is very slow but very careful to ensure accurate moves. However, if anything goes wrong once the pvmove starts (ie, source or destination disk failure), you'll end up up with the data split between the two PVs and a complex recovery (or not depending on the failure).

Mirror-UX - probably the safest way. If something goes wrong, you still have a working set. If the existing PV is mirrored, you can add a 3rd PV as the destination.

Local disk-disk replication - Requires an idle or stopped system unless the storage keeps previous sectors up to date during the copy.

 

For the boot disk, there are different ways to handle this depending on whether you are running PARISC, or Integrity, using SCSI or fibre or SAS, etc...all require a number of extra steps and offline time.

Please use plain text.
Occasional Contributor
Dimych
Posts: 5
Registered: ‎05-05-2010
Message 4 of 4 (142 Views)

Re: Storage Migration in HP servers

[ Edited ]

IMHO, Mirror Disk -- quick and easy.

 

It applicable for 11.31 native multipath (for 11.11 or 11.23 use Secure Path or Alternate Links)

 

1.add disks (LUNs) froms the new array

 

#ioscan -fNnC disk

look need device path for your disk such as:

 

disk 18 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP HSV450
/dev/disk/<disks_from_new_array>8 /dev/rdisk/<disks_from_new_array>

 

 

#pvcreate /dev/rdisk/<disks_from_new_array> 

#vgextend /dev/<your_vg> /dev/disk/<disks_from_new_array>

may be need to be increased VG Max Size parametr, using vgmodify command

#lvextend -m 1 /dev/<your_vg>/<your_lvol> /dev/disk/<disks_from_new_array>

Conrtol the synchronization using the construction:

#lvdisplay -v /dev/<your_vg>/<your_lvol> | grep -c stale

When synchronization is complete, the result of this command will be value "0"

 

2. Remove disk from old array:

 

#ioscan -fNnuC disk

look need device path for your disk such as:

 

disk 18 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP HSV450
/dev/disk/<disks_from_old_array>8 /dev/rdisk/<disks_from_old_array>

 

#lvreduce -m 0 /dev/<your_vg> /dev/disk/<disks_from_old_array>

#vgreduce /dev/<your_vg> /dev/disk/<disks_from_old_array>

 

Finished -- migration is complete.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation