Operating System - HP-UX
1752294 Members
4890 Online
108786 Solutions
New Discussion

Storage Migration in HP servers

 
Rajin43
Occasional Contributor

Storage Migration in HP servers

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

3 REPLIES 3
Torsten.
Acclaimed Contributor

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! thumb below!   
Bill Hassell
Honored Contributor

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.



Bill Hassell, sysadmin
Dimych
Occasional Contributor

Re: Storage Migration in HP servers

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.