Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - Fedora17

371 bytes added, 09:08, 14 May 2013
no edit summary
<ol>
<li value="6">Confirm that ''fedora3'' has been shut down.</li>
<li>Execute this command: <code>virsh dumpxml fedora3 >fedora3.xml</code></li>
<li>Examine the file <code>fedora3.xml</code>. What does it contain? What format is it in?</li>
<li>Make a copy of <code>fedora3.xml</code> called <code>fedora3a.xml</code>.</li>
<li>Edit the file <code>fedora3a.xml</code>, making the following changes:</li>
</ol>
::* Change the name (in the file, not the file name) to <code>fedora3a</code>
::* Change at least one of the hexadecimal characters in the UUID. Do not change the length of the UUID. Valid hexadecimal characters are 0-9 and a-f.
<ol>
<li value="11">Issue this command: <code>virsh define fedora3a.xml</code>
<li>Issue the command <code>virsh list --all</code> and record any changes.
<li>Issue the command: <code>virsh undefine fedora3a</code>
<li>List all of the virtual machines again, and note any changes.
</ol>
<li>Restart the VM. Is it working normally?</li>
<li>Create compressed backups of your other virtual machines.</li>
</ol>
<li>You should make a copy of the xml configuration file in case you "wipe" and re-install the host machine, and want to add a restored VM backups to the virtual machine manager list. We will demonstrate using the fedora 3 xml configuration file, and prove that a "clone" can be added to your list.Please perform the following step:<ol type="a">
<li>Execute the following command: <code>virsh dumpxml fedora3 >fedora3.xml</code></li>
<li>Examine the file <code>fedora3.xml</code>. What does it contain? What format is it in?</li>
<li>Make a copy of <code>fedora3.xml</code> called <code>fedora3a.xml</code>.</li>
<li>Edit the file <code>fedora3a.xml</code>, making the following changes:</li>
</ol>
::* Change the name (in the file, not the file name) to <code>fedora3a</code>
::* Change at least one of the hexadecimal characters in the UUID. Do not change the length of the UUID. Valid hexadecimal characters are 0-9 and a-f.
<ol>
<li value="11">Issue this command: <code>virsh define fedora3a.xml</code>
<li>Issue the command <code>virsh list --all</code> and record any changes.
<li>Issue the command: <code>virsh undefine fedora3a</code>
<li>List all of the virtual machines again, and note any changes. </li></ol>
<li>Answer this question in your log book:</li>
</ol>
13,420
edits