You are previewing The Virtualization Cookbook for IBM z Systems Volume 4: Ubuntu Server 16.04.
O'Reilly logo
The Virtualization Cookbook for IBM z Systems Volume 4: Ubuntu Server 16.04

Book Description

This IBM® Redbooks® publication is Volume 4 of a series of books entitled The Virtualization Cookbook for IBM z Systems. The other volumes in the series are:

  • The Virtualization Cookbook for IBM z Systems Volume 1: IBM z/VM 6.3, SG24-8147

  • The Virtualization Cookbook for IBM z Systems Volume 2: Red Hat Enterprise Linux 7.1 Servers, SG24-8303

  • The Virtualization Cookbook for IBM z Systems Volume 3: SUSE Linux Enterprise Server 12, SG24-8890

  • It is advised that you start with Volume 1 of this series, because the IBM z/VM® Hypervisor is the foundation for installing Linux on IBM z™ Systems.

    Table of Contents

    1. Front cover
    2. Notices
      1. Trademarks
    3. IBM Redbooks promotions
    4. Preface
      1. Important information before you begin
      2. Architectural decisions
      3. Conventions
      4. Operating system releases used
      5. Authors
      6. With gratitude
      7. Now you can become a published author, too
      8. Comments welcome
      9. Stay connected to IBM Redbooks
    5. Part 1 Ubuntu Server 16.04
      1. At a glance
    6. Chapter 1. Install Ubuntu Server 16.04 on LNXADMIN
      1. 1.1 Prepare the Ubuntu bootstrap files
      2. 1.2 Install Ubuntu onto the Linux administration system
        1. 1.2.1 Stage 1: The initial network configuration
        2. 1.2.2 Stage 2: The Ubuntu 16.04 installation
        3. 1.2.3 Partition disks for the LNXADMIN virtual server
        4. 1.2.4 Finishing the installation
      3. 1.3 Configure the Ubuntu administration system
        1. 1.3.1 Enable swap on the virtual disks
        2. 1.3.2 Set up data DASD disks to a running Linux virtual server
        3. 1.3.3 Build a local Ubuntu mirror with apt-mirror on the LNXADMIN virtual server
        4. 1.3.4 Install and configure an apache2 HTTP server
        5. 1.3.5 Reconfigure the software repositories
        6. 1.3.6 Install and configure vsftpd FTP server
        7. 1.3.7 Import files that are associated with this book
        8. 1.3.8 Download the bootstrap files for Ubuntu 16.04
        9. 1.3.9 Additional configurations
        10. 1.3.10 Reboot the system
        11. 1.3.11 Verify that the system starts correctly
    7. Chapter 2. Automating installation
      1. 2.1 Kickstart
        1. 2.1.1 Using Kickstart with EDEV
      2. 2.2 Configure LNXS0031 for Kickstart using FCP devices
      3. 2.3 How to boot SCSI over FCP (LNXS0031)
      4. 2.4 Preseeding
      5. 2.5 Cloning
        1. 2.5.1 Cloning considerations
        2. 2.5.2 The cloning process
      6. 2.6 Create golden image for cloning
      7. 2.7 Clone the golden image using DirMaint
      8. 2.8 Send a configuration update to the clone system
      9. 2.9 Start the clone system
    8. Chapter 3. Servicing Linux: Updates and patching
      1. 3.1 Package management
        1. 3.1.1 Cross-architecture consistency
        2. 3.1.2 The dpkg manager and Advanced Package Tool
        3. 3.1.3 Determining which packages are installed
        4. 3.1.4 Determining release or version numbers and codenames
      2. 3.2 Canonical Landscape
        1. 3.2.1 Setup
    9. Part 2 Other topics
    10. Chapter 4. Working with disks
      1. 4.1 Add disk space to virtual machines
        1. 4.1.1 Make new minidisks or ECKD DASD available in Linux
        2. 4.1.2 Make a new EDEV available to Linux
        3. 4.1.3 Make a new zFCP LUN available to Linux
      2. 4.2 Add a logical volume
        1. 4.2.1 Create a logical volume and file system
        2. 4.2.2 Update the file system table and mount the file system
      3. 4.3 Extend an existing logical volume
      4. 4.4 Move a physical volume
    11. Chapter 5. Workload containers and service orchestration
      1. 5.1 Run workloads in containers
        1. 5.1.1 Introducing Docker
        2. 5.1.2 Installing Docker
        3. 5.1.3 Updating Docker
        4. 5.1.4 Uninstalling Docker
        5. 5.1.5 Docker Universal Control Plane and Docker Cloud
      2. 5.2 Service orchestration
        1. 5.2.1 Introducing Juju
        2. 5.2.2 Installing Juju 2.0
        3. 5.2.3 Adding and deploying a model
        4. 5.2.4 Invoking the graphical user interface
        5. 5.2.5 Other available resources
    12. Chapter 6. Working with systemd
      1. 6.1 Getting started with systemd
        1. 6.1.1 The systemd unit files
        2. 6.1.2 Relationship between units
      2. 6.2 Using systemd units
        1. 6.2.1 Managing services
        2. 6.2.2 Managing systemd target units
      3. 6.3 Working with the systemd journal
        1. 6.3.1 Getting started with the journal
        2. 6.3.2 Viewing the journal
        3. 6.3.3 Filtering the journal
      4. 6.4 The system boot process
      5. 6.5 Analyze Linux instances that use systemd
        1. 6.5.1 Retrieving performance statistics
        2. 6.5.2 Retrieving information about unit dependencies
    13. Chapter 7. Miscellaneous recipes
      1. 7.1 Rescue a Linux system
        1. 7.1.1 The initrd shell and systemd targets
        2. 7.1.2 Rescue Ubuntu 16.04 using systemd targets
      2. 7.2 Set up Memory Hotplugging
      3. 7.3 Dynamically add or remove virtual CPUs
      4. 7.4 Use the cpuplugd service
        1. 7.4.1 Determine the virtual CPUs being used
        2. 7.4.2 Generating a workload to see cpuplugd work
        3. 7.4.3 Setting memory sizes with cpuplugd
      5. 7.5 Hardware Cryptographic Support for OpenSSH using Ubuntu 16.04
      6. 7.6 Use Crypto Express to seed /dev/random
      7. 7.7 Graphical user interfaces
        1. 7.7.1 The X Window System
        2. 7.7.2 Window managers and graphical desktop environments
        3. 7.7.3 VNC Server
        4. 7.7.4 X Server on a workstation
      8. 7.8 Setting up the IUCV Linux Terminal Server
        1. 7.8.1 IBM z/VM configuration for Linux Terminal Server
        2. 7.8.2 Ubuntu Linux Enterprise 12 configuration for IUCV consoles
        3. 7.8.3 SUSE Linux Enterprise Server 12 configuration for IUCV Linux Terminal Server
      9. 7.9 Issue z/VM CP commands from Linux
      10. 7.10 Access z/VM CMS disks from Linux
        1. 7.10.1 Mount a CMS disk using cmsfs-fuse
      11. 7.11 NFS mounting the LNXADMIN SFS directory from Linux
      12. 7.12 Customizing default system commands using update-alternatives
      13. 7.13 Other resources and “recipes”
    14. Part 3 Appendixes
    15. Appendix A. References, cheat sheets, and blank worksheets
      1. IBM z/VM components and related products
      2. Cheat sheet for the Linux vi editor
      3. Blank planning worksheets
    16. Appendix B. Additional material
      1. Locating the web material
      2. Using the web material
      3. Linux code: The Ubuntu clone script
    17. Appendix C. Prerequisite network connectivity
      1. Connectivity
      2. Mirrors
      3. Additional information
    18. Related publications and information
      1. IBM Redbooks
      2. Other publications
      3. Online resources
      4. Help from IBM
      5. IBM wants your input
    19. Back cover