qos policy-group create
Create a policy group
Availability: This command is available to cluster administrators at the admin privilege level.
qos policy-group create command creates a new policy group. You can use a QoS policy group to control a set of storage objects known as "workloads" - LUNs, volumes, files, or Vservers. Policy groups define measurable service level objectives (SLOs) that apply to the storage objects with which the policy group is associated.
After you create a policy group, you use the storage object create command or the storage object modify command to apply the policy group to a storage object.
-policy-group <text>- Policy Group Name
Specifies the name of the policy group. Policy group names must be unique and are restricted to 127 alphanumeric characters including underscores "_" and hyphens "-". Policy group names must start with an alphanumeric character. You use the qos policy-group rename command to change the policy group name.
-vserver <vserver name>- Vserver
Specifies the data Vserver to which this policy group belongs. You can apply this policy group to only the storage objects contained in the specified Vserver. For example, if you want to apply this policy group to a volume, that volume must belong to the specified Vserver. Using this parameter does not apply the policy group’s SLOs to the Vserver. You need to use the vserver modify command if you want to apply this policy group to the Vserver. If the system has only one Vserver, then the command uses that Vserver by default. QoS policy groups cannot belong to Vservers with Infinite Volume.
[-max-throughput <qos_tput>]- Maximum Throughput
Specifies the maximum throughput for the policy group. A maximum throughput limit specifies the throughput that the policy group must not exceed. It is specified in terms of IOPS or MB/s, or a combination of comma separated IOPS and MB/s. The range is one to infinity. A value of zero is accepted but is internally treated as infinity.
The values entered here are case-insensitive, and the units are base ten. There should be no space between the number and the units. The default value for max-throughput is infinity, which can be specified by the special value "INF". Note that there is no default unit - all numbers except zero require explicit specification of the units.
Two reserved keywords, "none" and "INF", are available for the situation that requires removal of a value, and the situation that needs to specify the maximum available value.
Examples of valid throughput specifications are: "100B/s", "10KB/s", "1gb/s", "500MB/s", "1tb/s", "100iops", "100iops,400KB/s", and "800KB/s,100iops"
[-min-throughput <qos_tput>]- Minimum Throughput
Specifies the minimum throughput for the policy group. A minimum throughput specifies the desired performance level for a policy group. It is specified in terms of IOPS.
The values entered here are case-insensitive, and the units are base ten. There should be no space between the number and the units. The default value for min-throughput is "0". The default unit is IOPS.
One reserved keyword, 'none' is available for the situation that requires removal of a value.
Examples of valid throughput specifications are: "100iops" and "100".
cluster1::> qos policy-group create p1 -vserver vs1
Creates the "p1" policy group which belongs to Vserver "vs1" with default policy values.
cluster1::> qos policy-group create p2 -vserver vs1 -max-throughput 500MB/s
Creates the "p2" policy group which belongs to Vserver "vs1" with the maximum throughput set to 500 MB/s.