Operating System - HP-UX
1833789 Members
2593 Online
110063 Solutions
New Discussion

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

 
SOLVED
Go to solution
Geetha Alagappan
Regular Advisor

Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

We have the following configuration on our current system:

Current Box
----------------
K570
HP-UX 11.0 32 -bit
Oracle 8.1.7
Oracle 8.1.7 databases

New Box
--------------
K570
We are planning on doing a clean install of HP-UX 64-bit and Oracle 9i.

Could someone tell me of the simplest way to do the migration of Volume Groups and databases (oracle 8.1.7 to Oracle 9i) from our Current K570 box to the new one?

Thanks.

hercules
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

Sure, do a vgexport -m /tmp/mapfile vg??, then copy the mapfile to your new machine and do a vgimport -m /tmp/mapfile vg?? (after you create the /dev/vg?? directory and do the mknod for the group file i.e. mknod /dev/vg??/group c 64 0x??0000). That's basically all there is to it.

Pete

Pete
Stefan Farrelly
Honored Contributor
Solution

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

I think the easiest way is;

1. export your databases on 11/32 8.1.7 to disk (if you have space) or tape.
2. vgexport all non vg00 disks.
3. install new server to 11/64 and 9i.
4. vgimport all disks exported in 2. above.
5. import databases (from disk or tape) to 9i (as were dumped in 2.)

Im from Palmerston North, New Zealand, but somehow ended up in London...
Pete Randall
Outstanding Contributor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

Sorry, I skipped right over the database part, but Stefan's got you covered there.

Pete

Pete
Sajid_1
Honored Contributor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

hello,

1) Create 2 good make_tape_recovery backups and system full backups.
2) Create Vg map files from the old server:
# vgexport -p -s -v -m /tmp/vg_mapfile /dev/vgXX
Repeat this step for each VG. Copy this map files to a tape or to another system (ftp)
3) Took hard and soft copy of all system configuration details (VGs, LVs, file system, mount points, profiles, user accounts, network etc)
4) Install OS and patches to the new system. Connect all disks to the new system.
5) Import all VGs with map files:
# mkdir /dev/vgXX
# mknod group c 64 0x0?0000
# vgimport -m mapfile -v -s /dev/vgXX
# vgchange -a y /dev/vgXX
6) Create mount points, edit /etc/fstab file and mount -a
7) Install all Oracle patches.
8) Install the new Oracle on the system and import the database
learn unix ..
Sridhar Bhaskarla
Honored Contributor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

Hi,

Planning is the important step here. It includes determining the customization, additional softwares and their compatibility etc., Take sometime in making some good documentation. If you know the system well, it is easy to migrate. Following may help for a generic migration.

1. Save the configuration of your existing OS. The attached script may help you copy important files and makes a tar bundle. Copy it to another server on the network. It's a simple script. Look in and add anything that you want to copy. This script also creates map files with different options (-s, -f )for the volume groups.
2. Take a backup of the entire system. Prepare a make_tape_recovery tape for the OS.
3. Install 11.0 64bit.
4. Copy the tar bundle from the other system, untar it and restore the configuration files manually. They include but not limited to, inetd.conf, services, resolv.conf, hosts, netconf,passwd,group, cron etc., You will need to restore the kernel parameters also along with other config files.
5. Import volume groups. You can use either -f or -s to import the disks.
6. Fix /etc/fstab. Create directories and mount the file systems.
7. Install any additional software required.
8. Relink oracle executables and start the database and make sure it works with 8.1.7.
9. Migrate the database to 9i.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sajid_1
Honored Contributor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

Hi,

Read this checklist for 11.0 install/update too:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058931458

Doc ID - KBAN00000716
learn unix ..
Geetha Alagappan
Regular Advisor

Re: Installing HP-UX 11 (64-bit) and migrating VGs and apps from HP-UX 11 (32-bit) system.

Thank you all for your input :). I think I feel more comfortable taking this project on that before.
hercules