YOUR FEEDBACK
James Nelson wrote: Thanks for the posting, which we are hoping will solve our software issue with t...
SOA World Conference
Virtualization Conference
$300 Savings Expire August 29, 2008... – Register Today!


2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
When I was a kid, which seems like just yesterday (and no comments from the peanut gallery), I loved playing with LEGO, making imaginary ray guns, space ships, and other things that amuse the average boy. LEGO's popularity and longevity have to be due in no small part to the ability to assemble a ne...
SYS-CON.TV
TODAY'S TOP SOA & WEBSERVICES LINKS


An Introduction to Server Virtualization
Virtualization is fast emerging as a game-changing technology in the enterprise computing space

PuneTech Blog

Virtualization is essentially some kind of abstraction of computing resources. There are various kinds of abstractions. Files provide an abstraction of disk blocks into linear space. Storage virtualization products, like logical volume manager, virtualize multiple storage devices into single storage and vice versa.

Processes are also a form of virtualization. A process provides an illusion to the programmer that she has the entire address space at her disposal and has exclusive control of hardware resources. Multiplexing of these resources between all the processes on the system is done by the OS, transparent to the process. This concept has been universally adopted.

All multi-programming operating systems are characterized by executing instructions in at least two privilege levels i.e. unprivileged for user programs, and privileged for the operating system. The user programs use “system calls” to request the operating system to perform privileged operations on its behalf. The interface which consists of the unprivileged instruction set and the set of system calls define an “extended machine” which is easier to program than the bare machine and makes user programs more portable.

The benefits of having the kernel wrapping completely around the hardware and not exposing it to upper layer has its advantages. But in this model, only one operating system can be run at a given time. One cannot perform any activity that would disrupt the running system (for example, upgrade, migration, system debugging, etc.)

A virtual machine provides an abstraction of complete physical machine. This is the also known as server virtualization. The basic idea is to run more than one operating system on the single server at the same time.

The History of Server Virtualization

In 1964, IBM had developed a Virtual Machine Monitor (CP) to run their various OSes on their mainframes. Hardware was too expensive to leave underutilized. They had addressed many of the performance challenges inherent in virtualization by designing hardware amenable to virtualization. However with the advent of cheap computing resources and proliferation of commodity hardware, virtualization was no longer popular and was viewed as a artifact of a an era where computing resources were scarce. This was reflected in design of x86 architectures which no longer provided enough support to implement virtualization efficiently.

With the cost of hardware going down and complexities of software increasing, a large number of administrators started putting one application per server. This provides them isolation, where one application does not interfere with other application. However, over some time it started resulting into a problem called server sprawl. There are too many underutilized servers in data centers. Most windows servers have average utilization between 5% and 15%. This utilization rate will further go down with dual core and quad core processors becoming very common. In addition to the cost of the hardware, there are also power and cooling requirements for all these servers. The earlier problem of utilization of hardware resources has started surfacing again.

Ironically the very reason which resulted in the demise of virtualization in the mainstream, was the cause of its resurrection. The features which made the OSes attractive, also made them more fragile. And this renewed interest in virtualization resulted into VMWare providing a server virtualization solution for x86 machines in 1999. Server consolidation has increased the server utilization to the 60% to 80% level. This has resulted in 5 to 15 times reduction in the servers.

Virtual machines have introduced a whole new paradigm of looking at operating systems. Traditionally they were coupled with physical machines, and they needed to know all the peculiarities of hardware. Once hardware becomes obsolete, your operating system becomes obsolete too. But virtual machines have changed that notion. They have decoupled the operating systems from hardware by introducing a virtualization layer called virtual machine monitor (VMM).

Types of Virtualization architectures

There are many VMM architectures.

Full emulation: It is the oldest virtualization technique in use. An emulator is a software layer which tracks the memory and CPU state of the machine being emulated and interprets each instruction applying the effect it would have on the virtual state of the machine it has constructed. In a regular server, machine instructions are directly executed by the CPU and the memory is directly manipulated. In full emulation, the instructions are handed over to the emulator and it then converts these instructions into a (possibly different) set of instructions to be executed on the actual underlying physical machine. Full emulation is routinely used during the development of software for new hardware which might not be available yet. Virtualization can be considered as a special case of emulation where both the machine being emulated and host are similar. This allows execution of unprivileged instructions natively. Qemu falls in this category.

Hosted: In this approach, a traditional operating system (Windows or Linux) runs directly on the hardware. This is called the host OS. VMM is installed as a service in the host OS. This application creates and manages multiple virtual machines as processes. Each virtual machine process has a full operating system inside it. Each of these is called a guest OS. This approach greatly simplifies the design of the VMM as it can directly use the services provided by the host operating system. VMWare server, VMWare workstation, Virtual box, and KVM fall in this category.

Hypervisor based: Hosted VMM solutions have a high overhead, as the VMM does not directly control the hardware. In the hypervisor approach the VMM is directly installed on the hardware. The VMM provides virtual hardware abstractions to create and manage multiple virtual machines. Performance overhead in this approach is very small.

Another way to classify virtual machines is on the basis of how privileged instructions are handled. Modern processors have a privileged mode of execution that the OS kernel executes in, and a non-privileged mode that the user programs execute in. This can cause a problem for virtual machines because although the host OS (or the hypervisor) runs in privileged mode the entire guest OS runs in non-privileged mode. Most of today’s OSs are specifically designed to run in privileged mode, and hence their binaries end up having some instructions that must be run in privileged mode. (For example, there are 17 such instructions in the Intel IA-32 architecture.) This causes a problem for the virtual machine, and there are two major approaches to handling this problem.

Para virtualization: In this approach, the binary of the OS needs to be rewritten statically to replace the use of the privileged instructions by appropriate calls into the hypervisor. In other words, the operating system needs to be ported to the virtual hardware abstraction provided by VMM. This requires changes in the operating system code. This approach has least performance penalty. This is the approach taken by Xen.

Full virtualization: In this approach, no change is made in the operating system code. There are two ways of supporting this.

  • Using run time emulation of the privileged instructions. The VMM monitors program execution during runtime, and takes over control of execution whenever a privileged instruction arises in the guest OS. This approach is called binary translation. VMWare uses this technology.
  • Hardware assisted virtualization: Both intel and AMD have come up virtualization extensions of their hardware to support virtualization. Intel calls this VT technology and AMD calls it SVM technology. These extensions provide an extra privilege level for VMM to run. These extensions have provided a number of additional features like nested page tables and IOMMU, to make virtualization more efficient.

Virtualization Vendors

VMWare: VMWare has a suite of products in this area. There are two hosted products, called VMWare workstation and VMWare server. Their hypervisor product is called VMWare ESX. They have one version of ESX that comes burned in the bios. It is called VMWare ESXi. They have virtual center as management product to manage complete virtual machine infrastructure in the data center. There all the products are based on the dynamic binary translation technology. They support various flavors for Windows and Linux.

Xen: It is an open source project. It is based on para-virtualization and hypervisor technologies. Linux is modified to support para-virtualization. Xen now supports Windows with hardware assisted virtualization. There are number of products based on Xen. Citrix, which bought XenSource has couple of Xen based products, Sun has xVM, Oracle has Oracle VM. Redhat and Suse have been shipping Xen as part of their Linux distributions for some time.

Hyper-V: This is Microsoft’s entry in this space. It is similar to the Xen architecture. It also requires hardware assistance. It comes bundled with Windows server 2008, and supports running Windows and Linux guest operating systems in the virtual machines.

Advantages of Virtualization

Virtualization has also provided some new capabilities. Server provisioning becomes very easy. It is just creating and managing a virtual machine. This has transformed the way testing and development are done. There is another interesting feature called Vmotion or live migration, where a running virtual machine can be moved from one physical machine to other physical machine. Executing of the virtual machine is briefly suspended, and the entire image of the virtual machine is moved to a different machine. Now the execution can be re-started and the guest OS will continue from exactly the same point where it was suspended. This eliminates the need for downtime, even for things like hardware maintenance. This also enables the dynamic resource management or utility computing.

Adoption of server virtualization has been phenomenal. There are already hundreds of thousands servers running virtual machines. Initial adoption of virtual machine was restricted only to test and development, but now it has matured enough to become quite popular in production too.

[This article appeared originally here and is republished in full with the kind permission of Punetech.com.]

About Anurag Agarwal
Anurag Agarwal has more than 11 years of industry experience both in India and US. Prior to founding the KQInfotech, he was a technical director at Symantec India. He has designed, developed various products at Symantec (earlier Veritas) and during 2006-2007 he conceived the idea of Software Fault Tolerance for Xen at Symantec, for which he was awarded highest technical award of outstanding innovator in 2006 for this invention. He has ME from Indian Institute of Science, Bangalore and BE from MBM Engineering College, Jodhpur.

About Anand Mitra
Prior to founding KQInfotech, Anand Mitra was a Principal Software Engineer at Symantec, chartered with the task of scoping and designing a support for windows on Xen based Fault Tolerance. He has worked for 6.5 years on the clustered filesystem product VxFS & CFS. He had architected the online upgrade for Veritas File system and designed the write fastpath which improved performance of the file system. He has also designed the integration of Power6 (powerPC) CPU feature of storage keys for the Veritas storage stack. He co-maintained technical relations with IBM for special proprietary kernel interfaces within AIX and designed a filesystem pre-allocation API for IBM DB2 database.

YOUR FEEDBACK
web2.wsj2.com wrote: Trackback Added: The Web 2.0 Trinity: People, Data, and Great Software; I've still been absorbing all the terrific brainstorming that came out of SPARK last weekend. One of the key bits that was agreed upon by all almost immediately was the utter centrality of the user. I've been big believe of this since ear
web2.wsj2.com wrote: Trackback Added: The Web 2.0 Trinity: People, Data, and Great Software; I've still been absorbing all the terrific brainstorming that came out of SPARK last weekend. One of the key bits that was agreed upon by all almost immediately was the utter centrality of the user. I've been big believe of this since ear
bluestrain wrote: I sense a bit of hostility. Tough room. It's like watching Java programmer do comedy at a sysadmin convention.
mustafap wrote: In the good old days, the techincal people designed the web, and they built it. Now, it will probably be the marketing and commercial people who will drive the design of the next generation 'web'. The thing that worries me is that the people who write viruses, worms, spyware etc are *so* much more technically savy than the kind of people who are going to drive the next generation systems. Those guys & girls are going to have a field day.
lmlloyd wrote: Oh, I had really hoped that the one upside of the bubble bursting would be that people would finally see the leveraged synergistics of empowered, paradigm-shifting, buzzword groupthink, as the load of con-man fast talk it really is. My rectum gets all in a bunch at the very concept that these out-of-the-box, emergent asshats will be once again squaring off for the mindshare of our collective intelligence, so that they can capture eyeballs to secure a solid ROI in their VC funding! You know, you would think that after losing tons of money in the last dotcom bust, people would figure out that if you have to make up words to describe your idea, it probably isn't a very good one. It is funny to me how the most successful businesses out of the last buzzword feeding frenzy had descriptions like "You use it to find information" or "it is an auction, on the computer" or "you pay to see nu...
drwho wrote: Yes my heads starts to spin when I read this stuff. My bullshit detectors go off too. But if someone with bags of money decides to start a dotcom 2.0 company in San Francisco and pay me $120,000 per year to go slap together a few applications, I'll pretend I believe. I feel like I am reading Wired or Mondo 2000 circa 1997 when I read about Web 2.0. Honestly, though, what novel and useful things have happened lately? The only thing I can think of is the potential that SVG (vector graphics) in mozilla offers. RSS, blogs, myspace, and most everything else I can think of just isn't exciting. VoIP has some potential. Wifi has done a lot, but I wonder if the rate of improvement in it will slacken. What else is there? I think I'll stay with good old Internet (Web 1.3.55.89) for now, thanks.
drwho wrote: Yes my heads starts to spin when I read this stuff. My bullshit detectors go off too. But if someone with bags of money decides to start a dotcom 2.0 company in San Francisco and pay me $120,000 per year to go slap together a few applications, I'll pretend I believe. I feel like I am reading Wired or Mondo 2000 circa 1997 when I read about Web 2.0. Honestly, though, what novel and useful things have happened lately? The only thing I can think of is the potential that SVG (vector graphics) in mozilla offers. RSS, blogs, myspace, and most everything else I can think of just isn't exciting. VoIP has some potential. Wifi has done a lot, but I wonder if the rate of improvement in it will slacken. What else is there? I think I'll stay with good old Internet (Web 1.3.55.89) for now, thanks.
cyberdanx wrote: Everyone wants to be funding the next Google and is going to be suckered with this Web 2.0. Hopefully it won't happen but this whole buzz stinks of another bubble beginning to expand quickly, sucking the whole industry into it before finally exploding with a lot of people holding a turkey at the end of it. The technology and social aspects have their uses, but it's more evolutionary than revolutionary and should be used as such.
peterdaly wrote: Web 1.0 - Documents Web 1.5 - Documents + Web Applications that pretend to be documents Web 2.0 - Documents + Web applications acting like the interactive applications they are Web applications are now free from the "static document" paradigm that previous chained them down. The web is no longer pretending to be static. That's not to say Web 2.0 is "mature" by any means, but the groundwork as certainly been laid. BTW - There are a bunch of concepts and methods here that truly are revolutionary. The more I use it and understand what it means, the more I think Web 2.0 is not a bad name, and may even be justified. -Pete
SYS-CON Italy News Desk wrote: Dion Hinchcliffe's SOA Blog: Five Reasons Why Web 2.0 Matters. Most of us know that the technology industry and the Web are often far out ahead of the mainstream. The fact is that the general public is still struggling with blogs and wikis, much less full blown architectures of participation and software as a service (to name just two aspects of Web 2.0). Not sure about this? Try sampling a few people at random and ask them what a blog is. You will probably be surprised with the answers. Nevertheless, I'm extremely sanguine about Web 2.0 and where it's headed (notwithstanding Bubble 2.0 type events like the RSS Fund assembling a massive $100 million warchest and using it with questionable judgement.)
XML News Desk wrote: Dion Hinchcliffe's SOA Blog: Five Reasons Why Web 2.0 Matters. Most of us know that the technology industry and the Web are often far out ahead of the mainstream. The fact is that the general public is still struggling with blogs and wikis, much less full blown architectures of participation and software as a service (to name just two aspects of Web 2.0). Not sure about this? Try sampling a few people at random and ask them what a blog is. You will probably be surprised with the answers. Nevertheless, I'm extremely sanguine about Web 2.0 and where it's headed (notwithstanding Bubble 2.0 type events like the RSS Fund assembling a massive $100 million warchest and using it with questionable judgement.)
SOA Web Services Journal News Desk wrote: Dion Hinchcliffe's SOA Blog: Five Reasons Why Web 2.0 Matters. Most of us know that the technology industry and the Web are often far out ahead of the mainstream. The fact is that the general public is still struggling with blogs and wikis, much less full blown architectures of participation and software as a service (to name just two aspects of Web 2.0). Not sure about this? Try sampling a few people at random and ask them what a blog is. You will probably be surprised with the answers. Nevertheless, I'm extremely sanguine about Web 2.0 and where it's headed (notwithstanding Bubble 2.0 type events like the RSS Fund assembling a massive $100 million warchest and using it with questionable judgement.)
SOA WORLD LATEST STORIES
Technology's highest paid CEO currently is also America's highest paid CEO, namely Larry Ellison of Oracle - who with a fiscal 2008 pay package of $84.6M is the top earner at any of the Standard & Poor's 500 companies. Noting that annual pay totals are "based on salary, bonuses, incent...
From Composable Services and Facelifting SOA to Real-Time SOA Systems and SOA For Parallel Computing, this is a round-up of the many themes and topic of interest to architects, developers and managers featuring at the 14th International SOA World Conference & Expo being held November 1...
Melding a stable enterprise architecture with the right level of technical and organization transparency involves two different perspectives. An architect can lay a SOA foundation that enables development teams to build new functionality leveraging Web Services. However, without a libr...
In a recent study, CIOs ranked "improving business processes" as their #1 priority for 2008. But the big question has always been - How does one get started with a BPM initiative? The traditional approach has been to engage external consultants and to dedicate significant time and reso...
In this webcast you will see some examples of leveraging JBoss product suite in Enterprise Service-Oriented Architecture implementations. You will examine real-life case studies to clearly understand the full lifecycle of an Enterprise SOA, as well as what it takes to have the “Pract...
Asigra announced that CDW has selected Asigra Televaulting as its online backup platform. Chosen for its unmatched service-oriented architecture, powerful data de-duplication and broad interoperability, Asigra Televaulting will be the technology platform behind CDW’s Remote Backup Se...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS


ADS BY GOOGLE