AX45-Migrating to AIX 7 1 withAX45 Migrating to AIX 7.1 with nimadmChris Gibson
AdvantagesnimadmBenefits?nimadm• For customers with a large number of AIX systems.• nimadm tool supports migrating several clients at once. • Benefits
AdvantagesnimadmOther reasons to use nimadm.nimadm• Process is very flexible: Can be customized – optional customization resources i.e. image_data, bo
Preparing the NIM environmentnimadmPreparationnimadm• You must have a NIM master running AIX 7.1 or higher with the latest Technology Level and Servic
Preparing the NIM environmentnimadmPreparation – continued.nimadm• The target client must be registered with the NIM master as a standalone NIM client
Local disk caching versus NFSnimadmWhy not use NFS?nimadm• By default, nimadm uses NFS for many of the tasks during the migration.• This can be a prob
Local disk caching - AdvantagesnimadmWhy Local Disk Caching?nimadm• Local disk caching provides:• Improved performance for nimadm operations on relati
Local disk cachingnimadmnimadmnimadm phases with disk caching•There are 12 phases to nimadm, however…Hthtittt!•Here are the most important steps!16
Phasesnimadm12 Phases• The nimadm command performs a migration in 12 phases:nimadm1. Master issues alt_disk_install to the client. Makes a copy of the
PhasesnimadmPhases7If apost-migration scriptresource has been specified it is executed in this phasenimadm7.If a post-migration script resource has be
Consider this…nimadmBefore we start…•A few points for you to considernimadmA few points for you to consider. • I recommended that you do not to make a
Migrating to AIX 7.1 with nimadmAugust 20122012 IBM P S t S i 14th17thAtSdAtli2012 IBM Power Systems Symposium. 14th-17thAugust, Sydney, AustraliaChri
Consider this…nimadmBefore we start…• Ensure all rootvg LVs are renamed to their legacy names. If necessary, create a new libidbhLPARFlnimadmmultibosi
Migrating to AIX 7.1 using nimadmnimadmLet’s start…•Let'susenimadmnow to migrate an AIX systemnimadmLet s use nimadmnow to migrate an AIX system.
Migrating to AIX 7.1 using nimadmnimadmPre-Migration checks…nimadm• Run this script, review the output (in /home/pre_migration), and correct any issue
Migrating to AIX 7.1 using nimadmnimadmSpare disk, rsh…nimadm• If rootvg is mirrored, break the mirror and reduce it to a single disk.• Assign another
Migrating to AIX 7.1 using nimadmnimadmReady to migrate…nimadm• At this point I'm ready to migrate. • The process will take around 30-45 minutes;
Migrating to AIX 7.1 using nimadmnimadmbos.alt_disk_install.rtenimadm• The fileset bos.alt_disk_install.rte fileset is installed on the NIM master:# l
nimadm command line optionsnimadmFlags and optionsnimadm• The nimadm command is executed from the NIM master. # nimadm-j nimadmvg-c aix1 -s spotaix710
nimadm command line optionsnimadmExecuting nimadm…nimadm• Now I can sit back and watch the migration take place. • All migration activity is logged on
Phase 1nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 1.+--------------------------------
Phase 2, 3 & 4nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 2.+---------------------
IntroductionMinimize AIX migration downtime with NIM Alternate Disk MigrationPurpose• This presentation demonstrates how to migrate to AIX 7.1 using t
Phase 5nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 5.+--------------------------------
Phase 6nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 6.+--------------------------------
Phase 7, 8 & 9nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 7.+---------------------
Phase 10nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 10.+------------------------------
Phase 11 & 12nimadm+-----------------------------------------------------------------------------+Executing nimadm phase 11.+---------------------
After the migrationnimadmMigration complete!nimadm• After the migration is complete, confirm that the bootlist is set to the altnst_rootvg disk.# lspv
After the migrationnimadmHealth checks and clean upnimadm• At this point, perform some general AIX system health checks to ensure that the system is c
After the migrationnimadmPost migrationnimadm• With the migration finished, the applications are started and the application support team verify that
After the migrationnimadmUh oh! Back out!nimadm• If there was an issue with the migration, easily back out to the previous release of AIX.• Instead of
Reduced downtimenimadmNo more after hours upgrades!nimadm• By using nimadm, we were able to reduce the overall downtime required when migrating our sy
Migrating AIXOverviewOverviewWithout NIM…what would we do?Without NIM…what would we do?• Over the years, I've migrated to several new releases of
nimadm – migrate mksysb imagenimadmAlternative migration techniquenimadm• Migrate mksysb image from one version of AIX to another.• Migrate AIX 6.1 mk
nimadm – migrate mksysb imagecontinuedAlternative to standard nimadmcontinued• AIX 7.1 lpp_source and SPOT ready and waiting on my NIM master.root@nim
nimadm – migrate mksysb imagecontinuedAlternative to standard nimadmcontinued• To migrate the mksysb image from AIX 6.1 to AIX 7.1, I ran the followin
nimadm – migrate mksysb imagecontinuedMigrate mksysb…continued• Output.root@nim1 / # nimadm -T cg-aix61 -O /export/mksysb/cg-aix71 -s spotaix7tl0sp2 -
nimadm – migrate mksysb imagecontinuedMigrate mksysb…NIM mksysb resourcecontinued• New NIIM msysb resource after successful migration.+---------------
nimadm – migrate mksysb imagecontinuedMigrate mksysb…NIM mksysb resourcecontinued• I was able to use the new, migrated, AIX 7.1 mksysb image to instal
Other tips and tricksMigrating to AIX 7 1AIX Tunables Post MigrationMigrating to AIX 7.1• After an AIX migration, I usually like to run the tuncheck c
Other tips and tricksMigrating to AIX 7 1AIX Tunables Post Migration - continuedMigrating to AIX 7.1• In the output above you’ll notice that we are ad
Other tips and tricksMigrating to AIX 7 1AIX Tunables Post Migration - continuedMigrating to AIX 7.1• Based on the output above, the tuning for this n
Other tips and tricksMigrating to AIX 7 1AIX Tunables Post Migration - continuedMigrating to AIX 7.1• The tundefault command can also reset tuning to
Migrating AIXOverviewOverview• Virtual Media Library - File-backed devices - on VIOS. Poor man’s NIM.$ lsrepSize(mb) Free(mb) Parent Pool Pare
Other tips and tricksMigrating to AIX 7 1AIX Tunables Post Migration - continuedMigrating to AIX 7.1• Unless you’ve permanently set restricted tunable
Other tips and tricksMigrating to AIX 7 1MultibosMigrating to AIX 7.1• As mentioned earlier, multibos is not supported in nimadm environments. Before
Other tips and tricksMigrating to AIX 7 1Multibos - continuedMigrating to AIX 7.1• Given that the error appeared to be related to init_multibos, we as
Other tips and tricksMigrating to AIX 7 1AIX 7.1 NIM master - migrating clients to AIX 6.1Migrating to AIX 7.1• If you plan on using your AIX 7.1 NIM
Other tips and tricksMigrating to AIX 7 1AIX 7.1 NIM master migrating clients to AIX 6.1Migrating to AIX 7.1• You must install the AIX 7.1 bos.alt_dis
Other tips and tricksMigrating to AIX 7 1Other considerations….Migrating to AIX 7.1• Some ifixes left behind after migration from 5.3 to 7.1 (or 6.1):
Other tips and tricksMigrating to AIX 7 1Other considerations…. - continuedMigrating to AIX 7.1• DB2 – intermittent crash – AIX 7.1 TL1 SP4. ifix IV22
Other tips and tricksMigrating to AIX 7 1Other considerations…. - continuedMigrating to AIX 7.1• nimadm does NOT convert rootvg file systems from JFS
Other tips and tricksMigrating to AIX 7 1Other considerations…. - continuedMigrating to AIX 7.1• Pre & Post migration scripts.-a PreMigrationScrip
AIX blogs and other online resources•AIXpert.phttps://www.ibm.com/developerworks/mydeveloperworks/blogs/aixpert/?lang=en• AIXchange.http://ibmsystemsm
Migrating AIXBoot from media–then migrateBoot from media –then migrate….• Boot the AIX system from either NIM or VML virtual CD. Perform migration.6
Before We ConcludeMigrating to AIX 7.1 with nimadmMigrating to AIX 7.1 with nimadmANY QUESTIONS60
Migrating AIXBoot from media–then migrateBoot from media –then migrate…BOS menus – select Migration Install, etc…7
Migrating AIXDown time!Down time!Down time!• The downside with both of these methods is that they both require significantdowntime on the system while
AdvantagesnimadmWhy should I use nimadm?nimadm• The nimadm utility offers several advantages over a conventional migration. • Creates a copy of a NIM
Komentarze do niniejszej Instrukcji