So with the New Year here, vSential.com has overgone a makeover of some sort. There are definitely more things that need to be looked into and resolved but I figured that everyone might enjoy a small change! Happy New Year and I hope to get this blog moving this year!
I decided to gather some information about a server that was sitting in Morgantown, PA due to a couple of errors we were receiving. I needed to get it pretty quick and so I decided to grab it through SNMP. I had to enable it through the vMA since the host was running ESXi. Here’s how:
You may need to restart the services on the ESXi host via services.sh on the host. You can show the configuration by typing: vicfg-snmp -s
That’s it…now you can snmpwalk the host from the Trap host you configured earlier by typing: snmpwalk -v2c -cvscomname vs-esxi.vsential.com
If you have any questions, comments, or suggestions then please sound off in the comments!
Something I came across today that struck me as funny while doing my daily VMware Community posting:
I guess that it has been confirmed…I am a 1337 VM H4ck3r! Ha!
One of the recent things that I have come across are posts in the community forums regarding memory metrics or memory counters. People are always asking questions along the lines of “What do they mean?”, “How do I read these things”, “Is James really bald?”. Well, I am hoping to set out and lay this out for others so that it can be easier to understand.
First, let’s take a look at what we see in vCenter when regarding virtual machine memory. When you select a VM in vCenter or in the vSphere Client connected directly to a host, you see the following:
What you have in front of you is a selected color pallete, that in my opinion leaves a lot to be desired. :) Anyway, back to the issue at hand…You are presented with a “graph” of Host Memory and Guest Memory. Let’s talk about the first portion, Host Memory, as seen here:
This portion shows the host memory. Now this is not to be looked at as what is available on your host. This is a representation of the memory consumed by the VM and the overhead for the virtualization processes tied to this VM. As you can see, it shows you the consumed portion that your VM has allocated. This is not the amount of memory that your VM is actively using. This is strictly a representation of the memory that has been allocated to this VM when you deployed it or after any change made to the memory allocation on the VM. The overhead consumption is a representation of the memory in use for the virtualization processes which support this VM.
The next section is the Guest Memory, as seen here:
As you can see here, this section has a lot more information regarding memory statistics. This section is strictly regarding the VM Guest Memory, not the host machine. The first part of this section shows a pretty (or not so pretty) graph of the allocated memory for the VM, in this case 4GB, and the relative breakdown of the memory usage.
The last portion of this view is the Resource Settings. This section displays the information regarding the VM resource settings. These settings can be controlled from the VM-level and Resource Pool-level.
I hope that this breakdown comes in handy for some of you out there. If you have any questions, comments, corrections then please post them in the comments!
http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/memory_counters.html
http://communities.vmware.com/docs/DOC-10398