What Really Happens During IBM i IPL (Restart)

In the world of IBM i, the “reboot” process is far more sophisticated than just turning a machine off and on. Understanding how the system manages its code across different “Sides” and “Modes” is the difference between a seamless update and a total system outage. These concepts form the backbone of safe PTF management on IBM i. You apply fixes without fear of breaking everything thanks to this clever dual-copy design.

In this post, I explain IPL in detail, break down A-side and B-side, show you the different IPL types (A, B, C, D), and give practical commands and steps. Let’s get you confident with reboots and PTF activations!

What Really Happens During IBM i IPL

Table of Contents

What Is IPL and Why Do You Perform It?

You start your IBM i system with an Initial Program Load (IPL), that’s the official name for a reboot or power-on sequence. But it does more than just start the OS. During IPL, the system initializes hardware, loads the Licensed Internal Code (LIC), starts the operating system, and activates certain PTFs.

During an IPL, IBM i:

Without IPL, many critical fixes stay pending. You schedule IPL during maintenance windows to minimize disruption. In short: an IPL defines which system code you run.

Understanding A-Side and B-Side: The Dual-Code Magic

IBM i uses a brilliant safety mechanism for its Licensed Internal Code (LIC). Instead of having one single copy of the operating system core, it maintains two separate areas on the disk, A-side and B-side.

What is the A Side?

What is the B Side?

For non-LIC PTFs (OS or application fixes), sides matter less—they apply system-wide.

You use commands like APYPTF with DELAYED(*YES) for delayed activation during IPL, or RMVPTF with RMV(*TEMP) or *PERM to remove.

How It Works

How to check which side you are running:

Key rule: Temporary LIC PTFs activate only when you IPL to B-side. Permanent PTFs live on A-side and stick forever (you rarely remove them).

IPL Types: A, B, C, D – When and How to Use Each

An IPL is the process of loading the operating system into the system’s main storage. Depending on what you are trying to achieve (maintenance, recovery, or install), you will choose a specific IPL Type.

  1. IPL Source A (The “Safe” Mode)
    • What it does: Boots the system using the code on the A Side (permanent) with stable code.
    • When to use it: Use this if the B Side becomes corrupted or if a recent PTF application caused the system to fail. It ignores all “temporarily” applied fixes.
    • Command example: PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(A)
  2. IPL Source B (The “Standard” Mode)
    • What it does: Boots the system using the code on the B Side. Use it most often:
    • When to use it: This is the default for production. It includes all your latest PTFs and Technology Refreshes. Activate temp LIC fixes after applying PTFs. Routine reboots usually go here.
    • Command: PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(B).
  3. Type C IPL
    • What it does: Special/service IPL (less common for administrators) is reserved strictly for hardware service and is rarely, if ever, used by system administrators.
    • When to use it: Licensed Internal Code (LIC) recovery, Hardware changes, It’s used for advanced diagnostics or service rep tasks. You rarely need this.
  4. IPL Source D (The “Recovery” Mode)
    • What it does: Boots the system from an alternate source rather than the internal disk. This source is usually an Image Catalog (Virtual Media), Tape, or DVD.
    • When to use it: You use D-Mode for full OS installations, migrations, or disaster recovery scenarios where the disk is not bootable.

You specify the IPL source in PWRDWNSYS with IPLSRC() or set it via control panel (for manual IPL). In GO PTF Option 8, the system often handles switching automatically.

Pro tip: Your PTF cover letter always tells you the required IPL type—read it first!

Why the “Switch” Matters

This dual-side design gives IBM i one major advantage:

That’s why IBM i systems survive updates that would cripple other platforms. When you install a Cumulative PTF package, the system usually requires a Delayed IPL. During this process:

  1. The system copies the existing code.
  2. It applies the new fixes to the B Side.
  3. The system reboots into Source B.

If everything works perfectly for a few weeks, you should “Permanentize” those fixes. This moves the code from the B Side to the A Side, making both sides match again and clearing up temporary storage space.

To move fixes from B to A (Permanent Apply):

APYPTF LICPGM(*ALL) SELECT(*ALL) APY(*PERM)

Summary Table: IPL and Sides

FeatureA SideB SideD Mode
StatusPermanent / StableTemporary / CurrentAlternate Media
Code LevelOlder, proven fixesLatest installed patchesInstall/Recovery code
Typical UseEmergency RollbackDaily OperationsOS Upgrades
Risk LevelVery LowLow (Testing new code)High (System Change)

Wrapping It Up

You now know IPL isn’t just a reboot—it’s your gateway to safely manage fixes via A-side (stable, permanent) and B-side (test, temporary). Master commands like DSPPTF, PWRDWNSYS … IPLSRC(B), and GO PTF workflows, and you handle updates like a pro. What IPL surprises have you encountered? Drop a comment below—I’d love to hear your stories! For official details, check IBM’s PTF and IPL support pages.

Keep your system running strong!

  1. Work with Licensed Internal Code (LIC) — Explains A/B side behavior, how PTFs affect LIC, and which IPL type boots which side of LIC. https://www.ibm.com/docs/en/power7/8408-E8D?topic=options-work-licensed-internal-code
  2. PTFs: FAQs / Question and Answers (IBM Support) — Covers how A/B sides interact with temporarily and permanently applied PTFs during IPLs. https://www.ibm.com/support/pages/ptfs-faqs-question-and-answers
  3. Permanently Applying PTFs (IBM Support) — Shows examples of applying PTFs and how permanent fixes relate to IPL behavior. https://www.ibm.com/support/pages/permanently-applying-ptfs
  4. Manual IPL (IBM Support) — Provides guidance on performing a manual IPL and why you might choose one type over another.https://www.ibm.com/support/pages/manual-ipl