PowerCLI for Host Storage

Thanks to these excellent blogs:

https://www.virten.net/2014/02/howto-use-esxcli-in-powercli/

http://rvdnieuwendijk.com/2012/08/19/how-to-list-all-the-powercli-esxcli-commands/

 

Following the information presented one can easily perform operations such as listing detached storage devices:

$hosts = Get-Cluster [cluster name] | Get-VMHost

Foreach ($vihost in $hosts) {

Write-Host $vihost

$esxcli = get-vmhost $vihost | Get-EsxCli

$esxcli.storage.core.device.detached.list() | Select DeviceUID | Format-List

}

 

Or you can list the naa ids for all mounted vmfs datastores:

$hosts = Get-Cluster [cluster name] | Get-VMHost

Foreach ($vihost in $hosts) {

Write-Host $vihost

$esxcli = get-vmhost $vihost | Get-EsxCli

$esxcli.storage.vmfs.extent.list() | Select DeviceName | Format-List

}

VMworld 2015

VMware’s annual conference, VMworld, kicked off in San Francisco last week a number of interesting announcements came out of it. A few that jumped out at me:

VMware EVO SDDC:

A pre-configured suite of existing products (including vSphere, VSAN and NSX) bundled with a new automation engine (VMware EVO SDDC Manager) and a new service responsible for physical hardware (Hardware Management Services). It will be sold as a converged platform from partners such as Dell.

The aim is to provide cloud capabilities for private infrastructure with simplified configuration/deployment.

 

Project Skyscraper:

A hybrid cloud development, two features stand out to me –

“Cross-Cloud vMotion” – Live migration between private cloud to vCloud Air and back

“Content Library Sync” – Sync your content library (VMs, OVFs, ISOs) with vCloud Air

Site Recovery Manager 6.1:

New features – Stretched storage support, Storage Policy Protection Groups, Integration with NSX 6.2.

VMware What’s New

VSAN 6.1:

New features – Stretched clusters for high availability across data centers. A new two node cluster deployment (ideal for for branch offices).

VMware Blog

vCloud Air:

Announcement of a SQL service and an object storage service.

SQL datasheet