Archive

Archive for the ‘Training’ Category

Python @SBP

December 17th, 2010 No comments

My first encounter with python was the embedded scripting engine inside XBMC. The code that came with some of the XMBC add-ons sparked my Python interest to the extent that I picked up a couple of O’Reilly books on the topic and started learning the language.

When I joined Schuberg Philis, a few colleagues had Python skills, but Schuberg’s Python community was too small to ensure maintainability. This didn’t stop me from writing a couple of scripts in places where it made sense to use Python, like automating tasks in a Websphere environment using Jython (no, there is no Jerl ;-) ) and in writing one-off scripts where maintainability was not an issue. As a friendly language advocacy, some of the other engineers jokingly referred to Python as being “Perl for Germans”.

In the meantime more Python enthusiasts joined the company, resulting in more and more useful Python stuff being developed, checked into the repositories and actually being used on a daily basis. This including tooling for:
- Weblogic deployment
- Patch management on RedHat systems
- Reporting on incidents
- etc, etc.

So, all things considered, an in-house Python training looked like a good idea. Based on a one day Python training by Steve Holden I took at LISA2008, we approached Steve for a 2 day on-site training at Schuberg Philis HQ. So last week, this actually happened and about 10 of us joined the training.

After going through the python language features (datatypes, mutable vs immutable, namespaces, assignments, staments, functions, exception, modules, OOP, re module), we spend the last afternoon of the training in a free format discussion, touching an a lot of interesting topics like:
- iteration protocol an generator functions
- Pickling, marshalling and shelving objects
- Kodos, regular expression build and test tool
- Multithreading vs multiprocessing
- Network programming
- Unit testing

Everyone took something different away from the training. Some of my gems are:
- “Pyton Module of the week”, which has picked up a new subscriber
- the fact that there is an XML element tree in the standard library (which saves me from installing LXML all over the place), which was not covered in the 2.2 based “Learning Python book”.

The training was great and has certainly broadened as well as deepened our Python skills. So, if Python is Perl for Germans, I’m, proud to quote JFK in saying “Ich bin ein Berliner” ;-) . Let’s see more Python at @Schuberg Philis in 2011 and beyond!

Categories: Open Source, Python, Scripting, Training Tags:

How I experienced VMworld 2010

October 28th, 2010 No comments

Like over 6000 other people, myself and two other colleagues went to VMworld 2010 two weeks ago, in Copenhagen. This event, one of the largest vendor organized events in the world, is three days packed full of all things VMware (and virtualization) related. There are a lot of exellent posts out there already offering specifics on the subjects presented. This post is not meant to replicate that, but offer some insight into my experience there. Three very important aspects outside of the normal presentations for me were the Solutions Exchange, the VMware labs and of course networking (social, not the hardware kind).

Solutions Exchange

First of all, let me start with the Solutions Exchange. With over 113 vendors showing off their wares, iPad give-aways everywhere, booth-babes distracting you and booth staff trying to get your attention this can be very overwhelming at first. However, you are there for three days. Because of this, you have the time to walk around, get to know who is where and pick your interests. What also helps a lot is the fact you have 30 minutes between sessions. Going from one session to another takes maximum 5 minutes, meaning you have 25 minutes to spare. While that is a limited time, the vendors know this as well and keep very short presentations on a plethora of subjects related to their product. Added benefit is you don’t have to sit through an hour of slides and sales talk, they get right to the point.
In the end, I got a lot of value out of the Solutions Exchange. Of course I had some companies I knew I wanted to visit beforehand (Veeam being a good example). A lot of others however I might not have visited per se (like the VCE alliance with their awesome vBlocks) or hadn’t even heard of (like Nimsoft with their monitoring solution).

VMware labs

Another aspect I was very anxious to try were the VMware labs. The labs offer you the unique opportunity of trying out any and all VMware products in a pre-deployed environment. All labs are virtualized in a big cloud. Even the ESX(i) servers were virtualized and then deployed on demand. This is ‘eating your own dogfood’ in the purest form. The disadvantage here was the performance: my first lab was almost unworkable the first ten minutes. After that time, it was still slow but workable. With a couple of thousand VM’s running off of a cloud in the USA this can be expected though I guess.
The physical lab setup is quite nice: it is a dual-screen setup, where the actual labs are on your left screen. The right screen will have the lab instructions, any remarks and tips and this will allow you to not keep having to switch back and forth between screens. For those with a dual-screen setup, you know what I mean (personally, I’ve arrived at three screens which is even better ;) ).
Some labs are free-form. I got to try CapacityIQ, Chargeback and Orchestrator in the Sandbox for example. The sandbox was a complete vSphere environment, with all the bells and whistles installed and configured. Since I can’t spend the time on doing a Proof of Concept per se, being able to play around and mess with the config proved to be invaluable for me. The lab instructions here consisted of some pointers but the idea really was to mess around and try out anything you wanted. Again, this was not some kind of demo but an actual environment created just for you.
Other labs are more strict (using strict very loose, you can still mess things up if you want). I did the installation lab for VMware View 4.5, to see what is was all about. The lab instructions will guide you through the install step by step, clearly describing the actions needed to complete. Even though I was unfamiliar with this specific product and how to set this up, I felt very comfortable going through this and ended up with a working View setup in under an hour!

General networking

This is the biggest VMware related event in Europe. The who’s who in virtualization land is here. Most of the top Dutch bloggers (like Duncan Epping, Eric Sloof, Gabrie van Zanten, Arne Fokkema, Arnim van Lieshout, Joep Piscaer, etc etc etc), a lot of the 3rd level guys from vendors you normally don’t get to talk to a lot and of course big names in VMware like Paul Maritz and Steve Herrod. If there is any chance to shake hands and meet these guys (and girls) in person, it’s here! This is one of the fields where I would take a different approach next time I visit VMworld though. While I had my sessions and labs planned out, my networking was a lot of free format. This works for meeting the vendor people (they aren’t going anywhere), especially the bloggers are a lot harder to shake hands with. It’s not that they have a security cordon around them, but these guys are popular! I hate to intrude on an ongoing conversation but in the end this meant I did not get to shake as many hands as i had hoped for. Next year I’ll be making sure I have at least pinged some of these guys beforehand, so they expect me to walk over and shake hands. Makes it less of an intrusion and more of a friendly talk.

Sessions

In the end I still spent most of my time visiting the sessions. As I mentioned earlier there are already excellent posts online on all of them (most Dutch bloggers were posting real-time, check Gabes Virtual World or NT Pro for example). I will do a quick summary of what I visited and hope you get some value out of that.

  • Keynote
    The keynote was done by Paul Maritz ad Steve Herrod. These guys know how to do a presentation but there was of course a lot of marketing. What it boils down to: Cloud Computing is not just a marketing term. Their goal is to make everything you could consider a resource (storage, network, processing power, applications, etc) available as flexible as possible. This allows you, the administrator, to offer IT as a service to the end-user. It makes his experience transparent and gives him the flexibility he requires. Sorry, can’t explain it any better with less buzzwords, feel free to correct me in the comments ;) .
  • Troubleshooting using esxtop
    esxtop has always been a powerful tool for troubleshooting your problems on an ESX server (and of course resxtop for ESXi). With the release of 4.1 new counters are shown (note: values were already recorded, simply not shown yet). Some of the most importent ones are LAT_C and LAT_M, showing CPU and memory contention. Don’t forget: you can export esxtop into csv and analyze further with perfmon or esxplot (open source, available at VMware labs).
  • VMware View 4.5 Technical Overview
    VMware View 4.5 offers some major improvements over the previous release. Most important are full support for Windows 7 32- and 64-bit, PCoIP authentication with smart card and offline support. The last one is a major performance improvement for road warriors and now allows them to work without a connection.
  • Intelligent HA: Application awareness with VMware HA
    VMware teamed up with Symantec to bring you this one. It boils down to application clustering support for applications with the intelligent layer of VM underneath. It is based on the Symantec clustering product and the years of experience they have there.
  • Planning and designing a HA infrastructure
    This session, given by the awesome Duncan Epping, focused on all those little (and big) things you need to keep in mind when using VMware HA. If you regularly read his blog you will know most already. Some highlights: keep in mind you can only have 5 primary nodes in a cluster, design for management network redundancy (a VM network is not a HA network!), change your failure detection values when adding a secondary Service Console. Very important improvements in 4.1 are the fact you are now able to see the master status of nodes and in the vCenter client you have a Cluster Operational Status. Furthermore, in 4.1 U2 detection for lost lock and thus partial split-brain has been built in. Duncan also discussed an often missed ‘Golden Nugget’: vm monitoring. This allows you to quickly recover even from a BSOD and makes a screenshot for you to ease troubleshooting. On the roadmap: storage hearbeating, no more DNS dependency and Improved isolation response actions.
  • Transitioning to ESXi
    We’ve all known this was coming and 4.1 is the last release with a full-blown Service Console ESX. ESX is dead, long live ESXi! Whereas with 3.5 and, to a lesser extend, 4.0 not everything could be done with ESXi, those days are gone. With the focus on agent-less management via API, CIM and PowerCLI a powerful framework now exists for ESXi management, more powerful than ESX with the agents in the COS. Worth noting: Tech Support Mode (TSH) local and via SSH is now fully supported, with all commands sent to syslog. You can still disable it and go a couple of steps further with lockdown mode.
  • 10 best free tools for vSphere management
    Every VMware administrator worth his salt should have these installed! For a great list check Kendrick Coleman’s blog, but the ones mentioned were: VMware Guest Console, Veeam FastSCP, Trilead VM explorer, XtraVirt vSphere client RDP Plugin, vEcoshell with the Community Powerpack, VKernel CapacityVIEW, vSphere mini monitor, RVtools, vFoglight QuickView and Xangati for ESX.
  • Tech Preview Storage DRS
    Honestly, this was one of the coolest sessions I attended mostly because of the subject. While CPU and Memory have been a resource where your VMware cluster is able to spread the load, storage is coming too. This is a complex challenge (as shown in the presentation) but in the end this will add more awesomeness to your VMware cloud.
  • PowerCLI for administrators
    This session, given by Alan Renouf and Luc Dekens (those guys are awesome) was actually not new to me. I’ve heard Alan spread the word on the awesomeness of PowerCLI before so I didn’t need convincing. What it boils down to: use PowerCLI to make your life easier as an admin. Like the tagline on Alan’s blog says: “Everything is poshable!”
  • SRM using NetApp
    SRM is a workflow task allowing you to script your Disaster Recovery and actually test it. I am impressed by the product and would love to deploy it as I see some very good use cases. There is a but: it’s hideously expensive in my opinion and I simply can’t get the business case for it worked out. Too bad.
  • Best practices to increase availability
    I’m afraid to even summarize this session. It’s given by two people who I consider absolute superstars, being Chad Sakacc (EMC) and Vaughn Stewart (NetApp). The fact alone these guys, who work at competing companies, are able to give a presentation that will grab your attention for the full hour is amazing! The presentation was packed full of tips and tricks. One I want to pick out: CHECK YOUR MISALIGNMENT (yep, that is supposed to be in capitals). They took the time to explain and emphasize this can cost you a lot of performance. Something else they mentioned: there is no ideal protocol. Each protocol is different and has it’s own super-power and kryptonite. What works best is designing for those.
  • VDR, all you need to know
    VMware Data Recovery is the backup product you get for free when you have an Enterprise Plus license. While this started as a very simple solution, it has grown out to be very powerful and a ‘good-enough’ solution for a lot of people. As long as you are aware of it’s limitations (and use the most recent version) it could very well be enough for you as well.

Concluding, VMworld 2010 Copenhagen has been an awesome experience for me. I’ve gotten an incredible amount of information, packed in three days. Some of that is not directly applicable to how I am using VMware now, but a lot of it I can apply directly to my day-to-day work. As such, I’m hoping I can make it again at the next VMworld!

VMware troubleshooting training

September 7th, 2010 No comments

Last week Schuberg Philis organized an internal (official) VMware troubleshooting training (VST). I had personally already followed this training two months ago. However, as I found the training extremely useful and very dynamic (the training is never quite the same) I decided to follow the last two days of the training again. Another very good reason for me to do so was the fact it was given by superstar Eric Sloof (aka @esloof on twitter). He adds a tremendous amount of value to the VMware community as a whole with his blogposts on ntpro.nl which, if you ask me, should be part of your daily reading material. He’s also given trainings for Schuberg Philis before. From my experience he’s a very knowledgeable and patient trainer who is able to explain the material in a very easy to comprehend form while keeping the pace high. Added bonus: a couple of days before the training he was awarded best freelance VCI (VMware Certified Instructor) of the quarter!

VST is a very good balance between theory and lots and lots of hands-on troubleshooting. Each part will start with some theory, followed by labs. Some labs are the typical ‘type this and see that’ but most value are those where ‘random’ things are broken which you then have to find and fix. Especially the last two days are mostly these kind of labs. The experience with VMware specific troubleshooting you gain here is invaluable and is something which would normally take up months if not years of your professional life. The most valuable lesson of all (as with everything): know the product and your setup and structure you troubleshooting accordingly. This will save you hours of random troubleshooting and creating new issues in the process.  Of course, it also helps having the trainer around who can sometimes give a hint and steer you back in the right direction. Don’t want the training to take weeks…

If you are thinking about doing your VCP, this training will allow you to do the exam. If you already have real-world experience with VMware I would advise you to skip ICM (Installation, Configuration and Management) and go straight for VST. One important note to make is that the VST training material only partially matches the exam material. Most training centers however will add an extra exam training as a package (Schuberg Philis arranged this with Eric as well). Combine the two and you get much more value out of your training budget. And, with a bit of luck, you get a training from a VMware celebrity ;) .