Resources to prepare for VCP 510

Resources to prepare your VCP exam – VCP 510

via Ressources to prepare your VCP exam – VCP 510 | ESX Virtualization.

VCP  510 Resources – not exhaustive list of resources and links:

As I need to refresh my VMware VCP certification to the latest vSphere 5 with the VCP 510 exam – VMware vSphere: Install, Configure, Manager [V5.0] , I decided to create this blog post where I will put all the available documents and materials together with the experience of users which are already passed this exam. The experiences of other VMware users which passed this exam and who compared this exam to the previous exams like the VCP 3 and VCP 4 saying that this exam is more experience based exam.

Just to remind you the VMware class is necessary for new people without VCP certification. People which are already VCP 4, they have until end of February 2012 to pass the VCP 5 exam without the need of going through the class again. Or you can take the What’s New [V5.0] course – read my article on that here.

I will update this post after I will pass my exam (will be scheduled at the beginning of February 2012). I will be able to compare to my VCP 4 exam which I passed back in 2009.

UPDATE: I just passed the VCP 510 this morning. With success. My thoughts on the VCP 5 exam? It’s definitely more complex, more tough than the VCP 4. It’s based on lab or real life experiences, so impossible to pass this exam by relying on dumps. You need to know your stuff. (No need for Config Maximums – I had one question only). Several times with several questions you need to imagine the vSphere Client interface in front of you in order to be able to reply correctly your questions (storage views for example….).

I haven’t had any CLI commands – or maybe one…not sure.  But one really need to know vDS and vSS for example, the fail-over order in different situations (here I can recommend TrainSignal VCP 5 course – lesson 20 – where vDS with its policies are explained).

What I used to prepare myself? A mix of everything…. I used my lab, Trainsignal vSphere 5 training courses – read my full review, and also as a guide line the latest Exam Blueprint and Blueprint notes made by several bloggers (especially @amauro’s ). Read the blueprint and if you feel that you don’t have enough knowledge for some topic – don’t wait to get questioned about this during your exam. You can be almost sure that you’ll get question on that !

I think that especially the experience one can get in a lab or in real life is very hard to “learn”. But one can usually start with some theoretical knowledge first, but then you must validate it in the lab or in production if you can…

It’s been a great test exam and I’m glad to be VCP 5 now.

End of update….  🙂

There is many more resources of course, If you find that your particular blog page is not present, just drop a comment below…

 

The VCP 5 resources post could be divides into several sections:

Official VMware Learning Courses – VMware Education provides high quality learning courses which are accessible Online or by attending VMware Class. Those courses are not free of course, but those are the best courses provided by certified trainers and in case you’re not VCP yet, you’ll have to take a class anyway.

VMware vSphere: Install, Configure, Manager [V5.0]
VMware vSphere: What’s New in vSphere 5

 

Multimedia Training – DVD’s and Online Training

VMware vSphere 5 DVD Training by TrainSignal – David Davis and Elias Khnaser brought us the best possible Computer based training course – I’m using it at the moment to prepare my exam at the moment.

New: I have watched this training course from TrainSignal. You can read my review here

 

VCP Blueprints with notes – this section contains the VCP blueprint (different versions) with the notes of different VMware Admins as they studied for the exam:

VCP5 blueprint with study notes – Engish version (Andrea Mauro – http://vinfrastructure.it) – PDF
Comparing VCP 4 and VCP 5 blueprints – Damian Karlson – http://damiankarlson.com
Mike Preston – http://blog.mwpreston.net/vcp-5/Jason Langer – Jason Langer’s Blog  
VCP 5 Exam Blueprint Deep Dive
 – Josh Coen
VCP 5 blueprint – latest – 1.4 – The original

 

VCP 510 Exam Experiences:

One of the first on the official exam – vjason.com
My VMware VCP5 Beta Exam Experience– vinfrastructure.it
Eric Sloof’s VCP5 exam experience – Eric Sloof – ntpro.nl
Scott Vessey’s exam experience
 – Scott Vessey – vmwaretraining.blogspot.com
VCP 5 exam experience – by Jason – burdweiser.com
Virtual Nomad VCP 5 Exam experience– vnomad.blogspot.com
VCP 5 Exam Experience – MalaysiaVM– Malaysiavm.com
Passed! – Vidad Cosonok
VCP 5 Beta Exam – a Pass – but it aint easy – Maish Saidel Keesing
VCP 5 Exam: Passed!
 – Jason Ventresco
VCP 5 Exam Experience – vHersey.com
Virtual Nomad VCP 5 experience – vmnomad.blogspot.com
vPrimer Exam Thoughts and Experience – vprimer.com
vMechanic Exam Experience – vmechanic.net
Gregg Robertson’s exam experience – Saffageek.co.uk – Gregg Robertson
My VCP 5 Exam Experience – vHersey.com
VCP 5 Exam – a Few Thoughts – thelowercasew.com
My VCP 5 Exam beta Experience – patrickkremer.com
PASSED VCP 5 EXAM!!! – Virtual Jay – virtual-jay.blogspot.com
VCP 5 Exam Experience – Marek Zdrojewski – defaultreasoning.wordpress.com
Passed my VCP 5 test – vmexplorer.com
VCA4-DT and VCP5 Exam Reviews – Jason Boche – boche.net/blog
My VCP 5 Exam Experience – Michael – virtual-hike.com
My VCP 5 Exam Review – Paul McSharry – elasticsky.co.uk
VMware Certified Professional on vSphere 5 – VCP510 Exam tips – Eiad Al-Aqqad – virtualizationteam.com
My personal VCP 5 Experience – Niels Engelen – foonet.be
My VCP5 Exam Experience – Mike Preston –  blog.mwpreston.net

If you just passed your exam, you can contact me on Twitter and I’ll add you to the list: @vladan

 

Community Resources – VMware community page

VMware’s VMTN VCP 5 Forum

 

VCP 5 Practice Exams – those are the online exams where you can test yourself. The questions are just test question, not the ones that you’ll be given at the day “D”.

The official VMware VCP5 Mock Exam  – mylearn.vmware.com – (you’ll need a VMware Learning account)
VCP 5 Practice Exams – Simon Long – simonlong.co.uk
Kalen Ardnt VCP5 Quiz – kalenarndt.com (site down today, will update later)
vSphere 5 Configuration Maximums Practice tests series – Paul McSharry – elasticsky.co.uk

 

Reference Card by Forbes Guthrie:

vSphere 5 vReference card – Forbes Guthrie – vreference.com

 

VCP Study Notes html pages and blog posts:

vSphere 5 study notes for VCP 510 – it-book.co.uk

 

–EOP–

 

netstat for ESXi

netstat for ESXi | Technodrone.

How do you check if an ESXi host has an open connection on a certain port, if it is listening on a certain port – for troubleshooting purposes.

Trying netstat on an ESXi host does not work – because that command is not there – see the screenshot below.

No netstat

Well that is not good – if the command is not in the busybox console then how would you go about getting that information? Well of course the clever people at VMware have already thought about this and have exposed all this information through esxcli. William Lam wrote a great set of posts on esxcli
esxcli Part1 – What is esxcli?, esxcli Part2 – Automating esxcli using vMA and esxcli Part3 – Automating esxcli using PowerShell

This is how you would go about getting the information from esxcli. (Be aware the command differ according to the different versions – 4.x is not the same as 5.x)

1
esxcli network ip connection list

esxcli1

That is fine and dandy – but to get that info you need to either:

  1. have access to the DCUI (and have it enabled of course)
    or
  2. access remotely with SSH (and also have it enabled of course)

But what if you do not want to enable neither of the above – that means you have to do it remotelyand for that you have two options, vCLI or PowerCLI.

The vCLI way

1
esxcli --server esx1.maishsk.local network ip connection list

vcli1

But me being more of PowerCLI guy I would do it like this.

The PowerCLI way

1
2
3
$esxcli = get-esxcli -vmhost esx1.maishsk.local
$esxcli.network.ip.connection.list() | ft

PowerCLI1

Output is almost identical – just that in the case of PowerCLI the values are returned as a set of objects – a  VMware.VimAutomation.ViCore.Impl.V1.EsxCli.EsxCliObjectImpl object to be precise. Once these presented as objects I can start to mold and dice my results to my liking.

For example – I would like to check if there is any connections open on port 80 (http) – with vCli – this is not so simple – because you are working essentially in a DOS window – so filtering is not the easiest with findstr. Using the console or SSH is easier – a simple grep will work as you can see below.

1
esxcli network ip connection list | grep :80

esxcli2

With PowerCLI

1
$esxcli.network.ip.connection.list() | where { $_.LocalAddress -like "*:80" } | ft

PowerCLI2

I hope you can see that the options this way are pretty much endless – like filtering all connections to show only those from a specific IP, or a complete subnet.

So that is how you netstat on ESXi….

NFS advantage over SAN in cloud computing | Malaysia VMware Communities

NFS advantage over SAN in cloud computing | Malaysia VMware Communities.

This blog highlights the usability of NFS with the advent of better technology available today.

One of the key area they highlighted was the storage protocol they choose, which is NFS rather than iSCSI and FC SAN, which was mainly due to the flexibility of volume shrink or re-size that could support on the fly. I am agreed with their statement as personal thought, for large scale deployment, NFS are much easier to iSCSI manage compare to iSCSI and FC environment.

NFS is pure ethernet IP base, which certified and proven in many of the large scale deployments worldwide. With 10G Ethernet today, performance throughput on the NFS will no longer concerns over the performance. If you had not evaluated NFS as an option in your deployment currently, you may want to take a try on it.

How to allow root user to log in to ESX host with SSH?

When you try to SSH login to your ESX host using root account, it gives you “Access denied” message.

This is normal; ESX SSH login using the root account is disabled by default for security purpose. You can login to the host by using either of the below ways:

  1. Login directly to the ESX host using VI Client (not to the vCenter Server)
  2. Click Users & Groups tab
  3. Right-click on a blank area and click Add
  4. Enter a username and password as shown in the picture. Confirm your password. Note: Starting in  ESX 4.0 the password needs to be at least 8 characters in length.
  5. Select Grant shell access to this user and click OK.
  6. Open the SSH client (Putty for example).
  7. Complete the necessary fields. Ensure Port is set to 22 and Protocol is set to SSH. Press Enter or click Open.
  8. Log in as the new user you created in step 4.
  9. Type SU – and press enter (This command switches users to root access and provides the path to the root user commands).
  10. Enter the root password when prompted, press Enter and you are in.

Now, you know how to SSH login using root account but you will need to use the SSH login account (created on step 4 above). If you need to permanently login using root account directly without the need to use a temp account you will need to edit it the “ssh_config” file to permanently enable root account to login directly.

Here are the steps:

  1. Open a SSH session and login using steps mention above.
  2. Type command: nano /etc/ssh/sshd_config
  3. Find the line the says: PermitRootLogin and change the “no“ to “yes” .
  4. save the file and exit.
  5. Restart the sshd process by typing /etc/init.d/sshd restart .

Now, you can  permanently login to SSH using root account directly.

Troubleshooting a failed virtual machine conversion task

Conversions sometimes fail no matter how careful you are preparing the server. The failure can occur at various stages in the conversion process; these stages are based on the task bar percent and are estimated values.

1. Creation of the target virtual machine (VM) (0%-5%)
2. Preparing to Clone the Disk (5%-6%)
3. Cloning (6%-95%)
4. Post-cloning (95%-97%)
5. Customization/Reconfiguration (97%-99%)
6. Install Tools/Power On (99%-100%)

Converter creates a detailed log file during the conversion process which will contain exact errors pertaining to why the conversion failed. This log file is located on the server you are converting that is running the Converter agent, and is usually named vmware-converter-0.log and is located in the C:\Windows\temp\vmware-temp directory.

What is hostd and vpxa ?

hostd is an app that runs in the Service Console that is responsible for managing most of the operations on the ESX machine.  It knows about all the VMs that are registered on that host, the luns/vmfs volumes visible by the host, what the VMs are doing, etc.  Most all commands or operations come down from VC through it.  i.e, powering on a VM, VM vMotion, VM creation, etc.

vpxa also runs on the Service Console and talks to VC.  I believe it acts as an intermediary between VC and hostd. I think it also does some housekeeping on the ESX host, but not as much as hostd.

Courtesy : http://vmaze.wordpress.com/

 

Vmware hostd and vpxa on ESXi 5.X

HOSTD

The vmware-hostd management service is the main communication channel between ESX/ESXi hosts and VMkernel. If vmware-hostd fails, ESX/ESXi hosts disconnects from vCenter Server/VirtualCenter and cannot be managed, even if you try to connect to the ESX/ESXi host directly. It knows about all the VMs that are registered on that host, the luns/vmfs volumes visible by the host, what the VMs are doing, etc. Most all commands or operations come down from VC through it. i.e, powering on a VM, VM vMotion, VM creation, etc.

Restart the management agent

/etc/init.d/hostd restart

VPXA

It acts as an intermediary between VC and hostd. The vCenter Server Agent, also referred to as vpxa or the vmware-vpxa service, is what allows a vCenter Server to connect to a ESX host. Specifically, vpxa is the communication conduit to the hostd, which in turn communicates to the ESX kernel.

Restart the vpxa service

/etc/init.d/vpxa restart

 
Note:- If you have SSH enabled on your ESXi server these services can also be restarted and even if these are restarted by you then also your SSH session will not be impacted.

VPXD-It is Vcenter Server Service. If this service is stopped then we will not able to connect to Vcenter Server via Vsphere client.

VPXA-It is the agent of Vcenter server. also known as mini vcenter server which is installed on the each esx server which is managed by Vcenter server. What are the management action we are performing on top of the vcenter server. (Like:- Increasing/Decreasing RAM & HDD, Making any type of changes in cluster, doing vmotion. This agent collects all information from the vcenter server and pass this information to the kernal of the esx server.

HOSTD- This is the agent of ESX server, here VPXA pass the information to the HOSTD and hostd pass the information to ESX server.

In ESX, you have only hostd and (if you have vCenter) vpxa.

These are daemon (services) for remote management:

  • hostd is used to remote management using VIC
  • vpxa is used by vCenter (the vpxd part of vCenter) to remote manament

hostd is the daemon for direct VIC connection (when you use Virtual Infra Client (VIC) to connect to your ESX).

Also,

  • vpxa is the VC agent (ESX side)
  • vpxd is the VC daemon (VC side)

What do ESX and ESXi stand for?

After a little web searching, I found this article on acronyms on Yellow-Bricks which reveals the little known/cared about story of many terms in VMware’s world of virtualization. There is also this link to a video interview with Mike DiPetrillo which goes more in to this matter.

ESX and GSX

As VMware old-timer Mike Di Petrillo tells us, the first hypervisor versions were named by a marketing firm as:

Elastic Sky

Ground Storm

The engineers did not seem to like it and after a vote from the engineers they dropped the long names and retained the initials and added the X to make it sound technical. Hence, the next versions of hypervisors were named:

ESX stands for Elastic Sky  X

GSX stands for Ground Storm X

ESXi

Apparently, the “i” in ESXi stands for Integrated, probably coming from the fact that this version of ESX can be embedded in a small bit of flash memory on the server hardware.  In this manner, we can treat server hardware almost like a hot-swap commodity; just another node.

VMware vSphere Hypervisor

To confuse things further, VMware now offers the free VMware vSphere Hypervisor  (intended to replace the “free-ESXi”, and separate from ESX/ESXi, which are Enterprise-class hypervisors). For more info, see this FAQ from the VMware website for  VMware vSphere Hypervisor.

What is the difference between VMware ESXi and VMware vSphere Hypervisor?
VMware vSphere Hypervisor is the new name for what was formerly known as VMware ESXi Single Server or free ESXi (often abbreviated to simply “VMware ESXi”). VMware vSphere Hypervisor is the free edition of the vSphere production line. It is licensed to only unlock the hypervisor functionality of vSphere, but it can be seamlessly upgraded to more advanced offerings of VMware vSphere. VMware vSphere is available in multiple editions, including several options specifically designed for small businesses.