0%

This IBM® Redbooks® publication is Volume 2 of a five-volume series of books entitled The Virtualization Cookbook for IBM Z®.

This volume includes the following chapters:


  • Chapter 1, "Installing Red Hat Enterprise Linux on LNXADMIN" on page 3, describes how to install and configure Red Hat Enterprise Linux onto the Linux Administration server, which performs the cloning and other tasks.
  • Chapter 2, "Automated Red Hat Enterprise Linux installations by using Kickstart" on page 37, describes how to use Red Hat's kickstart tool to create Linux systems. This tool is fundamentally different from cloning in that an automated installation is implemented. You can try kickstart and cloning. Understand that these applications attempt to accomplish the same goal of quickly getting Linux systems up and running, and that you do not need to use both.
  • Chapter 3, "Working with subscription-manager, yum, and DaNdiFied" on page 47, describes how the Red Hat Network works. It provides centralized management and provisioning for multiple Red Hat Enterprise Linux systems.

Kickstart is an easy and fast way to provision your Linux guests in any supported Linux platform. It re-creates the operating system from the beginning by using the kickstart profile configuration file that installs the new operating system unattended. It also sets up the new guest according to the definition that was set up in the kickstart file.

Usually, Linux is administered by the same team that manages Linux on all platforms. By using kickstart, you can create a basic profile that can be used in all supported platforms and customize Linux profiles, as needed.

Cloning requires a better understanding of the z/VM environment and z/VM skills. It is a fast process if you enable the IBM FlashCopy® feature in advance. It clones the disks from a golden image to new disks that are used by the new Linux guest. The process can be automated by using the cloning scripts that are supplied with this book.

It is recommended that you start with The Virtualization Cookbook for IBM Z Volume 1: IBM z/VM 7.2, SG24-8147 of this series because the IBM® z/VM hypervisor is the foundation (or base "layer") for installing Linux on IBM Z.

Table of Contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. Concept of the series
    2. Volumes in this series
    3. Conventions
    4. Operating system releases that are used in this book
    5. Authors
    6. Special thanks
    7. Now you can become a published author, too!
    8. Comments welcome
    9. Stay connected to IBM Redbooks
  4. Summary of changes
    1. Summary of changes in this book
  5. Part 1 Red Hat Enterprise Linux 8.2 servers
  6. Chapter 1. Installing Red Hat Enterprise Linux on LNXADMIN
    1. 1.1 Installing the Linux administration system
    2. 1.1.1 Preparing Red Hat Enterprise Linux 8.2 bootstrap files for LNXADMIN
    3. 1.1.2 Installing Red Hat Enterprise Linux 8.2
    4. 1.1.3 Stage 2 of the Red Hat Enterprise Linux 8.2 installation
    5. 1.1.4 Booting your new Linux system from disk
    6. 1.1.5 Setting up the data DASD disk after the installation process
    7. 1.2 Configuring the Linux administration system
    8. 1.2.1 Enabling swap on virtual disks
    9. 1.2.2 Copying the Red Hat Enterprise Linux 8.2 installation tree to LNXADMIN
    10. 1.2.3 Configuring the yum DVD repository
    11. 1.2.4 Configuring vsftpd
    12. 1.2.5 Configuring IUCV Linux Terminal Server
    13. 1.2.6 Configuring Kickstart
    14. 1.2.7 Configuring the Virtual Network Computing server
    15. 1.2.8 Copying the files that are associated with this book
    16. 1.2.9 Rebooting the system
    17. 1.3 Red Hat web console
    18. 1.3.1 Prerequisites before accessing the web console
    19. 1.3.2 Logging into the web console
    20. 1.3.3 Add-ons for the web console
    21. 1.3.4 System administration by using the web console
    22. 1.3.5 Reviewing logs by using the web console
    23. 1.4 Application Streams in Red Hat Enterprise Linux 8.2
    24. 1.4.1 BaseOS
    25. 1.4.2 AppStream
    26. 1.4.3 Package management by using YUM in Red Hat Enterprise Linux 8.2
  7. Chapter 2. Automated Red Hat Enterprise Linux installations by using Kickstart
    1. 2.1 Introduction
    2. 2.2 Configuring LINUX1 for Kickstart by using emulated DASD devices
    3. 2.3 Configuring LINUX2 for Kickstart by using Fibre Channel Protocol devices
    4. 2.3.1 How to IPL SCSI over FCP (LINUX2)
  8. Chapter 3. Working with subscription-manager, yum, and DaNdiFied
    1. 3.1 Subscribing to a Red Hat Enterprise system by using subscription-manager
    2. 3.2 Using the yum package manager
    3. 3.3 Introduction to DaNdiFied yum
  9. Chapter 4. Networking
    1. 4.1 Basic concepts
    2. 4.2 Connectivity options
    3. 4.3 Network considerations
    4. 4.4 Working with an attached OSA card
    5. 4.5 Working with a dual network interface card
    6. 4.6 Working with virtual switches
    7. 4.7 Working with SMC interfaces
    8. 4.8 Working with HiperSockets
    9. 4.8.1 Setting up a HiperSockets network
  10. Part 2 Other topics
  11. Chapter 5. Working with disks
    1. 5.1 Adding disk space to virtual machines
    2. 5.1.1 Making new minidisks or CKD DASD available
    3. 5.1.2 Making a new zFCP LUN available
    4. 5.2 Adding a logical volume
    5. 5.2.1 Creating a logical volume and file system
    6. 5.2.2 Updating the file system table
    7. 5.3 Extending a logical volume
    8. 5.4 Moving a physical volume
  12. Chapter 6. Monitoring z/VM and Linux
    1. 6.1 Using basic z/VM commands
    2. 6.1.1 INDICATE command
    3. 6.1.2 Other basic commands
    4. 6.2 IBM z/VM Performance Toolkit
    5. 6.2.1 Configuring Performance Toolkit for VM
    6. 6.2.2 Configuring web browser support
    7. 6.2.3 Configuring PERFSVM
    8. 6.2.4 Starting IBM Performance Toolkit for VM
    9. 6.2.5 Using IBM Performance Toolkit for VM
    10. 6.3 Collecting and using raw CP monitor data
    11. 6.3.1 Collecting CP monitor data
    12. 6.3.2 Using CP monitor data
    13. 6.4 Monitoring Linux performance and troubleshooting
    14. 6.4.1 Monitoring Linux performance from z/VM
    15. 6.4.2 Monitoring Linux performance from inside Linux
    16. 6.5 Red Hat Insights
    17. 6.5.1 Installing and registering the client
    18. 6.5.2 Insights dashboard
  13. Chapter 7. Configuring Linux for cloning
    1. 7.1 Creating a golden image for cloning
    2. 7.2 Cloning the golden image by using DirMaint
    3. 7.3 Sending the configuration update to the cloned system
    4. 7.4 IPLing the cloned system
  14. Chapter 8. Working with systemd
    1. 8.1 Getting started with systemd
    2. 8.2 Using systemd units
    3. 8.2.1 Managing services
    4. 8.2.2 Managing systemd target units
    5. 8.3 Working with the systemd journal
    6. 8.3.1 Getting started with the journal
    7. 8.3.2 Viewing the journal
    8. 8.3.3 Filtering the journal
    9. 8.4 System boot process
    10. 8.4.1 Boot loader
    11. 8.4.2 Initial RAM disk image
    12. 8.4.3 Systemd
    13. 8.5 Analyzing Linux instances that use systemd
    14. 8.5.1 Retrieving performance statistics
    15. 8.5.2 Retrieving information about unit dependencies
  15. Chapter 9. Working with containers
    1. 9.1 Container overview
    2. 9.2 Podman
    3. 9.3 Buildah
    4. 9.4 Skopeo
  16. Chapter 10. Security features
    1. 10.1 Red Hat Enterprise Linux 8.2: Security hardening
    2. 10.2 SELinux security policies
    3. 10.2.1 SELinux
    4. 10.3 Red Hat Enterprise Linux 8.2 System Roles
    5. 10.3.1 Creating Red Hat Enterprise Linux 8 system roles
    6. 10.3.2 Red Hat Enterprise Linux 8.2: Insights
    7. 10.4 Hardware cryptographic support
    8. 10.4.1 Pervasive encryption with IBM Z
    9. 10.4.2 Hardware Cryptography in RHEL on IBM Z
    10. 10.4.3 Pervasive Encryption: Data at-rest
    11. 10.4.4 Pervasive Encryption: Data in-transit
  17. Chapter 11. Helpful information
    1. 11.1 Rescuing a Linux system
    2. 11.1.1 Initrd shell and systemd targets
    3. 11.1.2 Entering a rescue environment mode with Red Hat Enterprise Linux
    4. 11.2 Setting up Memory Hotplugging
    5. 11.3 Using the cpuplugd service
    6. 11.3.1 Determining the virtual CPUs that are used
    7. 11.3.2 Generating a workload to demonstrate cpuplugd
    8. 11.3.3 Setting memory sizes by using cpuplugd
    9. 11.4 X Window System
    10. 11.4.1 Wayland
    11. 11.4.2 VNC server
    12. 11.4.3 Using embedded SSH to forward X with Red Hat Enterprise Linux
    13. 11.5 Setting up the IUCV Linux Terminal Server
    14. 11.5.1 Red Hat Enterprise Linux configuration for IUCV Linux Terminal Server
    15. 11.6 Issuing z/VM CP commands from Linux
    16. 11.7 Accessing z/VM CMS disks from Linux
    17. 11.7.1 Using the CMS file system tools
    18. 11.7.2 Mounting a CMS disk by using cmsfs-fuse
    19. 11.8 Network File System mounting the LNXADMIN SFS directory from Linux
  18. Part 3 Appendixes
  19. Appendix A. Reference sheets, cheat sheets, and blank worksheets
    1. Important z/VM files
    2. Cheat sheets
    3. Blank planning worksheet
    4. 11.8.1 Host names and IP addresses worksheet
  20. Appendix B. Additional material
    1. Locating the web material
    2. Using the web material
    3. z/VM REXX EXECs and XEDIT macros
    4. Sample files
  21. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. Help from IBM
  22. Back cover
3.145.191.22