Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

自动配置 StorageGRID

贡献者

部署网格节点后,您可以自动配置 StorageGRID 系统。

您需要的内容
  • 您可以从安装归档中了解以下文件的位置。

    文件名 Description

    configure-storagegrid.py

    用于自动配置的 Python 脚本

    configure-storaggrid.sample.json

    用于脚本的示例配置文件

    configure-storaggrid.blank.json

    用于脚本的空配置文件

  • 您已创建 configure-storaggrid.json 配置文件。要创建此文件,您可以修改示例配置文件(configure-storaggrid.sample.json )或空白配置文件(config-storaggrid.blank.json )。

关于此任务

您可以使用 configure-storaggrid.py Python 脚本和 configure-storaggrid.json 配置文件来自动配置 StorageGRID 系统。

备注 您也可以使用配置系统 网格管理器安装 API
步骤
  1. 登录到用于运行 Python 脚本的 Linux 计算机。

  2. 更改为提取安装归档的目录。

    例如: + cd StorageGRID-Webscale -version/platform

    其中, ` platform` 是 dEBSrpmsvSphere

  3. 运行 Python 脚本并使用您创建的配置文件。

    例如:

    ./configure-storagegrid.py ./configure-storagegrid.json --start-install
完成后

在配置过程中会生成一个恢复包 ` .zip` 文件,该文件将下载到运行安装和配置过程的目录中。您必须备份恢复软件包文件,以便在一个或多个网格节点发生故障时恢复 StorageGRID 系统。例如,将其复制到安全的备份网络位置和安全的云存储位置。

重要说明 恢复包文件必须受到保护,因为它包含可用于从 StorageGRID 系统获取数据的加密密钥和密码。

如果您指定应生成随机密码,则需要提取 passwords.txt 文件并查找访问 StorageGRID 系统所需的密码。

######################################################################
##### The StorageGRID "recovery package" has been downloaded as: #####
#####           ./sgws-recovery-package-994078-rev1.zip          #####
#####   Safeguard this file as it will be needed in case of a    #####
#####                 StorageGRID node recovery.                 #####
######################################################################

系统会在显示确认消息时安装并配置 StorageGRID 系统。

StorageGRID has been configured and installed.