Receiving Microsoft Virtual Server events from a managed program

Ben Armstrong continues his Virtual Server development series, this time explaining how to handle events from a managed application:

  • Setup the managed application appropriately to talk to the Virtual Server COM interfaces
  • Declare your Virtual Server COM object ‘WithEvents’ as follows:
  • Private WithEvents virtualServer As VMVirtualServer = Nothing

    instead of:

    Private virtualServer As VMVirtualServer = Nothing

  • Create a subroutine to catch the event:
  • Public Sub virtualServer_EventLogged(ByVal logMessageID As Integer) Handles virtualServer.OnEventLogged

    ‘Do something with the event
    msgbox(CStr(logMessageID))

    End Sub

You should read the original post for helpful comments and further explainations from Ben.

Virtualization is the first step of a long walk called Grid Computing

Today’s virtualization barely permits us to disregard what kind of resources we really have inside our servers.
Companies like VMware, Microsoft, Xen, etc. are offering solutions to share (although still not in a dynamical way) CPU power, memory, storage and partially networking within a single server (or a cluster). Companies like Citrix, Microsoft, Sun, etc. are offering solutions to share applications within a single server (or a cluster).
If you think these technologies could be just refined and nothing else, think again.

In our near future virtualization will permit us to disregard where our servers are located in our datacenter (something VMware is trying to approach with VMotion technology).
Then, in a farther tomorrow, virtualization will also permit us to disregard where our servers are located among multiple datacenters, even of different companies.
And so on, up to the final goal of disregarding everything but the application we are trying to use. That application tasks will be processed in a distributed way, among all available datacenters in the Net, which is possibly called Grid Computing (while the pay-per-use of Grid Computing is possibly called Utility Computing).

Benefits of such a distributed environment are huge:

  • maximized available resources usage
  • increased computation power
  • increased resources availability
  • maximized high availability

just to name a few.

Virtualization is going in that direction and someone is already trying to reach those results. But there are millions of technical problems to solve, from scheduling to security, from accounting to system management.
And without a common virtualization framework we won’t reach the final goal anytime soon.

So if you asked yourself why VMware is trying to establish virtualization standards this could be the answer: VMware is looking for grid computing much before any other company.

If you feel Grid Computing a fascinating subject you should absolutely read the free IBM Redbook Introduction to Grid Computing.

Thanks to David Marshall for speed up this post writing.

Virtual machines repository for QEMU

Last month VMware released its Community Virtual Machines, collecting all available vendors and communities pre-installed virtual machines in a VMTN dedicated site.

But QEMU, probably the most known open source virtualization project, has one repository as well: FreeOSZoo.

FreeOSZoo, maintained by Stefano Marinelli, provides you several pre-installed images of open source operating systems including Linux, BSD and Solaris variants.
For the project mission and the distribution policy you won’t find any Windows or other commercial OS images.

Thanks to OSNews for the news.

Webinar: Using Application Virtualization to Ensure a Secure Desktop Environment

Softricity organized a new interesting webinar about virtualization and security:

Hardening operating systems is clearly critical to protecting government IT from rogue software installations and viruses. It is an incredibly tedious and imperfect process: the more applications you manage, the more complex the hardening process and the harder it is to cleanly remove applications. Even worse, requirements for some applications require write permissions that open you to security risks.

But there is a solution: Softricity application virtualization. It lets you reduce applications to a single file that includes all the required dependencies short of operating system services, and execute them in a protected memory space that abstracts applications from the OS.

The event is scheduled for 8th February. Register for it here.

Update: Recorded event is now available here.

Thanks to Andrew Dugdell for the news.

Sun SPARC hardware to get virtualization for multiboot while looking at Xen

Quoting from News.com:

Sun Microsystems later this year will introduce virtualization technology to let its newest Sparc-based servers run multiple operating systems simultaneously, thus catching up to a feature already built into Unix machines from rivals IBM and Hewlett-Packard.

This calendar year, on the T2000 and T1000, we will introduce our first generation of virtualization to bring people beyond the container technology Solaris 10 already offers,”

Xen is the future, Yen said. Although the company developed its own logical domain software, Sun eventually expects it will become one with Xen.
“Eventually we expect Xen will get industrywide acceptance, and we’d like to be part of it. Some time, probably in the second half of 2007, we will merge,” Yen said…

Read the whole article at source.

VMware products win InfoWorld 2006 Technology of the Year Awards

VMware just won another prize. Quoting from the official announcement:

VMware, Inc., the global leader in virtual infrastructure software for industry-standard systems, today announced that VMware Workstation received the InfoWorld 2006 Technology of the Year award in the best desktop virtualization category.

In addition, VMware ESX Server and VMware VirtualCenter received the InfoWorld 2006 Technology of the Year award in the best server virtualization category, marking the second consecutive year that VMware has won this prestigious award.