Complete the steps in this topic to upgrade and prepare your Red Hat Enterprise Linux® for the upgrade.
If you have a Red Hat Enterprise Linux operating
system that is obtaining resources from a i5/OS® partition
on your source server and you intend to create a Red Hat Enterprise Linux partition
on the target server, there are several steps you must complete. Completing
these steps ensures that your Linux operating
system migrates successfully. Complete the following steps to upgrade and
prepare your Red Hat Enterprise Linux operating
system for a migration:
- Ensure that your i5/OS is
running version 5 release 3 or later.
- Upgrade to Red Hat Enterprise Linux version 3 before
migrating to the target server. To upgrade to Red Hat Enterprise Linux version 3,
perform the following steps:
- Obtain a copy of the RHEL3 installation CD.
- Vary off the Linux server by completing the following
steps:
- Type WRKCFGSTS *NWS, and then press Enter.
- Type 2 next to the NWSD that you want to shut down,
and then press Enter.
- Place the first CD into the CD-ROM drive of the iSeries® partition
that is sharing its resources.
- Change the NWSD of the Linux server to point to the installation
stream file of the CD by completing the following steps. Write down the information
that you currently have for your NWSD.
- Enter CHGNWSD
- Specify the following information:
NWSD (servername)
IPLSRC (*STMF)
IPLSTMF ('/QOPT/Red_Hat/ppc/iseries/boot.img')
IPLPARM (*NONE)
- Open a virtual console session to your Linux server.
- Vary on your NWSD. Complete the following steps to vary on your
NWSD:
- Type WRKCFGSTS *NWS, and then press Enter.
- Type 1 next to the NWSD that you want to start,
and then press Enter.
- Follow the distribution documentation to complete the steps
in the console.
- After you have upgraded to Red Hat Enterprise Linux version 3,
vary off your NWSD by completing the following steps:
- Type WRKCFGSTS *NWS, and then press Enter.
- Type 2 next to the NWSD that you want
to shut down, and then press Enter.
- Change the NWSD of the Linux server to point to the NWSSTG. Enter
in the information that you previously wrote down before you changed the NWSD.
Enter CHGNWSD to change the NWSD.
- Vary on your NWSD. Complete the following steps to vary on your
NWSD:
- Type WRKCFGSTS *NWS, and then press Enter.
- Type 1 next to the NWSD that you want
to start, and then press Enter.
- Locate a Linux distribution
kernel that is compatible with an IBM® System i® model.
Note: Even though you are upgrading from an IBM iSeries model, you need to install a pSeries® Linux kernel to ensure the compatibility
with an IBM System i model.
- Obtain access to an installation kernel through either of the following
methods:
- Linux installation
CDs
- Network-based installation source
- Mount the CD by entering the following command:
mount /dev/iseries/vcda /mnt/cdrom
Note: Enter
the appropriate name for your virtual device in the previous
command.
- Download the latest Red Hat Enterprise Linux version 3 pSeries kernel
to the partition's virtual disk of the partition.
A pSeries Linux kernel
is required to ensure the compatibility with the IBM System i.
If you have upgraded the Linux server to RHEL 3, you are still running the iSeries kernel
and must obtain the pSeries kernel. For Red Hat Enterprise Linux version 3,
this kernel might be on the second installation CD under the /Red_Hat/RPMS
directory. The following is an example of how to download this kernel. Enter
the first command, and then the second command to retrieve the name of your Linux kernel. Enter the last command
to copy the kernel.
cd /media/
find . -name "kernel-pseries*"
cp cdrom/Red_Hat/RPMS/(name of your pseries kernel) /root/
- Shut down your Linux logical
partition.
- Save the entire server using option 21 of the GO SAVE command.
For more information, see the GO SAVE topic. Complete the following steps:
- Vary off the network server...*ALL
- Unmount file systems..........Y
Note: Create two copies of the backup media.
- Using Linux back
up tools, save any critical data contained within the virtual disk.