external help file | Module Name | online version | schema |
---|---|---|---|
HPESimpliVity-help.xml |
HPESimpliVity |
2.0.0 |
Display the performance information about the specified HPE SimpliVity resource(s)
Get-SvtMetric [-HostName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>]
[-Chart] [-ChartProperty <String[]>] [<CommonParameters>]
Get-SvtMetric -ClusterName <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>]
[-Chart] [-ChartProperty <String[]>] [<CommonParameters>]
Get-SvtMetric -VmName <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[-ChartProperty <String[]>] [<CommonParameters>]
Get-SvtMetric -SvtObject <Object> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[-ChartProperty <String[]>] [<CommonParameters>]
Displays the performance metrics for one of the following specified HPE SimpliVity resources: - Cluster - Host - VM
In addition, output from the Get-SvtCluster, Get-Host and Get-SvtVm commands is accepted as input.
Get-SvtMetric -ClusterName Production
Shows performance metrics about the specified cluster, using the default hour setting (24 hours) and resolution (every hour)
Get-SvtHost | Get-SvtMetric -Hour 1 -Resolution SECOND
Shows performance metrics for all hosts in the federation, for every second of the last hour
Get-SvtVm | Where VmName -match "SQL" | Get-SvtMetric
Show performance metrics for every VM that has "SQL" in its name
Get-SvtCluster -ClusterName DR | Get-SvtMetric -Hour 1440 -Resolution DAY
Show daily performance metrics for the last two months for the specified cluster
Get-SvtVm Vm1,Vm2,Vm3 | Get-SvtMetric -Chart -Verbose
Create chart(s) instead of showing the metric data. Chart files are created in the current folder. Use filtering when creating charts for virtual machines to avoid creating a lot of charts.
Get-SvtHost -Name MyHost | Get-SvtMetric -Chart | Foreach-Object {Invoke-Item $_}
Create a metrics chart for the specified host and immediately display it. Note that Invoke-Item only works with image files when the Desktop Experience Feature is installed (may not be installed on some servers)
Get-SvtMetric -Cluster SvtCluster -Chart -ChartProperty IopsRead,IopsWrite
Create a metrics chart for the specified cluster showing only the specified properties. By default the last day is shown (-Hour 24) with a resolution of MINUTE (-Resolution MINUTE).
Get-SvtMetric -Host server1 -Chart -OffsetHour 24
Create a chart showing metric information from yesterday (or more correctly, a days worth of information prior to the last 24 hours).
Show performance metrics for the specified SimpliVity node(s)
Type: String[]
Parameter Sets: Host
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Show performance metrics for the specified SimpliVity cluster(s)
Type: String[]
Parameter Sets: Cluster
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Show performance metrics for the specified virtual machine(s) hosted on SimpliVity storage
Type: String[]
Parameter Sets: VirtualMachine
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Used to accept input from the pipeline. Accepts HPESimpliVity objects with a specific type
Type: Object
Parameter Sets: SvtObject
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Show performance metrics starting from the specified offset (hours from now, default is now)
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Show performance metrics for the specified number of hours (starting from OffsetHour)
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 24
Accept pipeline input: False
Accept wildcard characters: False
The resolution in seconds, minutes, hours or days
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: MINUTE
Accept pipeline input: False
Accept wildcard characters: False
Create a chart instead of showing performance metrics. The chart file is saved to the current folder. One chart is created for each object (e.g. cluster, host or VM)
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specify the properties (metrics) you'd like to see on the chart. By default all properties are shown
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: ('IopsRead', 'IopsWrite', 'LatencyRead', 'LatencyWrite',
'ThroughputRead', 'ThroughputWrite')
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Roy Atkins, HPE Services
https://github.com/atkinsroy/HPESimpliVity/blob/master/Docs/Get-SvtMetric.md