AIX 7.1 → 7.2 Migration · Boot Media

BOOT MEDIA AIX 7.1 → 7.2
Runbook ID
RB-PATCH-AIX-003
Operation
Version migration · 7.1 → 7.2
Method
Boot media · Migration Install
Source level
7100-05-11-2246
Target level
7200-05-11-2546
Client LPAR
lpar01
HMC
hmc01
Managed system
Server-9119-MME-SN12345AB
Spare disk
hdisk1 · ≥ rootvg
Window
4 — 5 hr
Install duration
90 — 180 min · offline
Rollback
alt_disk_copy + bootlist swap
HMC
hmc01
virtual media library · vterm console
SMS-mode activation · ISO load/unload via VIOS
──▶
SMS boot · BOS migration
Client LPAR
lpar01
offline during install
hdisk0 = 7.1 → 7.2 in place · hdisk1 = alt clone (rollback)

Worked example: All commands assume lpar01 as the client LPAR with hdisk0 as the in-place migration target and hdisk1 as the unassigned rollback disk. ISO 1 / ISO 2 from ESS are loaded into the HMC virtual media library on hmc01. Sub in your own values throughout.

When to choose this method over nimadm: no NIM master available (and not feasible to build one) · LPAR is on an isolated network with no path to a NIM master · single, one-off migration where NIM setup overhead is not justified. For repeated or fleet migrations, nimadm is strongly preferred — see RB-PATCH-AIX-002.

Console operator required for entire window. The BOS installer needs interactive input at multiple menu screens — do not plan to leave this unattended. The system is offline for 90 — 180 minutes during the install itself.

Out of scope: new installations / "preservation" installs (different BOS menu selections; data-loss implications) · PowerHA / HACMP-clustered nodes (cluster must be quiesced; migrate one node at a time per IBM's PowerHA migration procedure). For 7.1 → 7.3 the procedure is identical — substitute 7.3 media throughout.

Phase 1 Pre-change planning · T-7 to T-2 days

Third-party compatibility matters more here than for an SP. Verify against AIX 7.2 TL5:

ComponentWhat to check
TSM / IBM Spectrum Protect clientIBM compatibility matrix for AIX 7.2 TL5 SPx supported client versions.
PowerHA / HACMPHard version dependency. Do not migrate clustered nodes ad-hoc.
Oracle, DB2, SAPEach has its own AIX 7.2 certification matrix.
Kernel extensionsgenkex shows the loaded list — anything 3rd-party must be re-validated.
Java, OpenSSL, OpenSSHShip at newer baselines on 7.2.
Monitoring / AV agentsITM, Nagios, Tanium, etc.
Phase 2 Boot media preparation

Three options, in order of practicality. Most modern environments use Option A (HMC virtual optical). Options B and C exist for edge cases.

A · HMC virtual optical
Recommended. ISO held in HMC virtual media library, presented to LPAR as virtual optical via VIOS. Mid-install media swap is a CLI command on VIOS.
B · Physical DVD
Decreasingly common. LPAR profile must have the physical DVD drive attached (typically owned by VIOS, presented as virtual optical, or directly assigned via DLPAR).
C · Bootable USB stick
POWER8+. ISO written to ≥ 16 GB USB stick via dd. Fiddly — not all firmware levels handle multi-DVD installs cleanly from USB. Prefer A.
01 Option A · upload ISOs to the HMC virtual media library CONFIG hmc01

Two paths: HMC GUI (slower for large ISOs but accessible) or HMC CLI via viosvrcmd (faster, scriptable).

Via HMC GUI:

  1. HMC main menu → Systems Management → Servers → select managed system.
  2. Configuration → Virtual Resources → Virtual Storage Management.
  3. Select the VIOS that owns virtual optical for this LPAR.
  4. "Optical Devices" tab → "Add" → "Add Existing File", or upload the ISO from your workstation (slow) or from an NFS share the HMC can reach (faster).
  5. Repeat for ISO 2.

Via HMC CLI:

SSH to the HMC as hscroot ssh hscroot@hmc01 Verify managed system lssyscfg -r sys -F name List existing media library contents viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "lsrep" Create the repository (only needed first time) viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "mkrep -sp rootvg -size 10G" Upload an ISO to the VIOS media repository (from an NFS share) viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "mkvopt -name AIX72_TL5_SP11_DVD1 \ -file /home/padmin/AIX_7200-05-11_DVD_1_of_2.iso \ -ro"
02 Option A · load ISO into the LPAR's virtual optical drive CONFIG vios1
Identify the virtual optical device assigned to the client viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "lsmap -all -type file_opt" # Look for the vtopt mapping to lpar01 Load ISO 1 into that virtual optical viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "loadopt -vtd vtopt0 -disk AIX72_TL5_SP11_DVD1"

Mid-install swap (when BOS prompts for ISO 2):

viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "unloadopt -vtd vtopt0" viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "loadopt -vtd vtopt0 -disk AIX72_TL5_SP11_DVD2"

Have this command ready to paste before the install starts — at the swap prompt the install is paused and waiting on you.

03 Option B · physical DVD prep CONFIG lpar01
  1. Insert AIX 7.2 DVD 1 in the frame's DVD drive.
  2. Confirm the LPAR has the DVD device assigned (via HMC partition profile or DLPAR add operation).
  3. On the client (while still running 7.1):
lsdev -Cc cdrom # Expect: cd0 Available ... IDE DVD-ROM Drive

Shared DVD across LPARs: If the DVD is shared between LPARs via VIOS, ensure it's currently allocated to lpar01 and not held by another partition. A held DVD is the most common reason an Option B install hangs at the BOS device-list screen.

04 Option C · bootable USB stick prep CONFIG workstation

USB stick must be at least 16 GB. AIX 7.2 install ISO is hybrid — bootable as either DVD or USB.

On a Linux workstation:

Identify the USB device (NOT a disk you care about!) lsblk # e.g. /dev/sdc Write the ISO directly dd if=AIX_7200-05-11_DVD_1_of_2.iso of=/dev/sdc bs=1M status=progress sync

On AIX 7.x (a system other than the one being migrated):

Identify USB stick lsdev -Cc disk | grep -i usb # e.g. usbms0 Write ISO dd if=/path/to/AIX_7200-05-11_DVD_1_of_2.iso \ of=/dev/usbms0 \ bs=1m

Triple-check the target device. A wrong of= destroys the disk it points at, no questions asked. lsblk / lsdev -Cc disk | grep usb first, every time.

Caveat: Then physically plug the USB stick into a USB port on the frame allocated to the target LPAR. Not all firmware levels handle multi-DVD installs cleanly from USB — prefer Option A when available.

05 Verify the ISO checksum BEFORE attaching media VALIDATE staging host

Wherever the ISO is staged (HMC, DVD burn source, USB write source), verify the SHA256 against the value on the ESS download page.

sha256sum AIX_7200-05-11_DVD_*.iso # Linux csum -h SHA256 AIX_7200-05-11_DVD_*.iso # AIX

Why this matters: A corrupted install ISO causes failures partway through the install that look like hardware faults. By the time you see them you've burned an hour of the maintenance window. Catch corruption at the doorstep, not 60% through phase 7.

Phase 3 Pre-flight checks on the client LPAR · T-0

Capture everything: Wrap the whole pre-flight in script /tmp/preflight_$(date +%Y%m%d).log. You will not have shell access to the running 7.1 system during the install — anything you forget to capture here is gone.

06 Capture current OS level and identity BASELINE lpar01
oslevel -s # expect: 7100-05-11-2246 oslevel -r instfix -i | grep ML uname -a prtconf | head -30
07 Verify fileset health CRITICAL lpar01
lppchk -v # MUST return clean lppchk -c # checksum verify (optional)

Stop condition: If lppchk -v reports issues, remediate before migration. The migration installer carries broken state forward and amplifies it.

08 Identify obsolete or problem filesets VALIDATE lpar01
lslpp -L | grep -i obsolete lslpp -L bos.adt.libm bos.compat.libs perfagent.tools 2>/dev/null

Anything matched is worth confirming with the application team before migration. perfagent.tools in particular has historically caused post-migration noise.

09 Confirm disk space VALIDATE lpar01
df -g / /usr /var /opt /tmp /home
FilesystemMin freeWhy
/100 MBBootloader, ODM
/usr3 GB7.2 fileset footprint is materially larger than 7.1
/var1 GBMigration logs
/tmp1 GBinstallp scratch
/opt500 MBOptional product trees
10 Verify rootvg health and rollback disk CRITICAL lpar01
lsvg rootvg lsvg -p rootvg lsvg -l rootvg lspv # Confirm hdisk1 shows "None" in VG column and is >= hdisk0 size. bootinfo -s hdisk0 # size in MB bootinfo -s hdisk1

✓ Verify: hdisk1 shows None in VG column · size ≥ hdisk0 · all LVs in lsvg -l rootvg are open/syncd.

11 Snapshot bootlist and error log BASELINE lpar01
bootlist -m normal -o > /tmp/bootlist_pre.txt bootlist -m service -o >> /tmp/bootlist_pre.txt errpt | head -30 errpt -a > /tmp/errpt_pre.txt
12 Snapshot running state for post-migration diff BASELINE lpar01
lssrc -a > /tmp/lssrc_pre.txt netstat -rn > /tmp/routing_pre.txt df -g > /tmp/df_pre.txt no -a > /tmp/no_pre.txt lsattr -El sys0 > /tmp/sys0_pre.txt genkex > /tmp/genkex_pre.txt
13 Capture critical config files for three-way diff BASELINE lpar01

The migration installer preserves /etc but does three-way merges on some files. Capture pre-migration originals to diff against later.

mkdir -p /tmp/etc_pre cp /etc/inittab /tmp/etc_pre/ cp /etc/inetd.conf /tmp/etc_pre/ cp /etc/services /tmp/etc_pre/ cp /etc/rc.tcpip /tmp/etc_pre/ cp /etc/security/limits /tmp/etc_pre/ cp /etc/filesystems /tmp/etc_pre/

Why these specific files: The 7.2 installer adds new lines (new services, new inittab entries for 7.2 features) and may overwrite local customisations. Diffing pre vs post in step 32 is how you catch what was lost.

14 Capture console / network info for post-install recovery BASELINE lpar01

Record details you may need to bring up networking from the console if the ODM fails to migrate cleanly.

netstat -rn > /tmp/routes_pre.txt ifconfig -a > /tmp/ifconfig_pre.txt cat /etc/resolv.conf cat /etc/netsvc.conf lsattr -El inet0 > /tmp/inet0_pre.txt

Print these or store off-LPAR. You will not have access to the running 7.1 system during the install. If the migrated 7.2 comes up with no network, your only path back is the vterm console — and only with these values in hand.

Phase 4 Backups
15 Take an mksysb to NFS or local backup target CRITICAL lpar01
df -g /backup mksysb -i -X /backup/$(hostname)_pre72_$(date +%Y%m%d_%H%M).mksysb Verify the resulting file ls -l /backup/$(hostname)_pre72_*.mksysb lsmksysb -l /backup/$(hostname)_pre72_*.mksysb | head -40

Worst-case use: If both disks become unbootable post-migration, you'll boot the 7.1 install media in maintenance mode and restore this mksysb (RB.3). It's slow (1 — 3 hr) but it works.

16 alt_disk_copy clone — primary rollback NON-NEGOTIABLE lpar01

Mandatory for boot-media migration. Without an alt_disk_copy clone your only rollback is mksysb restore — which itself requires booting from media in maintenance mode and takes 1 — 3 hours. With alt_disk_copy, rollback is a bootlist change and a reboot.

Confirm hdisk1 is free lspv | grep hdisk1 # Expected: hdisk1 00fXXXXXXXXXXXXX None Clone — 10-30 min depending on rootvg size and disk speed alt_disk_copy -d hdisk1 Verify lspv # Expect new line: hdisk1 ... altinst_rootvg active Confirm bootlist still points at hdisk0 bootlist -m normal -o # Expect: hdisk0
FlagPurpose
-BDo NOT change bootlist — we want to control that explicitly
-dDestination disk

Confirm bootlist is on hdisk0, NOT hdisk1, before booting install media. The migration installer will offer hdisk0 as the target — if you accidentally pick hdisk1 (the clone), you'll overwrite your rollback. There is no undo.

Phase 5 Boot the install media via SMS
17 Open vterm and shut down the LPAR cleanly CAUTION hmc01
  1. From HMC: open vterm (Selected → Console Window → Open Terminal Window). Open this before shutting down so you can watch the boot sequence.
  2. From vterm, after application shutdown:
shutdown -F now

Use -F not -Fr. We want the LPAR to power off, not auto-reboot off the existing bootlist. -Fr would reboot you straight back into the live 7.1 system before you have a chance to enter SMS.

Wait for the LPAR state in HMC to show Not Activated.

18 Activate the LPAR in SMS mode CONFIG hmc01

Via HMC GUI:

  1. Right-click LPAR → Operations → Activate → Profile.
  2. Select the appropriate profile.
  3. Boot mode → SMS.
  4. OK.

Via HMC CLI:

chsysstate -m Server-9119-MME-SN12345AB \ -r lpar -o on \ -n lpar01 \ -f default_profile \ -b sms
19 Wait for the SMS Main Menu in vterm EXPECTED vterm

You'll see firmware POST output, then the SMS Main Menu:

20 Navigate to boot device selection CONFIG vterm

List all Devices enumerates everything firmware can see. After a short scan you'll get a numbered list including hard disks, tape drives, network adapters, and the virtual optical (or DVD/USB).

What the install media looks like in the device list:

EntrySource
USB CD-ROMVirtual optical via VIOS (Option A)
SATA CD-ROMPhysical DVD (Option B)
USB Mass StorageUSB stick (Option C)
IBM 9.5mm DVD-RAM DriveFrame DVD drive direct
21 Boot from the media REBOOT vterm

Select the install media entry, then:

The LPAR will load the BOS installer kernel from the media. Expect 60 — 120 seconds of boot output, then the BOS installer's first prompt:

Press 1 + Enter to claim the vterm as the system console.

Phase 6 BOS installer · Migration Install

Critical menu choice ahead. The default option is "New and Complete Overwrite" which will destroy your rootvg. Do not pick "Start Install Now with Default Settings". The path is: 2 → 1 → 3 → select hdisk0 → 0 → 0.

22 Language and locale MENU vterm
23 Installation and Maintenance menu — choose 2 (NOT 1) CRITICAL vterm

DO NOT pick 1. The default is "New and Complete Overwrite" which destroys your rootvg. Always pick 2 to get to the menu where you can switch to Migration Install.

24 Installation and Settings menu — choose 1 (System Settings) MENU vterm

Currently shows the default Method as "New and Complete Overwrite". We're going to change that next.

25 Method of Installation — choose 3 (Migration Install) CRITICAL vterm

Migration Install upgrades BOS in place and preserves application data and configuration. This is the only correct choice for a 7.1 → 7.2 upgrade preserving the running system.

26 Select target disk — choose hdisk0 (NOT hdisk1) CRITICAL vterm

hdisk1 is your alt_disk_copy rollback. If you select hdisk1 here you will destroy your rollback. The disk to select is the one currently labeled rootvg in the VG Status column — that's hdisk0.

After selection a chevron >>> appears next to hdisk0 indicating it's selected. Press 0 (zero) and Enter to continue.

27 Confirm migration settings, optional 4 (More Options) MENU vterm

You'll be returned to the Installation and Settings menu, now showing:

Optional — select 4 (More Options) to review:

OptionRecommended
Trusted Computing BaseNo (migration default)
Backup ConfigurationNo
Remote ServicesNo (typically)
64-bit KernelYes (default on modern AIX)

When satisfied, press 0 (Install with current settings).

28 Final confirmation CONFIRM vterm

Last sanity check: The list of filesystems should match what you saw in df -g at pre-flight. If something looks wrong (a filesystem missing, an extra one listed), abort now (Ctrl-C / power off via HMC) — recovery from a bad start is easier than recovery from a wrong-disk overwrite.

29 Installation runs · 60 — 120 minutes RUNNING vterm

Phase takes 60 — 120 minutes depending on rootvg size and IO speed. The vterm is your only window into progress — keep it open and watched.

Mid-install media swap (around 70 — 80%): If the install spans both DVDs, you'll be prompted:

For HMC virtual optical, switch to your HMC session and:

viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "unloadopt -vtd vtopt0" viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "loadopt -vtd vtopt0 -disk AIX72_TL5_SP11_DVD2"

Then return to the vterm and press Enter. For physical DVD: open the drive, swap discs, close, press Enter.

30 Post-install reboot REBOOT vterm

When the install completes, the LPAR reboots automatically. If the bootlist is set correctly (firmware will set it to the migrated disk), the system comes up on AIX 7.2.

If it boots back into SMS or back off the install media: manually set the bootlist from SMS:

Phase 7 First boot and verification
31 First boot considerations EXPECTED vterm

The first boot off the migrated 7.2 rootvg may:

  • ▸ Take longer than usual while the kernel re-syncs ODM and rebuilds device configuration.
  • ▸ Drop to a console TERM prompt before login — enter vt100 or xterm and continue. Subsequent boots will not prompt.
  • ▸ Generate informational entries in errpt during initial config — review but expect some noise.

Don't panic: Any of the above on the first boot is expected. Repeated occurrences on the second boot are not.

32 Network bring-up if it doesn't come up automatically FALLBACK vterm

In most cases, networking comes up cleanly from the migrated config. If it doesn't (no IP on the expected interface), use the captured config from step 14 to recreate it from the console.

lsdev -Cc adapter | grep -i ent chdev -l en0 -a netaddr=A.B.C.D -a netmask=W.X.Y.Z -a state=up route add 0 GATEWAY_IP

Then troubleshoot why the migration didn't preserve the network config — usually a stale ODM entry referencing a 7.1-only attribute, or an interface name change. Don't leave the LPAR running with hand-rolled config indefinitely.

33 Post-reboot verification VALIDATE lpar01
oslevel -s # Expect: 7200-05-11-2546 oslevel -r # Expect: 7200-05 instfix -i | grep ML # Expect: All filesets for 7200-05_AIX_ML were found. lppchk -v # MUST return clean errpt | head -30 # Compare against /tmp/errpt_pre.txt df -g diff /tmp/df_pre.txt <(df -g) | head lssrc -a | grep -i inoperative bootlist -m normal -o # Expect: hdisk0 (the migrated disk) lspv # hdisk0 = rootvg (now 7.2) # hdisk1 = altinst_rootvg (still 7.1, your rollback) diff /tmp/genkex_pre.txt <(genkex) | head

✓ Acceptance: oslevel at target · lppchk clean · ML found · no inoperative subsystems · bootlist on hdisk0 · hdisk1 still shows altinst_rootvg (rollback intact) · kernel extensions reloaded with no surprising drops.

34 Diff captured config files VALIDATE lpar01
diff /tmp/etc_pre/inittab /etc/inittab diff /tmp/etc_pre/inetd.conf /etc/inetd.conf diff /tmp/etc_pre/services /etc/services diff /tmp/etc_pre/rc.tcpip /etc/rc.tcpip diff /tmp/etc_pre/limits /etc/security/limits diff /tmp/etc_pre/filesystems /etc/filesystems

Expect changes — but review them. The migration installer will have added new lines (new services, new inittab entries for 7.2 features). Check for any local customisations that were lost in the merge and re-apply them. Common loss: custom /etc/security/limits stanzas for application users.

35 Application validation handoff HANDOFF lpar01

Hand off to application owners for service validation. Treat the change as in-progress until they sign off. Keep the rollback warm — don't run any of the cleanup steps in Phase 9 yet.

Phase 8 Rollback procedure

Trigger conditions: LPAR fails to boot off the migrated rootvg · lppchk -v reports broken filesets post-migration · new error classes in errpt linked to the migration · application owners report a regression that cannot be remediated in the maintenance window.

RB.1 Rollback while booted on the migrated 7.2 rootvg ROLLBACK lpar01

Fast path — the reason alt_disk_copy was mandatory in step 16.

Repoint bootlist to the alt_disk_copy clone (pre-migration 7.1) bootlist -m normal hdisk1 bootlist -m normal -o shutdown -Fr now After reboot oslevel -s # expect 7100-05-11-2246 lspv # rootvg now on hdisk1; the migrated 7.2 will show as # old_rootvg or altinst_rootvg on hdisk0
RB.2 Rollback if the migrated system will not boot ROLLBACK hmc01 + vterm
  1. From HMC, vterm to LPAR.
  2. Power off (Operations → Shut Down → Immediate).
  3. Activate in SMS mode.
  4. Navigate the SMS menu:

System boots from hdisk1 (pre-migration 7.1 clone). Then follow RB.1 verification.

RB.3 Worst case · no bootable disk · mksysb restore DISASTER hmc01 + vterm

If both disks are unbootable:

  1. Re-attach the AIX 7.1 install media (NOT the 7.2 media — the 7.1 maintenance shell is needed to restore a 7.1 mksysb).
  2. Boot the LPAR in SMS mode and boot from 7.1 install media.
  3. From the BOS Installation menu:
  1. The mksysb restore wizard walks through disk selection and network setup if the mksysb is on NFS.

This is slow (1 — 3 hours of restore plus reboot). It works, but it's why alt_disk_copy is the rollback you actually want to use. Keep your 7.1 install media accessible until burn-in is complete.

RB.4 Post-rollback cleanup CLEANUP lpar01
Once stable on the rolled-back rootvg alt_rootvg_op -X old_rootvg # OR (depending on what label the failed migration left) alt_rootvg_op -X altinst_rootvg

Preserve for IBM support before nuking the failed disk:

  • /var/adm/ras/devinst.log
  • /var/adm/ras/bos.log
  • /var/adm/ras/bosinst.data
Phase 9 Cleanup · T+5 to T+14 days, after burn-in

Only after the migrated system has run cleanly and application owners have signed off.

36 Free hdisk1, detach media, archive logs CLEANUP lpar01 + hmc01
On client · remove the alt_disk_copy clone, freeing hdisk1 alt_rootvg_op -X altinst_rootvg lspv # hdisk1 should now show "None" in VG column. Optional: extend rootvg onto hdisk1 for mirroring or growth # extendvg rootvg hdisk1 # mirrorvg rootvg hdisk1 # bosboot -ad /dev/hdisk1 # bootlist -m normal hdisk0 hdisk1 On HMC / VIOS · detach the install ISO from the virtual optical viosvrcmd -m Server-9119-MME-SN12345AB -p vios1 \ -c "unloadopt -vtd vtopt0" Optional: remove ISOs from VIOS media library if not needed # viosvrcmd -m ... -c "rmvopt -name AIX72_TL5_SP11_DVD1" # viosvrcmd -m ... -c "rmvopt -name AIX72_TL5_SP11_DVD2" On client · archive change logs for audit tar -cvf /backup/change_$(hostname)_$(date +%Y%m%d).tar \ /tmp/preflight_*.log \ /tmp/errpt_pre.txt /tmp/lssrc_pre.txt /tmp/df_pre.txt \ /tmp/no_pre.txt /tmp/sys0_pre.txt /tmp/genkex_pre.txt \ /tmp/etc_pre/

Mirroring is the high-value cleanup option: mirror the new 7.2 rootvg onto hdisk1 so you have redundancy on both disks again. Skip if your storage layer already provides redundancy.

Update the change ticket with completion timestamp and close. You earned it.

Appendix A SMS menu navigation cheat sheet
A.1 SMS navigation paths REFERENCE vterm

Boot from install media:

Set permanent boot device order:

Boot from a specific hard disk one-time:

A.2 BOS installer common pitfalls REFERENCE vterm
SymptomCause / Fix
Default option is "New and Complete Overwrite"Always pick "2. Change/Show Installation Settings", then change Method to Migration. Never "Start Install Now with Default Settings".
Migration option not offeredTarget disk does not contain a recognised AIX rootvg, OR target version on media is older than installed version.
Install hangs at media swapVirtual optical not actually swapped on VIOS, OR DVD not seated. Check loadopt status.
Reboot loops back to install mediaBootlist not set to hard disk. From SMS, set hdisk0 as 1st boot device.
First boot drops to console "Set TERM" promptNormal on first boot post-migration. Type vt100 or xterm.
First boot has no networkODM did not migrate cleanly. Use captured config from step 14 to manually rebuild.
lppchk -v reports broken filesetsA migration prerequisite failed silently. Try installp -C then re-run any specific failed filesets from a 7.2 lpp_source.
A.3 Worked example — single command sequence REFERENCE lpar01

Do not follow this blindly — values (level numbers, hostnames, hdisk names, dates, managed-system serial) will change. This is a sequence reference, not a copy-paste recipe.

On client · pre-flight oslevel -s lppchk -v lspv bootlist -m normal -o > /tmp/bootlist_pre.txt errpt -a > /tmp/errpt_pre.txt mkdir -p /tmp/etc_pre cp /etc/{inittab,inetd.conf,services,rc.tcpip,filesystems} /tmp/etc_pre/ On client · backups mksysb -i -X /backup/$(hostname)_pre72_$(date +%Y%m%d).mksysb alt_disk_copy -d hdisk1 lspv # confirm altinst_rootvg on hdisk1 bootlist -m normal -o # confirm still hdisk0 On HMC · prepare media viosvrcmd -m <managed_system> -p vios1 \ -c "loadopt -vtd vtopt0 -disk AIX72_TL5_SP11_DVD1" On client · shutdown shutdown -F now On HMC · activate in SMS chsysstate -m <managed_system> -r lpar -o on \ -n lpar01 -f default_profile -b sms On client vterm · in SMS # 5 → 1 → 7 → select virtual optical → 2 → 1 # ... BOS installer launches ... # Choose: 2 (Change settings) → 1 (System Settings) # → 3 (Migration Install) → select hdisk0 → 0 # → 0 (Install) → Enter (confirm) # ... wait 60-120 minutes, swap DVD if prompted ... On HMC mid-install · swap DVD viosvrcmd -m <managed_system> -p vios1 -c "unloadopt -vtd vtopt0" viosvrcmd -m <managed_system> -p vios1 \ -c "loadopt -vtd vtopt0 -disk AIX72_TL5_SP11_DVD2" On client · post-reboot verify oslevel -s # 7200-05-11-2546 lppchk -v instfix -i | grep ML errpt | head On client · cleanup after burn-in alt_rootvg_op -X altinst_rootvg
Quick Reference Command Summary
CommandPurposeNotes
viosvrcmd ... "mkvopt -name ..."Upload ISO into VIOS media libraryPhase 2 step 01
viosvrcmd ... "loadopt -vtd vtopt0 -disk ..."Load ISO into LPAR's virtual opticalPhase 2 step 02
viosvrcmd ... "unloadopt -vtd vtopt0"Eject virtual opticalMid-install media swap
dd if=<iso> of=/dev/sdc bs=1MWrite ISO to USB stickOption C — triple-check target device
sha256sum / csum -h SHA256Verify ISO integrity before attachingPhase 2 step 05
alt_disk_copy -d hdisk1Mandatory primary rollback clonePhase 4 step 16 — non-negotiable
bootlist -m normal -oConfirm bootlist points at hdisk0 pre-bootCritical safety check after alt_disk_copy
shutdown -F nowPower off (NOT reboot) the LPARPhase 5 step 17 — -F not -Fr
chsysstate -m ... -b smsActivate LPAR in SMS mode via HMC CLIPhase 5 step 18
SMS · 5 → 1 → 7List all devices · select install mediaPhase 5 step 20
BOS · 2 → 1 → 3Change settings → System Settings → MigrationPhase 6 — not 1 (default overwrite!)
BOS · select hdisk0Pick the disk currently labelled rootvgPhase 6 step 26 — never hdisk1
oslevel -s (post-reboot)Confirm migration succeededExpect 7200-05-11-2546
lppchk -vVerify fileset consistencyMUST be clean pre and post
diff /tmp/etc_pre/* /etc/*Catch lost local customisationsPhase 7 step 34
diff /tmp/genkex_pre.txt <(genkex)Confirm kernel extensions reloadedSilent failure mode
bootlist -m normal hdisk1Roll back to alt_disk_copy cloneRB.1 — fast path
SMS · 5 → 1 → 5 → hdisk1Boot from clone if migrated disk deadRB.2
BOS · 3 → 4 (from 7.1 media)Worst-case mksysb restoreRB.3 — slow but works
alt_rootvg_op -X altinst_rootvgFree hdisk1 after burn-inPhase 9 — only after sign-off
⚠ Key Notes