1753774 Members
7171 Online
108799 Solutions
New Discussion юеВ

Re: Migration

 
Sivakumar MJ._1
Respected Contributor

Migration

Hi HP-UX Xperts,

My HPUX server has Storage Connection to 1 XP1024 and has 4 x 56GB provisioned.

Now I want to move the datas to the other XP12000 which is located in the same DC.

I have done with creating (4 x 56 GB) Luns, Lun Masking, Zoning is done. Only thing I need to do is to connect the FC Cable from the HPUX Server.

(The HPUX Server has 2 Dual Port HBA Cards. Only one Card is in use. I am using the free HBA Card)

Once I am connected to the new XP12000 what are all the steps I need to do in HPUX part.
I need step by step procedures.

Once the datas are transfered I will disconnect the FC Connectivity in the OLD XP.
8 REPLIES 8
RUET
Regular Advisor

Re: Migration

You jsut have to connect link to new XP
ioscan -fn
insf -e
you will see the new drive
if you have xpinfo, you will see more informations regarding XP LUNs

then pvcreate on the raw device of these new disks
after you can add these new disks to the existing VG and crate LVM mirror in order to copy all data to new disks
when mirror is done,
then reduce the mirror by removing ol disks from the XP1024
and then it's done ... your VG is connected to the new XP, no more old XP, and no stop of operations ..
Sharma Sanjeev
Respected Contributor

Re: Migration

Hi

ioscan -fn
insf -e

Any of below u can use to copy data from OLD to New

1.Mirroring
2.pvmove
3.dd

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Steven E. Protter
Exalted Contributor

Re: Migration

Shalom,

Missing: insf -C disk

Disks will not be configured without this command.

Everything else is good.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sivakumar MJ._1
Respected Contributor

Re: Migration

Hi Guys, Thank you very much ...

I am comfortable with insf -c, ioscan -fnC disks, xpinfo -il..

I require further steps in Mirroring, Vgextend or Lvextend or pv extend etc..

Viktor Balogh
Honored Contributor

Re: Migration

Hi Sivakumar,

Because of the end of leasing we are migrating hundreds of machines from HP XP array to Sun storage. The migration goes with the help of a Brocade type Data Migration Manager, it can migrate date both online and offline. We use it offline:

1. It all starts with an ignite backup
2. The ServiceGuard will be then stopped
3. All the VGs should be exported
4. The server needs to be stopped, the storage team get off the cabling
5. I restart the server in offline-mode (ie. without the external SAN disks), manage patches, clean ioconfig table if almost full (ext_bus), etc...
6. They migrating all the data from one box to another with this DMM device
7. If all the data was migrated I need to stop the server, after that they attach the new box to the server
8. ioscan ; insf -e; storep # these will install the new device files for the LUNs, storep is like xpinfo for SUN storage
9. I check if all the LUNs are available, and import the VGs (please be sure to export with -s option!)
10. Starting the cluster, packages...

For all of these we've written some scripts e.g. saving the cmviewcl output, generating the table of old/new LUNs, sizes

Here is a Brochure for this Brocade Device:

http://www.brocade.com/forms/getFile?p=documents/data_sheets/product_data_sheets/DMM_DS_04.pdf
****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: Migration


AFAIK this HW can replace the WWNs on-the-fly, that's how the online migration goes. All the writing operations will be redirected to the new box, and all the reading to the old.

But this wasn't tested at my company, just to be sure we're migrating offline.
****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: Migration

Before the migration all the VGs should be consolidated, this means that all the disks should come from a single box, and all the mirrors for it from another. This way it is more clear.

This consolidation have taken place with pvmove or mirroring, the solutions Mr Sharma has mentioned.

for pvmove with nohup you should write a small script like:

root@hpdbs51:/home/qx76218/B00000011057790 # cat migrate.sh
#!/usr/bin/ksh


/usr/sbin/pvmove /dev/dsk/c40t0d6 /dev/dsk/c50t3d3
/usr/sbin/pvmove /dev/dsk/c41t0d6 /dev/dsk/c62t3d3
/usr/sbin/pvmove /dev/dsk/c40t1d0 /dev/dsk/c50t3d4


Then it can be sent to the background.
****
Unix operates with beer.
Sivakumar MJ._1
Respected Contributor

Re: Migration

Hi Viktor,

Could you please provide me the steps for Step 3 and Step 9

"
3. All the VGs should be exported

9. I check if all the LUNs are available, and import the VGs (please be sure to export with -s option!)

"

I am looking for the HPUX Steps...the command line...