所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

OceanStor 2200 V3&2600 V3 存储系统 V300R005 命令参考

"本文档针对DeviceManager管理软件提供的CLI(Command Line Interface)命令行,介绍如何使用CLI设置、管理存储系统,以及按功能分类详细介绍各命令的使用方法。"
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
change service http

change service http

命令功能

change service http命令用于修改HTTP配置。

命令格式

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

参数说明

参数

参数说明

取值

max_connections=? 最大连接数。
取值范围为:1到最大连接数(取整数)。
说明:
不同产品型号的设备支持的最大链接数不同,具体请参见《产品描述》的软件规格章节。
running_status=? 运行状态。

取值为stop或running。

  • stop:停止服务。
  • running:启动服务。
root_directory=? HTTP根目录路径。

取值为1~4000个字符。

enable_web_dav=? Web Dav状态。

取值为yes或no。

  • yes:开启Web Dav。
  • no:关闭Web Dav。
enable_http_port=? HTTP port状态。

取值为yes或no。

  • yes:开启HTTP port。
  • no:关闭HTTP port。
enable_auto_index=? 目录列表功能状态。

取值为yes或no。

  • yes:开启目录列表功能。
  • no:关闭目录列表功能。

级别

管理员

使用指南

该命令不支持OceanStor 2200 V3存储系统。

使用实例

  • 修改HTTP配置。

    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.
  • 启用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. 
    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.
  • 启用WebDAV。

    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.
  • 关闭HTTP服务。

    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.

输出说明

无。

翻译
下载文档
更新时间:2019-04-22

文档编号:EDOC1000106112

浏览量:29678

下载量:236

平均得分:
本文档适用于这些产品
相关文档
相关版本
分享
上一页 下一页