I have been asked how to do this twice in so many days. So here is a quick post on how to copy files between local datastores on standalone ESXi hosts. There are a number of ways to accomplish this, one way is using scp at the ESXi command line.
I created a backup of the original vCenter database and it was giant, a little over 15GB. I thought that was odd but for whatever reason I did not really dig into it much (until after the upgrade failed later in the story).
Recently I have performed some discovery and analysis on a couple of production Citrix XenServer environments. Both of them hosting Citrix XenDesktop and both of them have been running beside a VMware vSphere environment.
I have been doing some home lab work with the vSphere Storage Appliance (VSA). I have had a few request recently from customers with very small environments looking to leverage virtualization and a couple of large environments looking for solutions for branch offices.
We had an interesting issue in class last night. Students were not able to connect to the vCenter Virtual Server Appliance 5.0 with the vSphere Client when authenticating with their Active Directory user. The error that was displayed when logging in was – “Cannot complete login due to an incorrect user name or password.” The root user could login without issue.
We did some quick testing and everything with AD seemed fine. We checked to make sure the account was not locked or disabled, reset the users’ password, and authenticated successfully using the username against another resource.
If the active directory user has 3 failed login attempts against the vCenter Server Appliance they will be denied login access, even if they are not locked out of AD they will not be able to access the vCenter Server. Once the user has made 3 failed login attempts against the vCenter Server Appliance the counter of failed login attempts for the user must be reset before the user will be allowed access. The following command is run as root on the vCenter Server Virtual Appliance to reset the count of failed login attempts for a user:
I had not run into this issue before and until I had it happen I had never read anything about it. If you experience an issue with a user not being able to log into the vCenter Server Virtual Appliance this may be the cause.
I have not had time to do much digging yet so I am not sure if there is a way to increase the number of failed attempts before a user is denied access or to configure a lock out period (or if there is a lock out period). If anyone has any details on the configuration possibilities of this please feel free to share. Thanks!
For the ICM class there are 12 different lab environments with 2 virtual ESXi host each. To deploy these ESXi hosts I clone them from a master ESXi template that is preconfigured and has a local datastore with all the necessary class files and software. After I deploy each virtual machine I test connectivity and before last nights class everything seemed fine.
Once the class started accessing the lab environments we started seeing some network issues. Connections to the lab ESXi hosts were being dropped every few seconds, restarting the management networks would bring back connectivity but only for a short time. The issue turned out to be that each of the 24 hosts had the same MAC address assigned to vmk0 – oops!
The vmk0 is a virtual interface and a MAC address is generated for it when it is created. When the ESXi template is cloned the vmknic and its configuration (Name, MAC, MTU, and IP settings) are also cloned. Accessing ESXi Shell and running esxcfg-vmknic -l will list the configured vmknics and the configurations (including the MAC) of each:
There are 2 ways to correct this in the cloned ESXi hosts. One way is to delete and recreate the vmk interface. The other is to set the vmknics to use the hardware MAC address of their physical uplink NIC. The process for both of these options can be found in this kb article.
For the lab environment I set the vmknic MAC to follow the hardware MAC.
esxcfg-advcfg -s 1 /Net/FollowHardwareMac
After setting this and rebooting the vmknic (vmk0) now uses the MAC address of its physical uplink nic.
Not sure why this issue did not show up during testing but it should be fixed now.
Students of the Virtualization Program at TCC frequently ask for resources or tips on how to prepare for the VMware Certified Professional exam so I decided to put together a quick post. There are a lot of great resources out there and these are just a few suggestions I have to help get people on the path to obtaining their VCP.
- Take the Class
Take the VMware vSphere 5 Install Configure and Manage (ICM) class. Not only does the ICM class fulfill the training requirement needed in order to become a VCP, it is an excellent hands-on lab class that will give you some good experience with ESXi, vCenter, DRS, HA, VUM, and other VMware technologies. Many of the VCP blue print objectives are covered by the ICM class.
If you are interested in taking the course check out the VMware IT Academy Program. There may be a community college or technical school in your area that offers VMware training. TCC will be offering the course again in the Fall 2012 (ITN 254). You can also take the course directly from VMware. Remember an approved VMware class that is on the VCP certification path is REQUIRED before you can obtain your VCP.
- Build a Home Workstation Lab
In my opinion the VCP5 exam requires more “hands-on” knowledge than the VCP4 exam did so you are going to want to set up some sort of practice lab to work through the blue print objectives. If you have the resources to set up a supported hardware or even a “white box” lab then that is probably the way to go, but all of the VCP5 blue print objectives can be practiced in a VMware Workstation lab installed on a desktop or laptop.
If you are a TCC student that has taken the class and wants some time in the lab, you know how to get a hold of me – just drop me a note and we can work out some time for you to practice in the lab.
- Online Study Resources
There are A LOT of VCP5 study resources out there but here are a few that I think are definitely worth checking out.
The VMware VCP Certification page is probably the best place to start. Here you will find the certification paths and requirements, the VCP5 exam blue print, and a VCP5 practice exam. If you don’t already have a MyLearn account you have to set one up to access these resources, this only takes a minute and doesn’t cost you anything.
This is an excellent study guide based directly on the VCP5 blue print http://www.virtuallanger.com/vcp5/ They have taken the time to put all the study notes together in a single PDF organized by blue print objectives. Go there – Download it!
- Read Scott Lowe’s Book
Pick up a copy of Scott Lowe’s book Mastering VMware vSphere 5. This is an excellent exam study resource for both the VCP and VCAP-DCA.
- Stay away from the dumps!
Besides the fact they are inaccurate and can get you into trouble if you think you can just memorize the questions and answers, they also decrease the value of the certification.
Help preserve the integrity of the exam and the value of the certification. Stay away from dumps! Study the blue print, learn the product, and get the pass based on your knowledge of the technologies.
- Study and Practice – Good Luck!
This information should get you well on the way to obtaining your VCP.
Take the class, study the blue print, and get some hands-on experience (even if just in a lab).
The VMware community is awesome. If you have questions or need help check out the VMware Communities and the various social media sites, there are lots of great people out there willing to help.
Anyone that has a VCP5 resource they would like to share feel free to add it to the comment. Thanks!
Been a very busy week. Just a lot of stuff going on with work, class, and school. Besides working and teaching the VMware IT Academy classes at TCC I am also taking several classes. With just a few weeks left in this semester things are starting to wrap up, but it is the final push before the finish with papers due and finals before we know it.
Updated the TCC lab environment to 5.0 Update 1 last weekend without issue. I am planning to update my work production environment next week. Update is pretty straight forward. Just update vCenter, update VUM, then use VUM to update the hosts.
Lots of other projects and task keeping me busy at work. Email filter migration tonight, an employee review that I need to wrap up, transitioning to our new lending system, branch equipment refreshes, a VDI proof of concept on the horizon, and a ton of other interesting projects. It’s all good but again it is keeping me pretty busy. I had to take this AM off just to have time to write a quick blog post.
On top of work and school I started browsing through a couple of new books.
I picked up a copy of Cody Bunch’s Automating vSphere: With VMware vCenter Orchestrator. I have not done much with vCenter Orchestrator beyond installing, configuring, and checking out some of the provided workflows. I have only browsed the first few pages of Cody’s book but I am looking forward to reading more and discovering how I may be able to use vCenter Orchestrator to improve the way I manage both the TCC lab environment and my production work environment.
I also received an instructors review copy of the book Administering vSphere 5. Again I have only had a chance to flip through the book but it looks to have some good info in there. Hopefully I will have time in the near future to review it in depth.
Pretty great VMware Troubleshooting class this past Thursday. We covered network troubleshooting focusing on Distributed Virtual Switches and PVLANs. I actually had a student tell me that he had read Scott Lowe’s Mastering VMware vSphere 5 book and I did a much better job explaining PVLANs. Not sure I would agree, Scott’s book is awesome and I recommend it to everyone that takes the class. True or not it was good to hear
Have to be at a branch for a bit tomorrow to unhook things for carpet installers but after that I am looking forward to at least a few hours of down time. Have a great weekend!
I am currently teaching a VMware Manage for Performance class at TCC. During this week’s class we had a great discussion (OK there was a little bit of soap box preaching involved also) on resource allocation in a virtual environment. The discussion started from a question that was asked based on the resolution to a network performance lab scenario.
In the lab a standard vSwitch with seven 1GB physical uplinks had eight VMs attached to it. In the scenario a VM attached to the vSwitch had network throughput that was maxing out at 200MB. A series of performance graphs were provided and from the graphs you could see that only one of the seven physical uplinks (vmnic3) was passing network traffic. The issue was that all the other physical uplinks were in standby and vmnic3 was the only active uplink passing network traffic for all VMs attached to the vSwitch. The solution was to make four of the remaining physical uplinks active and enable load balancing. This left two uplinks in standby to be used in the event of a failure.
This raised the question “Why not make all seven physical uplinks active?”
Recent Comments