ebook img

Red Hat Virtualization 4.1 (RH318) PDF

392 Pages·2018·16.688 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Red Hat Virtualization 4.1 (RH318)

Join the explorers, builders, and individuals who boldly offer new solutions to old problems. For open source, innovation is only possible because of the people behind it. STUDENT WORKBOOK (ROLE) Red Hat Virtualization 4.1 RH318 RED HAT VIRTUALIZATION Edition 1 RH318-RHV-4.1-en-1-20180926 Copyright ©2018 Red Hat, Inc. RED HAT VIRTUALIZATION RH318-RHV-4.1-en-1-20180926 Copyright ©2018 Red Hat, Inc. Red Hat Virtualization 4.1 RH318 Red Hat Virtualization Edition 1 20180926 Publication date 20180926 Authors: Chen Chang, Artur Glogowski, Adolfo Vazquez Editor: Steven Bonneville Copyright © 2017 Red Hat, Inc. The contents of this course and all its modules and related materials, including handouts to audience members, are Copyright © 2017 Red Hat, Inc. No part of this publication may be stored in a retrieval system, transmitted or reproduced in any way, including, but not limited to, photocopy, photograph, magnetic, electronic or other record, without the prior written permission of Red Hat, Inc. This instructional program, including all material provided herein, is supplied without any guarantees from Red Hat, Inc. Red Hat, Inc. assumes no liability for damages or legal action arising from the use or misuse of contents or details contained herein. If you believe Red Hat training materials are being used, copied, or otherwise improperly distributed please e-mail [email protected] or phone toll-free (USA) +1 (866) 626-2994 or +1 (919) 754-3700. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, Hibernate, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Java® is a registered trademark of Oracle and/or its affiliates. XFS® is a registered trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. The OpenStack® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/ service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Contributors: Jon Benedict Document Conventions                                                                                                    ix Introduction                                                                                                                     xi Red Hat Virtualization .............................................................................................. xi Orientation to the Classroom Environment ................................................................. xii Internationalization ................................................................................................. xiv 1. Red Hat Virtualization (RHV) Overview                                                                            1 Introducing Red Hat Virtualization .............................................................................. 2 Quiz: Describing the Concepts of Red Hat Virtualization ................................................ 6 Summary ............................................................................................................... 10 2. Installing and Configuring Red Hat Virtualization                                                          11 Installing Red Hat Virtualization Manager ................................................................... 12 Guided Exercise: Installing Red Hat Virtualization Manager .......................................... 24 Installing a Red Hat Virtualization Host ...................................................................... 31 Guided Exercise: Installing a Red Hat Virtualization Host ............................................. 39 Configuring Storage for Virtual Machines and Installation Media ................................... 42 Guided Exercise: Configuring Storage for Virtual Machines and Installation Media ........... 50 Creating a Linux Virtual Machine .............................................................................. 54 Guided Exercise: Creating a Linux Virtual Machine ....................................................... 61 Quiz: Installing and Configuring Red Hat Virtualization ................................................ 64 Summary ............................................................................................................... 68 3. Creating and Managing Data Centers and Clusters                                                        69 Creating and Managing Data Centers ........................................................................ 70 Guided Exercise: Creating and Managing Data Centers ................................................ 76 Creating and Managing Clusters ............................................................................... 77 Guided Exercise: Creating and Managing Clusters ....................................................... 85 Lab: Creating and Managing Data Centers and Clusters ............................................... 87 Summary ............................................................................................................... 90 4. Managing User Accounts and Roles                                                                              91 Integrating Users from an External Directory Service .................................................. 92 Guided Exercise: Integrating Users from an External Directory Service ........................... 96 Controlling User Access with Roles .......................................................................... 101 Guided Exercise: Controlling User Access with Roles ................................................... 110 Navigating the User Portal and the Administration Portal ............................................ 113 Guided Exercise: Navigating the User Portal and the Administration Portal ..................... 117 Lab: Managing User Accounts and Roles ................................................................... 121 Summary .............................................................................................................. 125 5. Adding Physical Hosts                                                                                                127 Automating the Installation of Red Hat Virtualization Host .......................................... 128 Guided Exercise: Automating the Installation of Red Hat Virtualization Host .................. 135 Removing a Host from a Data Center ....................................................................... 139 Guided Exercise: Removing a Host from a Data Center ................................................ 141 Quiz: Adding Physical Hosts ................................................................................... 143 Summary .............................................................................................................. 145 6. Managing RHV Networks                                                                                            147 Separating Traffic with Logical Networks .................................................................. 148 Guided Exercise: Separating Traffic with Logical Networks .......................................... 153 Configuring Hosts to Use Logical Networks .............................................................. 155 Guided Exercise: Configuring Hosts to Use Logical Networks ....................................... 159 Lab: Managing RHV Networks .................................................................................. 161 Summary .............................................................................................................. 165 7. Managing RHV Storage                                                                                               167 Creating and Managing Storage Domains ................................................................. 168 RH318-RHV-4.1-en-1-20180926 v Guided Exercise: Creating and Managing Storage Domains .......................................... 174 Lab: Managing RHV Storage .................................................................................... 177 Summary .............................................................................................................. 180 8. Deploying and Managing Virtual Machines                                                                   181 Installing Virtual Machines ...................................................................................... 182 Guided Exercise: Installing Virtual Machines .............................................................. 189 Controlling Virtual Machines ................................................................................... 193 Guided Exercise: Controlling Virtual Machines ........................................................... 195 Editing Virtual Machine Hardware ............................................................................ 196 Guided Exercise: Editing Virtual Machine Hardware .................................................... 199 Controlling User Access to Virtual Machines ............................................................. 201 Guided Exercise: Controlling User Access to Virtual Machines ..................................... 203 Lab: Deploying and Managing Virtual Machines ........................................................ 207 Summary .............................................................................................................. 210 9. Migrating Virtual Machines                                                                                         211 Migrating a Virtual Machine .................................................................................... 212 Guided Exercise: Migrating a Virtual Machine ............................................................ 216 Automating Virtual Machine Migration ..................................................................... 217 Guided Exercise: Automating Virtual Machine Migration ............................................ 225 Lab: Migrating Virtual Machines .............................................................................. 227 Summary ............................................................................................................. 230 10. Managing Virtual Machine Images                                                                             231 Creating and Using Image Snapshots ...................................................................... 232 Guided Exercise: Creating and Using Image Snapshots .............................................. 237 Importing and Exporting Virtual Machine Images ...................................................... 239 Guided Exercise: Importing and Exporting Virtual Machine Images .............................. 250 Lab: Managing Virtual Machine Images .................................................................... 253 Summary .............................................................................................................. 261 11. Automating Virtual Machine Deployment                                                                   263 Creating and Deploying Virtual Machines with Templates ........................................... 264 Guided Exercise: Creating and Deploying Virtual Machines with Templates ................... 269 Automating Virtual Machine Configuration with cloud-init ........................................... 271 Guided Exercise: Automating Virtual Machine Configuration with cloud-init .................. 275 Lab: Automating Virtual Machine Deployment .......................................................... 279 Summary ............................................................................................................. 284 12. Backing Up and Upgrading Red Hat Virtualization                                                     285 Backing Up and Restoring Red Hat Virtualization Manager ......................................... 286 Guided Exercise: Backing Up and Restoring Red Hat Virtualization Manager ................. 290 Updating and Upgrading Red Hat Virtualization ........................................................ 293 Guided Exercise: Updating and Upgrading Red Hat Virtualization ................................ 296 Lab: Backing Up and Upgrading Red Hat Virtualization .............................................. 298 Summary ............................................................................................................. 302 13. Exploring High Availability Practices                                                                        303 Identifying Strategies to Reduce Single Points of Failure ............................................ 304 Quiz: Identifying Strategies to Reduce Single Points of Failure .................................... 308 Configuring Highly Available Virtual Machines .......................................................... 310 Quiz: Configuring Highly Available Virtual Machines ................................................... 314 Deploying the RHVM Self-Hosted Engine Application ................................................. 316 Quiz: Deploying the RHVM Self-Hosted Engine Application ........................................ 323 Summary ............................................................................................................. 325 14. Comprehensive Review: Red Hat Virtualization                                                         327 Comprehensive Review ........................................................................................ 328 Lab: Installing Red Hat Virtualization ....................................................................... 331 vi RH318-RHV-4.1-en-1-20180926 Lab: Configuring a Red Hat Virtualization Environment ............................................... 341 Lab: Creating Virtual Machines ............................................................................... 359 Lab: Managing Virtual Machines ............................................................................. 365 Lab: Backing Up and Upgrading Red Hat Virtualization .............................................. 369 RH318-RHV-4.1-en-1-20180926 vii viii RH318-RHV-4.1-en-1-20180926 DOCUMENT CONVENTIONS REFERENCES "References" describe where to find external documentation relevant to a subject. NOTE "Notes" are tips, shortcuts or alternative approaches to the task at hand. Ignoring a note should have no negative consequences, but you might miss out on a trick that makes your life easier. IMPORTANT "Important" boxes detail things that are easily missed: configuration changes that only apply to the current session, or services that need restarting before an update will apply. Ignoring a box labeled "Important" will not cause data loss, but may cause irritation and frustration. WARNING "Warnings" should not be ignored. Ignoring warnings will most likely cause data loss. RH318-RHV-4.1-en-1-20180926 ix x RH318-RHV-4.1-en-1-20180926

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.