Professional Documents
Culture Documents
cover
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business
Machines Corp., registered in many jurisdictions worldwide.
The following are trademarks of International Business Machines Corporation, registered in many
jurisdictions worldwide:
DS8000® Express® FICON®
FileNet® HiperSockets™ IBM Business Partner®
Real-time Compression™ Redbooks® Redpaper™
Resource Link® S/390® Storwize®
System Storage® System z® XIV®
z/VM® z10™ z9®
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other
countries, or both.
Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of
Oracle and/or its affiliates.
VMware and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered
trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other
jurisdictions.
SoftLayer® is a trademark or registered trademark of SoftLayer, Inc., an IBM Company.
Other product and service names might be trademarks of IBM or other companies.
TOC Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
TOC Fix pack installation for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
KVM for IBM z Systems fix pack overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Download the KVM for IBM z Systems fix pack using the scp command . . . . . . . . . . . . . . 3-16
Mounting the fix pack for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Contents of the fix pack ISO file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
KVM for IBM z Systems fix pack readme file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Documented usage of the update script for KVM for IBM z Systems in the readme file . . 3-20
Creating the Yum repository for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
Finding the APAR for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Install the APAR for KVM for IBM z Systems (1 of 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Install the APAR for KVM for IBM z Systems (2 of 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
Install the APAR for KVM for IBM z Systems (3 of 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
Install the APAR for KVM for IBM z Systems (4 of 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Install the APAR for KVM for IBM z Systems (5 of 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
Restart your KVM for IBM z Systems server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Verify APAR Installation KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
3.3. Firewall set up for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Firewall set up for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
Firewall commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
Firewall considerations for GRE tunneling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
Firewall rules for GRE tunneling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Firewall considerations for VXLAN tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Firewall rules for VXLAN tunnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Firewall considerations for live migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Live migration firewall rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39
3.4. Setting administrative privileges for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . 3-41
Setting administrative privileges for KVM for IBM z Systems . . . . . . . . . . . . . . . . . . . . . . . 3-42
KVM server administrators tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
Adding KVM server administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
Adding KVM administrators to the wheel group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45
Authorizing administrators to sudo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46
Editing /etc/pam.d/su . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
Testing the sudo command authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
Creating group directories (1 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
Creating group directories (2 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
Creating group directories (3 of 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51
Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52
Unit summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-53
Bibliography. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .X-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .X-3
TMK
Trademarks
The reader should recognize that the following terms, which appear in the content of this training
document, are official trademarks of IBM or other companies:
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business
Machines Corp., registered in many jurisdictions worldwide.
The following are trademarks of International Business Machines Corporation, registered in many
jurisdictions worldwide:
DS8000® Express® FICON®
FileNet® HiperSockets™ IBM Business Partner®
Real-time Compression™ Redbooks® Redpaper™
Resource Link® S/390® Storwize®
System Storage® System z® XIV®
z/VM® z10™ z9®
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other
countries, or both.
Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of
Oracle and/or its affiliates.
VMware and the VMware "boxes" logo and design, Virtual SMP and VMotion are registered
trademarks or trademarks (the "Marks") of VMware, Inc. in the United States and/or other
jurisdictions.
SoftLayer® is a trademark or registered trademark of SoftLayer, Inc., an IBM Company.
Other product and service names might be trademarks of IBM or other companies.
pref
Course description
Installing, Configuring, and Managing KVM for IBM z Systems
Duration: 3 days
Purpose
This course is designed to provide students that are responsible for the
administration of the KVM for IBM z Systems product with the knowledge to
install, manage, and configure the product. You will leave the course with the
knowledge to implement KVM for IBM z Systems, apply a service pack, add
new disk storage to the KVM host, deploy Linux guests, and migrate
deployed guests to other KVM hosts.
Audience
This course is intended for IT professionals who will be responsible for the
installation and configuration of the KVM for IBM z Systems product.
Prerequisites
Basic computer skills and knowledge. The students will also need to have
knowledge of Linux commands and the vi editor that is available on Linux.
Objectives
After completing this course, you should be able to:
• Describe the major functions of
- Installing the KVM for IBM z Systems Product
- Applying service to KBM for IBM z Systems
- Configuring the KVM for IBM z Systems Product
- Configuring new disk storage for KVM for IBM z Systems
- Configuring new network devices for KVM for IBM z Systems
- Creating Linux guest with KVM for IBM z Systems
- Managing the Linux on System z environment with KVM for IBM z
Systems
pref
Agenda
Day 1
Welcome
Unit 1 - KVM for IBM z Systems overview
Unit 2 - KVM for IBM z Systems installation
Exercise 1 - Exercise overview
Exercise 2 - Installing KVM for IBM z Systems
Unit 3 - KVM for IBM z Systems post-installation task
Day 2
Exercise 3 - KVM for IBM z Systems post-installation task
Unit 4 - KVM for IBM z Systems storage
Exercise 4 - KVM for IBM z Systems storage
Unit 5 - Network management with KVM for IBM z Systems
Exercise 5 - Network management with KVM for IBM z Systems
Day 3
Unit 6 - Deploying guests with KVM for IBM z Systems
Exercise 6 - Deploying guests with KVM for IBM z Systems
Unit 7- KVM for IBM z Systems additional topics
Exercise 7- Additional tasks KVM for IBM z Systems
Uempty
Unit 1. KVM for IBM z Systems overview
References
KVM for IBM z Systems announcement letter
© Copyright IBM Corp. 2016 Unit 1. KVM for IBM z Systems overview 1-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 2. KVM for IBM z Systems installation
References
SC27-8236 KVM for IBM z Systems Planning and Installation
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 2. KVM for IBM z Systems installation 2-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 3. KVM for IBM z Systems post-installation
task
References
SC27-8237-00 KVM for IBM z Systems Administration Guide
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 3. KVM for IBM z Systems post-installation task 3-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 4. KVM for IBM z Systems storage
References
SC27-8237-00 KVM for IBM z Systems Administration Guide
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 4. KVM for IBM z Systems storage 4-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 5. Network management with KVM for IBM z
Systems
References
SC27-8237-00 KVM for IBM z Systems Administration Guide
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 5. Network management with KVM for IBM z Systems 5-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 6. Deploying guests with KVM for IBM z
Systems
References
SC27-8237-00 KVM for IBM z Systems Administration Guide
SG24-8332-00 Getting Started with KVM for IBM z Systems (Redbooks)
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 6. Deploying guests with KVM for IBM z Systems 6-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V10.1
Course Quick View with Full TOC
Uempty
Unit 7. KVM for IBM z Systems additional topics
References
SC27-8237-00 KVM for IBM z Systems Administration Guide
SG24-8332-00 Getting Started with KVM for IBM z Systems (Redbooks)
http://www-03.ibm.com/systems/z/solutions/virtualization/kvm/
KVM for IBM z Systems
© Copyright IBM Corp. 2016 Unit 7. KVM for IBM z Systems additional topics 7-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.