Red Hat Training

A Red Hat training course is available for RHEL 8

Chapter 37. Installing in an LPAR

37.1. Booting the installation in an LPAR

When installing in a logical partition (LPAR), you can boot from:

  • The FTP server
  • The DASD or an FCP-attached SCSI drive prepared with the zipl boot loader
  • The FCP-attached SCSI DVD drive

Procedure

Perform these steps to boot the installation.

  1. Log in on the IBM System Z Hardware Management Console (HMC) or the Support Element (SE) as a user with sufficient privileges to install a new operating system to an LPAR. The SYSPROG user is recommended.
  2. On the Systemstab, select the mainframe you want to work with, then on the Partitions tab select the LPAR to which you wish to install.
  3. At the bottom of the screen, under Daily, find the Operating System Messages. Double-click Operating System Messages to show the text console on which Linux boot messages will appear.

Continue with the procedure for your installation source.

37.2. Connecting to the installation system

After the Initial Program Load (IPL) of the Anaconda installation program is complete, connect to the IBM Z system from a local machine, as an install user, using an ssh connection.

You need to connect to the installation system to continue the installation process. Use a VNC mode to run a GUI-based installation or use the established connection to run a text mode installation.

Prerequisite

  • The initial program boot is complete on the IBM Z system, and the command prompt displays:

    Starting installer, one moment...
            Please ssh install@my-z-system (system ip address) to begin the install.
  • If you want to restrict VNC access to the installation system, then ensure inst.vncpassword=PASSWORD boot parameter is configured.

Procedure

From a local machine, run the steps below to set up a remote connection with the IBM Z system.

  1. On the command prompt, run the following command:

    $ssh install@_my-z-system-domain-name_

    or

    $ssh install@_my-z-system-IP-address_
  2. Depending on whether or not have you configured the inst.vnc parameter, the ssh session displays the following output:

    When inst.vnc parameter is configured:

    Starting installer, one moment...
    Please manually connect your vnc client to my-z-system:1 (_system-ip-address:1_) to begin the install.

    When inst.vnc parameter is not configured:

    Starting installer, one moment...
    Graphical installation is not available. Starting text mode.
    =============
    Text mode provides a limited set of installation options.
    It does not offer custom partitioning for full control
    over the disk layout. Would you like to use VNC mode instead?
    1) Start VNC
    2) Use text mode
    Please make your choice from above ['q' to quit | 'c' to continue | 'r' to refresh]:

    If you have configured the inst.vnc parameter, proceed to step 5.

  3. Enter 1 to start VNC.
  4. Enter a password, if you have not set the inst.vncpassword= boot option, but want to secure the server connection.
  5. From a new command prompt, connect to the VNC server.

    $vncviewer _my-z-system-ip-address:display_number_

    If you have secured the connection, use the password that you have entered in the previous step or the one that you had set for inst.vncpassword= boot option.

    The RHEL installer is launched in the VNC client.

37.3. Installing in an LPAR using an FTP Server

Use this procedure when installing Red Hat Enterprise Linux into an LPAR using an FTP server.

Procedure

  1. Double-click Load from Removable Media or Server.
  2. In the dialog box that follows, select FTP Server, and enter the following information:

    • Host Computer - Host name or IP address of the FTP server you want to install from, for example ftp.redhat.com
    • User ID - Your user name on the FTP server. Or, specify anonymous.
    • Password - Your password. Use your email address if you are logging in as anonymous.
    • File location (optional) - Directory on the FTP server holding the Red Hat Enterprise Linux for System z, for example /rhel/s390x/.
  3. Click Continue.
  4. In the dialog that follows, keep the default selection of generic.ins and click Continue.

37.4. Installing in an LPAR using a prepared DASD

Use this procedure when installing Red Hat Enterprise Linux into an LPAR using an already prepared DASD.

Procedure

  1. Double-click Load.
  2. In the dialog box that follows, select Normal as the Load type.
  3. As Load address, fill in the device number of the DASD.
  4. As Load parameter, fill in the number corresponding the zipl boot menu entry that you prepared for booting the Red Hat Enterprise Linux installation program.
  5. Click the OK button.

37.5. Installing in an LPAR using a prepared FCP attached SCSI disk

Use this procedure when installing Red Hat Enterprise Linux into and LPAR using an already prepared FCP attached SCSI disk.

Procedure

  1. Double-click Load.
  2. In the dialog box that follows, select SCSI as the Load type.
  3. As Load address, fill in the device number of the FCP channel connected with the SCSI disk.
  4. As World wide port name, fill in the WWPN of the storage system containing the disk as a 16-digit hexadecimal number.
  5. As Logical unit number, fill in the LUN of the disk as a 16-digit hexadecimal number.
  6. As Boot program selector, fill in the number corresponding the zipl boot menu entry that you prepared for booting the Red Hat Enterprise Linux installation program.
  7. Leave the Boot record logical block address as 0 and the Operating system specific load parameters empty.
  8. Click the OK button.

37.6. Installing in an LPAR using an FCP attached SCSI DVD drive

This requires a SCSI DVD drive attached to an FCP-to-SCSI bridge which is in turn connected to an FCP adapter in your System Z machine. The FCP adapter must be configured and available in your LPAR.

Procedure

  1. Insert your Red Hat Enterprise Linux for IBM Z DVD into the DVD drive.
  2. Double-click Load.
  3. In the dialog box that follows, select SCSI as the Load type.
  4. As Load address, fill in the device number of the FCP channel connected with the FCP-to- SCSI bridge.
  5. As World wide port name, fill in the WWPN of the FCP-to-SCSI bridge as a 16-digit hexadecimal number.
  6. As Logical unit number, fill in the LUN of the DVD drive as a 16-digit hexadecimal number.
  7. As Boot program selector, fill in the number 1 to select the boot entry on the Red Hat Enterprise Linux for IBM Z DVD.
  8. Leave the Boot record logical block address as 0 and the Operating system specific load parameters empty.
  9. Click the OK button.