Lab 1 : Introduction to Virtualization & VMware

14 Julai 2009 is our first lab with our lecturer Encik Zaki Mas'ud. The lab is about Introduction to Virtualization & VMware and all student should be able to:
* Understand What is Virtualization
* Install VMware Workstation
* Understand the VMware Workstation Configuration
* Creating disk image on VMware Workstation
* Installing Windows Server 2003 on disk image

This lab have three task and one review question. Task 1 is about VMware Workstation Installation.
VMware Workstation can be downloaded from
http://www.vmware.com/download/ws/ and follow the step by step to installation Wizards.
1. Double Click on the VMware launcher to start the installation Wizards.
2. Click on [Next].
3. Choose Typical setup type
4. Choose the location for VMware Workstation installation. Click on [Next].
5. Configure the shortcuts for the VMware Workstation and click [Next].
6. Click on [Install], this will take several minutes to finish.
7. Enter the Serial Number for the VMware workstation.
8. Click [Finish], and restart the Computer.

In task 2 we learn about how to creating disk image on VMware Workstation and Installing Windows Server 2003 on virtual machine in task 3.

Okay, now let's do some review question:

1.List four advantages of using virtual machine in your practical session in class.

* Ease of use and easy to understand.
* Instructors can train students by using a variety of configurations, quickly and easily.
* Virtual machines are easy to move between physical machines.
* Virtual machines allow you to isolate each application in its own sandbox environment.

2.How to create a new virtual machine called linuxserv and how to install it with Fedora Core 9?

Create a new virtual machine called linuxserv
a) From the home tab click on [New Virtual Machine].
b) Choose the typical configuration to proceed.
c) Choose the type of OS to be installed on the virtual machine.
d) Name the virtual machine and specify the location where the disk image for the virtual machine will be stored
in the hard disk. Name the virtual machine as linuxserv.
e) For the network type select [Use host-only Networking], this selection will create LAN between the other virtual machine.
In order to make the virtual machine connected to the real network select [Use bridged networking]. This setting can be changed once the virtual machine is created.
f) Specify the disk capacity of the virtual machine. Initially the size of the disk image you created is small and as you installed your virtual machine with OS and other software,the size will increase up to the storage capacity set in this configuration.
g) Select [Allocate disk space now] and click [Finish] to start creating your virtual machine. This will take several minutes.

Install it with Fedora core 9
a) Place the Fedora core 9 installer CD in your CDROM drive.
b) From the command menu click on [start the virtual machine] or you can click on the start button on the toolbar, your virtual machine is starting and will be booting from your CDROM drive.
c) Once the linuxserv booting you will see the familiar Fedora core 9 installation page, from this point onward you can follow the Fedora core 9 installation step.
d) After the installation process is finish, you will see the Fedora core 9 login page.
e) Click on the console to start using the Fedora core 9, to get the mouse pointer back to your host desktop, type CTRL + ALT on the keyboard.
f) Try taking the snapshot of your OS by clicking on the [snapshot] button on the toolbar. If anything happened to your OS you can simply click the [Revert] button and choose your previous state.
g) Manage the size of your console screen by click on the [Quick switch] and [Full Screen] view option button on the toolbar.

3.Explain in details how a corrupted virtual machine can be recover back to its original state?

It depends to how it corrupted. If you have backup, you can restore it from system state otherwise, try to use P2V Converter and clone it again and boot it up to see how it works, if not use any LiveCD and boot it up and extract all the data and reload the OS and transfer data. Depends what you want to be restore but it could be fixable if using the right tool.

p/s : More details, refer to others references.^_^