Virtuatization in Operating System

After the concept of server virtualization and application's virtualization, the field of virtualization evolved to a next level. Jointly with VDI (Virtual Desktop Infrastructure), Virtualization of Operating System (OS) is one of those procedures that get popular in the current market. The company Ardence (which is now a part of Citrix) has initiated the concept of OS Virtualization technique. In this chapter, you will learn about the basics of Virtualization in Operating System.

What is OS Virtualization?

With an operating system, virtualization does not remain pre-installed or preloaded on the local device, and no hard disk drive is required. The whole lot of things is run from the network using a type of virtual disk. Through the current implementations, this virtual disk gets the disk image file that is stored on a remote server.

Types of Virtual Disks

There are two categories of Virtual Disks in the majority implementations:

  • Private Virtual Disk: A private virtual disk generally used by a single client only, just similar to a local hard disk. Based on the rights assigned, the user can save the information on that virtual disk. So as the client has restarted the settings get retained, just like working with a physical local hard disk.
  • Shared/Common Virtual Disk: Several clients require a shared Virtual Disk at a time. During this usage, changes get saved in a special type of cache memory, but as the client shuts down or restarts, the cache gets cleared. A Virtual Disk gets created by implementing a kind of imaging technique. Now you know, mostly, what operating system virtualization is, let's now see into a bit more detail on how it works and what components are concerned.

How Does OS Virtualization works?

The first section is the OS Virtualization server. It is the central point in the OS Virtualization structure. The server places the streaming of the data on the virtual disks for the client and also establishes which client will get connected to which virtual disk (by the use of database where this information resides).

Secondly, there has to be client that contacts the server for getting connected to the virtual disk and requests for components stored on virtual disk for running the operating system.

Connecting to OS Virtualization as Server

First, you start the machine and set up a link with the OS Virtualization server. Most products offer various probable methods for connecting to the server. One of the frequently used methods is using a PXE service, but also a bootstrap is used a lot. Moreover, each method initialized the NIC (Network Interface Card), receiving a (DHCP-oriented) IP address and an association to the server.

What Happens at Virtual Disk Connection?

As the connection is established among the client and the server, the server looks through its database for checking whether the client is known and what virtual disk(s) needs to be assigned to the client. As more than one virtual disk gets connected then a boot menu is displayed on the client. When only one disk is assigned, that disk will be connected to the client later.