Hyper-V Terminology in VMware speak

 

I’ve never had much to do with Hyper-V and my knowledge of it is nowhere near as strong as VMware, however since joining Nutanix I find the topic comes up more and more in conversations with clients. It’s great that Nutanix is hypervisor agnostic and supports multiple platforms, but this means I need to get up to speed with the Hyper-V lingo!

I’ve come up with the below table that I can use as my mini translator, so when in conversation I have a quick reference point.

VMware vSphere Microsoft Hyper-V
Service Console Parent Partition
VMDK VHD
VMware HA Failover Clustering
VMotion Live Migration
Primary Node Co-Ordinator Node
VMFS Clustered Shared Volume
VM Affinity VM Affinity
Raw Device Mapping (RDM) Pass Through Disks
Distributed Power Management (DPM) Core Parking
VI Client Hyper-V Manager
vCenter SCVMM
Thin Provisioning Dynamic Disk
VM SCSI VM IDE Boot
VMware Tools Integration Components
Standard/Distributed Switch Virtual Switch
DRS PRO/DO – Performance and Resource Optimsation/Dynamic Optimisation
Web Access Self Service Portal
Storage VMotion Quick Storage Migration
Full Clones Clones
Snapshot Checkpoint
Update Manager VMST – Virtual Machine Servicing Tool

VMware ESXi Cookbook | Book Review

Disclaimer: I was recently approached by a representative of Packt Publishing and was asked to review a copy of this book. I therefore received an ebook for review.0068EN_VMware ESXi 5

I was a bit dubious about this book  when I read the overview on the Pack Publishing Website, the website quotes

  • Understand the concepts of virtualization by deploying vSphere web client to perform vSphere Administration
  • Learn important aspects of vSphere including administration, security, performance, and configuring vSphere Management Assistant (VMA) to run commands and scripts without the need to authenticate every attempt
  • VMware ESXi 5.1 Cookbook is a recipe-based guide to the administration of VMware vSphere

I’ve been working with VMware products for a number of years now and this book looked like a beginners guide. I was also a little disappointed that the book was based on vSphere 5.1 and not the most current release vSphere 5.5 even though the current release of vSphere was out 6 months before the book.

Who is the book for?

The book is primarily written for technical professionals with system administration skills and basic knowledge of virtualization who wish to learn installation, configuration, and administration of vSphere 5.1. Essential virtualization and ESX or ESXi knowledge is advantageous.

I personally would say it was for people who were new to Virtualization or deploying VMware vSphere products for the first time. Perhaps even a useful resource for management or project management who want to delve a little deeper into the technology. Virtualization concepts would be advantageous, however the book covers each step of a basic installation in good detail.

Areas Covered

The book is split into 9 chapters, aimed at covering a cradle to grave ‘basic’ vSphere installation.

  1. Installing and Configuring ESXi
  2. Installing and Using vCenter
  3. Networking
  4. Storage
  5. Resource Management and High Availability
  6. Managing Virtual Machines
  7. Securing the ESXi Server and Virtual Machines
  8. Performance Monitoring and Alerts
  9. vSphere update Manager

The book reads and flows well, with the explanations clear and concise. The author does a good job explaining all concepts covered in the book.

Final Thoughts

If you are a seasoned vSphere administrator/architect this book probably isn’t for you. Saying this, it does act as a handy reference if there are areas of vSphere that you aren’t familiar with that you need to review.  One thing I do like about this book, is all screenshots (where possible) are taken from  the vSphere Web Client. As many of us know, the Web Client will be the only way to manage VMware infrastructure in the not too distant future, therefore for the old skool folk like myself it also acts as a handy reference to help complete tasks in this manner.

Overall, I would say the author has done a great job in what they set out to do. Create a quick fire reference for vSphere administration tasks.

 

 

Book Review | Networking for VMware Administrators

I’ve been working with VMware products for a number of years now, from fairly simple small environments to enterprise level complex environments. The area that NetworkingForVMwareAdministratorsalways crops up as my weakness is Networking. It’s an area I never really had much involvement in when working my way through the ranks of helpdesk and Wintel server administration, however is an extremely important factor in a successful VMware deployment. Finally after years of waiting along comes this little gem from VMware Press authored by VCDX Chris Wahl and Steven Pantol. Being an avid reader of Chris’ Blog the Wahl Network I had high hopes for this book and I’m pleased to say I was not let down.

The book is split into four sections:

  1. Networking 101 – The very basics
  2. Virtual Switching – The differences from physical
  3. Storage Networking – A look at IP storage
  4. Design Scenarios – A look at vSwitch example configurations

This to me was a great layout, starting at the very basics slowly easing you into the more technical matter.

Given the title of the book, prior to reading I would have put this in the ‘deep technical’ category, however both authors have a great writing style and their sense of humour really comes through making the book a pleasure to read.

This book is a must have for any VMware admin and one that I only wish was available a few years back!

Backup Options for vCNS Manager | vSphere Design

I was asked the following question recently:

“Why do I need to bother backing up the config file of my vCNS Manager, can’t I just snapshot it?”

It’s a good question, and one that involved a little lab testing to play around with.

If you were to snapshot your vCNS manager,which does work from testing in my lab (albeit limited functional testing),  then you are able to restore the vCNS manager from snapshot fairly efficiently and quickly.

The questions I then thought of were:

  • When is the backup window? (if there is one)
  • How often would a vCNS snapshot be taken?
  • How busy is the vCNS manager?
  • Does a backup restore involve change control or other teams?

The reason for these questions in my head were simple.

If a vCNS manager was in a relatively busy vCloud environment deploying a number of Edge devices daily, then yes they would continue to run if the manager were to fail, but if the vCNS manager were only scheduled to have a daily snapshot during a nightly backup window, then there could be an issue with unknown Edge devices after the restore from backup.

The official supported method of backing up vCNS manager is to schedule a backup from the manager itself, to backup the configuration to an FTP/SFTP site.

If the vCNS manager were to fail, you would simply deploy a new vCNS manager (normally within minutes) then re-apply the last saved configuration and get back up and running fairly quickly. Yes, you could argue that if only a single backup was taken daily then we would be in the same boat as with a snapshot, however, It’s much easier and more manageable, in my opinion, to set perhaps an hourly backup (in busy environments) and perhaps only keep a days worth of backup files.

After some debate with my client, my recommendation was to ‘keep it simple’. This meant, stay within the realms of vendor recommendation and support. Configure an hourly backup and keep a single days worth of backups. In the case of a failed and unrecoverable vCNS manger, deploy a new appliance and restore the configuration.

I’d be interested to hear any feedback from others as to what they do in their environments or in fact recommend to others.

VCAP-DCD | Objective 2.5 | Build Performance Requirements into the logical design

Understand what logical performance services are provided by VMware solutions

VMware have a number of performance enhancers in the vSphere, some of which are available in all licence versions, some however require a certain licence level to make the features available.

Memory
  • Transparent Page Sharing – Shares identical memory pages across multiple VMs. This is enabled by default. Consideration should be given to try and place similar workloads on the same hosts to gain maximum benefit.
  • Memory Ballooning – Controls a balloon driver which is running inside each VM. When the physical host runs out of memory it instructs the driver to inflate by allocating inactive physical pages. The ESXi host can uses these pages to fulfill the demand from other VMs.
  • Memory Compression – Prior to swapping, memory pages out to physical disks. The ESXi server starts to compress pages. Compared to swapping, compression can improve the overall performance in an memory over commitment scenario.
  • Swapping – As the last resort, ESXi will start to swap pages out to physical disk.
Disk
  • vStorage APIs for Array Integration (VAAI) –  is a feature introduced in ESXi/ESX 4.1 that provides hardware acceleration functionality. It enables your host to offload specific virtual machine and storage management operations to compliant storage hardware. With the storage hardware assistance, your host performs these operations faster and consumes less CPU, memory, and storage fabric bandwidth.
  • Storage I/O Control (SIOC) – was introduced in vSphere 4.1 and allows for cluster wide control of disk resources. The primary aim is to prevent a single VM on a single ESX host from hogging all the I/O bandwidth to a shared datastore. An example could be a low priority VM which runs a data mining type application impacting the performance of other more important business VMs sharing the same datastore.
  • vSphere Storage API’s – Storage Awareness (VASA) – VASA is a set of APIs that permits storage arrays to integrate with vCenter for management functionality.
Networking
  • Network IO Control (NIOC) – When network I/O control is enabled, distributed switch traffic is divided into the following predefined network resource pools: Fault Tolerance traffic, iSCSI traffic, vMotion traffic, management traffic, vSphere Replication (VR) traffic, NFS traffic, and virtual machine traffic.  You can control the bandwidth each network resource pool is given by setting the physical adapter shares and host limit for each network resource pool.

Identify and differentiate infrastructure qualities (Availability, Manageability, Performance, Recoverability, Security)

This has been covered in a previous Objective.

List the key performance indicators for resource utilisation

According to ITIL, a Key Performance Indicator (KPI) is used to assess if a defined service is running according to expectations. The exact definition of the KPIs differs depending on the area. This objective is about server performance which is typically assessed using the following KPIs: Processor, Memory, Disk, and Network.

VCAP-DCD | Exam Experience

On Friday morning I sat the VCAP5-DCD exam and I’m delighted to say I passed! If you are a regular visitor, you’ll notice that I have started a VCAP-DCD study guide section which hasn’t been updated in a while. I wont bore you with why, however I do have all my study notes, which I will collate and continue posting alongside the relevant objectives.

Usual Disclaimer: I agreed to the NDA prior to sitting the exam so I will not divulge any exam specifics, so please don’t ask!

The exam is tough, as is the common theme with VCAP exams, and test every area of a vSphere deployment. My biggest piece of advise would be get to know the blueprint inside out, it should become your friend, and you should be comfortable with everything in it!

The multiple choice questions are more complex and tougher than those set out in the VCP exams, as you would expect being the advanced certification, however I believe these questions are very fair. The drag and drop style questions are tricky too and require some working out, don’t whizz through these questions, take your time, as I would image these are some big hitters on the overall exam scoring (I don’t know this, I’m just assuming). The Visio style diagram questions are again tough, (see a pattern emerging here?) however contain all the information you need and more to successfully answer the question.

In no particular order, here is what I would recommend to any people planning to sit the exam:

  • Blueprint, Blueprint, Blueprint
  • Keep an eye on the clock. VMware recommend 15 minutes per Visio style design question, with 6 design questions in total. Thats 90 minutes from your 225 on 6 questions
  • Don’t panic about time, keep calm and work at a consistent pace and you will be fine
  • Take as many laminate sheets as permitted, I drew my designs on here before doing them on screen so I knew what I wanted to place where, as the tool can be quite clunky

Aside from official VMware documentation, there are a few other resources I would highly recommend to use for study material, they can be found on my VCAP-DCD study guide page.

Last piece of advise would be to draw out some practise designs. Take your client or internal designs, change them and draw them out. Don’t just concentrate on hosts and clusters, include storage and networks too. Use multiple tiers of storage, multiple protocols, and throw in some DR for good measure.

Originally, for my VCAP-DTD study I used some Magic Whiteboard from Amazon, however it’s quite expensive and I went through the roll quite quickly. I’ve since purchased a clear glass dry-erase board and put it on the wall in my home office, which is much more convenient and in my opinion an essential skill that needs to be sharp for the exam!

If you are sitting the exam soon, please keep checking back for updates as I continue to post my notes against each blueprint objective and good luck! What’s next? VCAP-DCA of course!

VCAP-DCD

 

Calling all Thin Client Vendors

Aside from my day job, buying a new house, studying for VCAP exams, presenting at VMUG’s (The Belgian VMUG is next week), I have a couple of personal side projects I’m working on, both virtualization related of course. The first exciting project is well under way and I hope to announce it very soon. They second is still in it’s infancy and is the reason for this blog post, so I’m hoping it works!

I’d like to reach out to all thin client vendors who offer  thin clients with Teradici PCoIP chips built in to ‘donate’ or ‘loan’  a unit to me for some testing. You may be thinking, I work for a well known virtualization consultancy, surely I have some contacts I could call upon. Yes, I do, however I want to be completely upfront and honest this probably wont lead to a sale and is not in anyway associated with Xtravirt. You may also be thinking why don’t you just go and buy one for yourself. I could, but I’ve just bought a house, also buying a single unit wont get me any relationship with a vendor. Whilst I’m not intending to pester any vendor for information, perhaps some questions may come from my testing.

So why provide me with a unit? Well, I’ll certainly blog about your kindness, so please ping me a message on Twitter and let’s have a chat!

 

VCAP-DCD | Objective 2.4 | Build manageability requirements into the logical design

Understand what management services are offered by VMware solutions

VMware provide us with whole host of management services within the stack, some of these are free, some come into play depending on the type of licence you have. In no particular order we have:

  • vCenter Server
  • vCenter Orchestrator
  • vSphere Management Assistant (vMA)
  • PowerCLI
  • vCLI
  • vSphere API’s
  • vSphere High Availability (HA)
  • vSphere Distributed Resource Scheduler (DRS)
  • Scheduled Tasks (within vCenter server)
  • Auto Deploy
  • Host Profiles

Identify and differentiate infrastructure qualities (Availability, Manageability, Performance, Recoverability and Security)

This was covered off in the previous Objective, however, as a reminder

Availability – The ability of a system or service to perform it’s required function when required. It is usually calculated as a percentage.

Manageability – The expense of running a system. If in a large enterprise the system is managed by a small team, the operation cost can therefore be low.

Performance – The measure of what is delivered by the system. This is usually measured against known standards. Recoverability – The ability to return a system to a working state after a failure or repair.

Security – The process of ensuring the service is used in the appropriate manner.

VCAP-DCD |Objective 2.3 | Build availability requirements into the logical design

Understand what logical availability services are provided by VMware solutions.

The two primary availability services in vSphere are High Availability (HA) and Fault Tolerance (FT). Studying for this exam, you should be understand the differences in these features, however at a very high level: HA – Can minimise downtime by restarting VMs in case of a hardware failure FT – Provides continues availability for a VM by making a secondary copy of the VM on another physical host. To gain a better understanding of VMware’s HA, (as well as DRS, Storage DRS and Stretched Clusters) the VMware vSphere 5.1 Clustering Deep Dive by Frank Denneman and Duncan Epping is a MUST! The VMware vSphere Availability Guide is also a MUST read. Fault Tolerance, whist no doubt is a great technology, it does have limitations, which are discussed in the Availability Guide. I rarely see a business case for FT, in most cases HA is good enough.

Identify and differentiate infrastructure qualities (Availability, Manageability, Performance, Recoverability, Security)

Availability – The ability of a system or service to perform it’s required function when required. It is usually calculated as a percentage.

Manageability – The expense of running a system. If in a large enterprise the system is managed by a small team, the operation cost can therefore be low.

Performance – The measure of what is delivered by the system. This is usually measured against known standards. Recoverability – The ability to return a system to a working state after a failure or repair.

Security – The process of ensuring the service is used in the appropriate manner.

Describe the concept of redundancy and the risks associated with single points of failure.

A single point of failure is a system component, that if it fails, will then cause the entire system to fail because of it. For example, in a vSphere world, if we have a virtual switch with a single physical NIC uplink and this uplink fails, the virtual switch will fail as a result. These components can be bolstered by adding redundancy, in the above example we could add redundancy to the virtual switch by adding a second physical uplink, therefore if one uplink fails traffic could continue to pass on the second uplink. This spreads out to multiple areas of a vSphere design, hosts in clusters, components in hosts and stretching out to the wider infrastructure, with multiple physical switches, load balancers etc etc.

Differentiate Business Continuity and Disaster Recovery concepts.

Business Continuity is focussing on avoiding or mitigating the impact of risk, therefore is a proactive approach.

Disaster Recovery is focussing on the recovery of a system/service after an outage, therefore is a reactive approach.

VMware offer a free DR/BC Fundamentals training course through MyLearn. Click the following link to register

DR/BC Fundamentals

 

 

Book Review | VMware Press VCAP5-DCD Official Cert Guide

As I’ve already mentioned previously on this blog, and as you’ll probably have realised if you’ve started reading my VCAP-DCD study guides I’m due to sit the VCAP5-DCD exam in the next few weeks. Due to work commitments, my study has taken a nose dive, however I’m still planning on posting all my study notes covering off the objectives listed in the blueprint over on my VCAP-DCD study guides page.

I managed to get hold of a copy of Paul McSharry’s new book, VCAP5-DCD Official Cert Guide: VMware Certified Advanced Professional 5 – Data Center DesignVCAP-DCD

I’ve not used a cert guide to prepare for an exam before, normally I will study the exam blueprint, and work through the official vendor documentation whilst reading related books, so wasn’t sure  what to expect before reading this guide.

Firstly let me start by saying that the author obviously has worked on a number of vSphere design projects and is able to backup methodologies discussed in the book with real life scenarios, this for me was one of the highlights of this book.

I found the ‘Do I know this quizzes’ at the beginning of each chapter a good way to judge how well I knew the topics the chapter would cover before we started and this helped give an indication of whether further reading may be required. Alongside this, at then end of each chapter the author lays out some design scenarios for you to complete. Having completed the VCAP-DTD recently, I know how important it is to practice the scenarios so you can quickly pick out requirements and translate them into a design.

Overall the book reads very well, flows easily, covering off the objectives on the exam blueprint. I’d recommend the book to anyone looking to sit the VCAP5-DCD exam.