Tuesday, March 31, 2015

How to perform storage migration from IBM to Hitachi?

How to perform storage migration from IBM to Hitachi?



 Please follow the below host based storage migration steps in dual vio setup.

   ü  Take the backup of the Lpar (Mksysb and TSM for datavg), and take the backup of VIOS (VIOSBR and VIOSBR)

   ü  Share the current configuration (IBM disks info) to the storage team (No of disks and size of the disks), and ask storage people to provide the new Hitachi disks based on the current configuration.

   ü  Execute "cfgmgr"on the vios servers to make sure the newly added Hitachi disks are available with the correct size and note the LUN info.

   ü  Change the disk's attribute like the algorithm and reserve_policy

   ü  Map the disks to the lpar with the help of mkvdev command (mkvdev –vadapter vhost# -vdev hdisk# -dev vtd_name)

   ü  Come to the Lpar and then execute the cfgmgr and confirm the number of disks and size of the disks also the disks having the two path.

   ü  Change the attribute of healthcheck_interval

   ü  Extend the disks to the VG and then execute the migratepv command (nohup migratepv IBM_disk Hitachi_disk &)

   ü  Once the migraiton is completed, take it out the old IBM disks by executing the reducevg command (Reducevg datavg IBM_disk)

   ü  Remove the disks from the lpar by executing rmdev

   ü  Now going to VIOS server and then delete the IBM disks VTD Mapping and then delete the IBM disks.

   ü  Once you delete the IBM disks, ask the storage people to unmap the IBM disks from their end, once they did, we will execute the cfgmgr and make sure the IBM disks cannot return back.

Note:

   ü  Ask the app people to shutdown the app/DB (This is OPTIONAL if your management wants to make sure to avoid any risks - we can perform rootvg+datavg migration on the fly. However if we perform the storage migration on cluster (HACMP) environment, we need to down the app (In cluster end - bring resource group offline) to avoid risks.

   ü  We can perform the storage migration in SAN based also. Steps are slightly differ from Host based method.

   ü  We can perform the migration by using the below methods.

       ü  1. Migratepv

       ü  2. Mirrorvg

       ü  3. Alt disk install 




If you happy with above topic, Kindly rate your reactions/comments below.