VMUG Virtual Event 6.0

vmug2017Register before April 27 to be entered to win one of (2) $100 New Egg Gift Cards!

Date: Thursday, June 8, 2017

Time: 9 AM – 5 PM Central Standard Time

VMUG Virtual Event 6.0 and take your career to the next level! This is your opportunity to experience live breakout sessions, chat with VMware experts and VMUG leaders, connect with industry leading partners, and access invaluable downloadable resources.

Click Here Registration

For more information and event details please visit: https://www.vmug.com/virtualevent

Script to Get Datastore Path Information

Hello guys…!!!

Here is script developed to get the No Of Paths per DS and Type of path selection policy and to which VMHBA it is connected.

PowerShell Scrip:

Connect-VIServer -Server servername -User username -password password
$expotDSPathCount=@()
#Get list of ESXi Hosts
$esxihosts=gc C:\hosts.txt
$countofESXi=$esxihosts.Count
For($i = 1; $i -le $esxihosts.count; $i++)
{
ForEach ($esxihost in $esxihosts) {
 $esxi = Get-VMHost -Name $esxihost
 $hbas = $esxi | Get-VMH

ostHba
 ForEach ($hba in $hbas) {
 $scsiluns = $hba | Get-ScsiLun
 ForEach ($scsilun in $scsiluns) { 
 $exportDSPaths=New-Object PSObject
 $scsipaths =$scsilun | Get-Scsilunpath |Select-Object *
 $LunPathPolicy=$scsilun.MultipathPolicy
 $PathCount=$scsipaths.Count
 $LunNaaID=$scsilun.CanonicalName
 $DS=Get-Datastore |Get-View |Where-Object {$_.Info.vmfs.Extent.DiskName -eq $LunNaaID}
 #Write-Host $DS.Name,$LunNaaID,$LunPathPolicy,$PathCount,$hba.Name,$esxi.Name
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "EsxiHost" -Value $esxi.Name
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "DatastoreName" -Value $DS.Name
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "LunNAAID" -Value $LunNaaID
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "MultipathPolicy" -Value $LunPathPolicy
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "LunPathCount" -Value $PathCount
 $exportDSPaths|Add-Member -MemberType NoteProperty -Name "VmHBA Connected" -Value $hba.Name
 $datastore=$DS.Name
 $expotDSPathCount+=$exportDSPaths
 Write-Progress -Activity “Now Scaning $datastore in $hba on $esxi” -status “Found $countofESXi esxi hosts and working on $esxi” -PercentComplete ($i / $esxihosts.count*100)
 }
 }
}
$expotDSPathCount| Export-Csv -NoTypeInformation 'DSPathCountInformation.csv'
}

Sample Out PutDSPathInfo

Script to Get the Path Count of VMHBA

Hello guys…

Here is the script  to get the Number of Paths for each and every VMHBA in esxi and the out put will be saved in CSV Files…Thanks to Lucd…

Script:

Connect-VIServer -Server vcenterservername -User vcenterusername -password vcenterpassword
$exportData=@()
$esxs=gc C:\Users\TIRU\hosts.txt
foreach($esxi in $esxs){
$esx = Get-VMHost -Name $esxi
foreach($hba in (Get-VMHostHba -VMHost $esx ))
{
$target = ($hba.VMhost.ExtensionData.Config.StorageDevice.ScsiTopology.Adapter | where {$_.Adapter -eq $hba.Key}).Target
$luns = Get-ScsiLun -Hba $hba 
$nrPaths = ($target | %{$_.Lun.Count} | Measure-Object -Sum).Sum
$exportObject=New-Object PSObject 
$exportObject |Add-Member -MemberType NoteProperty -Name "HostName" -Value $esx
$exportObject |Add-Member -MemberType NoteProperty -Name "HBAName" -Value $hba.Device
$exportObject |Add-Member -MemberType NoteProperty -Name "NumberOfPaths" -Value $nrPaths
#NumberOfPaths=$nrPaths
#HostName=$esx
#HBAName=$hba.Device
#NumberOfTargets=$target.Count
#NumberOfDevices=$luns.Count
$exportData+=$exportObject
}
}
$exportData| Export-Csv -NoTypeInformation 'ESXiStoragePathInformation.csv' 

Sample Output:

SampleOutput Of Script

WEBCAST:VMware vRealize Automation 7 Troubleshooting

vRA7

Date: April 30, 2017

Time:

  • 8:00 AM PDT / 11:00 AM EDT
  • 12:00 PM BST
  • 12:00 PM SGT

Speakers:
Bharath Narayana Reddy, Senior Technical Training Specialist, VMware

Summary:

In this webcast, attendees will leave this with a better understanding of:

  • What are the components that make up vRealize Automation?
  • What is the role of each vRealize Automation component?
  • What are the tools available to troubleshoot vRealize Automation?
  • Troubleshooting tips and gotchas
  • How to track a machine request using vRealize Automation logs?
  • Common vRealize Automation issues and how to fix them?

Click Here For Registration

Azure Webinars…April Series…!!!

The following are list of Azure April..Webinar’s  Register and Enjoy the learning..Also help your friends by sharing this post…!!!!

Title Date& Time Registration
 Azure Batch Service Tuesday, April 11, 2017 3:00 PM – 4:00 PM Click Here For Registration
Azure Automation Part 2 Friday, April 14, 2017 03:00 PM – 04:00 PM Click Here For Registration
Azure SQL Data Warehouse-Introduction Monday, April 17, 2017 3:00 PM – 4:00 PM Click Here For Registration
Setting up Dev and Test environment in Azure April 19, 2017 12:00 PM – 01:00 PM Click Here For Registration
Disaster Recovery as a service – Setup DR Site in Azure using Azure Site Recovery Friday, April 21, 2017 3:00 PM – 4:00 PM Click Here For Registration
Azure Whats Brewing – Get the latest update Friday, April 28, 2017 3:00 PM – 4:00 PM Click Here For Registration

Global Azure BOOTCAMP CHENNAI…!!!

bootcamp2017

Welcome to Global Azure Bootcamp 2017 – Chennai! All around the world user groups and communities want to learn about Azure and Cloud Computing! On April 22, 2017, the Chennai Azure User Group in support from Microsoft & Tech Mahindra will host the fifth great Global Azure Bootcamp event!

For Registration and other details….Click Here

Webcast:DevOps: Not Just for Open Source and Unicorns

Abstract: DevOps is sweeping the IT industry like no other movement since server virtualization. It’s changing the way IT is operating, how it delivers value, and the economics around IT. A prevailing view is that DevOps is only happening in the most open and unique places.

In this talk we will explore the variety of areas where DevOps is being applied successfully. I’ll discus how the tools (VMware, PowerShell, Puppet) and frameworks that support our traditional VMware virtualized environment come to bear in this new framework. I’ll dig deeper into the methodologies of DevOps and how they affect the way our virtual environments are managed and drive value. Once we reach the impressive summary slide, attendees should have a stronger view of how their skills apply in this new framework.

Date: Thursday, April 13, 2017

Time: 12:00 PM Central Daylight Time

Duration: 1 hour

Click Here For Registration