Operating System - HP-UX
1834276 Members
2096 Online
110066 Solutions
New Discussion

Re: Upgrading Hard Disk in itanium HP-UX Server

 
GSB_3
Frequent Advisor

Upgrading Hard Disk in itanium HP-UX Server

Hi,

I need to upgrade two hard disks (from 73GB to 300GB)in one of my HP-UX Itanium box. Please tell me the steps for the same. I have a tape device connected to that server to take backup.

Thanks

10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

Shalom,

We'll assume there is data on them.

Best bet is to do an Ignite make_tape_recovery backup followed by recovering using the same tape. make_net_recovery is also good should you lack a tape drive.

You make the backup, pull both hard disks and recover. There is a prompt early in the recovery process that lets you make changes should you need it to the size of logical volumes and filesystems.

This is the supported and safest methodology for doing the upgrade.

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
Torsten.
Acclaimed Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

Just one possible procedure:

backup the OS using ignite
shutdown
swap the disk(s)
restore the image from tape

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!   
Robert-Jan Goossens
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

Hi,

You will need to create a make_tape_recovery with the Ignite software.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

Title: How to boot/recover from tape on Itanium
Document ID: emr_na-c01002006-2

Europe
http://www8.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01002006-2

US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01002006-2

Reagrds,
Robert-Jan
Luk Vandenbussche
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

Hi,

What is your current model of server?
Is it the boot disk that you want to replace?
Are the two disks mirrored?
AwadheshPandey
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

1st you need to take ignite backup of OS as well as data backup. Follow these steps
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
It's kind of fun to do the impossible
GSB_3
Frequent Advisor

Re: Upgrading Hard Disk in itanium HP-UX Server

- What is your current model of server - rx2620

- Is it the boot disk that you want to replace?
Both the disks are data disk and there are total three disks, third disk is the boot disk

Are the two disks mirrored?
Not mirrored

Pls tell me the best possible way.

Thanks
Torsten.
Acclaimed Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

In this case, backup the OS with ignite, the data disks with a backup software (e.g. fbackup).

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!   
Robert-Jan Goossens
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

>>Both the disks are data disk and there are total three disks, third disk is the boot disk

In that case, create a backup of the two data disks (data volume groups), umount filesystems, remove the volume group(s), remove the device files, remove the disks, install the new disks, insf -e, recreate the volume group(s), recreate the logical volumes, restore the data from tape.

The steps to recreate the volume groups are described in the When Good disk go bad document in the previous thread.

Keep the output of below commands in a safe place.
# ll /dev/*/group
# vgdisplay -v vgxx
# ioscan -fnCdisk
Regards,
Robert-Jan
Luk Vandenbussche
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

1) Create a backup of your disk
2) umount the filesystems
3) vgchange -a n vgxx
4) vgexport vgxx
6) replace the disk
7) rescan the disks (ioscan -fnC disk ; insf -e)
8) Create a new VG and logical volumes (through sam)
9) Restore the data
Hein van den Heuvel
Honored Contributor

Re: Upgrading Hard Disk in itanium HP-UX Server

GSB... what is the mountpoint / filesystem setup?
May we assume they are logical volumes (LV) under LSM? What is the LSM setup (if any) for those data disks?

Use bdf; vgdisplay; strings /etc/lvmtab to check stuff out.

If they are seperate disks, not members of the same volume group, then by far the best method is to just copy them one at a time, making new volume groups (VG), pointing to the new physical volumes (PV) as you go.

When all copying is done, mount the new LV in the new VGs on the old mountpoints and the applition should be none the wiser.

hth,
Hein.