czwartek, 29 listopada 2012

VMware VSA and Local Storage - RAID configuration

When deploying and configuring VMware Virtual Storage Appliance you have to make a decision about built-in RAID layout at the physical ESXi hosts which will be later part of the VSA cluster. VMware supports up to three hosts in the VSA cluster and it is very important to keep the same storage configuration on all of them.

All steps required to install VSA can be found in the official installation docs:
VSA Installation Guide

At the Page 27 you will find details about HP servers and two important recommendations:
  • Create a RAID logical volume that uses ALL physical disks on a server.
  • VMware recommends that you use RAID5 for SAS drives and RAID6 for SATA drives.
The funny thing is that the VMware still uses configuration steps for HP iLO v.2 which is outdated for at least 2 years. Worth mentioning that all HP Gen. 7 servers were shipped with iLO v.3 and HP Gen. 8 boxes with iLO v.4 where Local RAID Configuration process looks completely different.


wtorek, 20 listopada 2012

Difference between IPoIB and Native Infiniband

Great, short and "straight to the point" explanation of the main differences between Native Infiniband and IPoIB protocol:
For some detailed resources you should definitely check(you wouldn't be surprised that two of the top three Google results are here,would you...??):


BPDU Filter in vSphere 5.1 explained

Very good article about BPDU Filter was posted at the VMware vSphere Networking blog.
It explains configuration and some use case scenarios:
http://blogs.vmware.com/vsphere/2012/11/vsphere-5-1-vds-new-features-bpdu-filter.html

Have you ever faced Denial of Service caused by Spanning Tree Protocol(STP)...??
The KB posted in that article can help you to understand why it happens and how to avoid it:
http://kb.vmware.com/kb/2017193

poniedziałek, 1 października 2012

VMware vCenter SSO: MSSQL not supprted with Windows Authentication

I strongly recommend you to read VMware KB2034918 before installing vCenter SSO.
You definitely have to navigate to the "SSO database questions" section where you can read following sentence:

"Can I use Windows Authentication for the MSSQL database user name and password, as the JDBC Setup screen implies?

No. For MSSQL databases, you must use SQL Server Authentication database users. Windows Authentication users are not supported. For more information, see Connection to the MSSQL database fails during vCenter Single Sign On installation section of the VMware vSphere 5.1 Release Notes"


And now you can safely run installer, proceed to the Database Information and make sure you won't tick the most visible check-box out there...:)



Designed for future usage only...:P

środa, 12 września 2012

VMware vSphere Web Client - Welcome Window

What a nice, friendly looking and encouraging "welcome window" welcomed me after I've installed vSphere 5.1 today...:)


Perfectly stable, secure and bug free solution...:)

I am pretty sure as well that all of you have this port opened in your vSphere network...:)

poniedziałek, 3 września 2012

Minimum required permissions for Storage VMotion

Probably all of you, when looking for Storage vMotion permissions, will find KB:
http://kb.vmware.com/kb/1011345

This KB is at the first place in all searches issued from google...:)

All would be great, but it is actually no longer applicable to vCenter versions 4.x and 5.x and is related only to RCLI.

To create role which allows user to perform Storage vMotion you can copy standard Read-Only role (or VM User/VM Power User role -> depends on access to Virtual Machines you would like to give to users) and add following permissions:


Datastore -> Allocate Space
Datastore -> Browse Datastore
Datastore -> Remove File
Datastore -> Update Virtual Machine Files

Resources -> Migrate
Resources -> Relocate

Virtual Machine -> Provisioning
Virtual Machine -> Allow Disk Access
Virtual Machine -> Allow Read-Only Disk Access

Newly created role now allows you to perform Storage vMotion.

środa, 4 lipca 2012

Accept VMware vCenter Server Appliance EULA from command line

During the vCenter Server appliance deployment I accidentally skipped the license acceptance page. Unfortunately the page didn't appear ever again...:)

To deal with it I found a way to accept EULA directly from the appliances shell console:
  • Login to the vCenter server appliance shell console (default credentials: root/vmware)
  • Navigate to the /etc/vmware-vpx folder: cd /etc/vmware-vpx
  • Create empty file eula.accepted with: vi eula.accepted and save it: :wq
You can now start vCenter Service from the console with:
  • service vmware-vpxd start
  • service vmware-vpxd status

Hope it helps...:)

wtorek, 3 lipca 2012

Reclaim space from Thin Provisioned volumes

Today a tool to reclaim space from thin provisioned volumes was presented at the VMware Labs web page:

http://labs.vmware.com/flings/guest-reclaim

Unfortunately, before you will try it, you have to consider that there are still couple of "gotcha's":
  • Currently supports only RDM devices 
  • Doesn't work with NFS volumes 
  • Works only for NTFS filesystem

Here is a quotation from the official docs from point 6:

"The tool transparently operates on virtual disk if the hypervisor emulation layer reports virtual disks as thin provisioned. End to End reporting of thin provisioning status in a virtual storage stack is required to fully leverage Thin Provisioning in a virtualized environment.

This tool is not related to any VMWare ESX or any other Hypervisor Release. If ever ESX supports
unmaps on virtual disk in the future, it will be tied to “Virtual Hardware Version Upgrade” and will
mostly be in a release after vSphere 5.0.
For the authoritative word on ESX virtual disk unmap support, please check official updates about
features in VSphere 5.x releases.

Until then you can use tools on RDMs."


Anyway, we have good prospects for the future, as the authors already announced that they will continue to develop this tool in the future and if you have environment with Raw Devices this is something you should keep an eye on.

środa, 4 kwietnia 2012

Update Manager "Scan for Patches" last for 25 minutes

As I wrote at the VMware community forum I encountered problem with the Update Manager which was scanning every host for 25 minutes and the entire remediation process for single host could last even for 1:30h like presented at the print-screen below:


Luckily with a little help of the VMware support I successfully managed to solve this issue.

The case was that the update manager itself was installed more than year and a half ago and it has gigantic repository - dozens of GB and hundreds of patches and bulletins...:)

I was recommend to update all host to 3.5 Update 5a (which breaks all previous patch inheritance) and reinstall the update manager.

It helped and now scanning last for 30 seconds.


poniedziałek, 9 stycznia 2012

VMware vCenter 4.1 crashes with Error[VdbODBCError] (-1)

It happened to me few days ago when I tried to reconnect ESX 4.1 host with some running VMs back to the vCenter.

vCenter server service crashed with the following error:

A general system error occured: Error[VdbODBCError] (-1) "ODBC error: (HY000) - [Oracle][ODBC][Ora]ORA-01400: cannot insert NULL into ("VPXADMIN"."VPX_VM_FLE_FILE_INFO"."NAME")
" is returned when executing SQL statement "INSERT INTO VPX_VM_FLE_FILE_INFO (VM_ID, KEY_VAL, NAME, FILE_SIZE, TYPE) VALUES (?, ?, ?, ?, ?)"


VMware discribed this issue at KB1032726

To solve it they recommend to change database schema with ALTER TABLE VPX_VM_FLE_FILE_INFO MODIFY NAME NULL;


Do you have your DBA on call 24/7...?? If not its simpler to just use the vSphere client to connect directly to the ESX host and check your VMs for any inconsistency.


You will find disk described as /vmfs/devices/machine.vmdk instead of [Datastorename]/VMname/machine.vmdk


You can simply remove the disk from the VM or unregister the VM from the ESX inventory and then reconnect the host to the vCenter.

Worked for me...