I have good news for those of you that like to use PowerShell to control your Tintri servers. The PowerShell Automation Toolkit 2.0 is now in Tech Preview. This means that the Toolkit is available for download and we are soliciting your feedback.
These features include:
The TGC Service Group cmdlets make available creating and editing service groups, viewing all VMs and VM policies in service groups, and applying protection/replication policies to a service group. Use
New-TintriServiceGroup to create a Service Group. To add VMs, use
Add-TintriVmServiceGroupMember. Service Groups can have add VM rules.
New-TintriServiceGroupRule creates the rules that control which VMs are to be added to the Service Group. The cmdlets,
New-TintriVmReplConfiguration now take Service Group objects as inputs.
The PowerShell cmdlets
New-TintriVMCloneMany now work with Hyper-V VMs.
High Frequency Snapshots can now be enabled with a new option
"EveryMinute" for the
Since snapshot schedules are being discussed, there is now a way to remove or clear snapshot schedules with the
QoS parameters, minimum and maximum normalized IOPS, can now be set per VM with
Get-TintriVM cmdlet has been updated to show QoS information when set. VM objects can be piped to
SSO authentication using current Windows credentials is now supported for
Connect-TintriServer. Now passwords don't have to be embedded in scripts or prompted for. This is similar to PowerCLI's
SyncVM is now available which allows both use cases:
The first case has new cmdlet,
Sync-TintriVM, and the second use case uses the new
Sync-TintriVDisk. There is a convenience option
Sync-TintriVDisk to sync to all virtual disks, except the first or zeroth disk.
GitHub examples will be posted soon and I'll let you know when they are available. I think you'll find PowerShell Toolkit 2.0 filled with great features that will allow you to effectively automate your VMstores and TGCs.
Unique control with VM-level actions for infrastructure functions including snapshots, replication and QoS make protection and performance certain in production, and accelerate test and development cycles.