How to: Add iSCSI SAN storage to VMWare ESXI

 

 

In this Tutorial I am gong to show you how to add a LUN on a SAN through the iSCSI initiator on VMWARE ESXI Server.
Tiếp tục đọc

Advertisements

Use PowerCLI to get Quick Stats

Introduction

A while back, I started to do a little bit of work with PowerCLI, VMware’s PowerShell based scripting language. PowerCLI can be used for a number of tasks, including creating, managing and monitoring virtual hosts and guests. In this article, part one of a new series, you will learn how to use basic PowerCLI commands to pull information from an ESX host.

Sometimes you just want to get an at-a-glance view of your VMware environment. Other times, you may want to store historical information outside vCenter/ESX in order to manipulate it in other tools. With PowerCLI, getting some down and dirty statistics is quite simple. PowerShell also provides database connectivity cmdlets that enable you to write statistics information into a SQL Server database. Later in this series, I’m going to show you how to grab pertinent information from an ESX server and also show you how you can write some of this information into a database for later viewing.
Tiếp tục đọc

vSphere 5.5 Quick Stats Not Up to Date Error

I have seen this error since I upgraded to vSphere 5.5 last week. There is a kb article here on how to fix this. According to this kb article this is a known issue in vCenter 5.5. I am using the vCSA (vCenter Server Appliance) and it is affected as well. So I just wanted to share what to do based on the KB article.

Screenshot of the error.

07-36-25

Open putty and ssh to your vCSA and execute the following.

cd /etc/vmware-vpx/
 cp vpxd.cfg vpxd.cfg.orig
vim vpxd.cfg

Now scroll down to the line before </vpxd> and insert the following code from the kb article referenced above.

<quickStats> <HostStatsCheck>false</HostStatsCheck> <ConfigIssues>false</ConfigIssues> </quickStats>

Now restart vCenter Server Service

service vmware-vpxd restart

Now after the services have restarted all should be good.

by