Changes

From CDOT Wiki
Jump to: navigation, search

OPS235 Lab 2 - CentOS7 - SSD2

2 bytes removed, 25 January
INVESTIGATION 3: MANAGING VIRTUAL MACHINES (KVM)
# Execute the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">virsh dumpxml centos3 > centos3.xml</span></code></b>
# Examine the file <b><code><span style="color:#3366CC;font-size:1.2em;">centos3.xml</span></code></b>. What does it contain? What format is it in?<br><br>
 
=== Part 2: Restoring Virtual Machines ===
# Login with the password <b><i>ops235</i></b>. Feel free to explore the new environment.
# Prior to your practical test, you will be required to perform a similar operation to download, unzip and run a VM image for your practical test.<br><br>
{{Admon/important|Shutting Down the Host while Virtual Machines are Running|If you shut down your host system while virtual machines are running, they will be suspended, and will resume the next time you boot your host system.}}<ol>
<li value="12">For the remainder of these labs, it is assumed that you will backup <u>'''both'''</u> the images and xml configuration files for <u>'''all'''</u> Virtual machines, when asked to backup your virtual machines. It is also highly recommended to backup these files to an external storage device (eg. USB key) in case the host machine gets "wiped" and you need to rebuild your HOST machine and then restore your Virtual Machines...</li>
<li>Answer this question in your log book:</li>
::* In order to fully back up a virtual machine, what information should be saved in addition to the virtual machine image?
=== Part 23: Using Shell Scripts for VM Backup &amp; Management===
{|width="40%" align="right" cellpadding="10"
|- valign="top"

Navigation menu