vTalk Series #1 – Interview with vExpert Karel Novak

Hello all,

so first of all apologies if someone has already come with the vTalk name, I’m not very original today and that’s the only thing which came to my mind :-) I would like to interview prominent members of the VMware Community worldwide, and due to geographic vicinity I will start the series with my friend and fellow VMware vExpert Karel Novak. We haven’t had a chance to sit for a beer, but the communication was intense as always!

 

Karel Novak, Czech Republic, VMware vExpert 2012 & 2013

Karel Novak, Czech Republic, VMware vExpert 2012 & 2013

Hello Karel! You’re the first Czech to have been nominated a vExpert in 2012, and once again this year in 2013, congratulations! How did you get into IT, and later into virtualization?
I’m very grateful to Mr. Petr Havlik to have started in IT. He first showed me the Commodore C64 and like every boy I fell in love with games and keyboard hitting :) I was 6 years old then, already around 10 years old I knew I would work with computers and I didn’t change my mind. There weren’t much schools providing IT related education but I found one (ISSP Brno Purkynova) where I started studying IT. Once this was done, I just had to look for work and I started at Alliance Unichem CZ (nowadays Alliance Healthcare s.r.o.) which is a wholesale distributor of pharmaceutical products, where Mr. Vladimir Bruha gave his chance to a young rookie. I hope that after already twelve years (!) of collaboration he doesn’t regrets his decision to hire me :-) I first got in touch with VMware technologies in 2007 and I fell in love very quickly with VMware ESX 3.0.1 and VMware Workstation. Since then I’m very enthusiastic about VMware and their new and improved technologies still keep me excited mainly due to their real functionality and benefits for companies.
Do you work only in Czech Republic or abroad as well?
Yes, here and there within the larger family formed by Alliance Healthcare and Alliance Boots, I’ve already helped colleagues abroad in Germany and in the United Kingdom with problems and VMware infrastructure design.
How do you perceive the adoption of virtualization in the Czech Republic? What about Cloud, VDI and SDDC?
I think that in the beginning there was a real fear from management about virtualizing production systems, I’ve experienced it myself and I had to deal with a slower adoption pace until my manager started to trust me. But overall, I feel that with vSphere 4 virtualization quickly gained pace in the Czech Republic. Nowadays it’s hard to find a company that hasn’t virtualized yet or who isn’t in the process of virtualizing their server infrastructure. It’s true that desktop virtualization isn’t easy to implement in the Czech Republic due to the specific local conditions (lots of SMBs, editor’s note). Nevertheless new technologies developed by VMware and overall virtualization should grow in the Czech Republic because whoever wants peace of mind with his business can’t afford to ignore these technologies on the long term.
For the second year in a row you were nominated a VMware vExpert, what does it means for you?
The fact that I defended vExpert 2012, and was again nominated in 2013, is something I weigh even more than last year because as they say it is harder to defend when you were nominated once. It’s not so much about the vExpert title but more about the people who are in this community of VMware enthusiasts and about the sharing of knowledge about VMware technologies, it’s a large school every day. I also like the various benefits such as access to various information ahead of others. Which is very important because you get the possibility to learn about a new product before others know about its existence, so you can be ready to solve problems with a given technology when others are just starting to learn about it.
Can you tell us something about your hobbies and personal life?
Well, I don’t know where to start with. But I believe one of my hobbies is clearly IT technologies, not just VMware but all the other interesting things in IT, of course VMware has precedence over the other things. My main hobby with family is travelling. I’m a fan of Premier League team Arsenal since I was 15 years old. I played professionally basketball, badminton, for a while I also practised Aikido, ran triathlon, biathlon, shot with air guns, table hockey, dungeons and dragons etc… there was a lot of it. Now sporting in front of the TV (mainly Arsenal), travelling and relaxing moments with my family. I’m incredibly happily in a partnership for 13 years, without support from my partner and my daughter I couln’t do what I do.
Thank you very much for your time Karel, and catch up soon!
Share Button

VMware launches vCenter Log Insight

Yesterday, VMware announced the availability of a new product, VMware vCenter Log Insight. If browsing through various ESXi and vCenter logs was turning into a nightmare for you, this will most likely ease up your work.

vCenter Log Insight comes from the acquisition by VMware last year of a company called Pattern Insight. VMware was interested in the core functionality of one of their products and integrated it into their own product line.

vCenter Log Insight is currently available as a Beta version, and is provided in the form of a 572 MB virtual appliance (you will need a My VMware account to download the beta, links are at the end of the article). Availability is planned for Q3 2013 and product should be sold either standalone or in conjunction with vCenter Operations Manager.

I’ve installed the virtual appliance in our lab and found it to be very comfortable to use, I especially enjoy the following features:

  • quick and easy setup
  • very clean and user-friendly UI
  • the various dashboards and the ability to customize them
  • the ability to search keywords across logs, which is much easier than using notepad :)

Here are a few screenshots:

vCenter Log Insight virtual appliance booting

vCenter Log Insight virtual appliance booting

Once the appliance boots, you get a VERY sexy console screen, I’m all happy inside just at the thought of it:

Console View

Console View

After a couple minutes, some data begins to be collected and analyzed. Here’s a sample of the interactive analytics view:

Analytics View

Analytics View

 

This products promises to be a very powerful aid to admins, our logs are clean for now since we reinstalled the lab a couple days ago and made some cleanup, and we expect to see more activity as users start creating VMs again :)

If you want to learn more about vCenter Log Insight (I know you will!):

Share Button

VMware vSphere 4.1 HA/DRS and 5.0 Clustering Deepdive Kindle version are available for free!

A great initiative from Duncan Epping and Frank Denneman, their two excellent books: VMware vSphere 4.1 HA/DRS and 5.0 Clustering Deepdive Kindle version are available for free!

I have bought those two books in the past and they are an invaluable resource for any serious professional who is into virtualization.

Go get them while they’re free, and drop a thank you note to Duncan and Frank!

http://t.co/cMNREZNzvH & http://t.co/ZL6HteCJwK

Share Button

Update – VMware vExpert 2013

Dear readers, it's been a long time since I've been actively posting on this blog, the reasons being mainly important changes in my life, both professional and personal. First of all, I've switched from Systems Administrator at HSBC Czech Republic to Presales Consultant at NextiraOne Czech Republic. This has been a very fundamental change in my professional life since I not only switched from a very technical position to a more sales oriented position (which still requires adequate technical knowledge) but also I switched from being an "end-user" to being a consultant at a systems integrator. You can imagine that it has taken some time to adapt :-) Secondly, as the kids grow, they require more and more attention and this also impact my ability to stay behind the computer screen and write!

VMware vExpert 2013

To get back to this post's title, I am immensely honored and humbled likewise to have been nominated for the first time this year a VMware vExpert 2013! I take this not only as an acknowledgement of my past and present activities in evangelizing VMware products and solutions, but also as a challenge on delivering more regular contributions to the VMware Community as a whole. There are now three vExperts in the Czech Republic, with my mate @novakkkarel (blog: http://www.vmware-veeam.cz/) being vExpert for the second year in a row, and @fojta (http://fojta.wordpress.com/) from VMware (our Czech VCDX!) being also a new vExpert.

I would like to extend great thanks to John Troyer and his team for making this possible. This year's vExpert nominations must have required a lot of work for them since there have been around 850 applications, and about 580 nominees.

That will be all for today, my friends, because I spent the day running a live demo of VMware Horizon View and also discussing with participants about the advantages of VMware Mirage. If you want to discuss about these products, feel free to DM me on twitter and we can talk about it :-)

Thanks and wish you all a nice evening!

Share Button

Migration from ESX 4 to ESXi 5

Hello everyone!

I hope you've had a nice summer time and enjoyable holidays as well! No such fun times for me, because (if you don't know – which means you don't follow me on twitter), I've decided to move along in my career and I will be moving to a new role in a few days. I hope to post more once the change is fully effective. If you want to get to the technical stuff, skip along these two paragraphs below :) Writing this article took me almost two weeks (I have two kids, family first and sleep deficit are my current friends) so excuse me in advance for any imprecisions or discrepancies.

So, to get back to it, I've spent most of the summer working on finalizing various projects, among which was one for which I had been longing for a year and half: migrating our infrastructure from ESX to ESXi. This is now Mission Accomplished, but the road wasn't bumpless. Incidentally, the major showstopper wasn't the VMware hypervisor migration itself, but our reliance on a 3rd party product sold by HP as Storage Mirroring Recovery for Virtual Infrastructure (a rebranded Doubletake product), which was developed in the ESX 3.5 era and relied on service console based ESX hypervisors to perform its virtual machine replication duties, by creating/scp-ing/commiting snapshots. This and a legendary dose of bureaucracy kept things asleep for nearly a year.

After I passed my VCP I prepared the whole plan for upgrading our infrastructure. Submitting my resignation letter in the end of June speeded up things on the administrative side and I was able to convince my colleagues that I would take care of the upgrade alone. I will not speak of the Veeam implementation here as our management hired a consultant (incidentally my VMware Certified Instructor who trained me on ICM5 course, pure luck!) to carry on this task.

Our environment

  • 1 vCenter server running as a VM w/ SQL Express 2005
  • 3 ESX 4.0.0 hosts, 2 in a cluster in our Production site, 1 in DR site
  • EMC Clariion Array in Production, Direct attached storage in DR

Challenges

  • no downtime for running virtual machines in our production cluster
  • migrate the ESX hosts to ESXi without having to rebuild them
  • ensure no data is lost
  • maintain the vCenter configuration (HA, DRS..)
  • reconfigure multipathing on our storage array and on the ESXi hosts
  • remote migration of our ESX host in DR site

There was only one problem with the whole upgrade, and a noteworthy one. Due to the small size of our environment (initially we were running on ESX Infastructure 3.5 Foundation) the vCenter server database was initially provisioned on Microsoft SQL Express 2005. When running the installation of vCenter 5.0 U1, I kept getting an error related to the database. Checking out the install logs showed that setup wasn't able to allocate free pages during the DB structure upgrade, meaning that the DB was full. Looking up in VMware KB, I found that KB1025914 explains how to deal with this issue and free up space. There are MSSQL scripts at the end of the KB article that can be downloaded and run on SQL Management Studio Express. Unfortunately any attempts to purge data didn't free up enough data and attempts to shrink the DB didn't provide much success either. Because I had limited time and that our vCenter configuration is fairly simple, I decided to skip the advanced troubleshooting options detailed in the KB and went with a DB backup then configured everything on a fresh DB.

Ten minutes after, the whole environment was reconfigured as it was before. To avoid memory overcommitment I powered off test VMs and low-tier production VMs to ensure all critical VMs could run properly on one host in the production cluster when I would force migrate the other host.

As one has come to expect with VMware products, everything went on without any issue. I made sure to successively put hosts in maintenance mode, power them off, then disconnected the FC adapters to ensure any involuntary loss of data (business would be happy…) and finally booted up the ESXi 5 boot ISO. A few minutes after, the first host was successfully migrated. I made sure to check that the service console switch was migrated to a management network, and enabled the vMotion checkbox. I then proceeded to shut down the host, reconnected the FC adapters and booted up, everything showed up perfectly so I repeated for the 2nd host, vMotioning everything back on the fresh ESXi 5 host.

Once this was upgraded, I enabled DRS and selected the most aggressive setting to rebalance the cluster, while powering on low-tier and test VMs. In my environment, VMs do not compete for RAM or CPU cycles therefore the default DRS treshold does not automatically rebalance the cluster since it does not see any valid reason for improving performance.

Remote migration of our DR site ESX host through Integrated Lights Out also went on flawlessly…. almost :-) If you use HP iLO2 Advanced Remote Control with the browser plugin, you already know that pressing F11 will not send the commands to the ESXi install program but will only maximize your browser window. Just launch the java version and you'll get rid of the problem!

The last step was to reconfigure multipathing behavior on our array and on the ESXi hosts attached to it. EMC recommends to use ALUA failover for Clariion CX4-120 arrays running FLARE 26 and above then configure ESXi 5 hosts to use Round Robin. Using the failover wizard on Navisphere, I configured Failover from mode 1 to mode 4 (ALUA) for both ESX hosts, then I went on to configure all LUNs to use Round Robin instead of what we had been using since the prehistoric era of ESX 3.5 (Failover mode 1 on the array and MRU on ESX hosts).

I've left the fun of upgrading VMware Tools and Hardware version from 7 to 8 to my colleagues and since I'm a good guy I've even installed the latest Update Manager to ease them up the work.

Overall the migration went on flawlessly and was very successful, except for the issue with vCenter Server DB. Looking back, the only drawback was having to use a fresh DB, but considering our tiny environment it would have been counter-productive to spend so much time troubleshooting the DB issue. This job was carried out over weekend, there was no failure or service interruption of any kind and as usual no users noticed any kind of change when they came to the office on Monday.

Feel free to share your comments about this article and contact me on twitter!

Share Button

A fairy tale in IT horror land: activation of MS Office 2010 on Windows Server

In the course of our work, we are all faced at a point with the necessity to implement "solutions" that are against nature and common sense. I invite you to take a journey on a fairy tale where a critical process requires Microsoft Office 2010 on a server to run. Using an enterprise, preconfigured MS Office 2010 package will install properly but may fail to activate. After investigating, I found out that Office wasn't able to find to resolve the address of the KMS License Server.

Here's how I resolved the issue:

1. Add the Key Management Service server key to the server's Registry

you can look this up on any of your workstations where MS Office 2010 is properly configured and activated
- Open Regedit
- Navigate to HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform
- Create a new String Value (REG_SZ) as follows:
        – Name: KeyManagementServiceName
        – Value: fqdn.kmsserver.hostname


2. Activate MS Office 2010 Manually


- Launch cmd.exe
- cd to C:\Program Files\Microsoft Office\Office14
- Launch the following command: cscript ospp.vbs /act


3. Output

(from Command Line Activation)
—Processing—————–———
—————————————
Installed product key detected – attempting to activate the following product:
SKU ID: <—————————>
LICENSE NAME: Office 14, OfficeStandard-KMS_Client edition
LICENSE DESCRIPTION: Office 14, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: xxxxx
<Product activation successful>
—————————————
—————————————
—Exiting——————–———

You can now launch any application qnd check that it is properly validated.

4. Make coffee or tea and enjoy!

Max

Share Button

Do your homework

Like many people I follow with interest, amusement and sometimes consternation the war that is waged by proxy between the two main virtualization contenders: VMware and Microsoft.

VMware, the market leader, weighs in with the incontestable arguments of proven, real world experience as well as a solid set of features. Microsoft, the challenger, arguments to this with cheaper licensing, reduced operational costs, integrated management with SCVMM and features to be introduced in their next hypervisor.

What is appalling is that some supporters are very vocal, rather too much in fact, more like people at a marketplace screaming loudly to sell their fish & vegetables. What these people didn’t get is that as a customer, I’m not going to buy their fish or hypervisor based on who screamed the most, but based on the intrinsic qualities of the software. I usually have a list of requirements, my buyer’s checklist if you will, and I will compare products based on how they suit my needs, on their reliability, their reputation then their price.

A rant against Microsoft here. All the pro Hyper-V blogs always argument that “we’re cheaper!” and “we’ll include awesome features in the next version”. Great, but I need something which offers the features now, which is reliable, proven. When I design an infrastructure or a project I can’t tell a client that the feature will be available in the next release (I’m not a commercial, mind you). Price isn’t everything… when you can afford it. An enterprise class customer with a very demanding may opt to go for the hypervisor who offers enterprise class features, and no matter which side you support, real-world experience and feedback incontestably says that VMware is THE enterprise-class hypervisor.

However a customer won’t accept to pay blindly for a product, no matter how good and unique it is, and how rich they are. When Hyper-V will become good and mature enough so that a large amount of features offered by vSphere are included/supported in it at a decent (and presumably lower) price, VMware may be forced to review their pricing policy. A lot of people still have the vTax affair in mind. By the way, Microsoft and their PR machine put a lot of effort in making a big fuss about the vRAM entitlements, but did it made Hyper-V work better? And who says Microsoft will keep binding licenses to CPU sockets in the future. You get the point.

On the other hand I can fully understand that an SMB with Microsoft Gold Partner status will naturally be inclined to adopt Hyper-V as their standard hypervisor.

The IT transformation journey is a path paved with good intentions but ambushed by merciless propaganda. It’s not different from everyday life and good judgement should be applied the same way as you would do when choosing a new house or new car. You’re investing money so ensure it fits your needs and it’s not done to impress the neighbors.

Don’t get distracted by claims, check products that match with your needs and do the math yourself.

Share Button

Certificate has arrived!

When I decided to pass my VCP5, I thought the hardest would be learning and preparing for the exam. On the fateful day of the exam, I thought the hardest would be to focus and don’t be distracted by feelings of fear and discouragement. I didn’t knew yet that the most challenging skill would be patience. In today’s ubiquitous world, we’re more and more plunged into semi-immediate communication be it twitter, mail, phone et all. The online shopping experience in this digital era almost makes us forget that there are also people who make certain things possible.

I passed my VCP in February, approximately 2 weeks before the VCP4 upgrade deadline, at a time when all VCP4 holders pushed their final rush to avoid sitting the ICM5 course.

The result was an overwhelming amount of work for the VMware team in charge of certifications: 10x the usual load!

This caused many people to rant and lament, including me. The certification took about 9 weeks to make it here, though I don’t know if homing pigeons were used for this. Nevertheless, now that I have it here, I feel that the journey was more important that the destination. already miss this feeling of waiting for something which required hard work and some sacrifices to attain. The good news is that VMware has released the VCAP5-DCD and is planning to launch the DCA version of their Advanced Professional curriculum. Something definitely worth preparing, hopefully once personal things (the birth of our next baby immediately followed by moving to a house) and professional things (upgrade to vsphere 5, install of veeam backup & replication, consolidation/virtualization of SQL physical servers) all settle down this summer.

Much to look forward to!
Max

20120601-183739.jpg

Share Button

Using Virtual Machine custom attributes with PowerCLI for snapshotting

Here's a light one to end the week in a good mood! Expect no complex engineering though, PowerCLI scripts to manage snapshots must be very common around!

I manage a small environment where uber-scripting skills are not required. But for the sake of efficiency, laziness and "intellectual effort", here's what I use to patch my machines. All my VMs have custom attributes which include among others Business Owner, Primary IT Administrator, Emergency contact and an obscure one called "IsMirroredToDR". For historical reasons we have a software called HP Storage Mirroring for Virtual Infrastructure (SMVI) which works with ESX 4 (not ESXi), it does a great job but sometimes is a pain when things go wrong. This program creates snapshots and replicates them from production to DR sites at regular intervals for business recovery/continuity purposes.

Now whenever I need to patch servers I of course create snapshots in case something would go wrong. I however need to take special care of the VMs which have the IsMirroredToDR custom attribute set to True. I therefore use the script below to automatically create a snapshot on all VMs that are not mirrored to our DR site, and filter out VMs that are being mirrored so I can take care of those later. Once I have properly stopped all the mirroring processes and ensured all snapshots for these mirrored VMs have been deleted (as in consolidated to the base VMDKs), I then change the "False" to "True", run the script again et voila, even mirrored VMs are snapshotted :-)

I had also tested a version where I also filtered VMs per datacenter, but I somehow didn't save it.

I hope this code snippet will be useful to someone, though it's definitely not rocket science.

Have a nice weekend!

 

#Get a list of VMs who have the IsMirroredToDR custom attribute set to false, then sort ascending
$VMs = @(Get-VM|Get-Annotation -CustomAttribute "IsMirroredToDR" | Where {$_.Value -eq "False"} | Sort-Object AnnotatedEntity)

#begin action on each filtered VM (comment/uncomment as appropriate)
ForEach ($VM in $VMs) { 

#****CREATE SNAPSHOTS****
#New-Snapshot -VM $VM.AnnotatedEntity -Name BeforePatch

}

Share Button

Server Virtualization Workshop

Right after passing my VCP5 last week I was contacted by a colleague from Slovakia who asked if I could provide an presentation to VMware vSphere. I liked the idea and asked in our team if someone would like to attend as well. Another colleague who's currently in a desktop support role and plans to upskill also showed interest, thus I started preparing a small workshop for them.

The workshop was time constrained (one day maximum), therefore I decided to articulate its content as follows:

2 hours theory, including among others:

  • basic introduction to type 1 & type 2 hypervisors
  • company-related stuff (virtualization standards, current infrastructure & design)
  • quick ESXi vs Hyper-V feature comparison (+explanation of Transparent Page Sharing, ballooning, vMotion, svMotion)
  • Presentation of ESXi and vSphere / vCenter
  • VM hardware, Thin/Thick disks
  • Review of all vSphere features with comments/quick explanations
  • VM Networking

3 hours hands-on lab, including:

  • Installation of 2 VMware ESXi hosts
  • Basic host setup (setting up NTP, configuring iSCSI software adapter, adding iSCSI targets)
  • Storage and VM Networking, Introduction to datastores
  • Creating a Windows VM / Installing vCenter Server 5
  • Configuring vCenter Server 5
    • Datacenters
    • Clusters
    • Configure a port group for vMotion
    • High Availability
    • Distributed Resource Scheduler (DRS)
    • Datastore Clusters & Storage Distributed Resource Scheduler (sDRS)
  • Working with the VMware vSphere Client (presentation of the various tabs, performance etc..)
  • Creating and working with VMs (snapshots, clones, templates)

In my opinion the theory part was quite dense, grabbing all these concepts in just two hours must not have been easy. The hands-on lab part was packed as well but was probably more enjoyable as colleagues got to interact and experiment. Techies love to get the ability to click everywhere!

The feedback from my colleagues was very positive, I am looking forward to their written comments on the content and the format of this workshop. I hope to have the possibility to provide more trainings like this in the future.

I started my career in IT 13 years ago by teaching people how to use computers so this was a good occasion to rehearse public speaking and appraise my communication skills. It's good to note that experience is like a good wine, the older the better.

Share Button
show
 
close