Project Report
Project Report
By
Chongkoi T
July, 2018
KAZIRANGA UNIVERSITY
KORAIKHOWA, JORHAT
ASSAM, 785006
INDEX
Title page No
1.Assignment 1............................................................. 3-15
3.Assignment 3............................................................................28-52
3.1. To Shrink and Extend Virtual Disk in VMware.
3.2. To Add Mirrored Volume.
3.3. To Add Spanned Volume.
3.4. To Add Striped Volume.
4.Assignment 4...........................................................................53-65
4.1. To perform a Nested Virtualization.
5. Assignment 5.........................................................................66-79
5.1. One virtual machine to another.
5.2. Host Operating System to Guest Operating System.
5.3. Mobile to Host Operating System.
5.4. Mobile to Guest Operating System.
2
INTRODUCTION
TO
VIRTUALIZATION AND CLOUD COMPUTING
AIM: Steps for Installing VMware Workstation Pro. And create virtualization in
VMware. Install guest OS on the installed VMware.
REQUIRED S/W: VMware Workstation Pro, Windows 10 OS.
THEORY:
1. What are Virtual Machines?
• Virtual machine is a software computer that, like a physical machine, runs an
operating system
and applications.
• A virtual machine uses the physical resources of the physical machine on
which it runs, which is
called the host system.
• Virtual machines have virtual devices that provide the same functionality as
physical hardware, but with the additional benefits of portability, manageability,
and security.
3
STEP3: Select the installation destination.
4
STEP 4: Choose the options for updating the software.
6
STEP 8: The installation is now completed. Click the Finish button to exit the
installation wizard.
7
STEP 9:CHANGE THE BIOS SETTINGS TO ENABLE THE VIRTUALIZATION
TECHNOLOGY:
Restart the PC and keep pressing F12 to go the Startup Device Menu.
Select Enter Setup.
8
STEP 10: Select the advanced option. And go to the CPU setup.
STEP 11: Enable the Intel Virtualization Technology. And Press F10 to save
and exit.
9
STEP 12: Click on the create new Virtual Machine tab to install any guest OS on
the VMware.
10
STEP 14: A Guest Operating System Installation window will be open. Select the
installer disc image file option to load any operating system from the ISO folder.
STEP 15:
11
STEP 16: Name the virtual Machine and give the password and click next.
12
• Click the option to store virtual disk as a single file or you want to split virtual
disk into multiple
files.
• Click on the next button after giving the details.
STEP 18: Click the finish button to create the virtual machine.
13
STEP 19: The installation may take a while. After which the Ubuntu window will
be displayed and you have to provide the password to access the account .
14
STEP 20: You are all set to use the Ubuntu operating system on VMware.
15
ASSIGNMENT -2
PROCEDURES:
Step 1: To open the Virtual Machine Setting right click on windows10 and go to
setting.
16
step 2: Select the hard disk option and click the add button to add
new virtual disk.
17
Step 3: The add hardware wizard will open. Select the 1st option i.e.
hard disk and click the next button to proceed further.
Step 4: You need to select what kind of disk you want to create. To create a
new disk, choose whether you want the virtual disk to be an IDE disk, SATA
disk, NVMe disk or a SCSI disk. Here the SCSI disk type has been selected. Now
click next to proceed.
18
Step 5: A select disk window will open asking you to select any of the three-
given option:
• Create a new virtual disk – Creates a new virtual disk that is composed of one
or more files on the host file system, which will appear as a single hard disk to
the guest operating system.
• Use an existing virtual disk – Reusing a previously configured disk. If this
option is selected it will ask for the previously existing virtual disk name.
• Use a physical disk – This option is selected to give the virtual machine direct
access to a local hard disk and requires administrator privileges.
Step 6: Set the capacity for the new virtual disk and click next.
• Allocate all disc space now – Allocating all the space at the time you create
the
virtual disk gives somewhat better performance, but it requires as much disk
space as the size you specify for the virtual disk. If you do not select this
option, the virtual disk's files start small and grow as needed, but they can
never grow larger than the size you set here.
19
• Store virtual disk as a single file – in this option the new virtual disk will be
stored as a single file and cannot be split into multiple disks.
• Store virtual disk into multiple files – Splitting the disk makes it easier to
move the virtual machine to another computer but may reduce performance
with very large disks.
Step 7: Accept the default filename and location for the virtual disk file or
change it, if you want to use a different name or location. To find a different
folder, click Browse. After giving the name click finish to add the new virtual
disk.
20
Step 8: Click ok in virtual machine setting window to save the new virtual disk
Configuration.
21
Step 9: Now power on the windows 10 operating system for further process.
Step 10: Go to left side in the search option and write diskmgmt.mc in the
search tab.
22
Step 11: A window will open to select the partition style. You can select MBR
or GPT based on your choice –
• MBR – MBR supports simple volume storage allocation. It supports three
partition types i.e. primary, logical, and extended and here the maximum no.
of primary partition is 4. MBR supports 2TB disk space.
• GPT – GPT supports five types of storage allocation i.e. simple, spammed,
stripped, and mirrored and raid 5. GPT supports 128 GPT partitions. GPT
supports 10HB disk space.
Step 12: Right click on the unallocated option and select the “New Simple
Volume” option.
23
Step 13: Click next in the New Simple Volume wizard to continue.
Step 14: Choose a volume size that is between maximum and minimum sizes
and click next.
24
Step 15: For easy access you can assign a drive letter to your partition and click
next.
Step 16: Choose the file system type to format partition. Click next to continue.
25
Step 17: Complete the new simple volume wizard by clicking on the finish
button.
Step 18: A new virtual disk has been created with the specified size.
26
Step19: You can view the new virtual disk by going on My PC.
27
ASSIGNMENT-3
AIM:
• To Shrink and Extend Virtual Disk in VMware
• To Add Mirrored Volume
• To Add Spanned Volume
• To Add Striped Volume
REQUIREMENT:
• VM Ware Workstation
• Virtual disk (60 GB)
SYSTEM REQUIREMENT:
• Windows operating system
• Storage capacity 1TB
• RAM 12GB
SHRINK AND EXTEND VIRTUAL DISK:
THEORY:
By default, VMware creates grow able disks that grow larger in size as you add
data. Unfortunately, they don’t automatically shrink when you remove data.
You’ll need to clean up or compact your disks to actually free up space on your
hard drive. Shrinking a virtual disk reclaims unused space in the virtual disk. If
there is empty space in the disk, this process reduces the amount of space the
virtual disk occupies on the host drive. Shrinking a disk is a two-step process:
• In the first step, called wiping, VMware Tools reclaims all unused portions of
disk partitions (such as deleted files) and prepares them for shrinking. Wiping
takes place in the guest operating system.
• The second step is the shrinking process itself, which takes place on the host.
Workstation reduces the size of the disk's files by the amount of disk space
reclaimed in the wipe process.
28
PROCEDURE:
Step 1: Go to left side in the search option and write control panel and then click
on it to open the control panel or you can directly open the disk management
by writing diskmgmt.mc in the search tab.
Step 2: To shrink the newly created virtual disk of 60GB right click on New
Volume (k) and select the shrink volume option.
29
Step 3: A shrink wizard will open where the new disk size is to be mentioned.
Now enter the amount of space to shrink in MB and click on the shrink button
to finally create the volume.
Step 4: A new volume of approximately 10GB is created. But the disk will not
be shown as the newly created disk is not yet allocated.
30
Step 5: To allocate the newly created virtual disk right click on the unallocated
disk and select the option for new simple volume. (Here we see in the image
that other for volume types are disabled as “New Mirrored Volume” and “New
RAID-5 Volume” is used for server virtualization.)
31
Step 7: Choose a volume size that is between maximum and minimum sizes
and click next.
Step 8: For easy access you can assign a drive letter to your partition and click
next.
32
Step 9: Choose the file system type to format partition. Click next to continue.
Step 10: Complete the new simple volume wizard by clicking on the finish
button. Here we see the details of the disk are also available.
33
Step 11: The volumes that are allocated i.e. disk K can be extended. Here we
are extending disk K. so to extend disk K right click on disk K and select the
extend volume option.
Step 12: The extend volume wizard will open which helps you to increase the
size of simple and spanned volumes. Now click next to continue the process.
34
Step 13: The disk that needs to be extended is selected. Click the next button
to proceed.
Step 14: Click finish to end the extension process of the disk.
35
Step 15: The disk K is extended as per the requirement.
36
TO ADD MIRRORED VOLUME:
Theory:
A mirrored volume is a hard drive or other form of storage media that stores
an exact copy of the data from another volume. It is used for fault tolerance,
which means mirrored volume serves as a backup device in case the primary
device fails.
Step1: Add a new virtual hard disk, the hard disk size should be same as the
volume you have created before.
Step2: A window will open to select the partition style. You can select MBR or
GPT based on your choice –
37
Step3: To allocate the newly created virtual disk right click on the unallocated
disk and select the option for New mirrored volume.
Step4: The mirrored volume wizard will open which helps you to duplicate
your data on two disks. Now click next to continue the process.
38
Step5: The disk that needs to be mirrored is selected. Click the add button.
Step6: After adding the add button click next button to process.
39
Step7: You can assign a drive letter to your partition and click next.
Step8: Choose the file system type to format partition. Click next to continue.
40
Step9: Complete the new mirrored volume wizard by clicking on the finish
button.
41
Step11: Now you can see that the new volume (B:) is in Mirrored layout.
42
• Spanned volumes do not provide fault tolerance. If one of the disks
containing a spanned volume fails, the entire volume fails, and all data
on the spanned volume becomes inaccessible. The reliability for a
spanned volume is less than the least reliable disk in the set.
Step1: To allocate the newly created virtual disk right click on the unallocated
disk and select the option for New Spanned volume.
Step2: The spanned volume wizard will open which helps you to made up a
disk space on more than one disk. Now click next to continue the process.
43
Step3: The disk that needs to be spanned is selected. Click the add button
and click next to process.
44
Step4: You can assign a drive letter to your partition and click next.
Step5: Choose the file system type to format partition. Click next to continue.
45
Step6: Complete the new spanned volume wizard by clicking on the finish
button.
46
Step9: Now you can see that the new volume (B:) is in Spanned layout.
47
You can create striped volumes only on dynamic disks. Striped volumes
cannot be extended. You can create a striped volume onto a maximum of
32 dynamic disks.
Step1: To allocate the newly created virtual disk right click on the unallocated
disk and select the option for New Striped volume.
Step2: The Striped volume wizard will open which helps you to made up a disk
space on more than one disk. Now click next to continue the process.
48
Step3: The disk that needs to be Striped is selected. Click the add button
and click next to process.
Step4: You can assign a drive letter to your partition and click next.
49
Step5: choose the file system type to format partition. Click next to
continue.
50
Step6: Complete the new Striped volume wizard by clicking on the finish
button.
51
Step9: Now you can see that the new volume (B:) is in Striped layout.
52
ASSIGNMENT-4
REQUIREMENT:
• VMware workstation pro
• Windows 10 Operating System
THEORY:
Nested virtualization is the act of running a hypervisor inside a virtual
machine- effectively nesting a hypervisor within a hypervisor.
53
Step3: Click the checkbox to accept the VM end-user license agreement
and press the next button.
Step4: The custom setting window will open to select the installation
destination and any additional features. C drive will be selected by
default. Click Next to proceed further.
Step6: The shortcuts window will open which will enable you to place the
VM shortcut anywhere you wish to place on the system.
Step7: Click the install button to install the VMware software on your
system or workstation.
54
:
55
Installing Ubuntu In a Nested VMware pro
Step1: Selecting a virtual machine configuration – When you start the
New Virtual Machine wizard, the wizard prompts you to select a typical
or custom configuration.
56
Step2: A Guest Operating System Installation window will be open.
Select the installer disc image file option to load any operating system
from the ISO folder. And click next to install the guest OS in VMware pro.
57
Step4: Specifying the Virtual Machine Name and File Location:
Step6: Click finish to create the virtual machine and start installing guest
OS and then VMware tools.
58
Step7: The alert message will appear, read the massage carefully and
click ok to continue.
Step8: The installation may take a while. After which the Ubuntu window
will be displayed.
59
Step9: The installation of Ubuntu in a Nested VMware pro is
completed.
61
Step4: Specifying Disk Capacity for a Virtual Machine:
62
Step6: Disk is copying automatically.
Step7: The alert message will appear, read the massage carefully and
click ok to continue.
Step8: Select the windows7 ultimate of x86 architecture and click next.
63
Step9: The installation may take a while, wait till it is completed.
64
65
ASSIGNMENT-5
Step2: while clicking on add button it will pop up a message read that
message carefully and click on add app to process.
66
Step3: Now Chrome remote desktop app is added to google chrome.
67
Step1: Click on chrome remote desktop. Click on Get-started on both the
Remote Assistance and My computer to access your own computer from
anywhere.
Step2: To share this computer for another user to see and control click on
share button. And to access to another user click access button.
68
Step3: If you click on share button it will give the access code.
Step4: Enter that same access code that is been given in virtual machine
(windows7 OS) and press connect.
69
Step5: Message will pop up if you allow virtual machine (windows7 OS) to
see and control by another virtual machine (windows10 OS) if yes then
press share.
71
Host operating system to Guest operating system
Step1: Open guest OS (windows 10) from VMware workstation and install
chrome remote desktop from the google chrome.
Step3: To share this computer for another user to see and control click on
share button.
72
Step4: If you click on share button it will give the access code.
Step5: Enter that same access code that is been given in the guest OS and
press connect.
73
Step6: Message will pop up if you allow your computer to see and control
by other uses if yes then press share.
Step7: Now your desktop is being shared to another user (host OS).
74
Mobile to Host Operating system
Step1: First install chrome remote desktop on both desktop and mobile.
Follow the step installation of chrome remote desktop as given above.
Click on enable remote connection to connect with your phone.
Step3: After downloading the chrome remote desktop host installer, run
the installer before continuing and press ok.
75
Step4: To protect access to the computer you need to enter a pin, the pin
should be at least six digits.
Step5: After entering the access code your connection for the computer
will be enabled.
Step9: Now you can access to your desktop from your mobile.
77
Mobile to Guest Operating System
Step1: Open guest OS (windows 10) from VMware workstation and install
chrome remote desktop on guest OS and mobile. Follow the step
installation of chrome remote desktop as given above.
Step2: To share this computer for another user to see and control click on
share button.
Step3: To protect access to the computer you need to enter a pin, the pin
should be at least six digits.
Step4: if your computer remote connection is disable then make it enable
to connect with other users.
Step6: Enter the same pin that you have entered in your desktop. Click
connect.
78
Step7: Now you can access to your Guest OS from your mobile.
79