Changes

Jump to: navigation, search

OPS235 Lab 2

8 bytes added, 20:06, 25 January 2019
Part 2: Restoring Virtual Machines
[[Image:Cinnamon-2.png|thumb|right|500px|Click on the cog icon to select different installed desktop environments.]]
# We will now learn how to download a compressed image file and xml XML configuration file and add it as a VM to the virtual manager Virtual Machine Manager menu.
# Issue the following commands:<ul><li><b><code><span style="color:#3366CC;font-size:1.2em;">wget http://cs.senecacollege.ca/~ops235/lab2/centos4.qcow2.backup.gz</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">wget http://cs.senecacollege.ca/~ops235/lab2/centos4.xml</span></code></b></li></ul>
# Copy these files to the '''/var/lib/libvirt/images''' directory and decompress the qcow2 image file.
# 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>
{{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 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>
</ol>

Navigation menu