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

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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 { running_status=? | max_connections=? | root_directory=? | enable_web_dav=? | enable_http_port=? | enable_auto_index=? | ssl_cipher_suite=? } *

Parameters

Parameter

Description

Value

running_status=? Running status of the HTTP service.

The value is "stop" or "running", where:

  • "stop": stops service.
  • "running": starts service.
max_connections=? Maximum connection number.

The value ranges from 1 to 256.

root_directory=? Root directory of the HTTP.

The value contains 1 to 4000 ASCII characters.

enable_web_dav=? WebDAV status.

The value is "yes" or "no", where:

  • "yes": enables the WebDAV function.
  • "no": disables the WebDAV function.
enable_http_port=? HTTP port status.

The value is "yes" or "no", where:

  • "yes": enables the port.
  • "no": disables the port.
enable_auto_index=? Status of the directory list function.

The value is "yes" or "no", where:

  • "yes": enables the directory list function.
  • "no": disables the directory list function.
ssl_cipher_suite=? Cipher suite supported by the HTTP service.

The value is one or more cipher suites (ECDHE-RSA-AES256-SHA, ECDHE-RSA-AES128-SHA, DHE-RSA-AES256-GCM-SHA384, DHE-RSA-AES128-GCM-SHA256, AES128-SHA256, AES256-SHA256, AES128-SHA, DHE-DSS-AES128-SHA, AES256-SHA, or DHE-DSS-AES256-SHA).

Level

Administrator

Usage Guidelines

None

Example

  • Change the HTTP configuration.

    admin:/>change service http max_connections=100 running_status=running root_directory=/fs0/http enable_web_dav=no enable_http_port=no
    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. 
    4. Changing the cipher suite causes service restart and interrupts services. 
    5. Setting the HTTP share path changes the owner and group of the share path to daemon.
    Suggestion: 
    Ensure that you want to perform the above operations. 
    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.
  • Enable the HTTP port.

    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. 
    4. Changing the cipher suite causes service restart and interrupts services.
    5. Setting the HTTP share path changes the owner and group of the share path to daemon.
    Suggestion: 
    Ensure that you want to perform the above operations. 
    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.
  • Enable the WebDAV function.

    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. 
    4. Changing the cipher suite causes service restart and interrupts services.
    5. Setting the HTTP share path changes the owner and group of the share path to daemon.
    Suggestion: 
    Ensure that you want to perform the above operations. 
    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.
  • Close the HTTP service.

    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. 
    4. Changing the cipher suite causes service restart and interrupts services.
    5. Setting the HTTP share path changes the owner and group of the share path to daemon.
    Suggestion: 
    Ensure that you want to perform the above operations.
    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.
  • Change the SSL cipher suite.

    admin:/>change service http ssl_cipher_suite=AES128-SHA,DHE-DSS-AES256-SHA,DHE-DSS-AES128-SHA
    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. 
    4. Changing the cipher suite causes service restart and interrupts services.
    5. Setting the HTTP share path changes the owner and group of the share path to daemon.
    Suggestion: 
    Ensure that you want to perform the above operations.
    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: 2020-01-17

Document ID: EDOC1000181601

Views: 382950

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next