No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
settaskswitch.sh

settaskswitch.sh

Function

The settaskswitch.sh command is used to set isolation policies for background tasks of a system.

Format

settaskswitch.sh -a | -d -n name -s switch

Parameters

Parameter

Description

Value

-a

Adds a policy.

-

-d

Deletes a policy.

-

-n name

Specifies the name of a background task.

-

-s switch

Specifies the task switch.

The value can be 0 or 1.

Modes

Minisystem mode

Usage Guidelines

After this script is executed, the background task to be isolated determines whether to reset the device.

For example, to isolate a background copy task, run "settaskswitch.sh-a -n TASK_RSSIO_BGR -s 1". Reset the device after the script is successfully executed. Then the background task is automatically isolated after the device is powered on.

To disable the isolation of a background task, run "settaskswitch.sh -d -n TASK_RSSIO_BGR -s 1" and reset the device for the setting to take effect.

Example

  • Add a background copy task isolation policy.
    Storage: minisystem> settaskswitch.sh -a -n TASK_RSSIO_BGR -s 1 
    Add TASK_RSSIO_BGR=1 success.
  • Delete a background copy task isolation policy.
    Storage: minisystem> settaskswitch.sh -d -n TASK_RSSIO_BGR -s 1 
    Delete TASK_RSSIO_BGR=1 success.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 588794

Downloads: 233

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next