Tag: VMware

PowerCLI: Memory Usage Report Script

PowerCLI: Memory Usage Report Script

The Below one liner will generate a CSV file containing the following

  • VM Host
  • VM Folder
  • VM Name
  • VM Memory Allocation
  • VM Memory Average Usage Last 30 Days
PowerCLI C:\> get-vm | Where {$_.PowerState -eq "PoweredOn"} | sort Name | Select-Object VMHost,Folder,Name,MemoryGB,@{N="Memory Usage (Average Over 30 Days), %" ; E={[Math]::Ro
und((($_ | Get-Stat -Stat mem.usage.average -Start (Get-Date).AddDays(-30) -IntervalMins 5 | Measure-Object Value -Average).Average),2)}} | Format-Table -autosize -Property VMho
st,Folder,Name,MemoryGB,"Memory Usage (Average Over 30 Days), %" | Export-Csv C:\temp\MemoryUsage.CSV
Advertisements
VMware: Cannot Complete Operation

VMware: Cannot Complete Operation

Hi Guys,

It has been a little while since I have last posted reason being that everything has been running smoothly until today!

Okay so on vCenter I was performing some VM changes in the settings and I got the following error

vmware-error3

To resolve this if you have a windows based vCenter it is much simpler just restart the VMware vCenter service on the box and off you go but if you have a vCenter appliance you are going to need to perform a full reboot

Anyway I hope this helps

For more information please go to the following KB

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2016329

Zerto: Upgrading From 4.0U4 to 4.5U4

Zerto: Upgrading From 4.0U4 to 4.5U4

The update process for Zerto from version 4.0U4 to 4.5U4

  • Update all of your current VRA’s to the current version that is running
  • Ensure that all versions of the Zerto Management Software are on the same level
  • Stop Zero Management Service when all syncs and restorations have completed at both sites
  • Download the update package from the Zerto Support portal on both sites
  • Take a copy of the Tweaks file
  • Export your VPG’s configuration using the Zerto diagnostic tool at each site
  • Snapshot the Zerto Management Servers at each site
  • Run the update package
  • log back into each site Zerto Management Portal
  • Ensure all warnings and alerts have settled and resolved
  • Perform VRA updates on each of your VMware hosts

And you are done! Easy!

If anything goes wrong get on the phone to Zerto there support is fantastic! I have just finished my update last night and it went a bit crazy and they soon called me back and helped straight away.