HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 128

Setting the Priority of a Running Task, 3PAR CLI Help.

Page 128 highlights

Detailed status: (...) The columns in the example above are identified as follows: • Id-The task ID for the displayed task. • Type-The task type. Task types are explained in "Task Types" (page 130). • Name-The name of the system object that is being operated on. When there are multiple objects, those objects are not identified individually but as a group (for example, multiple lds or multiple cpgs). • Status-The task state. Task states are as follows: ◦ done-The task has completed successfully. ◦ active-The task is still in process. ◦ cancelled-The task was cancelled by the user. ◦ failed-The task failed to complete due to a reason other than user cancellation. • Phase-For active tasks, indicates the number of completed phases and the total number of phases in the current step, using the format /. See individual task type descriptions for an indication of the number of phases for all tasks of that type. • Step-For active tasks, indicates the number of completed steps and the total number of steps in the current task, using the format /. For most task types, the total steps is equal to the number of regions in the operation. See individual task type descriptions for step definitions. • Start Time-Indicates the time at which the task was started. • Finish Time-For done, cancelled, and failed tasks, indicates the time at which the task stopped due to completion, cancellation, or failure. Use the showtask -t option to see older tasks. For a complete list of options available for the showtask command, see the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. Setting the Priority of a Running Task You can use the settask command to change the priority of a running physical copy operation or virtual copy promotion operation. Using the settask command with other task operations is not supported. You can also set the priority before running a task with the createvvcopy, creategroupvvcopy, and promotesv commands and the -pri option. Task priorities can be set to high, medium, or low before or after the task is running. For more information about copies of volumes, see the "Managing Virtual Volume Copies" (page 95). By default, physical copy operations and virtual copy promotion operations run as background tasks so they do not degrade host I/O performance. You can use the -pri option to raise the priority of the task if your virtual volumes are unavailable and restoring access to the volume is the highest priority. However, raising the priority of the task may impact host I/O performance. The following example shows how to set the priority of task 497 to high. cli% settask -pri high 497 Are you sure you want to set priority on task 497? select q=quit y=yes n=no: y high priority is set on task id: 497 128 Managing Tasks

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Detailed status:
(...)
The columns in the example above are identified as follows:
Id
—The task ID for the displayed task.
Type
—The task type. Task types are explained in
“Task Types” (page 130)
.
Name
—The name of the system object that is being operated on. When there are multiple
objects, those objects are not identified individually but as a group (for example,
multiple
lds
or
multiple cpgs
).
Status
—The task state. Task states are as follows:
done
—The task has completed successfully.
active
—The task is still in process.
cancelled
—The task was cancelled by the user.
failed
—The task failed to complete due to a reason other than user cancellation.
Phase
—For
active
tasks, indicates the number of completed phases and the total number
of phases in the current step, using the format
<#completed_phase>/<#total_phases>
.
See individual task type descriptions for an indication of the number of phases for all tasks of
that type.
Step
—For
active
tasks, indicates the number of completed steps and the total number of
steps in the current task, using the format
<#completed_step>/<#total_steps>
. For
most task types, the total steps is equal to the number of regions in the operation. See individual
task type descriptions for step definitions.
Start Time
—Indicates the time at which the task was started.
Finish Time
—For
done
,
cancelled
, and
failed
tasks, indicates the time at which the
task stopped due to completion, cancellation, or failure.
Use the
showtask -t
option to see older tasks. For a complete list of options available for
the
showtask
command, see the
HP 3PAR Command Line Interface Reference
and the HP
3PAR CLI Help.
Setting the Priority of a Running Task
You can use the
settask
command to change the priority of a running physical copy operation
or virtual copy promotion operation. Using the
settask
command with other task operations is
not supported. You can also set the priority before running a task with the
createvvcopy
,
creategroupvvcopy
, and
promotesv
commands and the
-pri
option. Task priorities can be
set to high, medium, or low before or after the task is running. For more information about copies
of volumes, see the
“Managing Virtual Volume Copies” (page 95)
.
By default, physical copy operations and virtual copy promotion operations run as background
tasks so they do not degrade host I/O performance. You can use the
-pri
option to raise the
priority of the task if your virtual volumes are unavailable and restoring access to the volume is the
highest priority. However, raising the priority of the task may impact host I/O performance.
The following example shows how to set the priority of task 497 to high.
cli% settask -pri high 497
Are you sure you want to set priority on task 497?
select q=quit y=yes n=no: y
high priority is set on task id: 497
128
Managing Tasks