Linux for IBM eServer zSeries and S/390: Distributions

Book description

This IBM Redbooks publication describes the Linux distributions available for the mainframe. It will help you to install, customize and maintain the following distributions:
-) SuSE Linux Enterprise Server for S/390
-) Turbolinux server for zSeries and S/390
-) Red Hat Linux for S/390
-) Marist File System
-) Caiman Linux
-) Think Blue Linux
We address installation and usage of Linux images on a logical partition (LPAR), under z/VM, and under the Virtual Image Facility (VIF). The following topics are also discussed:
-) Managing DASD and file systems
-) Logical Volume Manager (LVM)
-) High Availability
-) Debugging
-) Lightweight Directory Access Protocol (LDAP)
-) Systems management
-) Security
-) Backup and restore
-) DB2
-) WebSphere Application Server

Table of contents

  1. Preface
    1. The team that wrote this redbook
    2. Special notice
    3. IBM trademarks
    4. Comments welcome
  2. Part 1: Linux overview
    1. Chapter 1: Overview
      1. A brief history
      2. Systems used for this redbook
        1. Processor
        2. DASD
        3. Linux distributions
    2. Chapter 2: Planning for Linux
      1. Planning hardware
        1. Integrated Facility for Linux (IFL)
        2. Planning DASD
        3. Planning for tape devices
      2. Planning networking (1/2)
      3. Planning networking (2/2)
        1. Physical networking
        2. Virtual networking
        3. Linux OSA cards and drivers
        4. IBM 2216
        5. CTC
        6. TCP/IP calculations
        7. Maximum Transmission Unit (MTU) sizes
      4. Planning for Linux distribution and software
        1. Planning file systems
      5. Roadmap
    3. Chapter 3: Preparation
      1. Prepare the VM guest for Linux
        1. The VM user directory
        2. Processing the VM user directory
        3. Editing the PROFILE EXEC and XEDIT PROFILE
        4. Getting the installation files for VM
        5. Booting the installation kernel from the VM reader
      2. Prepare the LPAR for Linux
      3. Swap space size and type
      4. Booting the installation kernel in an LPAR (1/4)
      5. Booting the installation kernel in an LPAR (2/4)
      6. Booting the installation kernel in an LPAR (3/4)
      7. Booting the installation kernel in an LPAR (4/4)
        1. Using the ICKDSF bootstrap
        2. Booting from HMC CD-ROM or FTP server
        3. Booting from tape
  3. Part 2: Strategic Linux distributions
    1. Chapter 4: Overview of SuSE Linux
      1. Getting the SuSE distribution
        1. Via SuSE sales
        2. Via FTP site
      2. Documentation included with the SuSE distribution
      3. Software components of the distribution
      4. How does SuSE Linux differ
    2. Chapter 5: Installing SuSE Linux
      1. General installation considerations
        1. Boot file processing
        2. DASD considerations
        3. Installation options and DASD requirements
      2. Installing SuSE under VM (1/5)
      3. Installing SuSE under VM (2/5)
      4. Installing SuSE under VM (3/5)
      5. Installing SuSE under VM (4/5)
      6. Installing SuSE under VM (5/5)
        1. SuSE under VM checklist
        2. Installing SuSE Linux under VM
        3. Transferring installation system files to your VM guest
        4. Logging in via telnet and completing the install via YaST
      7. SuSE installation in an LPAR
      8. Installing SuSE under VIF
      9. Assessing the SuSE installation experience
    3. Chapter 6: Customizing and using SuSE Linux
      1. Using YaST
      2. Samba installation (1/2)
      3. Samba installation (2/2)
        1. Install from an RPM
        2. Samba configuration
        3. Samba password encryption
        4. Using SWAT
        5. Samba documentation
      4. Apache Web server
        1. Apache configuration
        2. Password-protecting a directory
        3. Enabling CGI scripts
      5. e-mail
      6. Setting up LVM with YaST
      7. Graphical interface
    4. Chapter 7: Overview of Turbolinux
      1. History
      2. Getting the Turbolinux distribution
        1. Downloading the CD-ROM images
        2. Purchasing the distribution
      3. Available documentation
      4. Notable characteristics of Turbolinux
        1. Standardized customization and usage
    5. Chapter 8: Installing Turbolinux
      1. Turbolinux installation worksheet
        1. Planning DASD with Turbolinux
      2. Installation of Turbolinux under VM
        1. VM checklist
        2. Download boot files to VM
        3. Initial IPL of Linux
      3. Installation of Turbolinux in an LPAR
        1. Turbolinux under LPAR checklist
        2. IPL of Turbolinux
      4. Installation of Turbolinux under VIF
        1. The turbo.ins file
        2. dasdfmt
        3. Master Linux
        4. Other VIF-related issues
      5. Building the target system (1/2)
      6. Building the target system (2/2)
        1. Running the Turbolinux installation script
      7. The Version 6.5 “beta”
        1. The Version 6.5 installation
        2. The Turbolinux V6.5 distribution
    6. Chapter 9: Customizing and using Turbolinux
      1. Customizing Turbolinux
        1. Secure shell (SSH)
        2. FTP server
        3. Web server
        4. Samba
        5. NFS server
        6. The domain name server
        7. XDM
      2. Administration
        1. Webmin
    7. Chapter 10: Overview of Red Hat Linux
      1. Obtaining the Red Hat distribution
      2. Documentation available
      3. How Red Hat Linux differs
    8. Chapter 11: Installing Red Hat Linux
      1. Before you install
      2. Preparing for installation
      3. Installation of Red Hat under VM
        1. Red Hat under VM checklist
      4. Installation of Red Hat in an LPAR
        1. Red Hat in an LPAR checklist
        2. Comments on LPAR installation
      5. Installation of Red Hat under VIF
        1. Red Hat under VIF checklist
        2. Comments on VIF installation
      6. Common installation steps (1/2)
      7. Common installation steps (2/2)
      8. Problems we encountered
    9. Chapter 12: Customizing and using Red Hat Linux
      1. Creating multiple IPL volumes
      2. Installing linuxconf
      3. Adding a non-root user
      4. Managing the network
      5. Configuring Apache
      6. Managing the FTP Server
      7. Managing Samba
        1. Enabling SWAT
      8. Mail server
      9. Enabling xdm
      10. Installing KDE
      11. Installing GNOME
      12. Miscellaneous
      13. Installing maintenance on Red Hat
  4. Part 3: Other distributions
    1. Chapter 13: The Marist File System
      1. History and overview of the Marist File System
        1. Getting the Marist File System
        2. Documentation
        3. How the Marist File System differs
      2. Installing the Marist File System
      3. Installing the Marist File System under VM (1/2)
      4. Installing the Marist File System under VM (2/2)
        1. Marist File System under VM checklist
      5. Customization
        1. Installing SSH
        2. Creating multiple IPL volumes
        3. Adding a non-root user
        4. Using Apache
        5. FTP server
        6. xdm
        7. Network
        8. Misc
      6. Problems we encountered
    2. Chapter 14: Caiman Linux for zSeries
      1. Learning more about Caiman
      2. What’s specific about Caiman Linux
      3. System requirements
        1. Installation worksheet - Caiman
        2. Caiman disk requirements
      4. Installation (1/3)
      5. Installation (2/3)
      6. Installation (3/3)
        1. Preparing the first IPL of the install system
        2. Initial IPL and network setup
        3. Installation of the base system
        4. Booting the base system from DASD and adding packages
      7. System configuration and administration (1/3)
      8. System configuration and administration (2/3)
      9. System configuration and administration (3/3)
        1. File system layout
        2. Network setup
        3. Managing DASD
        4. Managing users
        5. Configure mail
        6. Using Apache
        7. Using FTP
        8. Using Samba
        9. Software package management
    3. Chapter 15: Think Blue 64 Linux for zSeries
      1. What’s specific about Think Blue
      2. System requirements
        1. Installation worksheet
        2. Think Blue disk requirements
      3. Installation (1/2)
      4. Installation (2/2)
        1. Preparing the first IPL of the install system
        2. Initial IPL and network setup
        3. Installation with tbsetup
      5. System configuration and administration (1/4)
      6. System configuration and administration (2/4)
      7. System configuration and administration (3/4)
      8. System configuration and administration (4/4)
        1. File system layout
        2. Configure services/daemons
        3. Linuxconf
        4. Network setup
        5. Managing DASD
        6. Managing users
        7. Configuring the mail server
        8. Using Apache
        9. Using FTP
        10. Using Samba
        11. RPM
        12. Tape support
        13. Linux 2.4 kernel specific enhancements
  5. Part 4: Other topics
    1. Chapter 16: VIF
      1. Overview of VIF
      2. Planning for VIF
        1. VIF networking options
        2. VIF partitions and paging space
      3. Installation of VIF with Turbolinux
      4. Installation of VIF with Red Hat
      5. Installation of VIF with SuSE Linux
        1. Prepare an FTP server with the VIF install file and Linux
        2. Format a clean S/390 DASD
        3. Load VIF tape onto DASD
        4. IPL the DASD and answer VIF questions
        5. Begin master Linux installation from HMC
        6. Telnet to master Linux and finish installation
        7. Reset master Linux boot partition and reboot
      6. Using VIF (1/3)
      7. Using VIF (2/3)
      8. Using VIF (3/3)
        1. Writing a simple v script
        2. Applying service to VIF
        3. Changing the Linux distribution
        4. Allocating image and paging space
        5. Installing a template Linux image
        6. Customizing the template Linux image
        7. Cloning the template Linux image
        8. Scripts to clone Linux images
        9. Shutting down VIF
    2. Chapter 17: Logical Volume Manager
      1. Problem support for LVM
      2. LVM basics
      3. Sample LVM session
        1. Using the pvcreate and vgscan commands
        2. Using the vgcreate command
        3. Using the lvcreate command
        4. Using the lvremove command
        5. Using the lvextend command
        6. resize2fs
      4. Creating a 20 GB logical volume
      5. Striping
      6. Using pvmove to migrate PEs to other PVs
    3. Chapter 18: High Availability using clusters
      1. What is a Linux cluster
      2. HA workload balancing Linux cluster for S/390
      3. Linux virtual server architectures
        1. Virtual server via network address translation
        2. Virtual server via IP tunneling
        3. Virtual server via direct routing
      4. Scheduling algorithms
      5. High availability testing
        1. The Linux virtual server patch and test
        2. Testing LVS under z/VM using tunneling
        3. The mon tool and test
        4. The IP takeover tool and test
      6. Other tests needed and requirements
      7. Using journaled file systems
        1. Using IBM JFS
    4. Chapter 19: Debugging and problem diagnosis
      1. Linux diagnostic tools (1/4)
      2. Linux diagnostic tools (2/4)
      3. Linux diagnostic tools (3/4)
      4. Linux diagnostic tools (4/4)
        1. objdump
        2. strace
        3. ulimit
        4. gdb
        5. uptime, top commands
        6. System.map
        7. ksymoops
        8. Log files
        9. dmesg
        10. Standalone dump
      5. VM diagnostic tools
      6. HMC diagnostic facilities
      7. Debugging for developers
        1. strace
        2. gdb
      8. Support
        1. Support Line
        2. Getting support
        3. Problem description
        4. Diagnostic data
        5. Data collection
        6. Searching
    5. Chapter 20: LDAP
      1. What is LDAP
      2. How does LDAP work
      3. Using OpenLDAP
        1. Centralized user account management
        2. Setting up the OpenLDAP server
        3. Migrating data to the LDAP database
        4. Setting up the PAM-LDAP module
        5. Possible deployment scenarios
      4. Other considerations
        1. Security
        2. Referrals
        3. Replication
    6. Chapter 21: System management tools
      1. Common Linux tools (1/2)
      2. Common Linux tools (2/2)
        1. The /proc file system
        2. The ps command
        3. The top command
        4. The vmstat command
        5. The df command
        6. The du command
        7. The netstat command
        8. Quotas
      3. Administration tools (1/2)
      4. Administration tools (2/2)
        1. YaST
        2. Linuxconf
        3. Webmin
        4. AdminUX
      5. Remote network management tools (1/6)
      6. Remote network management tools (2/6)
      7. Remote network management tools (3/6)
      8. Remote network management tools (4/6)
      9. Remote network management tools (5/6)
      10. Remote network management tools (6/6)
        1. snmp tools
        2. Scotty/Tkined
        3. Big Brother
        4. Remstats
        5. Other remote network management tools
    7. Chapter 22: Overview of security on Linux
      1. Security basics (1/6)
      2. Security basics (2/6)
      3. Security basics (3/6)
      4. Security basics (4/6)
      5. Security basics (5/6)
      6. Security basics (6/6)
        1. Disable unneeded services
        2. Use Secure Shell for remote access
        3. Use shadow password utilities
        4. Use the Pluggable Authentication Module (PAM)
        5. Monitor security news and alerts
        6. Use hardening tools
        7. Integrate VM and z/VM security
    8. Chapter 23: Backup and restore
      1. Linux image backup and restore under VM
        1. Backing up a Linux guest using DDR
      2. Tape support under Linux for zSeries and S/390 (1/2)
      3. Tape support under Linux for zSeries and S/390 (2/2)
        1. Download kernel source, kernel patch, and lcs module
        2. Extract kernel source and patch
        3. Apply the patch
        4. Recompile kernel
        5. Copy the new kernel files
        6. Replace the System.map
        7. Extract the new LCS driver
        8. Enable the new LCS driver
        9. Update boot record and reboot to new kernel
        10. Recovering from a bad compile
        11. Create tape devices
        12. Load the tape driver
        13. Test the tape driver
      4. Disaster backup and restore (1/2)
      5. Disaster backup and restore (2/2)
        1. Complete file system-based backup and restore
        2. Complete file system backup and restore via Linux utilities
        3. Complete file system backup and restore via TSM Client
      6. Incremental backup and restore (1/2)
      7. Incremental backup and restore (2/2)
        1. Incremental file system-based backup and restore
        2. Incremental file system backup and restore via Linux utilities
        3. Incremental file system backup and restore via TSM Client
    9. Chapter 24: DB2
      1. DB2 UDB overview
      2. Downloading DB2 UDB for Linux on S/390
      3. Installing DB2 UDB on Linux
      4. Verifying the UDB DB2 installation
    10. Chapter 25: WebSphere Application Server
      1. Downloading the evaluation version of WebSphere
      2. Installing WebSphere
      3. Upgrading WebSphere to Fixpack Level 3.5.4
      4. Starting the Web server
      5. Starting the WebSphere Application Server
      6. Test the WebSphere Application Server
      7. Setting up the WebSphere Samples Gallery (1/3)
      8. Setting up the WebSphere Samples Gallery (2/3)
      9. Setting up the WebSphere Samples Gallery (3/3)
        1. Configuring the database
        2. Configuring Enterprise Java Beans
    11. Chapter 26: Conclusion
      1. Observations
    12. Appendix A: Commands and other references
      1. Command syntax
      2. VIF commands
        1. Query commands
        2. HYPervisor commands
        3. IMAGE commands
        4. PARTition commands:
      3. Run levels
    13. Appendix B: Parameter file values
      1. Condev - 3215 line mode terminal
        1. Syntax
        2. Example
      2. ctc - CTC/ESCON
        1. Syntax
        2. Examples
      3. dasd or dasd_mod - DASD
        1. Syntax
        2. Examples
      4. lcs - LAN channel station (OSA cards)
        1. Syntax
        2. Examples
      5. mdisk - VM/CMS minidisks
        1. Syntax
        2. Example
      6. netiucv - IUCV communications
        1. Syntax
        2. Example
      7. root
        1. Syntax
        2. Examples
      8. xpram
        1. Syntax
        2. Examples
    14. Appendix C: Customizing Linux checklist
    15. Appendix D: 64-bit Linux
      1. Building your first kernel
      2. Building a file system from scratch
      3. Relevant linux-390 appends
    16. Appendix E: ICKDSF bootstrap job (1/2)
    17. Appendix E: ICKDSF bootstrap job (2/2)
    18. Related publications
      1. IBM Redbooks
        1. Other resources
      2. Referenced Web sites
      3. How to get IBM Redbooks
        1. IBM Redbooks collections
    19. Special notices
    20. Index (1/3)
    21. Index (2/3)
    22. Index (3/3)
    23. Back cover

Product information

  • Title: Linux for IBM eServer zSeries and S/390: Distributions
  • Author(s): Michael MacIsaac, Ronald Annuss, Wolfgang Engel, Chris Gombola, Timothy Nunes, Mark Post, Don Stubbs, Egon Terwedow, Craig Vernon
  • Release date: September 2001
  • Publisher(s): IBM Redbooks
  • ISBN: 9780738423517