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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
change service http

change service http

Function

The change service http command is used to change the HTTP configuration.

Format

change service http { max_connections=? | running_status=? | root_directory=? | enable_web_dav=? | enable_http_port=? | enable_auto_index=? } *

Parameters

Parameter

Description

Value

max_connections=? The max connection number.
The value is an integer from 1 to the maximum number of connections.
NOTE:
Devices of different models support different maximum number of links. For details, see section "Software Specifications" in the product description.
running_status=? Indicate the status of the HTTP service

The value is stop or running.

  • stop: Stop service.
  • running: Start service.
root_directory=? The root directory of the HTTP.

The value contains 1 to 4000 ASCII characters.

enable_web_dav=? The Web Dav status.

The value is yes or no.

  • yes: Enable the Web Dav.
  • no: Disable the Web Dav.
enable_http_port=? The HTTP port status.

The value is yes or no.

  • yes: Enable the port.
  • no: Disable the port.
enable_auto_index=? Indicates the status of the directory list function.

The value is yes or no.

  • yes: Enable the directory list function.
  • no: Disable the directory list function.

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To change the HTTP configuration, run the following command.

    admin:/>chane service http max_connections=100 running_status=running root_directory=/fs0/http enable_web_dav=no enable_http_port=no
    Command executed successfully.
  • To enable the HTTP port, run the following command.

    admin:/>change service http enable_http_port=yes
    WARNING:You are about to configure the HTTP service. This operation may cause the following issues: 
    1. If the WebDAV function is enabled, this operation assigns resource users full control permission for the HTTP shared root directory. 
    2. If the HTTP port is enabled, this operation enables the insecure HTTP protocol, which may cause user information intercepted and bring security risks to file data access. 
    3. If the HTTP service is disabled, this operation makes the HTTP service provided by the device unavailable. 
    Suggestion: 
    Before performing any of these three operations, ensure that each of them is needed. 
    Have you read warning message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • To enable the WebDAV, run the following command.

    admin:/>change service http enable_web_dav=yes
    WARNING:You are about to configure the HTTP service. This operation may cause the following issues: 
    1. If the WebDAV function is enabled, this operation assigns resource users full control permission for the HTTP shared root directory. 
    2. If the HTTP port is enabled, this operation enables the insecure HTTP protocol, which may cause user information intercepted and bring security risks to file data access. 
    3. If the HTTP service is disabled, this operation makes the HTTP service provided by the device unavailable. 
    Suggestion: 
    Before performing any of these three operations, ensure that each of them is needed. 
    Have you read warning message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • To close HTTP configurations, run the following command.

    admin:/>change service http running_status=stop
    WARNING:You are about to configure the HTTP service. This operation may cause the following issues: 
    1. If the WebDAV function is enabled, this operation assigns resource users full control permission for the HTTP shared root directory. 
    2. If the HTTP port is enabled, this operation enables the insecure HTTP protocol, which may cause user information intercepted and bring security risks to file data access. 
    3. If the HTTP service is disabled, this operation makes the HTTP service provided by the device unavailable. 
    Suggestion: 
    Before performing any of these three operations, ensure that each of them is needed. 
    Have you read warning message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 261838

Downloads: 178

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