UNIT—5
Introduction to VMWare Simulator :
❖ VMware is a software company that provides virtualization and cloud
computing solutions. is considered as an important tool for IT professionals
because it allows them to create and manage virtual machines and
virtualized environments.
❖ VMware Virtual Platform is a software system that allows multiple
operating system environments to run concurrently on a standard x86-based
PC.
❖ Virtualization software creates an abstraction layer over computer hardware
that allows the hardware elements of a single computer— processors,
memory, storage, and more— to be divided into multiple virtual computers,
commonly called virtual machines (VMs).
❖ VMware is a virtualization and cloud computing software provider
❖ VMware Workstation is a line of Desktop Hypervisor products which lets
users run virtual machines, containers and Kubernetes clusters.
❖ Using VMware virtualization technology, a hypervisor is installed on the
server.
❖ Multiple operating systems can operate on a single physical server because
each VM can run its own operating system.
❖ The infrastructure team can handle these workloads similarly to how they
manage virtual machines.
❖ Need : It enables users to set up and run various virtual machines on a single
physical machine and use them simultaneously with the actual physical
machine
Advantages of VMWare Virtualization
VMWare Workstation
❖ It enables users to set up virtual machines (VMs) on a single physical
machine and use them simultaneously along with the host machine.
❖ Each virtual machine can execute its own operating system, including
versions of Microsoft Windows, Linux, BSD, and MS-DOS.
❖ VMware Workstation is developed and sold by VMware, Inc.
❖ Need-- Running multiple virtual machines on a single host machine
and creating multiple environments.
❖ Users highly recommend VMWare Workstation for this purpose.
❖ It allows for easy rollbacks to previous instances of virtual machines
and is beneficial for teams working on the same project globally.
❖ VMware Workstation is an example of a type 2 hypervisor.
❖ VMware Workstation Pro is a virtualization tool that allows users to
run multiple operating systems on their Windows PC.
❖ It is categorized into two types:
1) VMWare workstation Pro
2) VMWare workstation Player
Create a new virtual machine on Local host :
1. Start the New Virtual Machine wizard.
Option Description
Windows
▪ If the host is not connected to a remote server, select File > New
host
Virtual Machine.
▪ If the host is connected to a remote server, select File > New
Virtual Machine > On this Computer.
Linux host Select File > New Virtual Machine.
2. Select the configuration type.
Option Description
Typical The wizard prompts you to specify or accept defaults for basic virtual machine
settings. The typical configuration type is appropriate in most instances.
Custom You must select the custom configuration type to make a different virtual
machine version than the default hardware compatibility setting.
3. If you selected the Custom option, select a hardware compatibility setting.
The hardware compatibility setting determines the hardware features of the virtual
machine.
4. Select the source of the guest operating system.
Option Description
Use a physical disc Select the physical drive where you inserted the installation
disc.
Use an ISO image Type or browse to the location of the ISO image file for the
guest operating system.
Install the guest Create a virtual machine that has a blank disk. You must install
operating system the guest operating system manually after you create the virtual
later machine.
5. Specify information about the guest operating system.
Option Description
You are using Easy Type the Easy Install information for the guest operating system.
Install
You are not using Select the guest operating system type and version. If the guest
Easy Install operating system is not listed, select Other.
6. Type a virtual machine name and type or browse to the directory for the virtual machine
files.
7. Follow the prompts to configure the virtual machine.
If you selected a typical configuration, the wizard prompts you to configure the virtual
disk size and specify whether the disk should be split into multiple files.
If you selected a custom configuration, the wizard prompts you to configure the firmware
type, virtual machine processors, memory allocation, networking configuration, I/O
controller types, virtual disk type and mode, and virtual disk.
8. Click Customize Hardware to customize the hardware configuration.
You can also modify virtual hardware settings after you create the virtual machine.
9. Select Power on this virtual machine after creation to power on the virtual machine
after you create it.
This option is not available if you are installing the guest operating system manually.
10. Click Finish to create the virtual machine.
Results
If you are using Easy Install, guest operating system installation begins when the virtual machine
powers on.
If you are not using Easy Install, the virtual machine appears in the library.
Cloning virtual machine:
Procedure:
1. To create a clone from the current state of a virtual machine:
a. Select a virtual machine from the Virtual Machine Library.
b. Click Virtual Machine and select either Create Full Clone or Create Linked
Clone, depending on the type of clone you want to create.
2. To create a clone from a snapshot of a virtual machine:
a. Select a virtual machine from the Virtual Machine Library.
b. Click Snapshots.
c. Select a snapshot and right-click. Select either Create Full Clone or Create
Linked Clone, depending on the type of clone you want to create.
3. Type a name for the clone and click Save.
A full clone can take several minutes to create, depending on the size of the virtual disk
that is being duplicated.
Results
The clone appears in the Virtual Machine Library.
❖ Cloning a virtual machine or template enables you to create multiple virtual
machines or templates based on the original.
❖ There are two methods of cloning;
1) A simple clone, and an
2) Advanced clone.
❖ A simple clone sets up the clone with the same configuration information as
the original.
❖ An advanced clone enables you to create and use a clone customizer with
differing configuration from the original.
Cloning a virtual machine or template :
Need :
Cloning a virtual machine or template enables you to create multiple virtual
machines or templates based on the original.
Virtualize a Physical Machine :
❖ You can create a virtual machine from a Windows physical machine
in Workstation Pro.
❖ When you virtualize a physical machine, you capture all of the applications,
documents, and settings on the physical machine in a new virtual machine.
❖ Workstation Pro must be running on a Windows host system to use this
feature.
Procedure :
1. Power on the physical machine that you want to virtualize.
2. On the Windows host system, in Workstation Pro, select File > Virtualize a
Physical Machine.
If you have never virtualized a physical machine in Workstation Pro, you
need to download and install VMware vCenter Converter Standalone.
After the VMware vCenter Converter Standalone installation is finished, you
must restart the virtualization wizard.
3. Type the hostname or IP address, user name, and password for the physical
machine that you want to virtualize.
You must use the Administrator account or a user account that is a member
of the local Administrators group.
4. Type a name for the new virtual machine and specify a location on the host
system in which to store the virtual machine files.
5. Type the user name and password for your user account on the host system.
6. Click Finish to create a virtual machine from the physical machine.
The amount of time required to create the virtual machine depends on the
size of the hard disk on the physical machine.
Results
VMware Tools installation begins the first time you power on the new
virtual machine.
Starting and stopping a VM
Virtual machines are not always running and in the started state. When a virtual
machine is in the stopped state, you can restart the virtual machine to redeploy the
virtual machine into the cloud.
Before you begin
You must be assigned one of the following permissions to start or stop a virtual
machine:
• System level, Cloud group administration role with permission to View all
cloud resources (Read-only permission)
• Resource level administration role with Write or All access rights
permission (ACL) for a specific instance
You can use the console or the command line interface to complete this task. For
the command line information, see the Related information section.
Procedure
1. Click Patterns > Manage > Virtual Machines.
2. Select the virtual machine that you want to start or stop.
The detailed information for that virtual machine is displayed.
3. To start the virtual machine, click the Power On icon in the toolbar. To stop
the virtual machine, click the Power Off icon in the toolbar. Click OK to
confirm that you want to stop the virtual machine.
Creating Virtual Machines :
This step-by-step guide will show you how to set up a virtualization environment
(called a hypervisor) on your computer that will allow you to run Virtual
Machines.
Most of our guides and technical support deals primarily with
the VirtualBox hypervisor, which is a free, multi-platform, open-source tool.
Steps :
Step 1: Prepare your computer for Virtualization
Step 2: Install Hypervisor (Virtualization Tool)
Step 3: Import a Virtual Machine
Step 4: Start the Virtual Machine
Step 5: Using the Virtual Machine
Step 6: Shut down the Virtual Machine