Book Image

Linux: Powerful Server Administration

By : Jonathan Hobson, William Leemans, Uday Sawant, Oliver Pelz
Book Image

Linux: Powerful Server Administration

By: Jonathan Hobson, William Leemans, Uday Sawant, Oliver Pelz

Overview of this book

Linux servers are frequently selected over other server operating systems for their stability, security and flexibility advantages.This Learning Path will teach you how to get up and running with three of the most popular Linux server distros: Ubuntu Server, CentOS 7 Server, and RHEL 7 Server. We will begin with the Ubuntu Server and show you how to make the most of Ubuntu’s advanced functionalities. Moving on, we will provide you with all the knowledge that will give you access to the inner workings of the latest CentOS version 7. Finally, touching RHEL 7, we will provide you with solutions to common RHEL 7 Server challenges.This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: 1)Ubuntu Server Cookbook 2)CentOS 7 Linux Server Cookbook, Second Edition 3)Red Hat Enterprise Linux Server Cookbook
Table of Contents (6 chapters)

Chapter 1. Working with KVM Guests

In this chapter, we will cover the following recipes:

  • Installing and configuring a KVM
  • Configuring resources
  • Building VMs
  • Adding CPUs on the fly
  • Adding RAM on the fly
  • Adding disks on the fly
  • Moving disks to another storage
  • Moving VMs
  • Backing up your VM metadata

Introduction

This book will attempt to show you how to deploy RHEL 7 systems without too much of a hassle. As this book is written with automation in mind, I will emphasize on command-line utilities rather than elaborating on its GUI counterparts, which are useless for automation.

This chapter explains how to build and manage KVM guests using the libvirt interface and various tools built around it. It will provide a brief overview on how to set up a KVM on RHEL and manage its resources. The setup provided in this overview is far from the ready enterprise as it doesn't provide any redundancy, which is generally required in enterprises. However, the recipes provided are relevant in enterprise setups...