• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

vFrank

Essense of virtualization

  • LinkedIn
  • RSS
  • Twitter

FrankBrix

vSphere 5.5 Ready For Download

September 22, 2013 by FrankBrix Leave a Comment

Good news, I was just browsing the VMware website and I saw that vSphere 5.5 is available for download. I have been part of the beta since early this year and there are so many features I have been looking forward to. Just to name a few.

  • Much improved vCenter Web Client
  • vFlash – Put local SSD/Flash in your ESXi servers and cache most reads to offload your storage array
  • Improved Single Sign On (SSO) Server
  • Support for 62TB .vmdk files

You can read about what else is new here

Head over to the VMware website and start your download. Personally I can’t wait to start working with this version!

Filed Under: vSphere

New Certification from VMware: VCA

September 20, 2013 by FrankBrix 6 Comments

There is now a new official certification available. It is called the VMware Certified Associate (VCA). The certification is available for multiple tracks and the three available are: VCA-Cloud, VCA-WM and VCA-DCV.  The certification fits in below the normal VCP exam. Here are some key points about the VCA

  • It does not require the individual to schedule an appointment at a testing facility. It can be taken at home, at work, or in class.
  • It does not require any special apps, just a modern internet browser.
  • It has free elearning preparation materials to get them ready for the exam.
  • There are currently three VCA certifications available à VCA-Cloud, VCA-WM, VCA-DCV
  • It is a GREAT way for someone to see how the VMware testing process works with content that is not as technical as the VCP exam.
  • Upon passing the VCA exam, they become officially VMware certified!

You can read more about the certifications here: VCA-Cloud – VCA-WM – VCA-DCV

UPDATE: Use this voucher for 50% discount: VMRT6B404C7B 

As a VMware instructor I have met a lot of students where this level is perfect. It is below the VCP but still an offical certification from VMware. It could also be that you are a VCP-DCV and have not done any work with Cloud or EUC yet. If that is the case the VCA is perfect for you to gain insight into the Cloud and EUC pillar.

VCA

 

Filed Under: certification Tagged With: certification, vca, vcap, vcp, vmware

vCenter: Cannot complete login due to an incorrect user name or password

September 20, 2013 by FrankBrix 5 Comments

After upgrading to vSphere 5.1 or installing from scratch you may be in a situation where you cannot authenticate with your vCenter Server when using a domain user.

When you try to log in from the vSphere client you get the following error: Cannot complete login due to an incorrect user name or password 

When you try to log in from the the vSphere Web Client you get the following error: Provided credentials are not valid

SSO1   

SSO2

 

Prior to vSphere 5.1 and the Single Sign On Server SSO you were able to login directly with your domain user without supplying the domain name. 

There are two solutions to the problem.

Solution 1:

When logging in with your domain account add the domain to the user name. You can do this by either writing: DOMAIN\USERNAME or [email protected] the result will be the same. 

Perhaps you don’t feel this is the right solution for you. You may only have one domain so why should you always write the domain in the log in box. If this is the case see solution 2.

Solution 2:

What you are able to do with SSO and vSphere 5.1 is to add your DOMAIN to the default domain list. you can only accomplish this from the vSphere Web Client. What you need to do is log in to with the user name [email protected] and the password defined for this user during installation. Then you go to “Home” – “Administration” – “Single sign-on and discovery” – Configuration. In the identity source window you select your domain and press the “add to default domains” button. If your domain is not present, then you need to add it. You can also add multiple other domains. After adding the domain to the list you then make sure that it is on top of the list in the “Default domains” window. And at the end you press the “Save” button.

 SSO3

By doing this you should now be able to log in without supplying your domain name in the vSphere Client or vSphere Web Client.

Filed Under: SSO, vSphere Tagged With: cannot, domain, error, SSO, vcenter, vsphere

vSwitch Load Balancing Policies Best Practises

September 19, 2013 by FrankBrix 8 Comments

It is important to set the right load balancing policy on your standard or distributed vSwitch. In this article I will talk about how each policy work and give my general recommendation. 

In vSphere we have the following policies to choose from:

  • Route based on originating virtual port ID
  • Route based on IP hash
  • Route based on source MAC hash
  • Use Explicit failover order
  • Route based on physical NIC load (Distributed Switch only)

The originating virtual port ID is the default policy and there is a good reason for that. This policy does not require any special physical switch configuration. In fact you can use all policies except the one based on IP hash without configuring your physical switches with cisco etherchannels or hp trunks. The IP hash policy differs in the way that it let a virtual machine spread its traffic over two or more different vmnic’s (physical network adapter). Because of this the MAC address of the virtual machine will appear on multiple physical switch ports simultaneously. This is why it is required to use ether-channel or trunk the links. 

Lets take an example. We have a virtual switch with a port group. We have 4 virtual machines connected to the port group and 3 physical NICS connected to the virtual switch.

vswitch

Route based on originating virtual port ID works kind of like round robin. VM-A will use vmnic1, VM-B will use vmnic-2, VM-C will use vmnic-3 and VM-D will use vmnic1. The virtual machines are just balanced over the physical available NICS. The virtual machines will have its network running on the designated physical NIC and only that NIC. Of course if we have a failure it will fail over to a different vmnic. 

The good about this configuration is that it is easy to configure. It requires not special physical switch configuration.  The bad is that VM-A and VM-D how are both utilizing the same vmnic could be the two most network intensive virtual machines and they compete for bandwidth while VM-B and VM-C does nothing on their respective vmnics.

Route based on IP hash requires physical switch configuration. (Ether-channel). In this configuration the traffic flows according to the source IP and destination IP. In this case if VM-A is communicating with three different IP’s (clients, other servers etc.) the traffic can use all available vmnic’s. If the VM-B is only communicating with one destination the traffic will not be shared.

Route based on phyiscal NIC load is a newer addition. It quite similar to virtual port ID. But with the addition that it actually looks at the physical NIC load! This means that if VM-A and VM-B both are using a lot of bandwidth on the same physical NIC one of the will be moved to another! If you are running the originating virtual port ID policy on a distributed switch you should change to physical nic load right away.

There are a lof of information out there on this subject. This was just a brief introduction.

Filed Under: vSphere

Understanding VMware Reservations Limits and Shares

September 19, 2013 by FrankBrix 19 Comments

Introduction

A key concept that is very important to understand for the VMware administrator is how Shares, Limits and Reservations work. Why do we have these controls? Well to put it simply if we are over provisioning our ESXi host on memory and CPU we need a tool to make sure that the right machines get the correct amount of resources. An example could be: Make sure the important ERP system always gets 3000MHZ (Reservaton) and make sure that the Test system never gets more than 1000MHZ (Limit). This article will focus on the three concepts on Memory and CPU. You can also apply some of this on storage and network. But that is out of scope for this article.

Rerservations

A reservation is a guarantee on either memory or cpu for a virtual machine. You define the reservation in MB or MHZ. It works kind of different on the two compute resources.

On memory it is a guarantee for access to physical memory for the virtual machine. Remember, every virtual machine has a swap file. The swap file size is defined as (swap file = configured memory – memory reservation). When the virtual machine is running the vmkernel allocates memory to it when the VM requests it. The vmkernel will always try to map the memory to physical memory, but if the ESXi host is running low on memory the memory has to come from the swap file. This has a huge performance penalty. Lets take two examples:

  • Example 1: You have a virtual machine configured with 2 GB memory and you configure a 1 GB reservation
    • When the virtual machine powers on a 1 GB swap file (.vswp) is created on a datastore
    • The 1 GB reservation guarantees that the VM will always a  least get 1 GB of physical memory. If the ESXi host is running low the remaining 1 GB can come from the swap file on disk!
  • Example 2: You have a virtual machine configured with 4 GB memory and you configure a 4 GB reservation
    • When the virtual machine powers on a swap file with zero size is created
    • The 4 GB reservation guarantees that the VM will get ALL its memory from physical memory and it will never do hypervisor swapping or ballooning.

On cpu the reservation is a guarantee for clock cycles. You define the reservation in MHZ. If you give a virtual machine a reservation it means the vmkernel CPU scheduler will give it at least that amount of resources. If a virtual machine is not using its resources the CPU cycles are not wasted on the physical host. Other machines can use it. What you do with CPU reservations is making sure that a VM will always get access to physical cpu in a committed environment. 

Limits

A limit is a a limit 🙂 Defined on either Memory or CPU It is defined in MB or MHZ.

On memory the limit defines what is the maximum amount of physical memory the virtual machine can use. This is a very dangerous setting! If you set the limit lower than the configured memory for a VM it will cause swapping and balloon activity for the virtual machine.

  • Example 1: You have a virtual machine configured with 4 GB memory and you configure a 1 GB limit
    • What you have done is BAD, unless you want bad performance. The virtual machine guest operating system sees 4GB of memory (inside windows task manager for instance) but the ESXi is not allowed to give it more than 1 GB of physical memory. The virtual machine will probably request more that 1 GB for its application and when this happens ballooning and hypervisor swapping will start.

Limits on memory can have huge consequences. As a consultant I always look for virtual machines with a limit on memory, more often than you would imagine you find it configured on a few virtual machines! 

On CPU the limit defines how much access a virtual cpu can get on a physical cpu (core). This is used to make sure a virtual machine is not using too much resources on a host. By limiting the vCPU you essentially also limits the performance of the virtual machine. Even though capacity is available on the ESXi host the limit will still be enforced.

Shares

Shares is a different approach to performance tuning in a virtual environment. Shares define how much access you get to a resource compared to something else. Every virtual machine has 1000 shares configured pr. vCPU as a default. So you are already using them! All virtual machine are equal from a hypervisor perspective unless you change the shares and tell it which machines are really more important. What is important to know about shares is that they only is considered in case of contention! If you have available capacity for all machines it does not help performance to increase the shares on some machines.

  • Example 1: VM A has 1000 shares and VM B has 1000 shares and they are both competing for the same physical cpu core. In this case the vmkernel CPU scheduler will give each machine 1/2 or 50% access and they will have the same performance
  • Example 2: VM A has 3000 shares and VM B has 1000 shares and they are both competing for the same physical cpu core the result would be that VM A gets 3/4 or 75% access and VM B gets 1/4 or 25% access.
  • Example 3: VM A has 3000 shares and VM B has 1000 shares and they are not competing for the same physical cpu core. In this case both machines will get 100% access to physical CPU. Remember shares is only handled when we have contention!

Summary

Reservations, limits and shares are powerful resource controls in a virtual environment. Just make sure to think about how you implement it. Especially watch out for putting a memory limit on your virtual machine.

If you have any questions, please use the comments on this page.

Filed Under: vSphere

Understanding VMware Ballooning

September 18, 2013 by FrankBrix 24 Comments

VMware ballooning is one of the hard concept to grasp. There are a lot of misunderstanding out there about this feature. I have been discussing this feature with customers and students during the last 5 years. This is my attempt to explain balloning.

VMware ballooning is a memory reclamation  technique used when and ESXi host is running low on memory. You should not see balloning if your hosts is performing like it should. To understand ballooning we would have to take a look at the following picture:

balloon1

 

 This picture shows the three levels of memory in a virtual environment. In a physical world we would only have the two top levels (virtual memory & guest physical memory) but in the virtual world we also have the host physical memory. What is important to know is that the hypervisor (ESXi) has no knowledge of what is happening inside the virtual machine (grey area). The hypervisor maps memory when the virtual machines asks for it. The hypervisor will then give it memory from “host physical memory” but only if memory is available. If memory is not available the memory can med mapped to the .vswp file on a vmfs or nfs datastore. The virtual machine has no knowledge if the memory is mapped to physical memory or to a disk. This is called hypervisor swapping, and this is the last resort for the vmkernel to use this mechanism.

Ballooning in short is a process where the hypervisor reclaims  memory back from the virtual machine. Ballooning is an activity that happens when the ESXi host is running out of physical memory. The demand of the virtual machine is too high for the host to handle.

Lets take a high level example:

  1. Inside a virtual machine you start an application. For instance solitaire
  2. solitaire as an application will ask the guest operating system (in this case windows) for memory. Windows will give it memory and map it from the virtual memory -> guest physical memory 
  3. what happens next is that the hypervisor sees the request for memory and the hypervisor maps guest physical memory -> host physical memory
  4. Now everything is perfect. You play solataire for a few hours. And then you close it down.
  5. When you close solitaire the guest operating system will mark the memory as “free” and make it available for other applications. BUT since the hypervisor does not have access to Windows’ “free memory” list the memory will still be mapped in “host physical memory” and putting memory load on the ESXi host.
  6. This is where ballooning comes into place. In case of an ESXi host running low on memory the hypervisor will ask the “balloon” driver installed inside the virtual machine (with VMware Tools) to “inflate”
  7. The balloon driver will inflate and because it is “inside” the operating system it will start by getting memory from the “free list”. The hypervisor will detect what memory the balloon driver has reclaimed and will free it up on the “host physical memory” layer!

The balloon driver can inflate up to a maximum of 65%. For instance a VM with 1000MB memory the balloon can inflate to 650MB. The way to avoid ballooning is not to uninstall the balloon driver but to create a “Memory Reservation” for the virtual machine. In case of full inflation for this particular VM the result is the hypervisor gets 650MB memory reclaimed. The downfall of this is that you risk your VM to do Guest OS Swapping to its page file! Just remember page file swapping is better than hypervisor swapping. Hypervisor swapping happens without the guest operating system is aware of it. Page file swapping it is the OS that decides what pages to swap to disk!

To check for ballooning you can either open ESXTOP or the vCenter Performance Graphs.

 

balloon2

 

balloon3

Filed Under: vSphere

Nordic VMUG conference in Bella Center Copenhagen

September 16, 2013 by FrankBrix Leave a Comment

I just received the following information from Danish VMUG leader Liselotte Foverskov @LFoverskov 

She asked me to post the following information on my blog. I have to say it looks pretty awesome. Can’t wait till December 3rd.

 

December 3rd Danish VMUG is hosting a Nordic VMUG conference in Bella Center. 

vmug

 

This event is made out of passion for the coolest technology on the planet.  Our goal is to gather some of best people from the virtualization community in Copenhagen, for the most specialized and technical agenda ever. The Danish VMUG Leaders are so very proud of name dropping our speaker line up so far:

 

Keynote : Joe Baguley, VMware CTO EMEA 

 

–          Duncan Epping – Principal Architect at VMware R&D , No. 1 blog yellow-bricks.com

–          Chad Sakac – Sr. Vice President for global presales technical resources at EMC,

–          Cormac Hogan   –  Sr. Technical Marketing Architect for Storage at VMware

–          Frank Denneman  – Technology Evangelist at PernixData

–          Mike Laverick    – Sr. Cloud Infrastructure Evangelist at VMware

–          Mattias Sundling –  Evangelist at Dell

–          David M Davis  – VMware Evangelist – Video Author & Virtualization Marketer

–          Paudie O’riordan  – Sr Staff Technical Support Engineer for Storage at VMware

 

We’re still hoping for a confirmation from a few more speakers.  They are big names in the industry and normally you would have to go to VMworld or other big IT conferences to see them. 

There will be 25 sessions. An exhibition hall and focused networking. We are extremely excited about the event.

This event for is Denmark, Sweden and Norway VMUG. But we really want the whole world of VMUG to join us.

You can register for the event here: http://www.vmug.com/p/cm/ld/fid=1760

If you would like to hear more about sponsoring this event : Contact us [email protected]

Filed Under: Uncategorized

My VMworld US 2013 Experience

September 3, 2013 by FrankBrix Leave a Comment

It was a great VMworld in San Francisco this year. With approximately 23,000 attendees it was the biggest yet. I remember six years ago in 2007 when I attended my first VMworld in San Francisco. At that time I was just a rookie VMware System Administrator and now I was back as a speaker for the first time.  This was my 8th VMworld and I am doing my 9th in Barcelona in October.

1. 2007 San Francisco

2. 2008 Cannes

3. 2008 Las Vegas

4. 2009 San Francsico

5. 2010 Copenhagen

6. 2011 Copenhagen

7. 2012 Barcelona

8. 2013 San Francisco

9. 2013 Barcelona

What was my key giveaway from the conference was the Software Defined DataCenter and what we need to get there. My recommendation for anyone attending VMworld in Barcelona is to take a serious look at NSX and vCAC. These features combined will lift VMware and vSphere to the next level. 

I want to say thanks to all the Danes from the Danish VMware Usergroup who went to San Francisco. Thanks for the support during my session and thanks for just being awesome throughout the week.

I am still feeling jetlagged, but in a few days I will start looking forward to Barcelona and do another session. Hopefully some of my readers will show up.

Filed Under: Uncategorized

Veeam 7 Released

September 3, 2013 by FrankBrix Leave a Comment

Just realised that I had not blogged about the new release of Veeam7 Backup & Replication. The best backup software for your VMware virtual machines just got even better. They are constantly moving away from the competition. Some of the key new features include

  • Support for vCloud Director
  • vsphere Web Client Plugin
  • Veeam Explorer for Sharepoint
  • Virtual Lab for Hyper-V
  • Native Tape Support
  • Backup from Storage Snapshots
  • Built-in WAN acceleration

If you are not already running Veeam I encourage you to check it out here

Check out this video by Doug Hazelman that gives and overview of Veeam7

 

Filed Under: Uncategorized

VMworld 2013 – My session was chosen

June 7, 2013 by FrankBrix 1 Comment

I have some great news I want to share with you. This year I submitted two session proposals for VMworld. This is the first time I have submitted a session for the event. Luckily one of my session made it and VMware wants me to present it in San Francisco and Barcelona. I will be talking about vCenter Operations Management. I delivered this presentation at the Danish VMUG back in March. I will work on my session and improve it for VMworld.

 

Session ID:

VCM4555

Title:

vCenter Operations Management – Troubleshooting Best Practices

Abstract

In this session vExpert and VMware Certified Instructor Frank Brix Pedersen walks you through troubleshooting best practises with vCenter Operations Management. You will learn that vCenter Operations Manager is a lot more than badges and what initially meets the eye. You will be introduced to Heat Maps, Custom Dashboard and the Metric Charts and how they provide value with real world examples. If you are used to do performance troubleshooting in esxtop and vCenter performance graphs and curious how vCenter Operations fits in? Then this session is for you.

 

 

Filed Under: Uncategorized

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Go to page 7
  • Go to page 8
  • Interim pages omitted …
  • Go to page 14
  • Go to Next Page »

Primary Sidebar

Blogroll

  • Hazenet
  • Michael Ryom
  • Perfect Cloud
  • vTerkel

Copyright © 2022 · News Pro on Genesis Framework · WordPress · Log in