Archive for November, 2006
Finally I am not the only one writing applications using the SDK Flores Eken from ITQ Consultancy in the Netherlands is also an enthausiast VMware SDK programmer. He wrote this application in C# based on the new ESX3.x /VC2.x SDK. It allows you to easily manage all portgroups and VLan IDs on all your ESX Servers.
ITQ is nice enough to share their application with the world, let this be an good example! If you have made some cool applications yourself, share it! run-virtual.com will host it for you if you want.
Ok, well a day after the initial release, version 2 is ready VMotion Info now reports about the actual CPU features instead of just providing the raw data. Now it will be easy to tell if you can Vmotion across boxes by default and if not, if you can fix it.
Well the machines just started rolling out of the factories, but if you are interested to know what the childeren in the poor african countries will have to their disposal, you can check out the OLPC as a virtual appliance. Tom Hoffman has made the OLPC images available on his blog.
Well I finished fase one of my first VB application that can talk to VI3. This application gathers information from all physical hosts about the CPUs installed and what features they have. This is then reported in one single overview (that you can copy-and-paste into excel) and know easily if you have any vmotion problems.
Next step is to put some more intelligence in the program by actually understand what bitmasks do what (VT, SSE, SSSe, NE.. ) and tell you what problems can be fixed and which are more of a risk… Step 3 will be that the program will auto apply an bitmask filter to all your virtual machines.
Have a play with it and please report any bugs
You can download the VMotionInfo application here
Well that Virtual Machines are stable and proper isolated i know, but hackers are now-a-days even avoiding them as they are scared of getting caught One more score for a Virtual Machine against physical boxes, hoera!
Read the whole article in information week
p.s. Thanks john.
I have just posted a manual on how to install perl and the VI3 perl toolkit on windows, so you can run some of these cool scripts on you VirtualCenter Server (or any other windows box).
Well normally i try to keep my posts serieus, but sorry I have to express myself tonight. For months I have been wresteling with the VI3 SDK and was only able to write my own apps using PHP and Perl. Which is great, but does also limit what apps I can write for you guys (and girls?).
At VMworld I went to the session “vmotion – apples and oranges” or some thing like that where an engineer explained what features can be an issue for vmotion between boxes. So I asked what is the easiest was to find out what CPU features your actual servers support. The answer was disappointing, some story about inserting a floppy of cdrom in your physical server, rebooting????? and the small app will tell you. So they actually do expect you to go to all your servers with a actual physical notepad and write all those bits and bytes down and then later compare them. Yeah right.
Well I am finding out more and more that the VirtualCenter client is by far not using all the actual functionality of the VI3 product. One of the things the SDK does expose is for every physical server what kind of CPU it has and what features are available. You can even compare if one physical server might have different cpus. So, yes I could write a very easy application in Perl (using the perl toolkit) that shows you all the servers and their cpu features, high light the differences and asking you if you want to set a specific cpu feature mask for a group of selected virtual machines. All automated. Writing that application should take me about one hour. But then all you people need to be able to run that application, meaning you need to have perl installed, add some extra needed modules to perl, download the VI perl toolkit, compile the toolkit and run my small perl app. MMmmmm, far from user friendly. One other option would be to create a Virtual Appliance with linux, all modules installed, and you can just run that. That is easy, but come on, for a simple app, you need to download an entire Virtual Appliance?? mmm. a bit of over kill.
So I have been troubeling with this delimma and every time I think, let’s just write it in Visual Basic. A simple application environment to write win32 application (sorry C#, java, etc all to complicated for me). But how the freak do you program a soap webservice client in VB???? Well no help from VMware, as there are no VB samples and all VMware engineers are diehard C++ programmers, so forget about them touching a low live like Basic. For months I have been trying to get VB using a proper WSDL to work, with no luck…… (even google let me down)
Yippie, I can not express how happy I am. For 3 nights in a row I have been limiting my sleeping time on trying this challange. But I have done it. I have a working VB application running, where I actually understand the source code and wrote every single line of it myself, I have no slow delay problems (as many other people have using the WSDL file). WOW! Why did no one do this before??
So soon, on www.run-virtual.com, a new application “VmotionIT”, an application that will check physical server diffenrences and automates setting CPU bit mask on all your virtual machines
I can finally go to sleep now, with a big smile on my face
Now I can dream of all the other cool win32 apps I can write:
mmmm much to do… need to request a holiday i think
Just a reminder about the upcoming webcast about the VI API. The second in the series will be held November 15 at 11:00 AM PST. You will get an in-depth review of the performance functionality for the API toolkit.
If you haven’t downloaded the toolkit, you can do so at:
Title: Using the VI API for Enhanced Performance Management
Date/Time: November 15 – 11:00 am to 12:00 pm PST (1 hour)
Abstract: Learn how to use The VMware Virtual Infrastructure API’s new technology to retrieve performance information from Virtual Center and ESX Server. The Webinar will discuss the overall architecture of the VI Performance Manager, techniques to retrieve ESX and VM performance statistics. The Webinar will guide the audience using a sample script using the VI Perl Toolkit.
Title: The VI Object Model
Date/Time: December 6, 2006 – 11:00 am to 12:00 pm PST (1 hour)
Abstract: The VMware Virtual Infrastructure provides a powerful object model for the description/management of the Virtual Infrastructure. This Webinar will discuss the model and provide information about its overal organization, and differences when viewed through Virtual Center and ESX. The Webinar will make extensive use of the Managed Object Browser, available through any VirtualCenter or ESX Server 3.0 node.
If you haven’t done so, you can replay the VI Perl Toolkit introduction. It can be found at: here
Well here it is, my first Tech Video recorded at VMworld 2006.
In this video: