Skip to content

Posts from the ‘VMware’ Category

20
Jan

Allow Virtual machines with duplicate MAC address on vSphere 5.5

In a migration project to VMware vSphere 5.5 I bumped into duplicate MAC address issue (I found out after some investigation).

Some info on the setup.

There are ESXi hosts that we are migrating from 5.0 to 5.5. Some VM’s where 2 VM’s (VM1 and VM2) share the same MAC address (production and test machine).

On ESXi 5.0 these 2 VM’s can run together on the same ESXi host.

I want to move the VM’s to an already upgraded ESXi 5.5 host, the first VM (VM1 moves without any problems. ) For the second VM (VM2) I get following error during vMotion. Same error happens when I cold migrate the VM2 to the same host (ESXi 5.5) as VM1 and try to power VM2 on.

2014-01-20_15-46-12

 

 

 

 

 

 

 

 

 

After some Google research I came across following blog

http://jasonnash.com/2008/08/30/disabling-mac-address-checking-in-vmware/

And adding the advanced setting to VM2 fixed the problem.

8
Jan

Where to find VMware version information

Here some links to find version information about VMware vSphere products

http://vsphere-land.com/vinfo/release-build-info

and about VMware Tools versions

http://packages.vmware.com/tools/versions

20
Dec

How long can an ESXi host run?

Before starting an upgrade at a customer site I was surprised how long an ESXi host can run. Here the proof.

 

9
Dec

Upgrade VMware vCenter Appliance 5.1 to 5.5

A lot of my customers are running the vCenter Appliance version 5.1. Now they start to ask to upgrade this appliance to the newest version.

Here I will show you step by step the upgrade process. This is based on the VMware KB article 2058441

 

Prerequisites

  • Verify the time set on the old (VMware vCenter 5.1) appliance and the new (VMware vCenter 5.5) appliances are in sync. Be aware that from version 5.5 the clock on the appliance is always set to the UTC time zone. In the older version you could select your own tome zone. (see VMware KB)
  • Be sure SSO (if installed on separate machine) is on the same version of the vCenter you want to upgrade to.
  • If the vCenter database is external, make backup on the Database server. For backing up the embedded database look at this KB
  • Create a snapshot of the OLD vCenter appliance before you start the upgrade procedure.

Upgrade Procedure

  • First step of the upgrade procedure is deploying a fresh VM of the latest vCenter Appliance.
  • Next is to configure the VM so that network connectivity is possible. The only thing that needs to be configured is IP address, subnet and gateway. The Original vCenter hostname and IP settings will be configured (copied) in the NEW vCenter Appliance based on the setting of the old vCenter.
  • Connect to the old and new vCenter appliance via a supported web browser. (personal experience is that IE works and Chrome not! For the upgrade process.
  • On the NEW vCenter, Accept the EULA

  • Next step in the upgrade process is to specify that you want to upgrade from a previous version

  • Still in the NEW appliance, copy the local appliance code to the clipboard

  • On the OLD vCenter appliance, go to the Upgrade tab and paste the clipboard content in the text box and press the import button.

     

     

  • If the import was successful you get a notice and then copy the upgrade key back to the clipboard

     

     

  • On the NEW server paste the upgrade key in the bottom text box and proceed by clicking the next button.

     

     

  • There is an option to replace the SSL certificates on the NEW with those ones from the OLD vCenter Appliance

     

     

  • Now the new SSO password must be entered for the SSO administrator account administrator@vsphere.local. (this was admin@system-domain in pre 5.5 versions)

     

     

  • Select now all the servers that need to check for compatibility with the new vCenter

     

     

  • After pressing next we see that we are ready to start the migration.

     

  • Pressing next will get following screen where you have to confirm that the upgrade process can proceed.

     

     

  • When you hit the start, the migration process start.

     

     

  • When you start the migration you will notice that the OLD vCenter server will be shut downed and the NEW vCenter server will have the IP configuration (hostname, IP settings) of the OLD ESX host.

    After a successful upgrade you can start upgrading the ESXi hosts to the latest ESXi version.

     

     

  • Can you login in the new vCenter Appliance via the Web Client and everything works fine you can remove the old vCenter Appliance from the inventory and from disk.
21
Nov

How to get the VMware VCA-DCV Certification

Since the last VMworlds VMware has re-launched the VCA certification. This blog will help you to get through the procedure of registration en starting the exam.

UPDATE: The Voucher code mentioned later in de blog is only giving 50% discount insted of 100% discount since 2 decmber 2013

Here the links to all e VCA certifications VMware has launched.

First of all you need to get trained to do get the certification. Use the links below on the above pages to get the FREE E-Learnings from the VMware Mylearn website. To get access you need to get a Mylearn account. Create account or login using following link.

Check the Blue Prints to see what the required knowledge is for each VCA exam by clicking on the following screen



After the preparations we are ready to register for the exam. You can do the exam online and do not need to go to a Pearson Vue center.

Use the links below to start the certification process for your VCA exam.



Following steps will guide you to the registration and start of examination for the VCA-DCV

  • Login into mylearn.vmware.com

  • Enter user and contact information

  • Registration is done. Give Pearson Vue up to 15 min to authorize you for the exam.. Also on the last screen you get a link that brings you to the trainings plan for this VCA exam.

  • Go to http://www.pearsonvue.com/vmware and login with your Pearson account to proceed the certification process

  • If the authorization is not yet happened you get following screen

  • After some refreshes of above screen the authorization came trhough

  • Click on the link to proceed.

  • You see the exam normally cost some money. Later on in the registration process you can use above voucher code to get this for free. Read the requirements to execute the exam and proceed with the registration
  • Select the language and proceed with next

  • Proceed to the checkout and use the voucher code VMRT7B204E2E

  • Modify some personal info in step 1 of the checkout process and continue

  • In step 2 of the Checkout process you will agree with the policies

  • On the payment step DO NOT FORGET to enter the voucher code VMRT7B204E2E

     

  • Submit the order and get the receipt to start the exam

  • On the receipt page you see the availability of the exam (24h) and the start button

Success with the certification and keep on going with VMware Certifications

 

When you succeed you will see following screen

 

8
Nov

Lost your VMware vCenter Operations password

Today on a customer site I had to upgrade the vCenter Operations Manager to the latest version.

The problem was that the password of the admin account was not known.

After some research on the internet (google is my friend) I found a VMware KB article that describes step by step how to recover.

The VMware KB number is 2013358

We had already vCenter Operations manager 5.7 running but the resetadminpwd.sh was not on the machine. I had to follow the steps as described for version 5.0.

Hope this will help you.

29
Oct

vSphere 5.5 Quick stats not up to date

After doing a upgrade from mixed VMware vSphere environment to a clean 5.5 environment we noticed the warning “Quick Stats on HOSTNAME is not up to date” on each ESX hosts summary page.

Below you can see the screens with the warning.

Webclient

vSphere Client

 

After some googling I found this VMware KB: KB 2061008

In this KB the ask you to add some extra advanced settings in the vCenter. Below the setps to add these settings.

 

After this change is done, the vCenter service needs to be restarted.

According to the KB this should be enough but my experience is that the VPXA agent needs to be restarted on all ESX hosts in the vCenter. This can be done manually or via PowerCLI.

Manually

  1. Go to the configuration tab of an ESX host and select the Security Profile
  2. Select properties
  3. Select the VPXA agent
  4. Select options
  5. Restart the service.

NOTE: you will get some error popups because the vCenter looses the connection for a second with the ESXi host.

PowerCLI

$VMhosts Get-Datacenter “Your DataCenter” | Get-VMHost

foreach ($VMhost in $VMhosts)

{

    Get-VMHostService -VMHost $VMhost |

    where {$_.Key -eq “vpxa”} |

    Restart-VMHostService -Confirm:$false -ErrorAction SilentlyContinue

}

19
Dec

Remove leftovers of a vCenter plugin

During an upgrade at a customer site we removed a Dell Appliance that was connected to vCenter. We dit remove the aplliance just by powering it off and then remove it from the entry. Normally you should do an unregister from in the Dell Appliance.

Now we saw that there was a plugin that could not be loaded.

After some research on the internet I passed by on the website of William Lam (virtuallyGhetto).

He has written a nice article that describes step by step how to fix the problem we had. Look here.

 

Problem solved, thanks William for the good work.

21
May

Unable to expand VMFS partition

Today I was asked to expand a local datastore of a ESXi 4.1. Expanding a disk is normally no problem when you are able to increate the size of the disk. After increasing the disk size you should be able to increate the partition size.

The ESXi was managed by a vCenter 5.0.  On the storage adapter I did a RESCAN data stores after the disk size was increased.  Then I went into the DATASTORE properties and I saw following

 

 

 

 

 

 

 

 

 

 

 

 

This above view was via a vCenter connection.  Then I found following VMware KB which told me to make a direct connection to the ESXi host.  After going to into the datastore properties I found out that I could increase.

 

 

 

 

 

 

 

 

 

 

When I selected this local datastore and finished the expansion I saw following result in the vSphere Client direct to the ESXi and via vCenter.

 

 

 

 

 

 

 

 

 

 

Lucky for the customer this expansion went OK.

Hopefully if you have this problem this KB article fixes also your problem.

Success

 

Gert Van Gorp

24
Apr

vExpert 2012

After reoganizing my life I was very happy to receive a mail from the vExpert Progam that I am one of the aprox 400 vExperts that are nominated for 2012.

Congrats to all that are (re)nominated.

 

Within these aprox 400 there are 3 kind of categories:

Evangelist Path
The Evangelist Path includes book authors, bloggers, tool builders, public speakers, and other IT professionals who share their knowledge and passion with others with the leverage of a personal public platform to reach many people. Employees of VMware can now also apply via the Evangelist path.

Customer Path
The Customer Path is for internal evangelists and community leaders from VMware customer organizations. They have contributed to success stories, customer references, or public interviews and talks, or were active community contributors, such as VMUG leaders.

VPN (VMware Partner Network) Path
The VPN Path is for employees of our partner companies who lead with passion and by example, who are committed to continuous learning and to making their technical knowledge and expertise available to many. This can take shape of event participation, video, IP generation, as well as public speaking engagements.

 

With this nomination I am again encouraged to go forward with my believe in VMware & Virtualization.  This will be seen in coming blogs on this site.

 

Greetings

 

Gert