Changes

Jump to: navigation, search

OPS235 Lab 2 Braille

13 bytes added, 03:58, 3 February 2012
Investigation 4: Managing Virtual Machines from the Command Line
== Investigation 4: Managing Virtual Machines from the Command Line ==
{{Admon/note|Manage virtual machines from the host|Note: The commands used to manage virtual machines must be executed on the host (your disk pack) and not inside a virtual machine.}}Use the host name information in the command prompt to confirm that you are on the correct machine when entering commands.
# Start the ''fedora1'' virtual machine, and stop the ''fedora2'' and ''fedora3'' virtual machines.
# Enter these commands and note the result:
#* <code>virsh list</code>
# Start the ''fedora3'' virtual machine from the command line: <code>virsh start fedora3</code>
# Repeat the commands from step 2 and notice any changes.
# Stop the ''fedora3'' virtual machine: <code>virsh shutdown fedora3</code> Note: If the Virtual machine fails to shutdown from the <code>virsh shutdown</code> command or from the <code>halt</code> or <code>poweroff</code> or <code>shutdown</code> commands within the VM, you can use dthe <code>virsh destroy ''name''</code> command. You should want to avoid a forced shutdown since those are that is equivalent to yanking the cord out of the wall on a physical machine!
# Confirm that ''fedora3'' has been shut down.
# Execute this command: <code>virsh dumpxml fedora3 >fedora3.xml</code>

Navigation menu