Changes

Jump to: navigation, search

OPS235 Lab 2

14 bytes removed, 17:24, 25 January 2019
Part 2: Restoring Virtual Machines
# We will now learn how to download a compressed image file and xml configuration file and add it as a VM to the virtual 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><br><br></li></ul>
# Copy these files to the '''/var/lib/libvirt/images''' directory and decompress the qcow2 image file.
# Make certain your present working directory is: '''/var/lib/libvirt/images'''
# Notice <i>Cinnamon (Software Rendering)</i> is selected. The Cinnamon desktop environment has been installed on this VM. From this menu, you can select other installed desktop environments. This is how you switch between them. Write it down.
# 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>
</ol>

Navigation menu