background image

process, so the installation program cannot write information and fails.

If you experience such an error, first try to download any available errata for anaconda. Errata

can be found at:

http://www.redhat.com/support/errata/

The anaconda website may also be a useful reference and can be found online at:

http://rhlinux.redhat.com/anaconda/

You can also search for bug reports related to this problem. To search Red Hat Inc.'s bug

tracking system, go to:

http://bugzilla.redhat.com/bugzilla/

Finally, if you are still facing problems related to this error, register your product and contact our

support team. To register your product, go to:

http://www.redhat.com/apps/activate/

3. Problems After Installation

3.1. Remote Graphical Desktops and XDMCP

If you have installed the X Window System and would like to log in to your Red Hat Enterprise

Linux system using a graphical login manager, enable the X Display Manager Control Protocol

(XDMCP). This protocol allows users to remotely log in to a desktop environment from any X

Window System compatible client (such as a network-connected workstation or X terminal). To

enable remote login using XDMCP, edit the following line in the

/etc/X11/gdm/gdm-config

file

on the Red Hat Enterprise Linux system with a text editor such as

vi

or

nano

:

[xdmcp]

Enable=false

Edit the line to read

Enable=true

, save the file, and exit the text editor. Switch to runlevel 5 to

start the X server:

/sbin/init 5

From the client machine, start remote X session using

X

. For example:

Problems After Installation

57

Summary of Contents for ENTERPRISE LINUX 3 - FOR IBM S-390 AND IBM ESERVER ZSERIES

Page 1: ...Red Hat Enterprise Linux 4 4 5 Installation Guide for the IBM S 390 and IBM eServer zSeries Architectures ISBN N A Publication date ...

Page 2: ...Red Hat Enterprise Linux 4 ...

Page 3: ...ns of this document is prohibited without the explicit permission of the copyright holder Distribution of the work or derivative of the work in any standard paper book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder Red Hat and the Red Hat Shadow Man logo are registered trademarks of Red Hat Inc in the United States and other countries All o...

Page 4: ...Red Hat Enterprise Linux 4 ...

Page 5: ...alling Red Hat Enterprise Linux 15 1 The Graphical Installation Program User Interface 15 2 The Text Mode Installation Program User Interface 15 2 1 Using the Keyboard to Navigate 17 3 Running the Installation Program 18 3 1 Installation using X11 Forwarding 18 3 2 Installation using VNC 19 4 Installation Methods 19 4 1 Installing from a Hard Drive or DASD 19 4 2 Installing via NFS 20 4 3 Installi...

Page 6: ... Other Partitioning Problems 56 2 4 Are You Seeing Python Errors 56 3 Problems After Installation 57 3 1 Remote Graphical Desktops and XDMCP 57 3 2 Problems When You Try to Log In 58 3 3 Your Printer Does Not Work 58 3 4 Apache based httpd service Sendmail Hangs During Startup 58 E Additional Boot Options 61 F Additional Information for S 390 and zSeries Users 63 1 The sysfs File System 63 2 Using...

Page 7: ...mands file names and paths and prompts When shown as below it indicates computer output Desktop about html logs paulwesterberg png Mail backupfiles mail reports bold Courier font Bold Courier font represents text that you are to type such as service jonas start If you have to run a command as root the root prompt precedes the command gconftool 2 italic Courier font Italic Courier font represents a...

Page 8: ...How to Use This Manual This manual focuses on VM and LPAR installation and is ideal for users both new and old who want a quick and simple installation solution It helps you prepare your system and walk you through the installation of Red Hat Enterprise Linux Red Hat Enterprise Linux includes multiple installation CD ROMs Note that only the first CD ROM CD 1 is bootable The additional installation...

Page 9: ...ace GUI is convenient for sighted users it is often inhibiting to those with visual impairments because of the difficulty speech synthesizers have interpreting graphics Red Hat Enterprise Linux is an ideal operating system for users with visual limitations because the GUI is not required by the kernel Most modern tools including email news Web browsers calendars calculators and much more can run o...

Page 10: ...des more information and instructions for using some of the tools available for users with special needs This file can be found in usr share doc redhat release X where X is the release number of your installed subscription Introduction x ...

Page 11: ...titions to provide suitable disk space for example 2 GB is sufficient for server installations while 5 GB is minimally required to install all packages 2 Acquire a minimum of 256 MB RAM 512 MB is strongly recommended to designate for the Linux virtual machine 3 Determine if you need swap space and if so how much While it is possible and recommended to assign enough memory to z VM and let z VM do t...

Page 12: ...me information about your network configuration Once this is started on the S 390 the networking is configured You can then use telnet or ssh on another computer to log into your Red Hat Enterprise Linux installation image Now you can start an installation script to install Red Hat Enterprise Linux Note The CMS configuration file is a new file for Red Hat Enterprise Linux 5 0 0 Users of prior rele...

Page 13: ... in HTML files located at the root of the disc Copy the files to your installation directory For example cp mnt cdrom RELEASE NOTES html location of disk space The Release Notes are also available online from http www redhat com docs Next make location of disk space available for network installation via NFS FTP or HTTP and verify access from a client system For NFS export the directory by adding ...

Page 14: ...rogram at that directory to perform the installation Verifying that the ISO images are intact before you attempt an installation will help to avoid problems that are often encountered during an NFS installation To verify the ISO images are intact prior to performing an installation use an md5sum program many md5sum programs are available for various operating systems An md5sum program should be av...

Page 15: ...an installation use an md5sum program many md5sum programs are available for various operating systems An md5sum program should be available on the same Linux machine as the ISO images Make the correct DASDs accessible to the new VM or LPAR and then proceed with installation Additionally if a file called RedHat base updates img exists in the directory from which you install it is used for installa...

Page 16: ...repl ascii get redhat parm repl quit You may now create the parameter file for example redhat parm Refer to Appendix B Sample Parameter Files for sample parm files Below is an explanation of the parm file contents There is a limit of 32 total parameters in the parameter file In order to accommodate limitations with parameter files a new configuration file on a CMS DASD should be used to configure ...

Page 17: ...00 CMSDASD 191 CMSCONFFILE redhat conf vnc Example redhat exec file cl rdr purge rdr all spool punch rdr PUNCH KERNEL IMG A NOH PUNCH REDHAT PARM A NOH PUNCH INITRD IMG A NOH ch rdr all keep nohold i 00c Example redhat conf file HOSTNAME foobar zSeries example com DASD 200 203 NETTYPE qeth IPADDR 192 168 17 115 SUBCHANNELS 0 0 0600 0 0 0601 0 0 0602 PORTNAME FOOBAR NETWORK 192 168 17 0 NETMASK 255...

Page 18: ...rogram The following parameters are required to set up networking SUBCHANNELS Provides required device bus IDs for the various network interfaces qeth SUBCHANNELS read_device_bus_id write_device_bus_id data_device_bus_id lcs SUBCHANNELS read_device_bus_id write_device_bus_id ctc SUBCHANNELS read_device_bus_id write_device_bus_id For example a sample qeth SUBCHANNEL statement SUBCHANNELS 0 0 0600 0...

Page 19: ...ux guest NETTYPE type Where type must be one of the following ctc iucv lcs or qeth IPADDR IP Where IP is the IP address of the new Linux guest NETWORK network Where network is the address of your network NETMASK netmask Where netmask is the netmask BROADCAST broadcast Where broadcast is the broadcast address GATEWAY gw Where gw is either the gateway IP for your eth device or the IP address of the ...

Page 20: ...h FCP devices to preconfigure the FCP setup and can be subsequently edited in anaconda during the installation An example value may look similar to FCP_1 0 0 5000 0x01 0x5105074308c212e9 0x0 4010 n is an integer value e g FCP_1 FCP_2 device_number is used to specify the address of the FCP device 0 0 5000 for device 5000 for example SCSI_ID is specified in hex value typically sequential values e g ...

Page 21: ...you configured for installation If you are not in CMS mode enter it now i cms Create an executable script containing the commands necessary to IPL the kernel image and start the installation The following sample script is a typical initial start up script CL RDR PURGE RDR ALL SPOOL PUNCH RDR PUNCH KERNEL IMG A NOH PUNCH REDHAT PARM A NOH PUNCH INITRD IMG A NOH CH RDR ALL KEEP NOHOLD IPL 00C CLEAR ...

Page 22: ...interactive boot menu enter the number of the requested boot configuration 0 is the default configuration Then enter the cio_ignore parameter in the following format 0 cio_ignore all 0 0 1300 0 0 1302 0 0 343d 0 0 3633 In this example all devices except 0 0 1300 0 0 1301 0 0 1302 0 0 343d and 0 0 3633 will be included in the blacklist For a complete description of the interactive boot menu refer t...

Page 23: ...the dialog box that follows select FTP Source and enter the following information Host Computer Hostname or IP address of the FTP server you wish to install from for example ftp redhat com User ID Your user name on the FTP server or anonymous Password Your password use your email address if you are logging in as anonymous Account Leave this field empty File location can be left blank Directory on ...

Page 24: ...lation program loader To continue with the installation refer to Chapter 2 Installing Red Hat Enterprise Linux for further instructions Note If you install over a network with FTP or HTTP you must perform a text mode installation 10 Do You Have Enough Disk Space Nearly every modern day operating system OS uses disk partitions and Red Hat Enterprise Linux is no exception When you install Red Hat En...

Page 25: ... screen the Up and Down arrow keys to scroll through lists and keys expand and collapse lists while Space and Enter selects or removes from selection a highlighted item You can also use the Alt X key command combination as a way of clicking on buttons or making other screen selections where X is replaced with any underlined letter appearing within that screen 2 The Text Mode Installation Program U...

Page 26: ...Figure 2 1 Installation Program Widgets as seen in Boot Loader Configuration Chapter 2 Installing Red Hat Enterprise Linux 16 ...

Page 27: ...he text widget you can then use the Up and Down arrow keys to scroll through all the information available Your current position is shown on the scroll bar by a character which moves up and down the scroll bar as you scroll Scroll Bar Scroll bars appear on the side or bottom of a window to control which part of a list or document is currently in the window s frame The scroll bar makes it easy to m...

Page 28: ... optionally run the graphical installation program available for both VM and LPAR installations via the NFS installation method Note If you have a slow network connection or prefer a text based installation do not set the DISPLAY variable in the parm file The text based installation is similar to the graphical installation however the graphical installation offers more package selection details an...

Page 29: ... details the VNC display specifications Enter the specifications from the SSH terminal into the VNC client viewer and connect to the Linux image to begin the installation Once you have logged into the Linux image the loader will start the installation program When the loader starts several screens appear for selecting the installation method 4 Installation Methods The following sections discuss th...

Page 30: ...erver is exporting a mirror of the Red Hat Enterprise Linux installation tree enter the directory which contains the RedHat directory If you do not know this directory path ask your system administrator For example if the NFS site contains the directory mirrors redhat arch RedHat enter mirrors redhat arch where arch is replaced with the architecture type of your system such as i386 ia64 ppc or s39...

Page 31: ... architecture For example if the FTP site contains the directory mirrors redhat arch RedHat enter mirrors redhat arch where arch is replaced with the architecture type of your system such as i386 ia64 ppc or s390 If everything was specified properly a message box appears indicating that base hdlist is being retrieved Next the Welcome dialog appears Tip You can save disk space by using the ISO imag...

Page 32: ...TP site you are installing from and the name of the directory containing the RedHat installation files for your architecture For example if the HTTP site contains the directory mirrors redhat arch RedHat enter mirrors redhat arch where arch is replaced with the architecture type of your system such as i386 ia64 ppc or s390 If everything was specified properly a message box appears indicating that ...

Page 33: ...enable zSeries systems to use SCSI devices rather than DASD devices Typically an operating system is loaded and the automatic probing and defining of hardware is done by the OS However zSeries systems require that any FCP Fibre Channel protocol device be entered manually in order for the installation program to recognize the hardware The values entered here are unique to each site in which they ar...

Page 34: ...ing is particularly useful if you run multiple operating systems On this screen you can choose to perform automatic partitioning or manual partitioning using Disk Druid Automatic partitioning allows you to perform an installation without having to partition your drive s yourself If you do not feel comfortable with partitioning your system it is recommended that you do not choose to partition manua...

Page 35: ... enough 3 0 GB more more to download package updates Figure 2 7 Disk Partitioning Setup If you chose to manually partition using Disk Druid refer to Section 9 Partitioning Your System Warning If you receive an error after the Disk Partitioning Setup phase of the installation saying something similar to The partition table on device hda was unreadable To create new partitions Disk Partitioning Setu...

Page 36: ...e lost assuming the data was not backed up before the installation began No matter what type of installation you are performing backups of the existing data on your systems should always be made 9 Partitioning Your System If you chose to partition manually you must tell the installation program where to install Red Hat Enterprise Linux This is done by defining mount points for one or more disk par...

Page 37: ...n order Edit Used to modify attributes of the partition currently selected in the Partitions section Selecting Edit opens a dialog box Some or all of the fields can be edited depending on whether the partition information has already been written to disk Make RAID Make RAID can be used if you want to provide redundancy to any or all disk partitions It should only be used if you have experience usi...

Page 38: ...on your machine It must be of type swap Creation of the proper amount of swap space varies depending on a number of factors including the following in descending order of importance The applications running on the machine The amount of physical RAM installed on the machine The version of the OS Swap should equal 2x physical RAM for up to 2 GB of physical RAM and then 1x physical RAM for any amount...

Page 39: ...d drive Unless you have a reason for doing otherwise we recommend that you create the following additional partitions A boot partition 100 MB the partition mounted on boot contains the operating system kernel which allows your system to boot Red Hat Enterprise Linux along with files used during the bootstrap process Due to the limitations of most PC BIOSes creating a small partition to hold these ...

Page 40: ...etwork device this screen does not appear during your installation and you should advance to Section 11 Firewall Configuration Figure 2 9 Network Configuration The installation program automatically detects any network devices you have and displays them in the Network Devices list Once you have selected a network device click Edit From the Edit Interface pop up screen you can choose to configure t...

Page 41: ...nt addresses are used to configure connections for these devices Figure 2 10 Editing a Network Device Note Do not use the numbers as seen in this sample configuration These values will not work for your own network configuration If you are not sure what values to enter contact your network administrator for assistance If you have a hostname fully qualified domain name for the network device you ca...

Page 42: ...ed the installation use the Network Administration Tool Type the system config network command in a shell prompt to launch the Network Administration Tool If you are not root it prompts you for the root password to continue 11 Firewall Configuration Red Hat Enterprise Linux offers firewall protection for enhanced system security A firewall exists between your computer and the network and determine...

Page 43: ...onfiguration later Enable firewall If you choose Enable firewall connections are not accepted by your system other than the default settings that are not explicitly defined by you By default only connections in response to outbound requests such as DNS replies or DHCP requests are allowed If access to services running on this machine is needed you can choose to allow specific services through the ...

Page 44: ...e this option You must install the vsftpd package in order to publicly serve files Mail Server SMTP If you want to allow incoming mail delivery through your firewall so that remote hosts can connect directly to your machine to deliver mail enable this option You do not need to enable this if you collect your mail from your Internet Service Provider s server using POP3 or IMAP or if you use a tool ...

Page 45: ...y active SELinux policy but who first want to see what effects the policy would have on their general system operation Note that users selecting the Warn state may notice some false positive and negative notifications Active Select Active if you want SELinux to act in a fully active state The Active state enforces all policies such as denying access to unauthorized users for certain files and prog...

Page 46: ...oing to use one language on your system selecting only that language saves significant disk space Caution If you select only one language you can only use that specified language after the installation is complete Figure 2 12 Language Support Selection To use more than one language on your system choose specific languages to be installed or select all languages to have all available languages inst...

Page 47: ...for the root password to continue 13 Time Zone Configuration Set your time zone by selecting the city closest to your computer s physical location There are two ways for you to select your time zone Using your mouse click on the interactive map to select a specific city represented by a yellow dot A red X appears indicating your selection You can also scroll through the list at the bottom of the s...

Page 48: ...n a shell prompt to launch the Time and Date Properties Tool If you are not root it prompts you for the root password to continue To run the Time and Date Properties Tool as a text based application use the command timeconfig 14 Set Root Password Setting up a root account and password is one of the most important steps during your installation Your root account is similar to the administrator acco...

Page 49: ...logging in as the root user is best done only to perform system maintenance or administration Figure 2 14 Root Password Use the root account only for system administration Create a non root account for your general use and su to root when you need to fix something quickly These basic rules minimize the chances of a typo or an incorrect command doing damage to your system Tip To become root type su...

Page 50: ...something that is easy for someone else to guess Your name your phone number qwerty password root 123456 and anteater are all examples of bad passwords Good passwords mix numerals with upper and lower case letters and do not contain dictionary words Aard387vark or 420BMttNT for example Remember that the password is case sensitive If you write down your password keep it in a secure place However it...

Page 51: ...s to be installed option on the screen Clicking Next takes you to the Package Group Selection screen You can select package groups which group components together according to function for example X Window System and Editors individual packages or a combination of the two Note Users of zSeries systems who want support for developing or running 31 bit applications are encouraged to select the Compa...

Page 52: ...at the end of the component list installs all packages included with Red Hat Enterprise Linux Once a package group has been selected click on Details to view which packages are installed by default and to add or remove optional packages from that group Chapter 2 Installing Red Hat Enterprise Linux 42 ...

Page 53: ...would rather not continue with the installation process this is your last opportunity to safely cancel the process and reboot your machine Once you press the Next button partitions are written and packages are installed If you wish to abort the installation you should reboot now before any existing information on any hard drive is rewritten To cancel this installation process you must stop the VM ...

Page 54: ...nterprise Linux for S 390 to continue running when not connected to the 3270 console Following IPLing the installed Red Hat Enterprise Linux OS you may log on to the system via telnet or ssh It is important to note that the only place you can log in as root is from the 3270 or from other devices as listed in etc securetty To log in as root from remote systems use ssh The first time you start your ...

Page 55: ...ed Hat Enterprise Linux from the S 390 you can either remove the DASD allocation from the VM or you can start the installation program and re format all of the DASD partitions Instead of selecting OK you will select Cancel to exit the installation program 45 ...

Page 56: ...46 ...

Page 57: ...s the configuration file This is usually the CMS user s A disk This option is applicable only for users who have a CMS formatted disk z VM available For example CMSDASD 191 CMSCONFFILE configuration_file Where configuration_file represents the name of the configuration file This value must be specified in lower case It is specified in a Linux style file name format The CMS file REDHAT CONF is spec...

Page 58: ...ther than S 390 and zSeries operating systems 1 for extended mode 2 for CTC based tty only supported on Linux to Linux connections 3 for compatibility mode with S 390 and zSeries operating systems PEERID userid Where userid represents the ID of the guest machines you want to connect to Note that the ID must be written in capital letters For example an IUCV connection to a z VM TCP IP service machi...

Page 59: ...f the search domains separated by colons For example SEARCHDNS example com example org PORTNAME osa_portname lcs_portnumber This variable supports OSA devices operating in qdio mode or in non qdio mode When using qdio mode qeth_portname is the portname specified on the OSA device when operating in qeth mode PORTNAME is only required for z VM 4 3 or older without APARs VM63308 and PQ73878 When usin...

Page 60: ...ip off ramdisk_size 40000 CMSDASD 191 CMSCONFFILE redhat conf vnc Example of redhat conf file pointed to by CMSCONFFILE in redhat parm DASD 200 HOSTNAME client z900 example com NETTYPE ctc IPADDR 192 168 0 10 SUBCHANNELS 0 0 0150 0 0 0151 NETWORK 192 168 0 0 NETMASK 255 255 255 0 SEARCHDNS example com dns example com z900 example com BROADCAST 192 168 0 255 GATEWAY 192 168 0 1 DNS 192 168 0 254 MT...

Page 61: ...efore you chose to upgrade your system there are a few things you should keep in mind Individual package configuration files may or may not work after performing an upgrade due to changes in various configuration file formats or layouts If you have one of Red Hat s layered products such as the Cluster Suite installed it may need to be manually upgraded after the Red Hat Enterprise Linux upgrade ha...

Page 62: ...add a new swap file If your system does not have a lot of RAM less than 128 MB it is recommended that you add this swap file 2 Upgrading Your System The Upgrade Examine screen appears if you have instructed the installation program to perform an upgrade Note If the contents of your etc redhat release file have been changed from the default your Red Hat Enterprise Linux installation may not be foun...

Page 63: ...ructions 3 Upgrading Packages At this point there is nothing left for you to do until all the packages have been upgraded or installed 4 Upgrade Complete Congratulations Your Red Hat Enterprise Linux 5 0 0 upgrade is now complete The installation program prompts you to prepare your system for reboot For information on registering your Red Hat Enterprise Linux subscription refer to https www redhat...

Page 64: ...54 ...

Page 65: ... Review the online errata to see if newer versions are available If the latest images still fail it may be due to a problem with your hardware You can also try running the installation with only 256 MB of memory This can be done by booting the installation program with the mem 256M boot option To try this option at the installation boot prompt type where xxx should be replaced with the amount of m...

Page 66: ...igns the mount point for you 2 4 Are You Seeing Python Errors During some upgrades or installations of Red Hat Enterprise Linux the installation program also known as anaconda may fail with a Python or traceback error This error may occur after the selection of individual packages or while trying to save the upgrade log in the tmp directory The error may look similar to Traceback innermost last Fi...

Page 67: ...vate 3 Problems After Installation 3 1 Remote Graphical Desktops and XDMCP If you have installed the X Window System and would like to log in to your Red Hat Enterprise Linux system using a graphical login manager enable the X Display Manager Control Protocol XDMCP This protocol allows users to remotely log in to a desktop environment from any X Window System compatible client such as a network co...

Page 68: ...s to the prompt you must type passwd root which allows you to enter a new password for root At this point you can type shutdown r now to reboot the system with the new root password If you cannot remember your user account password you must become root To become root type su and enter your root password when prompted Then type passwd username This allows you to enter a new password for the specifi...

Page 69: ...make sure the following line is in the etc hosts file 127 0 0 1 localhost localdomain localhost Apache based httpd service Sendmail 59 ...

Page 70: ...60 ...

Page 71: ...ommand xhost remotehostname where remotehostname is the name of the host from which you are running the original display Using the command xhost remotehostname limits access to the remote display terminal and does not allow access from anyone or any system not specifically authorized for remote access mediacheck This command gives you the option of testing the integrity of the install source if an...

Page 72: ...This command allows you to install from a VNC server vncpassword This command sets the password used to connect to the VNC server Appendix E Additional Boot Options 62 ...

Page 73: ...nn is the subchannel number in hex between 0 and ffff Subchannel directories in turn contain status files and another subdirectory which represents the actual device The device directory is named 0 0 xxxx where xxxx is the unit address for the device The devices directory also contains status information as well as configuration options for the device 2 The bus directory This contains a ccw subdir...

Page 74: ...tial installation you are prompted to enter SCSI FCP information If this information is entered it creates the etc zfcp conf file which contains your SCSI configuration It also adds the line alias scsi_hostadapter zFCP to etc modprobe conf This loads the required zFCP modules cat etc zfcp conf 0 0 010a 0x01 0x5005076300c18154 0x00 0x5719000000000000 cat etc modprobe conf alias eth0 qeth options da...

Page 75: ...8154 sys bus ccw drivers zfcp 0 0 010a port_add ls 0x5005076300c18154 failed lic_version s_id availability fc_link_speed nameserver status card_version fc_service_class online wwnn cmb_enable fc_topology port_add wwpn cutype hardware_version port_remove detach_state host2 scsi_host_no devtype in_recovery serial_number cd sys bus ccw drivers zfcp 0 0 010a 0x5005076300c18154 echo 0x5719000000000000 ...

Page 76: ..._id 0 0 010a cat sys bus scsi devices 0 0 1 0 wwpn 0x5005076300c18154 cat sys bus scsi devices 0 0 1 0 fcp_lun 0x5719000000000000 cat sys bus scsi devices 0 0 1 0 block dev 8 0 cat sys bus scsi devices 0 0 1 0 block sda1 dev 8 1 cat proc scsi scsi Attached devices Host scsi2 Channel 00 Id 01 Lun 00 Vendor IBM Model 2105F20 Rev 123 Appendix F Additional Information for S 390 and zSeries Users 66 ...

Page 77: ...3 jbd Looking for deps of module jbd Looking for deps of module scsi_mod Looking for deps of module zfcp qdio scsi_mod Looking for deps of module qdio Looking for deps of module scsi_mod Looking for deps of module sd_mod scsi_mod Looking for deps of module scsi_mod Using modules kernel drivers s390 block dasd_mod ko kernel drivers s390 block dasd_eckd_mod ko kernel drivers s390 block dasd_fba_mod ...

Page 78: ...mod Loading module jbd Loading module ext3 Loading module scsi_mod Loading module qdio Loading module zfcp Loading module sd_mod zipl V Using config file etc zipl conf Target device information Device 5e 00 Partition 5e 01 Device name dasda DASD device number 0201 Type disk partition Disk layout ECKD compatible disk layout Geometry heads 15 Geometry sectors 12 Geometry cylinders 3308 Geometry star...

Page 79: ...le to define appropriate DEVICE and ARRAY values DEVICE dev sd abcd 1 ARRAY dev md0 devices dev sda1 dev sdb1 dev sdc1 dev sdd1 In this example the DEVICE line is using traditional file name globbing refer to the glob 7 man page for more information to define the following SCSI devices dev sda1 dev sdb1 dev sdc1 dev sdd1 The ARRAY line defines a RAID device dev md0 that is comprised of the SCSI de...

Page 80: ... Minor RaidDevice State 0 8 1 0 active sync dev sda1 1 8 17 1 active sync dev sdb1 2 8 33 2 active sync dev sdc1 3 8 49 3 active sync dev sdd1 UUID 25c0f2a1 e882dfc0 c0fe135e 6940d932 Events 0 1 3 2 Creating a Multipath Device With mdadm In addition to creating RAID arrays mdadm can also be used to take advantage of hardware supporting more than one I O path to individual SCSI LUNs disk drives The...

Page 81: ...ipath parameter mdadm C dev md0 level multipath raid devices 4 dev sda1 dev sdb1 dev sdc1 dev sdd1 Continue creating array yes mdadm array dev md0 started Due to the length of the mdadm command line it has been broken into two lines In this example the hardware consists of one SCSI LUN presented as four separate SCSI devices each accessing the same storage by a different pathway Once the multipath...

Page 82: ...dm set dev sda1 faulty in dev md0 mdadm dev md0 r dev sda1 mdadm hot removed dev sda1 mdadm dev md0 a dev sda1 mdadm hot added dev sda1 4 Configuring IPL from a SCSI Device Anaconda the installation program supports the direct installation of Red Hat Enterprise Linux to SCSI devices This section includes information on how to IPL from a SCSI device within z VM 4 1 IPL the SCSI Disk To IPL the SCSI...

Page 83: ... version 3 4 1 20040702 Red Hat Linux 3 4 1 2 1 SMP Wed Jul 14 17 52 22 EDT 2004 We are running under VM 64 bit mode Note The example may vary slightly from your Red Hat Enterprise Linux 5 0 0 installed system due to the code available during the documentation process for this manual 5 Adding DASD The following is an example of how to add a DASD volume Note Make sure the device is attached or link...

Page 84: ... 25 17 07 block block dasdb rw r r 1 root root 4096 Aug 25 17 04 cmb_enable r r r 1 root root 4096 Aug 25 17 04 cutype rw r r 1 root root 4096 Aug 25 17 04 detach_state r r r 1 root root 4096 Aug 25 17 04 devtype r r r 1 root root 4096 Aug 25 17 04 discipline rw r r 1 root root 0 Aug 25 17 04 online rw r r 1 root root 4096 Aug 25 17 04 readonly rw r r 1 root root 4096 Aug 25 17 04 use_diag As show...

Page 85: ...up Superblock backups stored on blocks 32768 98304 163840 229376 294912 Writing inode tables done Creating journal 8192 blocks done Writing superblocks and filesystem accounting information done This filesystem will be automatically checked every 39 mounts or 180 days whichever comes first Use tune2fs c or i to override Mount the new file system mount dev dasdb1 opt mount dev dasda1 on type ext3 r...

Page 86: ... such as tmp initrd AR1182 lib dasd_mod ko elf64 s390 cd boot mv initrd 2 6 7 1 451 2 3 img initrd 2 6 7 1 451 2 3 img old mkinitrd v initrd 2 6 7 1 451 2 3 img 2 6 7 1 451 2 3 Looking for deps of module ide disk Looking for deps of module dasd_mod Looking for deps of module dasd_eckd_mod dasd_mod Looking for deps of module dasd_mod Looking for deps of module dasd_fba_mod dasd_mod Looking for deps...

Page 87: ...ext3 Run zipl to save the changes to initrd for the next IPL zipl V Using config file etc zipl conf Target device information Device 5e 00 Partition 5e 01 Device name dasda DASD device number 0201 Type disk partition Disk layout ECKD compatible disk layout Geometry heads 15 Geometry sectors 12 Geometry cylinders 3308 Geometry start 24 File system block size 4096 Physical block size 4096 Device siz...

Page 88: ...etc modules conf no longer exists Network interface alias specifications are now placed in etc modprobe conf Section 6 1 Adding a qeth Device describes in detail how to add a qeth device to an existing instance of Red Hat Enterprise Linux Section 6 2 Quick Reference for Adding Network Devices is a quick reference for installing other zSeries network interfaces 6 1 Adding a qeth Device First determ...

Page 89: ... 0 09a0 group notifier_register You may optionally add a portname First you must check to see if a portname is required cat sys bus ccwgroup drivers qeth 0 0 0600 portname no portname required The response indicates that you do not need to provide a portname To add a port name check that the devices are offline and then run the following command Note The device s must be offline when you add a por...

Page 90: ...the following command echo new_if_name sys bus ccwgroup drivers qeth 0 0 0600 if_name You may optionally set additional parameters and features depending on the way you are setting up your system and the features you require add_hhlen broadcast_mode buffer_count canonical_macaddr card_type checksumming chpid detach_state fake_broadcast fake_ll ipa_takeover portno priority_queueing recover route4 r...

Page 91: ...nfiguration file for another device of the same type already defined the simplest solution is to copy it to the new name cd etc sysconfig network scripts cp ifcfg eth0 ifcfg eth1 If you do not have a similar device defined you must create one Use this example of ifcfg eth0 as a template etc sysconfig network scripts ifcfg eth0 IBM QETH DEVICE eth0 BOOTPROTO static HWADDR 00 06 29 FB 5F F1 IPADDR 9...

Page 92: ...ns dasd_mod dasd 0 0 0100 0 0 4b19 Now you can start the new interface ifup eth1 Check the status of the interface ifconfig eth1 eth1 Link encap Ethernet HWaddr 02 00 00 00 00 01 inet addr 192 168 70 87 Bcast 192 168 70 255 Mask 255 255 255 0 inet6 addr fe80 ff fe00 1 64 Scope Link UP BROADCAST RUNNING NOARP MULTICAST MTU 1492 Metric 1 RX packets 23 errors 0 dropped 0 overruns 0 frame 0 TX packets...

Page 93: ...eth0 169 254 0 0 255 255 0 0 U 0 0 0 eth1 default pdlrouter if5 p 0 0 0 0 UG 0 0 0 eth0 Verify your changes by using the ping command to ping the gateway ping c 1 192 168 70 8 PING 192 168 70 8 192 168 70 8 56 84 bytes of data 64 bytes from 192 168 70 8 icmp_seq 0 ttl 63 time 8 07 ms If the default route information has changed you must also update etc sysconfig network accordingly 6 2 Quick Refer...

Page 94: ...terface names eth n for OSA Express Fast Ethernet and Gigabit Ethernet tr n for Token Ring where n is an integer that uniquely identifies the device n is 0 for the first device of that type 1 for the second and so on Load the device driver modprobe lcs Create the group device echo read_device_bus_id write_device_bus_id sys bus ccwgroup drivers lcs group Due to the length of this command it has bee...

Page 95: ...eth n alias lcs tr n alias lcs Create a configuration script Create a file in etc sysconfig network scripts with a name like one of the following ifcfg eth n ifcfg tr n The file should look similar to the following etc sysconfig network scripts ifcfg eth0 IBM LCS DEVICE eth0 BOOTPROTO static HWADDR 00 06 29 FB 5F F1 IPADDR 9 12 20 136 NETMASK 255 255 255 0 ONBOOT yes NETTYPE lcs SUBCHANNELS 0 0 09...

Page 96: ...et and Gigabit Ethernet tr n for Token Ring The value n is an integer that uniquely identifies the device n is 0 for the first device of that type 1 for the second and so on Load the device driver modprobe qeth Create the group device echo read_device_bus_id write_device_bus_id data_device_bus_id sys bus ccwgroup drivers qeth group Due to the length of this command it has been broken into two line...

Page 97: ... scripts with a name like one of the following ifcfg hsi n ifcfg eth n ifcfg tr n The file should look like this etc sysconfig network scripts ifcfg eth0 IBM QETH DEVICE eth0 BOOTPROTO static HWADDR 00 06 29 FB 5F F1 IPADDR 9 12 20 136 NETMASK 255 255 255 0 ONBOOT yes NETTYPE qeth SUBCHANNELS 0 0 09a0 0 0 09a1 0 0 09a2 TYPE Ethernet Based on the type interface being added the DEVICE parameter shou...

Page 98: ...e operating system instance such as z OS OS 390 z VM or z VSE The CTC driver assigns a base interface name like the following ctc n The value n is an integer that uniquely identifies the device n is 0 for the first device of that type 1 for the second and so on Load the device driver modprobe ctc Create the group device echo read_device_bus_id write_device_bus_id sys bus ccwgroup drivers ctc group...

Page 99: ...rce linux390 docu lx26apr04dd01 pdf Linux for zSeries and S 390 Device Drivers Features and Commands Set the device online cho 1 sys bus ccwgroup drivers lcs read_device_bus_id online Define the alias Based on the type interface being added add a line to etc modprobe conf that is like the following ctc n alias ctc Create a configuration script Create a file in etc sysconfig network scripts with a ...

Page 100: ...connect a Linux guest to another VM guest such as a TCP IP service machine The IUCV driver assigns a base interface name like the following iucv n The value n is an integer that uniquely identifies the device n is 0 for the first device of that type 1 for the second and so on Load the device driver modprobe netiucv Create the IUCV device echo peer_id sys bus iucv drivers netiucv connection The val...

Page 101: ...default for the maximum buffer size is 32768 bytes 32 KB For more information on configuration of the IUCV driver refer to the following http oss software ibm com developerworks opensource linux390 docu lx26apr04dd01 pdf Linux for zSeries and S 390 Device Drivers Features and Commands Define the alias Based on the type interface being added add a line to etc modprobe conf that is like the followin...

Page 102: ...ing it can cause additional overhead when many copies of the kernel are running on a single system for example as z VM R guests In these cases having thousands of copies of the kernel each generating interrupts many times a second can result in excessive system overhead Therefore Red Hat Enterprise Linux now includes the ability to turn off periodic timer interrupts This is done through the proc f...

Page 103: ... If you notice a malfunction related to system accounting verify that the malfunction disappears if periodic timer interrupts are enabled then submit a bug at http bugzilla redhat com bugzilla for malfunctioning bundled tools or inform the tool vendor for malfunctioning third party tools Devices 93 ...

Page 104: ...94 ...

Page 105: ...mation for this manual ix firewall configuration 32 customize incoming services 33 customize trusted services 33 security levels enable firewall 33 no firewall 33 FTP installation 2 21 G graphical installation program running from NFS 18 VNC 19 x11 forwarding 18 H hard drive installation 19 preparing for 4 hardware preparation 1 hostname configuration 31 how to use this manual viii HTTP installati...

Page 106: ...2 NFS 20 network device S 390 adding 78 network devices adding quick reference 83 CTC device driver 88 ICUV device driver 90 LCS device driver 84 QETH device driver 86 network installation preparing for 2 NFS installation 2 20 O online help hiding 23 P packages groups 40 selecting 40 installing 40 selecting 40 parameter files ctc sample 50 minimal configuration 49 optional parameters 48 required p...

Page 107: ...up 58 graphical login 57 logging in 58 printers 58 Sendmail hangs during startup 58 booting 55 signal 11 error 55 during the installation 55 completing partitions 56 No devices found to install Red Hat Enterprise Linux error message 55 partition tables 55 Python errors 56 U uninstalling 45 upgrade 51 adding a swap file 52 user interface graphical installation program 15 user interface text mode in...

Page 108: ...98 ...

Reviews: