In this lab, we’re going to be using the provisioned servers to practice managing Virtual Machines in a RHEL7 environment.
We’ll start one, and investigate the settings to discover and troubleshoot issues.
Successfully complete this lab by achieving the following learning objectives:
- Find the Name of the Virtual Machine on the Server
You will first have to sudo into the root user
[cloud_user@host]$ sudo -i
To get a list of installed virtual machines you can run:
[root@host]# virsh list --all
- Start the VM
We can boot up a VM by running:
[root@host]# virsh start centos7.0
- Determine the Location and Names of the Files that the VM Contain the VM Storage
We can look at the configuration of an individual VM by running:
[root@host]# virsh edit centos7.0
What we’ll see is an XML file. Sections labled
diskcontain the source file for all the disks allocated to the VM.
We should see references to files in