I was messing around with PowerCLI and the real-time statistics to collect the IOPS used by virtual machines/virtual machine disks in my my home lab. Virtual disk performance counters are available in the real-time performance stats but at the default statistics level, Level 1, with the IOPS statistics are not rolled up into the daily, weekly, monthly, or yearly statistics. I put together a PowerCLI script, collect-iops.ps1, to collect the real-time samples.
Tag Archive: powershell
SimpliVity Backups are Policy-based and VM-Centric. SimpliVity Backup Policies automate the protection of virtual machines in order to meet Recovery Point Objectives (RPO). Full virtual machines or individual files/folders with virtual machines can be quickly restored to the point in time when the backup was taken. This post provides a solution for using the REST API to schedule SimpliVity backups outside of the standard options available when creating backup policy rules.
I was looking for away to easily add an entry to an ESXi host’s /etc/hosts file without using SSH to connect to the host. ESXi has a file management interface which can be accessed with standard GET/PUT operations. I put together a quick example of doing this with PowerShell using Invoke-WebRequest.
Policy based SimpliVity backups have a retention period defined in the backup policy. When the retention period expires the backup is removed from the system. When a Manual SimpliVity Backup is taken, no retention period is set and the backup will never expire. This post provides some details on how to locate Manual SimpliVity Backups using the vSphere Web Client or the SimpliVity REST API.
I was recently convinced by Hersey to present at our Hampton Roads VMUG on automation and orchestration. As this is still a relatively misinterpreted topic, I took the opportunity to differentiate between automating tasks, and combining those tasks to orchestrate complex workflows, along with some examples. What I gathered from the session is that there …