linux on ibm system z: rhel 5.x and sles 10 · installing rhel 5.x on an lpar..... 99 completing...

150
EMC Corporation Corporate Headquarters: Hopkinton, MA 01748-9103 1-508-435-1000 www.EMC.com Linux on IBM System z: RHEL 5.x and SLES 10.x Installation and Configuration Guide P/N 300-007-955 REV A01

Upload: others

Post on 02-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Linux on IBM System z:RHEL 5.x and SLES 10.x

Installation and Configuration GuideP/N 300-007-955

REV A01

EMC CorporationCorporate Headquarters:

Hopkinton, MA 01748-9103

1-508-435-1000www.EMC.com

Page 2: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

2

Copyright © 2008 EMC Corporation. All rights reserved.

Published October, 2008

EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” EMC CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.

All other trademarks used herein are the property of their respective owners.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 3: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Contents

Preface. ............................................................................................................................ 5

Chapter 1 IntroductionOverview............................................................................................ 10EMC Symmetrix storage array specific settings........................... 11Preparing the LPAR for FCP connectivity..................................... 12

Fibre Channel zoning.................................................................13DM-MPIO .......................................................................................... 15

Chapter 2 Installation of the SLES 10.x operating systemPreparing for a network installation of the SLES 10.x................. 18Installing SLES 10.x as a guest under z/VM ................................ 19Installing SLES 10.x on an LPAR booting from CD-ROM .......... 26Completing the installation of SLES 10.x on the LPAR............... 40IPL of the Linux LPAR instance and z/VM final step................. 65

Linux LPAR .................................................................................65Add FCP devices using the Yast tools .....................................81Add more FCP devices using command line .........................84

SLES 10.x DM-MPIO installation and configuration................... 87

Chapter 3 Installation of the RHEL 5.x operating systemPreparing for a network installation of the RHEL 5.x ................. 90Installing RHEL 5.x as a guest under z/VM................................. 92Installing RHEL 5.x on an LPAR..................................................... 99Completing the installation of RHEL 5.x .................................... 113Adding FCP devices during installation of RHEL 5.x............... 120Partition DASD devices during the installation of RHEL 5.x ..... 126

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide 3

Page 4: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Contents

IPL of the Linux LPAR instance and z/VM final step............... 135Linux LPAR............................................................................... 135

FCP connectivity ............................................................................. 142Composition of the /etc/zfcp.conf file ................................. 142System configuration for FCP attach ..................................... 143Add FCP devices using the command line........................... 146

RHEL 5.x DM-MPIO installation and configuration................. 149

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide4

Page 5: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Preface.

As part of an effort to improve and enhance the performance and capabilities of its product lines, EMC periodically releases revisions of its hardware and software. Therefore, some functions described in this document may not be supported by all versions of the software or hardware currently in use. For the most up-to-date information on product features, refer to your product release notes.

If a product does not function properly or does not function as described in this document, please contact your EMC representative.

Audience This document assists in the installation and configuration of:

◆ SLES 10 in an LPAR on the IBM zSeries

◆ RHEL 5 in an LPAR on the IBM zSeries

Relateddocumentation

Related documents include:

◆ For the most up-to-date supported configurations, refer to the EMC Support Matrix, available through E-Lab Interoperability Navigator at:

http://elabnavigator.EMC.com

◆ For the EMC Host Connectivity Guide for Linux, go to:

http://Powerlink.EMC.com

◆ For the IBM zSeries specific documentation, go to:

http:///www.ibm.com/support

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide 5

Page 6: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

6

Preface.

◆ For an installation guide for SLES 10 on the IBM S390 and zSeries and other SuSE specific documentation, go to:

http://www.novell.com/documentation

◆ For IBM RedBooks and RedPapers on the S/390 and zSeries systems, go to:

http://www.ibm.com/support/

◆ For an installation guide for RHEL 4.0 on the IBM S/390 and zSeries and other Red Hat specific documentation, go to: http://www.redhat.com/docs/manuals/enterprise/

◆ Native Multipath Failover Based on DM-MPIO for v2.6.x Linux Kernel and EMC Storage Arrays, Red Hat Enterprise Linux 4 - U3, SuSE Linux Enterprise Server 9 - SP3, Configuration Guide, at

http://Powerlink.EMC.com

Conventions used inthis document

EMC uses the following conventions for special notices.

Note: A note presents information that is important, but not hazard-related.

IMPORTANT!An important notice contains information essential to operation of the software.

CAUTION!A caution contains information essential to avoid data loss or damage to the system or equipment.

Typographical conventionsEMC uses the following type style conventions in this document:

Normal Used in running (nonprocedural) text for:• Names of interface elements (such as names of windows,

dialog boxes, buttons, fields, and menus)• Names of resources, attributes, pools, Boolean expressions,

buttons, DQL statements, keywords, clauses, environment variables, filenames, functions, utilities

• URLs, pathnames, filenames, directory names, computer names, links, groups, service keys, file systems, notifications

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 7: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Preface.

Where to get help EMC support, product, and licensing information can be obtained as follows.

Product information — For documentation, release notes, software updates, or for information about EMC products, licensing, and service, go to the EMC Powerlink website (registration required) at:

http://Powerlink.EMC.com

Technical support — For technical support, go to EMC Customer Service on Powerlink. To open a service request through Powerlink, you must have a valid support agreement. Please contact your EMC sales representative for details about obtaining a valid support agreement or to answer any questions about your account.

Bold: Used in running (nonprocedural) text for:• Names of commands, daemons, options, programs,

processes, services, applications, utilities, kernels, notifications, system call, man pages

Used in procedures for:• Names of interface elements (such as names of windows,

dialog boxes, buttons, fields, and menus)• What user specifically selects, clicks, presses, or types

Italic: Used in all text (including procedures) for:• Full titles of publications referenced in text• Emphasis (for example a new term)• Variables

Courier: Used for:• System output, such as an error message or script • URLs, complete paths, filenames, prompts, and syntax when

shown outside of running text

Courier bold: Used for:• Specific user input (such as commands)

Courier italic: Used in procedures for:• Variables on command line• User input variables

< > Angle brackets enclose parameter or variable values supplied by the user

[ ] Square brackets enclose optional values

| Vertical bar indicates alternate selections - the bar means “or”

{ } Braces indicate content that you must specify (that is, x or y or z)

... Ellipses indicate nonessential information omitted from the example

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide 7

Page 8: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

8

Preface.

Your comments Your suggestions will help us continue to improve the accuracy, organization, and overall quality of the user publications. Please send your opinion of this document to:

[email protected]

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 9: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

1

This chapter provides information needed before installing the SLES 10.x or RHEL 5.x operating system.

◆ Overview............................................................................................. 10◆ EMC Symmetrix storage array specific settings............................ 11◆ Preparing the LPAR for FCP connectivity...................................... 12◆ DM-MPIO............................................................................................ 15

Introduction

Introduction 9

Page 10: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

10

Introduction

OverviewThis document assists in the installation and configuration of:

◆ SLES 10.x in an LPAR on the IBM zSeries

Refer to Chapter 2, ”Installation of the SLES 10.x operating system.”

◆ RHEL 5.x in an LPAR on the IBM zSeries

Refer to Chapter 3, ”Installation of the RHEL 5.x operating system.”

Requirements ◆ LUN 000 is required for DM-MPIO configurations.

Unsupported features ◆ PowerPath® is not available for Linux on the IBM zSeries.

◆ EMC does not support device multipathing for /boot, /, or swap.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 11: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Introduction

EMC Symmetrix storage array specific settingsEMC® Symmetrix® storage arrays must be configured for Linux connectivity. Follow the guidelines in this section.

When attaching to the Symmetrix, the default FA settings should be used, as shown in the following table:

When attaching to a Symmetrix storage array and using DM-MPIO, EMC recommends that customers use a Symmetrix 6 running 5671 microcode or a Symmetrix 7 running 5771, 5772, or 5773 microcode.

Director bit Default setting

PP Point-to-Point

SPC2 SPC2 SCSI Primary

EAN Enable Auto Negotiation

C Common Serial Number

SC3 SCSI 3 Interface

UWN Unique Worldwide Name

EMC Symmetrix storage array specific settings 11

Page 12: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

12

Introduction

Preparing the LPAR for FCP connectivityOn the mainframe, the IOCDS (Input Output Configuration Data Set) must be created to include the device information for the LPAR (IBM iSeries Logical Partitioning) where the Linux operating system will be installed. On mainframes, one defines the I/O to the hardware in an IOCDS which is stored in the processor controller on a hard drive.

The following hardware information is needed for the IOCDS:

◆ CHPID (Channel Path Identifier Information)

◆ CNTLUNIT (Control Unit Information)

◆ IODEVICE (Device Information)

The following example shows how to define FCP devices for two Linux LPARs:

CHPID,PATH=(CSS(1),50),SHARED, *

PARTITION=((LINUX01,LINUX02),(=)),PCHID=1B2,TYPE=FCP

CNTLUNIT,CUNUMBR=a000,PATH=((CSS(1),50)),UNIT=FCP

IODEVICE ADDRESS=(a000,024),CUNUMBR=(a000), * PARTITION=((CSS(1),LINUX01)),UNIT=FCP IODEVICE ADDRESS=(a070,032),CUNUMBR=(a000), * PARTITION=((CSS(1),LINUX02)),UNIT=FCP

In order for Linux to access the zSeries I/O channels, the IOCDS must exist to map the DASD device driver to the standard Linux names for DASD devices (i.e., /dev/dasda). The IOCDS is also required to provide FCP I/O access through the standard zSeries architecture. The FCP mapping allows logical FCP devices to be reported as standard Linux SCSI devices (i.e., /dev/sda).

zSeries FCP channels require a FICON card. Any port on a particular FICON card can be configured as either FICON or FCP in the IOCDS.

The mainframe administrator assigns the necessary channels, control unit, and devices to the Linux LPAR(s). Once the mainframe administrator has generated an LPAR configuration, the FCP channels need to be attached to the Fibre Channel fabric. Run the Fibre Channel cables for the previously assigned channel(s) to a Fibre Channel switch.

If the channels on the zSeries host are single mode, then the GBICs/SFPs within the switch must also be single mode.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 13: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Introduction

Alternatively, if the channels on the zSeries host are multimode, then the GBICs/SFPs on the switch must be multimode as well.

IMPORTANT!Multimode and single-mode cables and GBICs/SFPs are not interchangeable.

Once the cables have been attached, the channels should log into the switch and the WWPNs (World Wide Port Names) of the channel IDs should be reported.

An example of the correlation of the switch ports to the CHPIDs and the CHPIDs’ WWPNs follows:

An example of the WWPNs for the Symmetrix FA ports follows:

Fibre Channel zoning

At the switch level, zones must be created in order to associate the CHPID WWPNs to the Symmetrix FA WWPNs.

The following is an example of zones to be created for the zSeries host and added to the zone set:

s390_sles9_chpid50:50:05:07:64:01:80:93:1E

50:06:04:82:D5:2E:69:0250:06:04:82:D5:2E:69:0D

s390_sles9_chipd51:50:05:07:64:01:40:93:4150:06:04:82:D5:2E:69:0250:06:04:82:D5:2E:69:0D

Switch port CHPID# WWPN of CHPID

1/15 50 50:05:07:64:01:80:93:1E

1/16 51 50:05:07:64:01:80:93:41

Symmetrix FA port Symmetrix FA WWPN

FA03A0 50:06:04:82:D5:2E:69:02

FA14A0 50:06:04:82:D5:2E:69:0D

Preparing the LPAR for FCP connectivity 13

Page 14: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

14

Introduction

Once the zones are created, they must be added to the active zone set and the zone set must be activated.

Once the LPAR has been configured appropriately for Symmetrix attach, the installation of the operating system may begin.

◆ For installation of SLES 10.x in an LPAR on the IBM zSeries, refer to Chapter 2, ”Installation of the SLES 10.x operating system.”

◆ For installation of RHEL 5.x in an LPAR on the IBM zSeries, refer to Chapter 3, ”Installation of the RHEL 5.x operating system.”

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 15: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Introduction

DM-MPIOWhen using DASD devices via ESCON or FICON attach, multipathing is available via the zSeries microcode. The multipathing is transparent to the operating system and is handled solely by the zSeries I/O subsystem. Multipathing for FCP devices is not native to the zSeries subsystem and is handled by the Linux v2.6.x kernel multipathing solution.

DM-MPIO is the native multipathing functionality that is included in the Linux v2.6.x kernel. DM-MPIO requires the device-mapper, udev, hotplug, and device-mapper-multipath packages.

◆ For installation and configuration of DM-MPIO for the SLES operating system, refer to “SLES 10.x DM-MPIO installation and configuration” on page 87.

◆ For installation and configuration of DM-MPIO for the RHEL 5.x operating system, refer to “RHEL 5.x DM-MPIO installation and configuration” on page 149.

DM-MPIO 15

Page 16: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

16

Introduction

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 17: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

2

This chapter provides the following information to install the SLES 10.x operating system.

◆ Preparing for a network installation of the SLES 10.x .................. 18◆ Installing SLES 10.x as a guest under z/VM.................................. 19◆ Installing SLES 10.x on an LPAR booting from CD-ROM ........... 26◆ Completing the installation of SLES 10.x on the LPAR ................ 40◆ IPL of the Linux LPAR instance and z/VM final step.................. 65◆ SLES 10.x DM-MPIO installation and configuration.................... 87

Installation of the SLES10.x operating system

Installation of the SLES 10.x operating system 17

Page 18: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

18

Installation of the SLES 10.x operating system

Preparing for a network installation of the SLES 10.xBefore installing the SLES 10.x operating system, you must select and prepare for the method to be used. The SuSE Linux Enterprise Server installation media must be made available for a network installation via FTP, HTTP, and NFS or via local storage.

The FTP, HTTP, or NFS server used for the installation must be a separate server and must provide the entire contents of the ISO images for the initial release of SLES 10.x and the subsequent quarterly update.

To preprare for a network installation of SLES 10.x :

1. Download the ISO images for the 64-bit S390x SLES 10.x installation from Novell/SuSE’s website at http://mdowload.novell.com.

2. Create a mount point to which the contents of the ISO images will be exported.

For example:

mkdir /export/s390_sles10

3. Create a directory for the Core kernel, and the SLES 10.x installer CDs.

Please refer to the Novell documentation, available at http://novell.com/documentation for the NFS Severs.

The host to be used for the network installation should now have the necessary files exported for the installation.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 19: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Installing SLES 10.x as a guest under z/VM Log on to z/VM as the Linux guest account. You can use x3270 or Integrated 3270 console.

To install the SLES 10.x as a guest under z/VM:

1. Obtain the SuSE Linux boot files via ftp.

The following example illustrates the procedure. In the example, the commands you would issue are bolded.

If you are not in CMS mode, enter it now.

i cms z/VM V5.x.0 2006-03-28 14:44 DMSACP723I Z (592) R/O Ready; T=0.01/0.01 22:55:27

If necessary, add the device containing z/VM's TCP/IP tools to your CMS disk list. For example:

vmlink tcpmaint 592 592 DMSVML2060I TCPMAINT 592 linked as 0592 file mode Z DMSVML2069E No NAMES file(s) found to search for nickname (592) Ready(00028); T=0.01/0.01 22:56:47

If using any of the qdio/qeth based network connection types (such as OSA express or hipersockets), set the VM guest qioassist parameter off:

set qioassist offReady; T=0.01/0.01 22:58:15

Query the guest for devices:

q disk LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTALLIN191 191 A R/W 5 3390 4096 1 8-01 892 900LIN192 192 D R/W 50 3390 4096 3 3968-44 5032 9000MNT190 190 S R/O 100 3390 4096 687 14513-81 3487 18000MNT19E 19E Y/S R/O 250 3390 4096 1010 26714-59 18286 45000TCM592 592 Z R/O 67 3390 4096 884 8523-71 3537 12060Ready; T=0.01/0.01 23:00:45

access 192 a DMSACC724I 192 replaces A (191) DMSACP726I 192 D released Ready; T=0.01/0.01 23:01:23

Installing SLES 10.x as a guest under z/VM 19

Page 20: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

20

Installation of the SLES 10.x operating system

ftp 172.23.189.135 VM TCP/IP FTP Level 520 Connecting to 172.23.189.135, port 21 220 (vsFTPd 1.2.1) USER (identify yourself to the host):

root >>>USER root 331 Please specify the password.

Password: xxxxxxx >>>PASS ******** 230 Login successful. Command:

bin >>>TYPE i 200 Type set to I.

locsite fix 80 Command:

cd <the NFS install directory/boot/>Command:

get vmrdr.ikr >>>PORT 9,185,246,26,4,5 200 PORT command successful. >>>RETR /sues/images/vmrdr.ikr 150 Opening BINARY mode data connection for vmrdr.ikr (1511884 bytes). 226 Transfer complete. 1511920 bytes transferred in 1.972 seconds. Transfer rate 766.69 Kbytes/sec. Command:

get initrd suse.initrd >>>PORT 9,185,246,26,4,7 200 PORT command successful. >>>RETR /suse/images/initrd 150 Opening BINARY mode data connection for initrd (9862505 bytes). 8299680 bytes transferred. 226 Transfer complete. 9862560 bytes transferred in 12.366 seconds. Transfer rate 797.55 Kbytes/sec. Command:

ascii >>>TYPE a 200 Type set to A. Command:

get parmfile parm.file >>>PORT 9,185,246,26,4,8 200 PORT command successful.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 21: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

>>>RETR parmfile 150 Opening ASCII mode data connection for parmfile (38 bytes). 226 Transfer complete. 40 bytes transferred in 0.081 seconds. Transfer rate 0.49 Kbytes/sec. Command:

quit2. Punch the Linux boot files to the virtual machine reader. The

example below illustrates the procedure. This example shows commands used to punch Linux boot files to the virtual machine reader. When you punch files to the reader, note the spool identifiers (0126, 0127, and 0128 in the example–yours will differ) so if there are other reader files preent you can queue (ORDER) the reader files in the proper order.

spool punch * close Ready;

punch vmrdr ikr a (noh RDR FILE 0126 SENT FROM LINMSTR PUN WAS 0126 RECS 3129 CPY 001 A NOHOLD NOKEEP Ready; punch parm file a (noh RDR FILE 0127 SENT FROM LINMSTR PUN WAS 0127 RECS 3129 CPY 001 A NOHOLD NOKEEP Ready;punch suse initrd a (noh RDR FILE 0128 SENT FROM LINMSTR PUN WAS 0128 RECS 3129 CPY 001 A NOHOLD NOKEEP Ready; order reader 126 127 128 0000003 FILES ORDERED Ready;

Note: If you forget the spool file identifiers, issue QUERY RDR ALL.

3. Boot (IPL) Linux from the virtual machine reader. The example below shows how you get the Linux installation and configuration started by booting (IPL) the virtual machine reader.

ipl 00c clear NO FILES CHANGED Linux version 2.6.16.60-0.21-default (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux)) #1 SMP Tue May 6 12:41:02 UTC 2008 We are running under VM (64 bit mode) Detected 1 CPU's Boot cpu address 0 Built 1 zonelists Kernel command line: ramdisk_size=65536 root=/dev/ram1 ro init=/linuxrc TERM=dumb PID hash table entries: 4096 (order: 12, 131072 bytes)

.

.

.

Installing SLES 10.x as a guest under z/VM 21

Page 22: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

22

Installation of the SLES 10.x operating system

>>> Linuxrc v2.0.79 (Kernel 2.6.16.60-0.21-default) <<< Main Menu 1) Settings 2) System Information 3) Kernel Modules (Hardware Drivers) 4) Start Installation or System 5) Verify Installation CD-ROM/DVD 6) Eject CD 7) Exit or Reboot 8) Power off > 4

Start Installation or System 1) Start Installation or Update 2) Boot Installed System 3) Start Rescue System > 1 Choose the source medium. 1) CD-ROM 2) Network 3) Hard Disk > 2

Choose the network protocol. 1) FTP 2) HTTP 3) NFS 4) SMB / CIFS (Windows Share) 5) TFTP > 3

Please select the type of your network device. 1) OSA-2 or OSA Express 2) Hipersockets -------------------- 3) Channel To Channel (CTC) 4) ESCON 5) Inter-User Communication Vehicle (IUCV) > 1

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 23: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Please choose the CCW bus interface. 1) QDIO 2) LCS > 1 Please choose the physical medium. 1) Ethernet 2) Token Ring > 1

qeth: loading qeth S/390 OSA-Express driver 0.0.0600 1731/01 0.0.0601 1731/01 0.0.0602 1731/01 Device address for read channel> 0.0.0600 Device address for write channel> 0.0.0601 Device address for data channel> 0.0.0602 Portname to use> osa0600 Enable OSI Layer 2 support? 1) Yes 2) No > 2

qeth: Device 0.0.0600/0.0.0601/0.0.0602 is a Guest LAN QDIO card (level: V540) with link type GuestLAN QDIO (portname: osa0600) qeth: Hardware IP fragmentation not supported on eth0 qeth: VLAN enabled qeth: Multicast enabled qeth: IPV6 enabled qeth: Broadcast enabled qeth: Using SW checksumming on eth0. qeth: Outbound TSO not supported on eth0

Installing SLES 10.x as a guest under z/VM 23

Page 24: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

24

Installation of the SLES 10.x operating system

Automatic configuration via DHCP? 1) Yes 2) No > 2 Enter your IP address> 172.23.174.198 Enter your netmask. For a normal class C network, this is usually <255.255.255.0 255.255.255.0> 255.255.255.0 If you need a gateway to reach the server, enter the IP address of the gateway. If you do not need a gateway, enter your own IP address <172.23.174.198> 172.23.174.2 Enter the IP address of your name server. If you do not use a name server, press ESC <172.23.174.198> 10.254.66.23 Enter the IP address of the NFS server <172.23.174.198> 172.23.178.232 Enter the directory on the server> /wide_open/sles/sles10-sp2/GM Trying to mount the directory "172.23.178.232:/wide_open/sles/sles10-sp2/GM"...

Select the display type. 1) X11 2) VNC 3) SSH > 2

Enter your VNC password> dangerous

Loading Installation System (99990 kB) - ____ 1%____ 2% ____ 99%____100%

starting hald...

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 25: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

ok starting syslogd (logging to /dev/tty4)... ok starting klogd... ok starting slpd to announce VNC... starting yast... starting VNC server... A log file will be written to: /var/log/YaST2/vncserver.log ... *** *** You can connect to 172.23.174.198, display :1 now with vncviewer *** Or use a Java capable browser on http://172.23.174.198:5801/ *** (When YaST2 is finished, close your VNC viewer and return to this window.) *** Starting YaST2 *** Xlib: extension "XInputExtension" missing on display ":0.0".

For instructions to successfully complete the installation of the operating system go to “Completing the installation of SLES 10.x on the LPAR” on page 40.

Installing SLES 10.x as a guest under z/VM 25

Page 26: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

26

Installation of the SLES 10.x operating system

Installing SLES 10.x on an LPAR booting from CD-ROMThis section provides the steps required to install SLES 10.x on an LPAR. Specifically, it explains the steps taken at the HMC (Hardware Management Console) prior to the installation and then explains the installation steps. For further information refer to the chapter entitled, "Booting from HMC CD-ROM or FTP server" in the Linux for IBM e-server zSeries and S/390: Distributions Manual.

Note: An LPAR should already be created and resources allocated to it prior to the SLES Linux installation.

At least one FCP channel must be allocated to the target LPAR configuration for FCP device connectivity. The FICON channels in FCP mode provide full fabric support so that the IBM zSeries and S/390 systems have access to standard FCP and SCSI devices. Refer to the IBM zSeries documentation for further information.

Once the LPAR and its resources have been generated in a configuration, the target LPAR must be configured for the installation.

To configure the LPAR for the SLES 10.x installation:

1. Log on to the HMC (Hardware Management Console).

2. Select Groups from the Views menu on the left-hand side of the window. The Recovery menu displays on the right-hand side of the window.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 27: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

3. Double-click on the Defined CPCs icon in the Groups Work Area. The Defined CPCs Work Area displays.

4. Highlight the target CPC in the Defined CPCs Work Area and double-click the Single Object Operation icon from the CPC Recovery menu.

Installing SLES 10.x on an LPAR booting from CD-ROM 27

Page 28: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

28

Installation of the SLES 10.x operating system

5. Once selected, the Single Object Operation window provides a list of object names from which to choose. Select the proper Object Name assigned to the LPAR targeted for the Linux installation and click Yes.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 29: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

6. The Groups Work Area window displays. Double-click Images. The Images Work Area window shows all of the LPARs defined for this CPC.

Installing SLES 10.x on an LPAR booting from CD-ROM 29

Page 30: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

30

Installation of the SLES 10.x operating system

7. Click on the LPAR targeted for the Linux installation. To initiate the installation process, double-click the Load from CD-ROM or Server icon from the CPC Recovery menu.

8. Confirmation is requested to continue with the load from the CD-ROM. Click OK if the correct target LPAR object name is displayed in the window.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 31: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

9. Following this confirmation, the user is prompted to select the installation source. Select the source of the software, Hardware Management Console CD-ROM, and click OK to proceed.

10. When prompted to select the software to load, select: suse.ins Linux for S/390 Installation/Rescue System (Default).

11. Click OK to continue.

Installing SLES 10.x on an LPAR booting from CD-ROM 31

Page 32: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

32

Installation of the SLES 10.x operating system

By selecting the suse.ins software, the necessary installation code is retrieved from the source CD-ROM. A Reset Clear is automatically performed on the target LPAR and then the installation load for the LPAR begins.

12. Once the installation method is selected, you are prompted with the questions listed below. Double-click on the Operation System Messages icon.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 33: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

13. Enter the Option number <4>, "Starting installation or System."

Installing SLES 10.x on an LPAR booting from CD-ROM 33

Page 34: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

34

Installation of the SLES 10.x operating system

Continue with the activating menu program.

14. To start the installation or system enter option <1>, "Start installation or Update."

15. Choose the source Medium < 2>, "Network."

16. Choose the network protocol.

1) FTP 2) HTTP 3) NFS 4) SMB / CIFS (Windows Share) 5) TFTP > 3

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 35: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Installing SLES 10.x on an LPAR booting from CD-ROM 35

Page 36: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

36

Installation of the SLES 10.x operating system

17. Enter the appropriate information for the target LPAR for your environment when prompted.

The appropriate driver for the OSA-Gigabit Ethernet or OSA-Express Fast Ethernet network board is the qeth module. It now loads.

18. Enter the portname for the network board.

19. For "Enable OSI Layer 2 Support?" choose 2 "NO".

20. Enter all the Network setup for your Linux instance.

Depending upon the information provided by the network administrator, enter the necessary networking information for the Linux LPAR when prompted.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 37: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

21. Enter the path of the directory that contains the installation media.

Installing SLES 10.x on an LPAR booting from CD-ROM 37

Page 38: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

38

Installation of the SLES 10.x operating system

22. When prompted, select the display type in which the installation will proceed.

In this example, the XServer was unable to start so the options provided are text mode and VNC. VNC is selected for this installation.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 39: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

For instructions to successfully complete the installation of the operating system, proceed to the next section, “Completing the installation of SLES 10.x on the LPAR” on page 40.

Installing SLES 10.x on an LPAR booting from CD-ROM 39

Page 40: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

40

Installation of the SLES 10.x operating system

Completing the installation of SLES 10.x on the LPARThe LPAR has been prepared and configured for the installation of SLES 10.x. To perform the operating system installation, follow the steps outlined in this section.

Open a VNC Viewer to continue the install. The Linux install takes you through the following steps:

1. You are prompted to accept the license agreement.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 41: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

2. Choose the language.

3. If you are attached to

• DASD devices select Configure DASD Disks.

• FCP devices select Configure ZFCP Disks.

• Both types of devices do both steps.

The next few screens describe the configuration of both DASD and FCP devices.

Completing the installation of SLES 10.x on the LPAR 41

Page 42: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

42

Installation of the SLES 10.x operating system

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 43: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

4. For DASD device configuration:

a. When you select the DASD button in the previous screen, the list of all attached DASD devices is displayed.

b. Select the DASD devices you will be using one by one and from the pull-down menu select Activate. The disks are activated.

Completing the installation of SLES 10.x on the LPAR 43

Page 44: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

44

Installation of the SLES 10.x operating system

c. Select the disks you have activated and from the Perform Action pull-down menu select Format. Press OK in the pop-up window.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 45: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

d. Enter the number devices you want to format:

Completing the installation of SLES 10.x on the LPAR 45

Page 46: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

46

Installation of the SLES 10.x operating system

e. Confirm that you want to format the disks.

The disks are formatted.

f. When the formatting is completed, click Next.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 47: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

The DASD Disk Management screen shows a checkmark beside the DASDs which have been configured.

5. Press Next to return to the s/390 Disk Controller Configuration screen.

Completing the installation of SLES 10.x on the LPAR 47

Page 48: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

48

Installation of the SLES 10.x operating system

6. Select Configure FCP Devices.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 49: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

a. Select Add.

Completing the installation of SLES 10.x on the LPAR 49

Page 50: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

50

Installation of the SLES 10.x operating system

b. In the screen that follows, give FCP device information for each disk.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 51: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Once you have configured all FCP devices, they are all be listed as follows:

c. Click Next.

Completing the installation of SLES 10.x on the LPAR 51

Page 52: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

52

Installation of the SLES 10.x operating system

d. Select New Installation in the Installation Settings screen drop-down menu.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 53: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

e. Click OK. The Installation setting screen displays the mode, partitioning, and software information.

Completing the installation of SLES 10.x on the LPAR 53

Page 54: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

54

Installation of the SLES 10.x operating system

f. Select Change, and from the drop-down menu select Partitioning. The Expert Partitioner screen displays. It shows all DASD and FCP devices available to install Linux LPAR.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 55: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

g. Select Create. You are prompted to select the disk you want to create the partition(s) on.

The following example shows Linux being installed on the DASD devices.

Completing the installation of SLES 10.x on the LPAR 55

Page 56: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

56

Installation of the SLES 10.x operating system

h. As best practice, create /boot, / , swap, and /extra partitions. The /extra partition is be used to store IO and other useful user applications.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 57: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

i. The sfollowing screen shows all the partitions created and their sizes. Click Next.

Completing the installation of SLES 10.x on the LPAR 57

Page 58: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

58

Installation of the SLES 10.x operating system

j. In the Installation Settings page, select Change and from the drop-down menu select Software.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 59: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

k. The Software Selection screen displays. Select Detailed Selection.

l. The Package Selection screen displays. Make sure to select device-mapper, multipath-tools, udev, and gcc compiler packages. If any of these packages have dependencies, and other packages are selected along with these packages, accept them.

Completing the installation of SLES 10.x on the LPAR 59

Page 60: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

60

Installation of the SLES 10.x operating system

m. In the Installation Settings screen, select Accept to progress to the next step.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 61: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

n. Confirm the start of installation by clicking Yes, install.

The installation begins.

Completing the installation of SLES 10.x on the LPAR 61

Page 62: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

62

Installation of the SLES 10.x operating system

o. Select the defaults in the next two screens.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 63: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Completing the installation of SLES 10.x on the LPAR 63

Page 64: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

64

Installation of the SLES 10.x operating system

p. In the Finishing Basic Installation window, click OK.

At this point the VNC disconnects. After the VNC is disconnected, log back in the HMC to LOAD the Linux LPAR. (Refer to “Linux LPAR” on page 65.)

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 65: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

IPL of the Linux LPAR instance and z/VM final stepOnce the installation has completed, the Linux instance and z/VM guest needs to be rebooted. In order for the instance to boot successfully, the image needs to be loaded. This is performed from the CPC Recovery menu on the HMC. For Linux LPAR, proceed to Step 1 on page 65.

From the CPC Images Working Area, for z/VM guest log onto integrated 3270 Console and booting (IPL) the virtual system. Issue the following commands:

If you are not in CMS mode, enter it now.

i cms z/VM V5.x.0 2006-03-28 14:44 DMSACP723I Z (592) R/O Ready; T=0.01/0.01 22:55:27

For example: (150 is the DASD )

ipl 150 clear..

At this point the z/VM guest is booting (IPL). To complete the final steps proceed to Step 8 on page 70.

Linux LPAR

For Linux LPAR continue with the following steps:

1. Return to the HMC (Hardware Management Console).

2. Select Groups from the Views menu on the left-hand side of the window and select the CPC Recovery menu on the right-hand side of the window.

IPL of the Linux LPAR instance and z/VM final step 65

Page 66: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

66

Installation of the SLES 10.x operating system

3. The LPAR images display in the Groups Work Area. Double-click Images.

The Images Work Area window displays and shows all of the LPARs defined for this CPC.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 67: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

4. Highlight the LPAR on which Linux was installed and select the Load option from the CPC Recovery menu.

IPL of the Linux LPAR instance and z/VM final step 67

Page 68: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

68

Installation of the SLES 10.x operating system

The Load window diplays.

5. Fill in the information in the Load window, including the proper DASD device address for the boot device.

For example:

CPC: PCT3CImage: Linux02Load Type: Normal X ClearStore Status:<Place a check in the check box here for Yes.>Load address:f834Load parameter:CKDTime-out value: 060

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 69: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

6. Once this information is submitted, the Load Task Confirmation window prompts the user to confirm the settings.

For example:

Load will cause jobs to be cancelled.CPC: PCT3CImage: Linux02Load Type: Normal Store Status:YesLoad address:147ELoad parameter:Time-out value:60

Click Yes to continue.

7. Confirm that the information is correct and load the Linux instance on the LPAR.

IPL of the Linux LPAR instance and z/VM final step 69

Page 70: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

70

Installation of the SLES 10.x operating system

8. At this point, open a VNC Viewer to continue the install.

The Linux install takes you through the following steps.

a. Provide a password for the root user.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 71: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

b. Enable remote administration for VNC.

IPL of the Linux LPAR instance and z/VM final step 71

Page 72: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

72

Installation of the SLES 10.x operating system

c. Select appropriate options in the next few screens and complete the installation.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 73: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

d. Select Skip Configuration and click next.

IPL of the Linux LPAR instance and z/VM final step 73

Page 74: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

74

Installation of the SLES 10.x operating system

e. Select Local and click Next.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 75: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

f. Click Next.

IPL of the Linux LPAR instance and z/VM final step 75

Page 76: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

76

Installation of the SLES 10.x operating system

The Writing the system configuration window displays the progress.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 77: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

g. At the Release Notes window, click Next.

IPL of the Linux LPAR instance and z/VM final step 77

Page 78: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

78

Installation of the SLES 10.x operating system

h. At the Hardware Configuration window select Skip Configuration and click Next.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 79: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

i. Click Finish.

At this point, the installation and configuration procedures are completed.

IPL of the Linux LPAR instance and z/VM final step 79

Page 80: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

80

Installation of the SLES 10.x operating system

Use Putty tools from windows or Telnet/ssh on UNIX system to connect to the NEW LINUX LPAR:

Symmetrix storage array

sles9_s390x:~ # cat /proc/scsi/scsiAttached devices:Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04sles9_s390x:~ #

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 81: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

Add FCP devices using the Yast tools To add FCP devices using the Yast tools:

1. Select Hardware and ZFCP.

2. Press Enter.

IPL of the Linux LPAR instance and z/VM final step 81

Page 82: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

82

Installation of the SLES 10.x operating system

The Configured ZFCP Disks window displays.

3. Tab to Add and press Enter to go the next screen.

4. Select the next FCP device that you want to add (0.0.a072).

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 83: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

5. Enter the WWPN and FCP LUN for new device.

6. Tab to Next and press Enter.

When you finish, the Configured ZFCP Disks window displays.

IPL of the Linux LPAR instance and z/VM final step 83

Page 84: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

84

Installation of the SLES 10.x operating system

7. Tab to Next and press Enter to exit the YAST tool:

8. To verify the new devices, issue the following command:

Example:

sles9_s390x:~ # cat /proc/scsi/scsiAttached devices:Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi2 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04

Add more FCP devices using command line

To add more FCP devices using command line:

1. Bring the device online to the channel.

sles10_s390x:/sys/bus/ccw/drivers/zfcp # cat 0.0.a073/online0sles10_s390x:/sys/bus/ccw/drivers/zfcp # echo 1 > 0.0.a073/onlinesles10_s390x:/sys/bus/ccw/drivers/zfcp # cat 0.0.a073/online1

2. Add Symmetrix WWPN device 0.0.a070.

sles10_s390x:/sys/bus/ccw/drivers/zfcp # echo 0x50060482d52e6902 > 0.0.a073/port_add

sles10_s390x:/sys/bus/ccw/drivers/zfcp # echo 0x50060482d52e690d > 0.0.a073/port_add

3. Add LUN to FCP manually.

sles10_s390x:/sys/bus/ccw/drivers/zfcp # echo 0x0073000000000000 > 0.0.a073/0x50060482d52e 6902/unit_add

sles10_s390x:/sys/bus/ccw/drivers/zfcp # echo 0x0073000000000000 > 0.0.a073/0x50060482d52e 690d/unit_add

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 85: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

4. Create a new ramdisk.

For example:

sles9_s390x:/boot # mkinitrd -k image-2.6.5-7.244-s390x -i initrd-2.6.5-7.244-s390x

Root device: /dev/dasda2 (mounted on / as reiserfs)Module list: reiserfs dasd_eckd_mod sd_mod zfcpKernel image: /boot/image-2.6.5-7.244-s390xInitrd image: /boot/initrd-2.6.5-7.244-s390xShared libs: lib64/ld-2.3.3.so lib64/libblkid.so.1.0 lib64/libc.so.6 lib64/libselinux.so.1 lib64/libuuid.so.1.2Modules: kernel/fs/reiserfs/reiserfs.ko kernel/drivers/s390/block/dasd_mod.ko kernel/drivers/s390/block/dasd_eckd_mod.ko kernel/drivers/scsi/scsi_mod.ko kernel/drivers/scsi/sd_mod.ko kernel/drivers/s390/cio/qdio.ko kernel/drivers/s390/scsi/zfcp.koDASDs: 0.0.f834(ECKD) 0.0.f835(ECKD)zfcp HBAs: 0.0.a070 0.0.a071 0.0.a072 0.0.a073zfcp disks: 0.0.a070:0x50060482d52e6902:0x0070000000000000 0.0.a070:0x50060482d52e690d:0x0070000000000000 0.0.a071:0x50060482d52e6902:0x0071000000000000 0.0.a071:0x50060482d52e690d:0x0071000000000000 0.0.a072:0x50060482d52e6902:0x0072000000000000 0.0.a072:0x50060482d52e690d:0x0072000000000000 0.0.a073:0x50060482d52e6902:0x0073000000000000 0.0.a073:0x50060482d52e690d:0x0073000000000000

Including: udevinitrd updated, zipl needs to update the IPL record before IPL!

5. Execute the zipl command to pick up the new initial ramdisk.

sles9_s390x:/boot # zipl -VUsing config file '/etc/zipl.conf'Target device information Device..........................: 5e:00 Partition.......................: 5e:01 Device name.....................: dasda DASD device number..............: f834 Type............................: disk partition Disk layout.....................: ECKD/compatible disk layout Geometry - heads................: 15 Geometry - sectors..............: 12 Geometry - cylinders............: 10017 Geometry - start................: 24 File system block size..........: 4096 Physical block size.............: 4096 Device size in physical blocks..: 51276Building bootmap in '/boot/zipl'Adding IPL section 'ipl' (default)

IPL of the Linux LPAR instance and z/VM final step 85

Page 86: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

86

Installation of the SLES 10.x operating system

kernel image......: /boot/image at 0x10000 kernel parmline...: 'root=/dev/dasda2 selinux=0 TERM=dumb elevator=cfq' at 0x1000 initial ramdisk...: /boot/initrd at 0x1000000Preparing boot device: dasda (f834).Syncing disks...Done.

6. Reboot the system.

sles9_s390x:/boot # reboot

Broadcast message from root (pts/0) (Wed Jan 17 20:09:52 2007):

The system is going down for reboot NOW!

7. Log back in the system and verify the new FCP devices.

sles9_s390x:~ # cat /proc/scsi/scsiAttached devices:Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi1 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi2 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi3 Channel: 00 Id: 01 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04Host: scsi3 Channel: 00 Id: 02 Lun: 00 Vendor: EMC Model: SYMMETRIX Rev: 5771 Type: Direct-Access ANSI SCSI revision: 04

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 87: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the SLES 10.x operating system

SLES 10.x DM-MPIO installation and configurationThe multipath-tools package provides the tools to manage multipath devices using device-mapper.

The multipath-tools package may be installed during the initial SLES 10 SP2 installation. If it is not, it can be found on CD2 of SLES 10 Service Pack 2 and can be manually installed.

For more information, refer to Native Multipath Failover Based on DM-MPIO for v2.6x Linux Kernel and EMC Storage Arrays, Red Hat Enterprise Linux 4 - U3 and SuSE Linux Enterprise Server 9 - SP3, Configuration Guide on http://Powerlink.EMC.com.

SLES 10.x DM-MPIO installation and configuration 87

Page 88: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

88

Installation of the SLES 10.x operating system

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 89: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

3

This chapter provides the following information to install the RHEL 5.x operating system.

◆ Preparing for a network installation of the RHEL 5.x .................. 90◆ Installing RHEL 5.x as a guest under z/VM.................................. 92◆ Installing RHEL 5.x on an LPAR...................................................... 99◆ Completing the installation of RHEL 5.x...................................... 113◆ Adding FCP devices during installation of RHEL 5.x................ 120◆ Partition DASD devices during the installation of RHEL 5.x.... 126◆ IPL of the Linux LPAR instance and z/VM final step................ 135◆ FCP connectivity .............................................................................. 142◆ RHEL 5.x DM-MPIO installation and configuration .................. 149

Installation of the RHEL5.x operating system

Installation of the RHEL 5.x operating system 89

Page 90: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

90

Installation of the RHEL 5.x operating system

Preparing for a network installation of the RHEL 5.xBefore installing the RHEL 5.x operating system, you must select and prepare for the method to be used. The Red Hat Enterprise Linux installation media must be available for a network installation via FTP, HTTP, and NFS or via local storage.

The FTP, HTTP, or NFS server to be used for the installation must be a separate server and must provide the entire contents of the RedHat/ directory.

To create an NFS server, please follow the steps below:

1. Download the ISO images for the 31-bit s390 or 64-bit s390x RHEL 5.x installation from RHN (Red Hat Network).

The installation procedure is the same for both 31-bit and 64-bit RHEL 5.x.

2. Create a mount point to which the contents of the ISO images will be exported.

For example:

mkdir /wide_open/export/s390_rhel5_u2

Each ISO image must be mounted and the contents of the RedHat/ directory copied to a mount point which is to be exported via NFS, FTP, or HTTP.

The following is an example using the 31-bit ISO images.

cd /wide_open/rhel-iso/iso-images/rhel5/s390x/u2mount -o loop RHEL5.x-Server-20080416.0-s390x-disc1-ftp.iso /s390x/cd1cp -var /s390/cd1/* /wide_open/export/s390x_rhel5_u2umount /s390/cd1

mount -o loop RHEL5.x-Server-20080416.0-s390x-disc1-ftp.iso /s390x/cd2cp -var /s390/cd2/* /wide_open/export/s390x_rhel5_u2umount /s390/cd2

mount -o loop RHEL5.x-Server-20080416.0-s390x-disc1-ftp.iso /s390x/cd3cp -var /s390/cd3/* /wide_open/export/s390x_rhel5_u2umount /s390/cd3

mount -o loop RHEL5.x-Server-20080416.0-s390x-disc1-ftp.iso /s390x/cd4cp -var /s390/cd4/* /wide_open/export/s390x_rhel5_u2umount /s390/cd4etc....

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 91: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

The host to be used for the network installation should now have the necessary files copied for the installation.

3. Add the subnet information for the Linux instance to the /etc/exports file and ensure that the NFS service is running.

For example:

[root@l82bi135 /]# cat /etc/exports/wide_open 172.23.189.0/255.255.255.0(ro) 172.23.188.0/255.255.255.0(ro) 172.23.192.188/255.255.255.0 (ro)/wide_open 172.23.178.0/255.255.255.0 *(ro,no_root_squash)

[root@l82bi135 /]# /etc/init.d/nfs statusrpc.mountd (pid 10650) is running...nfsd (pid 10644 10643 10642 10641 10640 10639 10638 10637) is running...rpc.rquotad (pid 10633) is running...

[root@l82bi135 /]# /etc/init.d/nfs restartShutting down NFS mountd: [ OK ]Shutting down NFS daemon: [ OK ]Shutting down NFS quotas: [ OK ]Shutting down NFS services: [ OK ]Starting NFS services: [ OK ]Starting NFS quotas: [ OK ]Starting NFS daemon: [ OK ]Starting NFS mountd: [ OK ]

Preparing for a network installation of the RHEL 5.x 91

Page 92: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

92

Installation of the RHEL 5.x operating system

Installing RHEL 5.x as a guest under z/VM Log on to z/VM as the Linux guest account. You can use x3270 or Integrated 3270 console.

To install the RHEL 5.x as a guest under z/VM:

1. Obtain the SuSE Linux boot files via ftp.

The following example illustrates the procedure. In the example, the commands you would issue are bolded.

If you are not in CMS mode, enter it now.

i cms z/VM V5.4.0 2008-06-12 10:41

If necessary, add the device containing z/VM's TCP/IP tools to your CMS disk list.

For example:

vmlink tcpmaint 592 592 DMSACP723I Z (592) R/O Ready; T=0.01/0.01 12:31:32 DMSVML2060I TCPMAINT 592 linked as 0592 file mode Z DMSVML2069E No NAMES file(s) found to search for nickname (592) Ready(00028); T=0.01/0.01 12:31:33

If using any of the qdio/qeth based network connection types (such as OSA express or hipersockets), set the VM guest qioassist parameter off:

set qioassist offReady; T=0.01/0.01 12:31:43

Query the guest for devices:

q disk

LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTALLIN191 191 A R/W 50 3390 4096 1 8-01 8992 9000LIN192 192 D R/W 70 3390 4096 3 2672-21 9928 12600MNT190 190 S R/O 100 3390 4096 684 14980-83 3020 18000MNT19E 19E Y/S R/O 250 3390 4096 1018 28165-63 16835 45000TCM592 592 Z R/O 70 3390 4096 903 10248-81 2352 12600Ready; T=0.01/0.01 12:31:50

access 192 a

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 93: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

DMSACC724I 192 replaces A (191) DMSACP726I 192 D released Ready; T=0.01/0.01 23:01:23

ftp 172.23.178.232 VM TCP/IP FTP Level 540 Connecting to 172.23.178.232, port 21 220---------- Welcome to Pure-FTPd [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 07:52. Server port: 21. 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. USER (identify yourself to the host):

root >>>USER root 331 Please specify the password.Password:

>>>PASS ******** 530 Authentication failed, sorry Command:

bin >>>TYPE i 200 Type is now 8-bit binary Command:

locsite fix 80 Command:

cd <the NFS install directory/images/>Example:

Command:

get kernel.img (repl >>>PORT 172,23,174,181,4,3 200 PORT command successful >>>RETR kernel.img 150-Connecting to port 1027 150 3686.1 kbytes to download 226-File successfully transferred 226 0.681 seconds (measured here), 5.29 Mbytes per second 3774560 bytes transferred in 0.685 seconds. Transfer rate 5510.31 Kbytes/sec. Command:

get initrd.img (repl >>>PORT 172,23,174,181,4,4 200 PORT command successful >>>RETR initrd.img 150-Connecting to port 1028

Installing RHEL 5.x as a guest under z/VM 93

Page 94: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

94

Installation of the RHEL 5.x operating system

150 12840.8 kbytes to download 226-File successfully transferred 226 2.023 seconds (measured here), 6.20 Mbytes per second 13148960 bytes transferred in 2.024 seconds. Transfer rate 6496.52 Kbytes/sec. Command:

ascii >>>TYPE a 200 Switching to ASCII mode. Command:

get redhat.parm (repl >>>PORT 172,23,174,181,4,5 200 PORT command successful >>>RETR redhat.parm 150 Connecting to port 1029 226-File successfully transferred 226 0.013 seconds (measured here), 6.04 Kbytes per second 82 bytes transferred in 0.012 seconds. Transfer rate 6.83 Kbytes/sec. Command:

quit >>>QUIT 221-Goodbye. You uploaded 0 and downloaded 16527 kbytes. 221 Logout. Ready; T=0.08/0.16 13:58:02

2. Punch the Linux boot files to the virtual machine reader.

The following example illustrates the procedure. This example shows commands used to punch Linux boot files to the virtual machine reader.

For example:

cl rdr Ready; T=0.01/0.01 13:58:08

purge rdr all 0000003 FILES PURGED Ready; T=0.01/0.01 13:58:17

spool punch * rdr Ready; T=0.01/0.01 13:58:27

pun kernel img a (noh RDR FILE 0009 SENT FROM LX54CR01 PUN WAS 0009 RECS 047K CPY 001 A NOHOLD NOKEEP Ready; T=0.02/0.19 13:58:36

pun redhat parm a (noh RDR FILE 0010 SENT FROM LX54CR01 PUN WAS 0010 RECS 0002 CPY 001 A NOHOLD NOKEEP

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 95: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Ready; T=0.01/0.01 13:58:47

pun initrd img a (noh RDR FILE 0011 SENT FROM LX54CR01 PUN WAS 0011 RECS 164K CPY 001 A NOHOLD NOKEEP Ready; T=0.08/0.67 13:58:57

ch rdr all keep nohold 0000003 FILES CHANGED Ready; T=0.01/0.01 13:59:03

ipl 00c 0000003 FILES CHANGED Linux version 2.6.18-90.el5 ([email protected]) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-41)) #1 SMP Tue Apr 15 18:03:13 EDT 2008

We are running under VM (64 bit mode) Detected 1 CPU's Boot cpu address 0 Built 1 zonelists. Total pages: 131072 Kernel command line: root=/dev/ram0 ro ip=off ramdisk_size=40000 CMSDASD=192 CMSCONFFILE=redhat.conf PID hash table entries: 4096 (order: 12, 32768 bytes) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Memory: 497920k/524288k available (2334k kernel code, 0k reserved, 1204k data, 128k init) .......Which kind of network device do you intend to use (e.g. ctc, iucv, qeth, lcs). Enter 'qeth' for OSA-Express Fast Ethernet, Gigabit Ethernet (including 1000Base-T), High Speed Token Ring, and ATM (running Ethernet LAN emulation) features in QDIO mode. Enter 'lcs' for OSA 2 Ethernet/Token Ring, OSA-Express Fast Ethernet in non-QDIO mode, OSA-Express High Speed Token Ring in non-QDIO mode and Gigabit Ethernet in non-QDIO mode. qeth Enter the bus ID and the device number of your CCW devices. CTC/ESCON and LCS need two subchannels: (e.g. "0.0.0600,0.0.0601" will configure the CTC or ESCON interface with the subchannels 0x600 and 0x601) QETH needs three subchannels p.e. 0.0.0300,0.0.0301,0.0.0302 0.0.0600,0.0.0601,0.0.0602

Installing RHEL 5.x as a guest under z/VM 95

Page 96: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

96

Installation of the RHEL 5.x operating system

Portname of the OSA-Express feature in QDIO mode and z/VM Guest LAN This parameter is optional with z/VM 4.4.0 or z/VM 4.3.0 with APARs VM63308 and PQ73878 Press enter if you don't want to enter a portname osa0600 Enter the mode of operation for the OSA device 0 for layer 3 mode (default) 1 for layer 2 mode 0

3. . Depending upon the information provided by the network administrator, enter the necessary networking information for the Linux LPAR when prompted.

For example:

Enter the FQDN of your new Linux guest (e.g. s390.redhat.com): lx54cr01r5u2.lss.emc.com Enter a valid IP address of your new Linux guest: 172.23.174.188 Enter a valid network address of the new Linux guest: 172.23.174.0 Enter the netmask for the new Linux guest (e.g. 255.255.255.0): 255.255.255.0 Enter the broadcast address for the new Linux guest: 172.23.174.255 Enter your default gateway: 172.23.174.2

4. After entering the network information, the networking driver module is loaded by the installation program.

For example, when the qeth module is loaded, the following messages are output to the console:

qdio: loading QDIO base support version 2 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver qeth: loading qeth S/390 OSA-Express driver qeth: Device 0.0.0600/0.0.0601/0.0.0602 is a Guest LAN QDIO card (level: V540) with link type GuestLAN QDIO (portname: osa0600) qeth: Hardware IP fragmentation not supported on eth0 qeth: VLAN enabled qeth: Multicast enabled qeth: IPV6 enabled

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 97: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

qeth: Broadcast enabled qeth: Using SW checksumming on eth0. qeth: Outbound TSO not supported on eth0 Enter your DNS server(s), separated by colons (:): eth0: no IPv6 routers present 10.254.66.23 Enter your DNS search domain(s) (if any), separated by colons (:): lss.emc.com

eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:02 inet addr:172.23.174.188 Bcast:172.23.174.255 Mask:255.255.255.0 inet6 addr: fe80::200:0:100:2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:234 (234.0 B) TX bytes:552 (552.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo 172.23.174.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 172.23.174.2 0.0.0.0 UG 0 0 0 eth0 Enter DASD range (e.g. 200-203 or 200,201,202,203) Press <Enter> for autoprobing (not recommended): f823 Starting telnetd and sshd to allow login over the network. Connect now to 172.23.174.188 to start the installation.

5. .At this point, the telnet and sshd daemons have started.

Installing RHEL 5.x as a guest under z/VM 97

Page 98: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

98

Installation of the RHEL 5.x operating system

6. Open the Putty tool on the Window or ssh from any UNIX system.

For instructions to successfully complete the installation of the operating system as a gues under zVM, go to Step 18 on page 112 through Step 2 on page 136.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 99: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Installing RHEL 5.x on an LPARThis section provides the steps required to install RHEL 5.x on an LPAR. Specifically, it explains the steps taken at the HMC (Hardware Management Console) prior to the installation and then explains the installation steps. For further information refer to the chapter "Booting from HMC CD-ROM or FTP server" in the Linux for IBM e-server zSeries and S/390: Distributions Manual.

An LPAR should have already been created and resources allocated to it prior to the Red Hat Linux installation.

At least one FCP channel must be allocated to the target LPAR configuration for FCP device connectivity. The FICON channels in FCP mode provide full fabric support so that the IBM zSeries and S/390 systems have access to standard FCP and SCSI devices. Refer to the IBM zSeries documentation for further information.

Once the LPAR and its resources have been generated in a configuration, the target LPAR must be configured for the installation.

To configure the LPAR for the RHEL 5.x installation:

1. Log on to the HMC (Hardware Management Console).

2. Select Groups from the Views menu on the left-hand side of the window.

The Recovery menu displays on the right-hand side of the window.

Installing RHEL 5.x on an LPAR 99

Page 100: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

100

Installation of the RHEL 5.x operating system

3. Double-click on the Defined CPCs icon in the Groups Work Area. The Defined CPCs Work Area displays.

4. Highlight the target CPC in the Defined CPCs Work Area and double-click the Single Object Operation icon from the CPC Recovery menu.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 101: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

5. Once selected, the Single Object Operation window provides a list of object names from which to choose. Select the proper Object Name assigned to the LPAR targeted for the Linux installation and click Yes.

Installing RHEL 5.x on an LPAR 101

Page 102: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

102

Installation of the RHEL 5.x operating system

6. The Groups Work Area window displays. Double-click on the Images icon. The Images Work Area window shows all of the LPARs defined for this CPC.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 103: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

7. Click on the LPAR targeted for the Linux installation. To initiate the installation process, double-click the Load from CD-ROM or Server icon from the CPC Recovery menu.

8. Confirmation is requested to continue with the load from the CD-ROM. Click OK if the correct target LPAR object name is displayed in the window.

Installing RHEL 5.x on an LPAR 103

Page 104: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

104

Installation of the RHEL 5.x operating system

9. Following this confirmation, the user is prompted to select the installation source. Select the source of the software, Hardware Management Console CD-ROM, and click OK to proceed.

10. When prompted to select the software to load, select suse.ins Linux for S/390 Installation/Rescue System (Default).

11. Click OK to continue.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 105: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

By selecting the suse.ins software, the necessary installation code is retrieved from the source CD-ROM. A Reset Clear is automatically performed on the target LPAR and then the installation load for the LPAR begins.

Installing RHEL 5.x on an LPAR 105

Page 106: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

106

Installation of the RHEL 5.x operating system

12. Double-click on the Operation System Messages icon. The installation begins and prompts the user to select the necessary ethernet module depending upon the hardware in the system.

13. When prompted, select the type of networking device that is allocated to the target LPAR.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 107: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

14. Enter the appropriate information for the target LPAR for your environment when prompted.

Installing RHEL 5.x on an LPAR 107

Page 108: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

108

Installation of the RHEL 5.x operating system

15. Enter the portname for the network board.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 109: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

16. Depending upon the information provided by the network administrator, enter the necessary networking information for the Linux LPAR when prompted.

Installing RHEL 5.x on an LPAR 109

Page 110: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

110

Installation of the RHEL 5.x operating system

17. When using CKD devices for the installation, enter the DASD device numbers.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 111: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

At this point, the telnet and sshd daemons have started.

Installing RHEL 5.x on an LPAR 111

Page 112: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

112

Installation of the RHEL 5.x operating system

18. Open the Putty tool on the Window or ssh from any UNIX system.

For instructions to complete the operating system installation, proceed to the next section, “Completing the installation of RHEL 5.x.”

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 113: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Completing the installation of RHEL 5.xThe LPAR has been prepared and configured for the installation of RHEL 5.x.

To perform the operating system installation:

1. From another host, telnet or ssh into the LPAR as the root user so the installation continues.

Note: The installation program will not prompt the user for a root password.

2. Select the language when prompted.

3. Select the method to be used for the installation.

Completing the installation of RHEL 5.x 113

Page 114: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

114

Installation of the RHEL 5.x operating system

In this example, NFS is selected.

4. Enter the IP address and network install directory of the NFS server.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 115: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

5. When prompted, select the mode to be used for the installation, i.e., GUI or text mode.

In this example, the XServer was unable to start so the options provided are text mode and VNC. Start VNC is selected for this installation.

6. As part of the VNC configuration, a password should be allocated to the service. Enter a password when prompted.

Completing the installation of RHEL 5.x 115

Page 116: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

116

Installation of the RHEL 5.x operating system

After a password is entered and confirmed, the VNC service starts on the LPAR.

The target LPAR is now accessible via a VNC viewer running on a networked host.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 117: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Completing the installation of RHEL 5.x 117

Page 118: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

118

Installation of the RHEL 5.x operating system

RHEL5x require an installation number. This number is provided by Red Hat Partner.

If you are not sure click No option.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 119: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

7. If there was a previous installation of Red Hat Enterprise Linux, install or upgrade option is provided. Otherwise, only the installation option is provided.

8. Ordinarily, the operating system searches for devices and defines the devices it finds. In the case of FCP devices, the RHEL 5.x installation program does not probe for FCP devices. As a result, if there are FCP devices allocated to the target LPAR, they must be added manually to the configuration.

After the installation is complete, additional FCP devices may be added manually to the configuration.

Completing the installation of RHEL 5.x 119

Page 120: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

120

Installation of the RHEL 5.x operating system

Adding FCP devices during installation of RHEL 5.xTo add FCP devices to the configuration:

1. Select Add.

The Add FCP device dialog box diplays.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 121: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

2. The user is prompted to enter the values of the device number (see Step a), the WWPN (see Step b), and the FCP LUN (see Step c). The following figure is an example of a populated Add FCP Device window.

a. The device numbers for the LPAR channel configuration need to be assigned by the mainframe administrator.

For example:

CHIP 50:CHPID FCP Device Numbers50 A038-A03f

Adding FCP devices during installation of RHEL 5.x 121

Page 122: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

122

Installation of the RHEL 5.x operating system

b. The WWPN required by the installation program is the WWPN of the storage device port that owns the LUN. In this case, the value would be the WWPN of the Symmetrix FA (Fibre Adapter) that provides access to the LUN.

For example:

Symmetrix FA PortsSymmetrix FA WWPNFA03a0 50:06:04:82:d5:2e:69:02FA14a0 50:06:04:82:d5:2e:69:0d

c. The FCP LUN number is the address of the Symmetrix LUN itself.

For example:

0x00038000000000000x00039000000000000x0003a00000000000, etc.

Note: The hex indicator 0x must precede the Symmetrix WWPN and the FCP LUN.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 123: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

3. After filling in the information, click OK in the Add FCP device dialog box, then Next.

Adding FCP devices during installation of RHEL 5.x 123

Page 124: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

124

Installation of the RHEL 5.x operating system

The following figure is an example showing two added FCP devices.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 125: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Adding FCP devices during installation of RHEL 5.x 125

Page 126: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

126

Installation of the RHEL 5.x operating system

Partition DASD devices during the installation of RHEL 5.xAt the Disk Partitioning Setup window, the user is prompted to select Automatically partition or Manually partition with Disk Druid.

If the option Automatically partition is selected, then the installer program automatically partitions the devices, establishes mount points, and selects the filesystems to be created.

If the option Manually partition with Disk Druid is selected, then a manual configuration of the boot device is required. To partition the devices as needed, establish the mount points to be created, and select the filesystems to be created, follow these next steps.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 127: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

1. After configuring the partition table and filesystem type, the installation program performs the dasdfmt, fdasd, and mkfs commands on the CKD devices selected for boot. These commands are run by the Disk Druid program.

Once the devices are configured, the installer proceeds. The user must enter the appropriate network configuration information, firewall selection, language, and time zone information.

Partition DASD devices during the installation of RHEL 5.x 127

Page 128: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

128

Installation of the RHEL 5.x operating system

a. Click Format and continue.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 129: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

b. Enter the network information provided by your network system administrator.

Partition DASD devices during the installation of RHEL 5.x 129

Page 130: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

130

Installation of the RHEL 5.x operating system

c. Enter the root password.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 131: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

2. The user is prompted to select the default software packages for installation or to customize the software packages installed.

Partition DASD devices during the installation of RHEL 5.x 131

Page 132: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

132

Installation of the RHEL 5.x operating system

Depending upon the environment, the default software packages may or may not be acceptable. Modify the package list as needed for the target LPAR installation.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 133: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

After the packages are selected, the installer program proceeds.

Partition DASD devices during the installation of RHEL 5.x 133

Page 134: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

134

Installation of the RHEL 5.x operating system

Once the installation is complete, the following screen displays.

3. Reboot the Linux instance when prompted by the installation program and return to the HMC to perform an IPL (Initial Program Load) on the Linux LPAR.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 135: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

IPL of the Linux LPAR instance and z/VM final stepOnce the installation has completed, the Linux instance and z/VM guest needs to be rebooted. In order for the instance to boot successfully, the image needs to be loaded. This is performed from the CPC Recovery menu on the HMC. (For Linux LPAR, proceed to Step 1 on page 135.)

1. From the CPC Images Working Area, for z/VM guest log on to integrated 3270 Console and boot (IPL) the virtual system.

2. Issue the following commands:

If you are not in CMS mode, enter it now.

i cms z/VM V5.x.0 2006-03-28 14:44 DMSACP723I Z (592) R/O Ready; T=0.01/0.01 22:55:27

For example: (f832 is the DASD )

ipl f832 clear..

At this point the z/VM guest completed the installation after the IPL. Use Putty tools from windows or Telnet/ssh on Unix system to connect to the NEW LINUX GUEST INSTANCE.

Linux LPAR

For Linux LPAR continue with the following steps:

1. Return to the HMC (Hardware Management Console).

IPL of the Linux LPAR instance and z/VM final step 135

Page 136: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

136

Installation of the RHEL 5.x operating system

2. Select Groups from the Views menu on the left-hand side of the window and select the Recovery menu on the right-hand side of the window.

3. The LPAR images display in the Groups Work Area. Double-click Images.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 137: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

The Images Work Area window displays and shows all of the LPARs defined for this CPC.

4. Highlight the LPAR on which RHEL 5.x was installed and select the Load option from the CPC Recovery menu.

IPL of the Linux LPAR instance and z/VM final step 137

Page 138: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

138

Installation of the RHEL 5.x operating system

The Load window displays.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 139: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

5. Fill in the information, including the proper DASD device address for the boot device.

IPL of the Linux LPAR instance and z/VM final step 139

Page 140: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

140

Installation of the RHEL 5.x operating system

6. Once this information is submitted, the Load Task Confirmation window prompts the user to confirm the settings.

Click Yes to continue.

7. Confirm that the information is correct and load the Linux instance on the LPAR.

At this point, the installation and configuration procedures are completed.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 141: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

8. Use Putty tools from windows or Telnet/ssh on Unix system to connect to the NEW LINUX LPAR.

IPL of the Linux LPAR instance and z/VM final step 141

Page 142: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

142

Installation of the RHEL 5.x operating system

FCP connectivity This section provides FCP connectivity information for the RHEL 5.x instance attached to a Symmetrix storage array. The FCP device numbers must have been defined in the IOCDS and assigned to the FCP channels. Those channels should have been assigned to the LPAR by the mainframe administrator.

The WWPNs of the CHPIDs and of the Symmetrix FA ports and the FCP device numbers are required for the creation of the /etc/zfcp.conf file and represent the FCP mappings for the Linux guest.

Composition of the /etc/zfcp.conf file

The /etc/zfcp.conf file is composed of five elements. The format of the /etc/zfcp.conf file using those elements is as follows:

FCP Device # Target # Target WWPN LUN # SAN LUN #0.0.f060 0x01 0x50060482d52e6902 0x00 0x0060000000000000

Based on the above format, the following is a representation of an /etc/zfcp.conf file:

0.0.f060 0x01 0x50060482d52e6902 0x00 0x00600000000000000.0.f060 0x01 0x50060482d52e690d 0x00 0x00600000000000000.0.f061 0x01 0x50060482d52e6902 0x00 0x00610000000000000.0.f061 0x01 0x50060482d52e690d 0x00 0x0061000000000000

Note: Each individual LUN assigned to the Linux instance requires a mapping entry in /etc/zfcp.conf.

Table 1 on page 143 describes the five elements.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 143: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

System configuration for FCP attach

Note that any FCP devices added to the system at the time of installation is listed in this file. When additional devices are added after the installation, then the mapping information needs to be added manually to the /etc/zfcp.conf file.

1. When additional devices are allocated to the Linux instance, the /etc/zfcp.conf file needs to be updated to reflect the changes.

The following is an example of a /etc/zfcp.conf file where only one device and two targets WWPN with are being used.

[root@rhel4s390x etc]# cat zfcp.conf0.0.f060 0x01 0x50060482d52e6902 0x00 0x00600000000000000.0.f060 0x01 0x50060482d52e690d 0x00 0x00600000000000000.0.f061 0x01 0x50060482d52e6902 0x00 0x00610000000000000.0.f061 0x01 0x50060482d52e690d 0x00 0x00610000000000000.0.f062 0x01 0x50060482d52e6902 0x00 0x00620000000000000.0.f062 0x01 0x50060482d52e690d 0x00 0x0062000000000000

Table 1 /etc/zfcp.conf file elements

Element Description

FCP device number As displayed in the example, the FCP devices follow the format of 0.0.xxx where xxx is the device number. In this example, the device number assigned is a000 so the FCP device number must be listed as 0.0.f060. Depending upon the IOCDS configuration and the amount of the device numbers assigned, a single FCP device number may be used for all FCP connections, or multiple FCP device numbers assigned to the FCP channel may be used.

Target number The Target Number is assigned by the Linux administrator and will be used by Linux.The target addresses must begin with 1 and should increment by 1. The target address of 0 is used to address the FCP adapter and may not be used for any other purpose.Target addresses may be reused with different device numbers.

Target WWPN The Target WWPN is the World Wide Port Number of the SAN node. This number is not assigned by the administrator. The Target WWPN number must be in hexadecimal format and must be 16 hexadecimal digits. The Target WWPN should be the same as the WWPN seen by the FC switch.

LUN number The LUN number is assigned by the Linux administrator and is used by Linux. Normally, the LUN numbers will begin with zero and increment by one for each additional LUN.

SAN Node LUN number The SAN Node LUN number is the storage array’s assigned LUN number. This number is not assigned by the administrator. The SAN LUN number must be in hexadecimal format and must be 16 hexadecimal digits. The Symmetrix SAN LUN numbers are listed in the first 4 digits and are followed by twelve zeros.

FCP connectivity 143

Page 144: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

144

Installation of the RHEL 5.x operating system

2. The SCSI modules must be loaded in order for the zfcp driver to function. The drivers need to be loaded in the following order, if not yet loaded:

modprobe scsi_modmodprobe sd_modmodprobe sgmodprobe zfcp

3. If FCP devices were added during the OS installation, the alias scsi_hostadapter zfcp line was appended to the /etc/modprobe.conf file.

If FCP devices were added after the installation, the /etc/modprobe.conf file needs to be modified manually.

The zfcp driver must be listed in the /etc/modprobe.conf file so it is included in the ramdisk and loaded at boot time.

For example:

[root@rhel4s390 /]# cat /etc/modprobe.confalias eth0 qethoptions dasd_mod dasd=F832,F833alias scsi_hostadapter zfcp

4. After changing the /etc/modprobe.conf file, create a new ramdisk so the newly added FCP device mappings are recognized at boot time. Use the mkinitrd command to create a new ramdisk.

For example:

[root@rhel4s390x /]# mkinitrd -v -f --with=scsi_mod --with=zfcp --with=sd_mod initrd-2.6.9-39.EL.img 2.6.9-39.ELCreating initramfsLooking for deps of module scsi_modLooking for deps of module sd_mod scsi_modLooking for deps of module scsi_modLooking for deps of module unknownLooking for deps of module zfcp qdio scsi_transport_fc scsi_modLooking for deps of module qdioLooking for deps of module scsi_transport_fc scsi_modLooking for deps of module scsi_modLooking for deps of module scsi_modLooking for deps of module ide-diskLooking for deps of module dasd_modLooking for deps of module dasd_eckd_mod dasd_modLooking for deps of module dasd_modLooking for deps of module dasd_fba_mod dasd_mod

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 145: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

Looking for deps of module dasd_modLooking for deps of module ext3 jbdLooking for deps of module jbdLooking for deps of module scsi_modLooking for deps of module zfcp qdio scsi_transport_fc scsi_modLooking for deps of module qdioLooking for deps of module scsi_transport_fc scsi_modLooking for deps of module scsi_modLooking for deps of module scsi_modLooking for deps of module sd_mod scsi_modLooking for deps of module scsi_modUsing modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/s390/cio/qdio.ko ./kernel/drivers/scsi/scsi_transport_fc.ko ./kernel/drivers/s390/scsi/zfcp.ko ./kernel/drivers/s390/block/dasd_mod.ko ./kernel/drivers/s390/block/dasd_eckd_mod.ko ./kernel/drivers/s390/block/dasd_fba_mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko/sbin/nash -> /tmp/initrd.iu3556/bin/nash/sbin/insmod.static -> /tmp/initrd.iu3556/bin/insmod/sbin/udev.static -> /tmp/initrd.iu3556/sbin/udev/etc/udev/udev.conf -> /tmp/initrd.iu3556/etc/udev/udev.confcopy from /lib/modules/2.6.9-39.EL/./kernel/drivers/scsi/scsi_mod.ko(elf64-s390) to /tmp/initrd.iu3556/lib/scsi_mod.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/scsi/sd_mod.ko(elf64-s390) to /tmp/initrd.iu3556/lib/sd_mod.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/s390/cio/qdio.ko(elf64-s390) to /tmp/initrd.iu3556/lib/qdio.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/scsi/scsi_transport_fc.ko(elf64-s390) to /tmp/initrd.iu3556/lib/scsi_transport_fc.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/s390/scsi/zfcp.ko(elf64-s390) to /tmp/initrd.iu3556/lib/zfcp.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/s390/block/dasd_mod.ko(elf64-s390) to /tmp/initrd.iu3556/lib/dasd_mod.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/s390/block/dasd_eckd_mod.ko(elf64-s390) to /tmp/initrd.iu3556/lib/dasd_eckd_mod.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/drivers/s390/block/dasd_fba_mod.ko(elf64-s390) to /tmp/initrd.iu3556/lib/dasd_fba_mod.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/fs/jbd/jbd.ko(elf64-s390) to /tmp/initrd.iu3556/lib/jbd.ko(elf64-s390)copy from /lib/modules/2.6.9-39.EL/./kernel/fs/ext3/ext3.ko(elf64-s390) to /tmp/initrd.iu3556/lib/ext3.ko(elf64-s390)Loading module scsi_modLoading module sd_modLoading module qdioLoading module scsi_transport_fcLoading module zfcpLoading module dasd_mod with options dasd=f832-f833

FCP connectivity 145

Page 146: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

146

Installation of the RHEL 5.x operating system

Loading module dasd_eckd_modLoading module dasd_fba_modLoading module jbdLoading module ext3

[root@rhel4s390x /]# zipl -VUsing config file '/etc/zipl.conf'Target device information Device..........................: 5e:00 Partition.......................: 5e:01 Device name.....................: dasda DASD device number..............: f832 Type............................: disk partition Disk layout.....................: ECKD/compatible disk layout Geometry - heads................: 15 Geometry - sectors..............: 12 Geometry - cylinders............: 10017 Geometry - start................: 24 File system block size..........: 4096 Physical block size.............: 4096 Device size in physical blocks..: 51204Building bootmap '/boot//bootmap'Building menu 'rh-automatic-menu'Adding #1: IPL section 'linux' (default) kernel image......: /boot/vmlinuz-2.6.9-39.EL at 0x10000 kernel parmline...: 'root=LABEL=/' at 0x1000 initial ramdisk...: /boot/initrd-2.6.9-39.EL.img at 0x800000Preparing boot device: dasda (f832).Preparing boot menu Interactive prompt......: enabled Menu timeout............: 15 seconds Default configuration...: 'linux'Syncing disks...Done.

5. Reboot the RHEL 5.x instance.

Add FCP devices using the command lineFCP devices may be added to the Linux instance after the RHEL 5.x installation is complete. This may be accomplished at the command line using information from sysfs.

1. Verify that the channel is online.

cat /sys/bus/ccw/drivers/zfcp/<dev_no>/online

If the value returned is 0, then the channel is offline. It can be put online by echoing the sysfs.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 147: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

The command to be used is as follows:

echo 1 > /sys/bus/ccw/drivers/zfcp/<dev_no>/online

For example:

echo 1 > /sys/bus/ccw/drivers/zfcp/0.0.f063/online

After verifying that the channel is online, additional Symmetrix FA ports and LUNs can be added to the system.

2. To add more LUNs to a previously existing Symmetrix FA WWPN, issue the unit_add option.

echo 0x<LUN_no> > /sys/bus/ccw/drivers/zfcp/<dev_no>/0x<Symm_WWPN>/unit_add

where:

For example:

echo 0x0064000000000000 > /sys/bus/ccw/drivers/zfcp/0.0.f064/0x50060482d52e6902/unit_add

Note: This command is issued on one line. However, due to the formatting, the command wraps around to the second line.

3. To add a new Symmetrix FA WWPN to the configuration, issue the port_add option.

echo 0x<Symm_WWPN> > /sys/bus/ccw/drivers/zfcp/<dev_no>/port_add

where:

For example:

echo 0x50060482d52e6902 > /sys/bus/ccw/drivers/zfcp/0.0.f064/port_add

LUN_no is the new LUN that is being added to the configuration.

dev_no is the channel device number.

Symm_WWPN is a previously existing Symmetrix FA port’s WWPN.

Symm_WWPN is a previously existing Symmetrix FA port’s WWPN.

dev_no is the channel device number.

FCP connectivity 147

Page 148: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

148

Installation of the RHEL 5.x operating system

4. To add LUNs to the new Symmetrix FA port, issue the unit_add option. As demonstrated above, use the following command:

echo 0x<LUN_no> > /sys/bus/ccw/drivers/zfcp/<dev_no>/0x<Symm_WWPN>/unit_add

where:

For example:

echo 0x0064000000000000 > /sys/bus/ccw/drivers/zfcp/0.0.f064/0x50060482d52e6902/unit_add

5. Assuming the device additions are permanent, the new information needs to be added to the /etc/zfcp.conf file. When changes are made to the /etc/zfcp.conf file, create a new ramdisk and run the zipl command prior to rebooting.

a. Use the mkinitrd command to include the newly added FCP device mappings in the ramdisk.

For example:

mkinitrd -v -f --with=scsi_mod --with=zfcp --with=sd_mod initrd-2.6.9-22.0.2.EL.img 2.6.9-22.0.2.EL

b. Run the zipl command to update the boot loader.

For example:

zipl -V

c. Reboot the host.

LUN_no is the new LUN that is being added to the configuration.

dev_no is the channel device number.

Symm_WWPN is a previously existing Symmetrix FA port’s WWPN.

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide

Page 149: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

Installation of the RHEL 5.x operating system

RHEL 5.x DM-MPIO installation and configurationWhen using DASD devices via ESCON or FICON attach, multipathing is available via the zSeries microcode. The multipathing is transparent to the operating system and is handled solely by the zSeries I/O subsystem. Multipathing for FCP devices is not native to the zSeries subsystem and is handled by the Linux v2.6.x kernel multipathing solution.

DM-MPIO is the native multipathing functionality that is included in the Linux v2.6.x kernel. DM-MPIO requires the device-mapper, udev, hotplug, and device-mapper-multipath packages.

The device-mapper-multipath package provides the tools to manage multipath devices using device-mapper. Since the package is not automatically selected by the RHEL 5.x U2 installer, it needs to be selected manually.

Follow the instruction listed in the Native Multipath Failover Based on DM-MPIO for v2.6.x Linux Kernel and EMC Storage Arrays, Red Hat Enterprise Linux 4 - U3, SuSE Linux Enterprise Server 9 - SP3, Configuration Guide, available at http://Powerlink.EMC.com.

RHEL 5.x DM-MPIO installation and configuration 149

Page 150: Linux on IBM System z: RHEL 5.x and SLES 10 · Installing RHEL 5.x on an LPAR..... 99 Completing the installation of RHEL 5.x ..... 113 Adding FCP devices during installation of RHEL

150

Installation of the RHEL 5.x operating system

Linux on IBM System z: RHEL 5 and SLES 10 Installation and Configuration Guide