Re: System Migration

From: Green, Simon (SGreen@KRAFTEUROPE.COM)
Date: Fri Jun 21 2002 - 10:29:54 EDT


It's actually fairly simple and can be broken down into two parts: rootvg
and everything else.
The only requirement is similar tape drives on both machines, (or a single
external drive which you can swap over).

To take care of migrating the actual operating system, first of all stop all
of your applications, (including monitoring tools, if you're using any).

If you have crontab or inittab entries which are likely to try to start up
applications, comment them out for now.

Take a mksysb to tape, without an exclude file.

With the new system disconnected from your network, boot it from the AIX
installation CD and follow the cloning procedure. (See
http://techsupport.services.ibm.com/server/aix.techTips
<http://techsupport.services.ibm.com/server/aix.techTips> and many
references in the AIX-L archive.)

This will automatically install device drivers for the new hardware and will
set up machine B exactly like machine A.

Log in to machine B and give it a once over. If you have different network
interfaces, you may wish to modify the network config. You may want to
amend things like paging spaces as well, if you have a different amount of
memory.

Shutdown machine A; connect machine B to the network and reboot.

Add your inittab and crontab entries back.

How you migrate application data, (those 10 VGs) depends on what you plan to
do. If they're on external disks which you plan to retain, then simply
unmount the filesystems, vary off the VGs and do an exportvg, (do this
BEFORE you take your mksysb, above). Once you've got your system running on
machine B, connect the external storage to that, run cfgmgr then import the
volume groups. Oh: it';s a good idea to note which VGs are on which
physical devices before you export them.

If the VGs are on internal disks, or you plan to use new external storage
then you have to back up and restore the data. How you go about this
depends on what tools you normally use. You may need to create the
filesystems first. If so, you can either use savevg/restvg with an exclude
file containing "/*", or create a script to define all the filesystems.
There's some stuff in the archives about this sort of thing, mostly under
Disaster Recovery.

Simon Green
Philip Morris ITSC Europe

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l
<http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2> &r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/
<http://www.faqs.org/faqs/aix-faq/>

N.B. Unsolicited email from vendors will seldom be appreciated.

-----Original Message-----
From: Robert Elliott [mailto:elliott@LORMAN.ALCORN.EDU]
Sent: 21 June 2002 14:49
To: aix-l@Princeton.EDU
Subject: System Migration

Hi,
I am soliciting all comments on a general plan to migrate an AIX 4.3.3
machine to another physical RISC machine.
Machine A has about 10 VG's and 30 PV's. Machine B is a new box. What is
necessary to get Machine A up and running on machine B? General steps.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:00 EDT