VMware has announced the next generation of vSphere yesterday. Besides lots of new features, vSphere 5 also comes with a new licensing structure. For every licensed physical CPU, you get a certain amount of vRAM, which you will be able to allocate to virtual machine. Only the running VM’s will count towards your license limit.
Curious [...]
Using Memory Limits in vmware vSphere can cause severe performance issues. The guest operating system assumes it can use all of the allocated memory, but vSphere will make sure the vm cannot use more than the memory limit. It does this by inflating a memory balloon using the balloon driver included with the vmware tools. [...]
Configuring a syslog folder is convenient for troubleshooting ESXi. But it’s a pain you-know-where to configure manually across all your ESXi servers. Luckily, PowerCLI can help out. This script creates a folder on the local datastore and configures ESXi to write the syslog in that folder.
Enjoy!
Hugo
I used to have all my common functions stored as separate scripts in a single folder. I’d load these through a few lines of code in my profile, looping through the script files and dot-sourcing them. Powershell v2.0 has a new feature called Modules. So how do you convert a bunch of scripts (containing functions) [...]
Annoyed by the default setting for VM’s inside a vApp? I was, because when you power down the vApp, the VM’s are powered down instead of being shutdown cleanly. It can be a tedious task to check and correct this setting for all your vApps. This little script solves that problem for you. Enjoy!
$VC = [...]
Determining the LUN ID for a specific LUN in your VMware Infrastructure used to be simple. It was listed as one of the properties of the datastore you selected in the VI Client. Nowadays, more often than not, I dont see the LUN ID in the vSphere Client. Instead, I see some sort of identifier [...]
Do you get these events in your system log?
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. attempting to start the service ntmssvc with arguments “-Service” in order to run the server:
{D61A27C6-8F53-11D0-BFA0-00A024151983}
Symantec explains this is caused by disabling the Removable Storage Manager and provides [...]
Wow, vSphere vCenter Server has a lot of new alarms! Great for monitoring your environment. But a pain when it comes to documenting it. Thank God VMware for the PowerCLI! Just a few lines of code can do the documentation for you.
Here’s how:
The following script is a request from David Gontie, who was kind enough to comment on a previous post.
He’d like to add the location of his vm’s to a custom field. This is especially handy if you store all the files for a vm in a single datastore.
Here you go David:
Snapshots are m*th3rfcukers. If you’re not careful, they will mass-murder your vms. Yet they allow you to time-travel! You want to use them, but how to prevent a massacre? Here’s how: relocate the delta files.
When you create a snapshot, the current state of the vm is preserved by leaving the disk files alone. All changes since [...]
Tags
vSphere SQL Registry multipath Fun errors function security cleanup Stat VMware filter recursive datastores LUN Custom Fields directory tree known issues session Scripts PowerCLI Event Log file name portgroups PowerShell Active Directory VI Toolkit License Server profile bind order Oneliner device management WMI CPU API NIC share objects description HA cluster IT WSUS Zen snapshotsDonate
Me on Twitter
- Toch doet vallen verdomd veel pijn! http://t.co/PP5K7HHg
- I liked a @YouTube video http://t.co/Zf4rLQU4 Battlefield 3 Is Just Awesome (Boom de Yada) Song - JackFrags 1
- Dang! #VMware host profiles SUCK BALLS! /frustrated #ShouldHaveStuckWithPowerCLI
- Echt vuurwerk zit in een doos http://t.co/tm1nt0j8
- RT @wjuytdehage: En het woord van de dag is #bepotelen met dank aan @hugopeeters en indirect dus ook @BoelEefke
Logo

v-Index
Archives
