0% found this document useful (0 votes)
1 views

final Virtualization record

The document outlines procedures for creating type 2 virtualization using VMware and other virtualization tools, including installing guest operating systems, managing virtual disks, and configuring snapshots. It also covers creating various storage volumes, RAID configurations, and desktop virtualization using VNC and Chrome Remote Desktop. Additionally, it details steps for setting up VLANs in Cisco Packet Tracer and installing KVM on Ubuntu, along with creating nested virtual machines.

Uploaded by

Ksp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

final Virtualization record

The document outlines procedures for creating type 2 virtualization using VMware and other virtualization tools, including installing guest operating systems, managing virtual disks, and configuring snapshots. It also covers creating various storage volumes, RAID configurations, and desktop virtualization using VNC and Chrome Remote Desktop. Additionally, it details steps for setting up VLANs in Cisco Packet Tracer and installing KVM on Ubuntu, along with creating nested virtual machines.

Uploaded by

Ksp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 64

Ex No: 1 Create type 2 virtualization in VMWARE or any equivalent Open

Date: Source tool Allocate memory and storage space as per requirement.
Install Guest OS on VMWARE.

Aim:

Procedure:

Download and Install VMWARE


Step 1: Download the latest version of VMware workstation from the official VMware site
for windows or Linux as VMWARE Workstation 17 pro.

Step 2: Install VMWARE Workstation 17 pro.


Step 3: Browse and change the path of installation if needed and check the boxes of features
and then click Next.

Step 4: Edit default settings that can improve user experience and then click Next.
Step 5: Create shortcuts for VMware workstation 17 pro in desktop or start menu or both if
needed and click Next.

Step 6: Now you are finally ready to install the VMware Workstation 17 pro and click Install.
Step 7: Now the VMware Workstation 17 pro Setup Wizard is complete and click Finish.

Step 8: Open the VMware workstation 17 pro and create a new virtual machine by click on
the first “Create a New Virtual Machine”.
Step 9: Install Guest OS on VMware check Installer doc image file and browse the path of
Ubuntu iso file and then Click Next.

Step 10: Fill the install information by adding full name, username and password and thenclick
Next.
Step 11: Name the virtual machine and browse the location and then click Next.

Step 12: Specify the disk capacity the default maximum disk is 20GB and split virtual disk to
multiple files or store as single file and click Next
Step 13: Now a new virtual machine is created and clickFinish.

Step 14: Install Ubuntu on VMWARE


Step 15: Thus, we have installed VMware Workstation with different flavors of Linux on topof
windows.

Result:
Ex no:2 a Shrink and extend a virtual
disk. Date:

Aim:

Procedure:

Step 1: On VMware Workstation or VMware Player, right-click a virtual machine and select
"Settings". Check whether it says "Preallocated" next to the disk's size in the Summary view.

Step 2: On VMware, select a virtual machine and click Virtual Machine > Settings > Hard Disk >
Advanced options. Check whether the "Pre-allocate disk space" option under Advanced options is
checked.
Step 3: In VMware Player, first power off your virtual machine. You can't compact its disk if it's
powered on or suspended.

Step 4: With the virtual machine powered off, select it and click "Edit virtual machine settings", or
right-click it and select "Settings".

Step 5: Click the "Hard Disk" option in the device list on the Hardware tab.

Step 6: First, click the "Defragment" button under Disk utilities to defragment the virtual machine's
disk.
Step 7: When VMware finishes the defragmentation process, click the "Compact" button under
Disk utilities. VMware will compact the underlying virtual hard disk (.vmdk) files to free up space.

Result:
Ex no:2 b Create, Manage, Configure and schedule snapshots
Date:

Aim:

Procedure:

Step 1: To view the snapshots for a virtual machine, select the virtual machine in VMware
Workstation and click VM > Snapshot > Snapshot Manager.

Step 2: To delete a snapshot you no longer need, right-click it in the Snapshot Manager window
and select "Delete".

Step 3: Click on Take snapshot and specify a name for the snapshot and click take snapshot.
Step 4: Now click on snapshot manager and schedule. Click close.

Result:
Ex.2.C Create Spanned, Mirrored and Striped volume

Date:

Aim:

Procedure :
Step 1: How to create a spanned volume:
a. Right-click on "This PC" or "My Computer" and select "Manage."
b. In the Computer Management window, click on "Disk Management"
under "Storage" in the left pane.
c. Identify the disks you want to use in the spanned volume. They should
be unallocated or have empty space available.
d. Right-click on the first disk and choose "New Spanned Volume."
e. Follow the on-screen instructions to select additional disks and allocate
space for the spanned volume.
f. Assign a drive letter or mount point to the new volume and format it
with a file system.
Step 2: How to create a mirrored volume:
a. Follow steps a to c from the spanned volume creation process to open
Disk Management.
b. Right-click on one of the disks you want to use in the mirror and
choose "New Mirrored Volume."
c. Select the additional disk(s) to mirror the first disk, and then allocate
space for the mirrored volume.
d. Assign a drive letter or mount point to the new volume and format it
with a file system. e. Windows will start the synchronization process, where
data is copied from the source disk to the mirror disk(s).
Step 3: How to create a striped volume:
a. Follow steps a to c from the spanned volume creation process to open
Disk Management.
b. Right-click on one of the disks you want to use in the stripe and
choose "New Striped Volume."
c. Select the additional disk(s) to include in the stripe, and then allocate
space for the striped volume. d. Assign a drive letter or mount point to the new
volume and format it with a file system.
Output:
Result:
Ex.2.D Create RAID 5 Volume

Date:

Aim:

Procedure:
Step 1: Backup Data: Before creating the RAID 5 volume, back up all your
critical data to ensure it is safe in case of any unforeseen issues.
Step 2: Initialize and Convert Disks to Dynamic: If your disks are currently
basic disks, you need to convert them to dynamic disks to create a RAID 5
volume. Follow these steps:
a. Right-click on "This PC" or "My Computer" and select "Manage."
b. In the Computer Management window, click on "Disk Management"
under "Storage" in the left pane.
c. Identify the disks you want to use in the RAID 5 array. They should be
unallocated or have empty space available.
d. Right-click on each disk and select "Convert to Dynamic Disk." Repeat
this for all the disks you want to include in the RAID 5 array.
Step 3: Create the RAID 5 Volume: Once you have converted the disks to
dynamic, you can proceed to create the RAID 5 volume:
a. Right-click on one of the disks you want to use in the RAID 5 array.
b. Select "New Spanned Volume."
c. Follow the on-screen instructions to select the other disks you want to
include in the RAID 5 array. There should be at least three disks in total.
d. Allocate the desired amount of space for the RAID 5 volume. RAID 5
requires a minimum of three disks, and the volume size will be the total
capacity of all disks minus one disk's worth of space. For example, if you have
three 1TB disks, the RAID 5 volume will have a total capacity of 2TB.
e. Assign a drive letter or mount point to the new RAID 5 volume and
format it with a file system.
Step 4: Initialize and Format the RAID 5 Volume: After creating the RAID 5
volume, you need to initialize and format it:
a. When prompted, initialize the disks using the default partition style
(usually GPT).
b. Format the RAID 5 volume with your desired file system (e.g., NTFS)
and assign a drive letter or mount point.
Output:
Result:
Ex no:3 .a Desktop Virtualization using
VNC Date:

Aim:

Procedure:

Step 1: Download and install RealVNC Viewer 7.10.0

Step 2: After installation, click Finish.


Step 3: Open VNCViewer. VNC Connect with address bar is present.

Step 4: Now open VMWARE Workstation Pro 17 and create a virtual machine using steps as in
exercise 1.
Step 5: A virtual Machine as Guest OS Ubuntu is created and open.

Step 6: Open VM tab in VMWARE Workstation Pro 17


Step 7: Select the settings in the VM tab.

Step 8: Select the Option tab and click on VNC Connection.


Step 9: Enable the VNC Connection and on the right side, click on Enable VNC connections and
default port number is present.

Step 10: Create a username and password for the VNC connection.
Step 11: Type run command in search bar and open command prompt. Type ipconfig and find the
IPaddress of the system.

Step 12: Copy the IPv4 address and paste it in VNC connect search bar.
Step 13: A prompt screen appears as Unencrypted connection. Click continue.
Step 14: Now type the password created in VNC Connections Settings in VMWARE.

Step 15: Now the VNC viewer will virtualize the guest OS created in VMWARE using Desktop
Virtualization.

Result:
Ex no:3 b Desktop Virtualization using Chrome Remote
Desktop Date:

Aim:

Procedure:

Step 1: Open Google Chrome Remote Desktop on your PC.

Step 2: Click on Access my computer.


Step 3: Click on Remote Access. Download the Set up remote access.

Step 4: Now extensions are added for the Chrome Remote Desktop.
Step 5: Now Chrome Remote Access has been added to Chrome.

Step 6: Now choose a name for the Remote Access.


Step 7: Now create a password for the given username.

Step 8 : Now the remote desktop is created.


Step 9 : Now click on Remote Support tab.

Step 10: Click on Share this screen. An access code is generated.


Step 11: Now open VMWARE and in the UbuntuVirtual machine created, click on Connect to
another computer and paste the access code in it.

Step 12: Now Chrome Remote Desktop is being connected.


Step 13: Now open the Google Chrome Remote Desktop and click on Share this screen.

Step 14: Now the Google Chrome Remote Desktop is visible in the Ubuntu Virtual Machine in
VMWARE.

Result:
Ex no: 4 Create type 2 virtualization on ESXI 6.5 server
Date:

Aim:

Procedure:

Press F11to accept the License Agreement and continue

It will load all the available devices on the server and prompt for selecting storage devices. It will show all the local
and remote storage devices. here I have only one storage device so I will select it and enter to continue

Select the keyboard layout you are using. here I am using US so selecting the US defaultkeyboard
Enter the root passwordto manage the server and enter to continue

Press F11to start the installation

Once the installation is completed remove the DVD or Pen-drive and press Enterto reboot the server.
Once the server is UP post reboot it will start loading the Esxi 6.5 which will take a while. Wait for
the below screen to appear on the console

If you have the DHCP server in the network it will take the IP automatically. you can use this IP to access vSpere
web client or you can follow below steps to configure the static IP to the network:

Configure Static network for the ESXi


1. Click F2to Customise system. Enter the root password which we have set at the time of installation.

2. Go to Configure Management Networkand hit Enter

3. Go to Network Adapterand select the correct adapter which you want to use it as management network
adapter.

Then go to IPv4 configuration

4. Select Set static IPv4 addressand fill all the required tabs then click OK

5. Go to DNS configuration and fill all the DNS serversand Hostnamefor the server.
6. Press Esc key to go back to the main console and then Ywhen the below windows prompts to save and
Restart the Management network

7. Select Test Management Networkin main menu and click enter to start the test

If the gateway and DNS test pass then your Network configuration is correct or else you have made some mistake while
configuring the Management network

NOTE: If the Hostname doesn't resolve then make entry for the proper host name in your DNS server. If the
Resolving hostname fails you can use the IP to access.
To connect to vSphere Web client go to any browser and enter the IP with https:// then an certificate error page
appears

Click Advancedand proceed to the website unsafe. it will prompt to vSphere Web client

Provide the correct root username and password and login to Esxi 6.5 Web client

Result:
Ex no: 5 Create a VLAN in CISCO packet tracer
Date:
Aim:

Procedure:

Step 1: Download the CISCO packet tracer using the link and install using username and
password.

Step 2: Create a LAN, LAN-A with 6 hosts. To create a LAN we need one Layer 2 switch
Switch0 and 6 end devices. Now we provide IP addresses to the hosts starting from 192.168.10.1
(you can provide any valid IP addresses).
Step 3: Select the Desktop tab in it.

Step 4: To provide an IP address to a host just select that host → Desktop → IP Configuration →
IPv4 Addresses and provide an IP address and then ENTER, the Subnet Mask will be provided
by default.
Step 5: Let us create 2 VLANs where the name of the first VLAN is VLAN-STUDENT and the
second VLAN is VLAN-FACULTY. To configure VLANs we have to go to the switch Switch0
and move to Config → SWITCHING → VLAN Database. Now let us take the VLAN Number
for STUDENT is 150 and for FACULTY is 250 and add these numbers to VLAN Database.
Step 6: Next we have to select the hosts under VLAN-STUDENT. Here I have put hosts with IP
addresses from 192.168.10.1 to 192.168.10.3 under VLAN-STUDENT. To do so we have to
select the switch Switch0 → Config → INTERFACE, here we choose FastEthernet0/1
corresponding to the host 192.168.10.1 which we consider to be in VLAN-STUDENT. Now we
select the down arrow beside VLAN and select 150:STUDENT, which is for student VLAN.
Similarly, we do this same process for FastEthernet0/2 and FastEthernet0/3.
Step 7: Now we have to configure the hosts under VLAN-FACULTY. Here I have put hosts with
IP addresses 192.168.10.4 to 192.168.10.6 under VLAN-FACULTY. To do so, just follow the
process mentioned in Step 3, but instead of selecting the VLAN Number 150:STUDENT, select
250:FACULTY for FastEthernet0/4, FastEthernet0/5, and FastEthernet0/6.
Step 8: Change the switch port mode from Access to Trunk for FastEthernet0/7.
Step 9: Create LAN-B similarly by following these steps and connect LAN-A and LAN-B by using
a Cross-Over cable. And the end network is:

Step 10: Now our VLAN configuration is ready, and we can check this by sending data packets
from one host to another under LAN-A. Let us ping from 192.168.10.1 to 192.168.10.3. To do so,
we have to select the host with IP 192.168.10.1 and then select Desktop → Command Prompt.
Now run the following command to ping 192.168.10.3.
Result:
Ex no: 6 Install KVM in Ubuntu
Date:

Aim:

Procedure:
Step 1: Start with installing KVM, check if your CPU supports hardware virtualization via egrep
command:

Step 2: Now, check if your system can use KVM acceleration by typing:
Step 3: Install KVM packages, by updating the repositories and install essential KVM packages:

Step 4: Check for updates in KVM using command sudo apt update
Step 5: Now install KVM using virtualization libraries to create a client virtual machine.

Step 6: To enable the virtualization daemon, use the following command:

Step 7: Start the virtualization as:


Step 8: To enable the system control settings virtualization for ubuntu.
It enables all the admin sockets as follows,

Step 9: To add the user to KVM.

Step 10: To add the user to Libvirt group.

After adding users, restart the system to update the changes and creating new virtualization.
Step 11:Now run the KVM virtual manager with its updates.
Step 12: Now the Virtual Machine Manager is opened for virtualization.

Result:
Ex no: 7 Create Nested Virtual Machine (VM under another
VM) Date:

Aim:

Procedure:
Step 1: Open Windows features and select Hyper-V option from it and then restart the system to
make changes in effect.

Step 2: Search for Hyper-V from Windows search bar and open the Hyper-V manager. Click on \
Run as administrator.
Step 3: Click on Action tab and select New virtual machine an connect.

Step 4: Virtual machines option is open and select Before you Begin and click Next.
Step 5: Select Specify Generation tab and select the option Generation 1.

Step 6: Next Assign Memory and set the Startup memory to 1096MB as default and select the
option Use Dynamic memory for this virtual machine. Click Next.
Step 7: In Configure Networking and select Default Switch and click Next.

Step 8: Now select Connect Virtual Hard Disk and select the option Create a virtual hard disk.
Specify the size as 40GB as default.
Step 9: Now click Installation options and select the Install an operating system from a bootable
CD/DVD-ROM option. Now select the iso file from the location and click Next.

Step 10: Click on Summary and Complete the New Virtual Machine Wizard. Click Finish.
Step 11: Now the New virtual machine is created and visible under Hyper-V manager. Right click
and connect to it.
Step 12: Now the new virtual machine is created and viewed. Reboot the system again to make
effective changes.
Step 13: Now in command prompt, set the command as follows to create another new virtual
machine.

Step 14: Now start from the Checkpoints from where we have completed the virtual machine.
Step 15: Now the virtual machine is made to run from the given checkpoint.

Step 16: Now create a new virtual machine, with the similar steps as follows.
Repeat the steps again to create the new Virtual machine.

Result:

You might also like