Detailed instructions for use are in the User's Guide.
[. . . ] z/VM
Getting Started with Linux on System z
version 6 release 1
SC24-6194-00
z/VM
Getting Started with Linux on System z
version 6 release 1
SC24-6194-00
Note: Before using this information and the product it supports, read the information under "Notices" on page 143.
This edition applies to version 6, release 1, modification 0 of IBM z/VM, (product number 5741-A07) and to all subsequent releases and modifications until otherwise indicated in new editions. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
About this document . Conventions and terminology used in this Where to find more information . Steps for adding a paging, spooling, or user volume Steps for releasing the primary parm disk . [. . . ] Ready; query signal shutdowntime System default shutdown signal timeout: 500 seconds Ready;
2.
Check the number of retrieve buffers. Type this command and press the Enter key:
query retrieve 10 buffers available. Ready; Maximum of 20 buffers may be selected.
Step for checking offline devices
Before you begin: You need to be logged on as MAINT. Perform this step to check offline devices: v Type this command and press the Enter key:
query dasd offline DASD 1440 OFFLINE , DASD 1441 OFFLINE , DASD 1442 OFFLINE , DASD 1443 OFFLINE
Step for checking the virtual switch
Before you begin: You need to be logged on as MAINT. Perform this step to check the virtual switch: v Type this command and press the Enter key:
query vswitch details VSWITCH SYSTEM VSWITCH1 Type: VSWITCH Connected: 0 Maxconn: INFINITE PERSISTENT RESTRICTED NONROUTER Accounting: OFF VLAN Unaware State: Ready IPTimeout: 5 QueueStorage: 8 Portname: UNASSIGNED RDEV: 0BC0 Controller: DTCVSW1 VDEV: 0BC0 VSWITCH Connection: RX Packets: 0 Discarded: 27 Errors: 0 TX Packets: 0 Discarded: 0 Errors: 0 RX Bytes: 0 TX Bytes: 0 Device: 0BC0 Unit: 000 Role: DATA Ready;
The response shows the virtual switch is defined and ready for use ("State: Ready"), but no virtual machine is using it ("Connected: 0").
Chapter 6. Restarting z/VM and checking the system
69
Step for checking character defaults
Before you begin: You need to be logged on as MAINT. Perform this step to check character defaults: v Type this command and press the Enter key:
query terminal LINEND % , LINEDEL OFF, CHARDEL OFF, ESCAPE OFF, TABCHAR " LINESIZE 080, ATTN OFF, APL OFF, TEXT OFF, MODE VM, HILIGHT OFF CONMODE 3215, BREAKIN IMMED , BRKKEY PA1 , SCRNSAVE OFF AUTOCR ON , MORE 050 010, HOLD ON , TIMESTAMP OFF, SYS3270 OFF Ready;
The response should show the LINEND character is "%" and that the LINEDEL, CHARDEL, and ESCAPE characters are "OFF. "
Steps for checking TCP/IP
Before you begin: You need to log on as TCPMAINT. Perform these steps to check TCP/IP:
1.
From the command line, type this command and press the Enter key:
ifconfig -a name inet addr: ip_address mask: mask UP BROADCAST MULTICAST MTU: 1492 vdev: vdev rdev: rdev type: QDIO ETHERNET portname: UNASSIGNED ipv4 router type: NONROUTER ipv6: DISABLED cpu: 0 forwarding: ENABLED RX bytes: 127217 TX bytes: 126518 Ready;
You defined the interface name (name), IP address (ip_address), mask (mask), virtual device address (vdev), and real device address (rdev) for your production TCP/IP through the IPWIZARD (see "Setting up the production TCP/IP" on page 63).
2.
To check the network interface, ping the gateway. In the command, ip_address is the IP address of your gateway.
ping ip_address Ping Level level 610: Pinging host ip_address. Ready;
3.
To check the network interface, ping an address outside your subnetwork. In the command, ip_address is an address outside your subnetwork.
ping ip_address Ping Level level 610: Pinging host ip_address. Ready;
You are done checking the system configuration.
70
z/VM: Getting Started with Linux on System z
Chapter 7. Creating your first Linux virtual machine and installing Linux
This topic covers configuring your first Linux virtual machine and installing your first Linux operating system.
Overview of defining virtual machines for Linux
Previous sections have shown you how to configure z/VM functions and facilities in order to create the system infrastructure for your virtual machines: configuring z/VM, enabling and configuring DirMaint, and configuring TCP/IP. This section and the next, Chapter 8, "Cloning Linux virtual servers, " on page 83, show you how to install your first Linux operating system and then use a replication or cloning process to create additional Linux virtual servers quickly. The cloning process allows you to create a new Linux virtual server without the need to install the Linux operating system from scratch. Before you begin defining Linux servers, read Chapter 2, "Planning for Linux virtual servers, " on page 21. Task roadmap for setting up Linux virtual servers Subtask Define a prototype and create your first virtual machine from the prototype Install the Linux operating system in the virtual machine. Replicate, or clone, additional Linux virtual servers through DirMaint prototype and CLONEDISK functions. ) "Steps for defining a master virtual machine for Linux" Follow the instructions for your Linux distribution. To get started, see "Installing Linux in a virtual machine" on page 77. "Steps for cloning a Linux virtual server" on page 83
Steps for defining a master virtual machine for Linux
These steps tell you how to define a master virtual machine that uses the default 2. 2G on a 3390-3 DASD. In this procedure, you modify two sample files, LINDFLT DIRECT and LINUX PROTODIR. [. . . ] Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only. This information may contain examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. [. . . ]