The vxtask utility has keywords and operands to:
Provide percentage completion information of a task running on a managed server.
Disk group and volume options let you specify a disk group or volume.
Pause or resume a task
You can pause or resume a task only on a node where the task is running. In case of a CVM cluster, if a command is executed from a slave and a task begins on a master node, then the task can be paused only on the master node.
The details of tasks that are paused or resumed are shown in the Alerts.
The vxtask list /? command brings up a description of the following syntax:
vxtask [-x][-p] [-g<DynamicDiskGroupName>] [-v<VolumeName> |Driveletter | <VmName>] list
The following attributes can apply:
The vxtask pause /? command brings up a description of the following syntax:
vxtask [-g<DynamicDiskGroupName>] [-v<VolumeName>|<Driveletter>|<VmName>] -t<TaskID> [-s] pause
Where,
The vxtask resume /? command brings up a description of the following syntax:
vxtask [-g<DynamicDiskGroupName>] [-v<VolumeName>|<Driveletter>|<VmName>] -t<TaskID> resume
Where,
By default the information on all the tasks running on the managed server are displayed unless the -g or -v options is specified.
Examples
vxtask -x list
Displays the task details and percentage completion information for all the tasks running on a managed server.
vxtask -x -gDynDskGrp1 list
Displays the details of the tasks relating to the disk group DynDskGrp1 and its percentage completion information.
Vxtask -t TaskID pause
Pauses the specified task.
Note: |
If the task includes certain subtasks, you cannot pause them individually. The entire set of task (parent task) is paused. |
Vxtask -t Taskid resume
Resumes the specified task.
You can resume only the tasks that are in Paused state. The operation resumes from the point where it was paused. However, if the system restarts or the resource fails over when the task is paused, the task is reinitialized.