本产品推出了新版本。
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
示例节点配置文件
贡献者
建议更改
您可以使用示例节点配置文件帮助设置 StorageGRID 系统的节点配置文件。这些示例显示了所有类型网格节点的节点配置文件。
对于大多数节点,在使用网格管理器或安装 API 配置网格时,您可以添加管理员和客户端网络地址信息( IP ,掩码,网关等)。主管理节点除外。如果要浏览到主管理节点的管理网络 IP 以完成网格配置(例如,由于网格网络未路由),则必须在主管理节点的节点配置文件中配置主管理节点的管理网络连接。示例显示了这一点。
在这些示例中,已将客户端网络目标配置为最佳实践,即使客户端网络默认处于禁用状态也是如此。 |
主管理节点的示例
-
示例文件名 * : ` /etc/storagegRid/nodes/DC1-ad1.conf`
-
示例文件内容: *
NODE_TYPE = VM_Admin_Node ADMIN_ROLE = Primary BLOCK_DEVICE_VAR_LOCAL = /dev/mapper/dc1-adm1-var-local BLOCK_DEVICE_AUDIT_LOGS = /dev/mapper/dc1-adm1-audit-logs BLOCK_DEVICE_TABLES = /dev/mapper/dc1-adm1-tables GRID_NETWORK_TARGET = bond0.1001 ADMIN_NETWORK_TARGET = bond0.1002 CLIENT_NETWORK_TARGET = bond0.1003 GRID_NETWORK_IP = 10.1.0.2 GRID_NETWORK_MASK = 255.255.255.0 GRID_NETWORK_GATEWAY = 10.1.0.1 ADMIN_NETWORK_CONFIG = STATIC ADMIN_NETWORK_IP = 192.168.100.2 ADMIN_NETWORK_MASK = 255.255.248.0 ADMIN_NETWORK_GATEWAY = 192.168.100.1 ADMIN_NETWORK_ESL = 192.168.100.0/21,172.16.0.0/21,172.17.0.0/21
存储节点示例
-
示例文件名: * ` /etc/storagegRid/nodes/DC1-SN1.conf`
-
示例文件内容: *
NODE_TYPE = VM_Storage_Node ADMIN_IP = 10.1.0.2 BLOCK_DEVICE_VAR_LOCAL = /dev/mapper/dc1-sn1-var-local BLOCK_DEVICE_RANGEDB_00 = /dev/mapper/dc1-sn1-rangedb-0 BLOCK_DEVICE_RANGEDB_01 = /dev/mapper/dc1-sn1-rangedb-1 BLOCK_DEVICE_RANGEDB_02 = /dev/mapper/dc1-sn1-rangedb-2 BLOCK_DEVICE_RANGEDB_03 = /dev/mapper/dc1-sn1-rangedb-3 GRID_NETWORK_TARGET = bond0.1001 ADMIN_NETWORK_TARGET = bond0.1002 CLIENT_NETWORK_TARGET = bond0.1003 GRID_NETWORK_IP = 10.1.0.3 GRID_NETWORK_MASK = 255.255.255.0 GRID_NETWORK_GATEWAY = 10.1.0.1
归档节点示例
-
示例文件名: * ` /etc/storagegriid/nodes/DC1-arc1.conf`
-
示例文件内容: *
NODE_TYPE = VM_Archive_Node ADMIN_IP = 10.1.0.2 BLOCK_DEVICE_VAR_LOCAL = /dev/mapper/dc1-arc1-var-local GRID_NETWORK_TARGET = bond0.1001 ADMIN_NETWORK_TARGET = bond0.1002 CLIENT_NETWORK_TARGET = bond0.1003 GRID_NETWORK_IP = 10.1.0.4 GRID_NETWORK_MASK = 255.255.255.0 GRID_NETWORK_GATEWAY = 10.1.0.1
网关节点示例
-
示例文件名: * ` /etc/storagegRid/nodes/DC1-GW1.conf`
-
示例文件内容: *
NODE_TYPE = VM_API_Gateway ADMIN_IP = 10.1.0.2 BLOCK_DEVICE_VAR_LOCAL = /dev/mapper/dc1-gw1-var-local GRID_NETWORK_TARGET = bond0.1001 ADMIN_NETWORK_TARGET = bond0.1002 CLIENT_NETWORK_TARGET = bond0.1003 GRID_NETWORK_IP = 10.1.0.5 GRID_NETWORK_MASK = 255.255.255.0 GRID_NETWORK_GATEWAY = 10.1.0.1
非主管理节点的示例
-
示例文件名: * ` /etc/storagegRid/nodes/DC1-adm2.conf`
-
示例文件内容: *
NODE_TYPE = VM_Admin_Node ADMIN_ROLE = Non-Primary ADMIN_IP = 10.1.0.2 BLOCK_DEVICE_VAR_LOCAL = /dev/mapper/dc1-adm2-var-local BLOCK_DEVICE_AUDIT_LOGS = /dev/mapper/dc1-adm2-audit-logs BLOCK_DEVICE_TABLES = /dev/mapper/dc1-adm2-tables GRID_NETWORK_TARGET = bond0.1001 ADMIN_NETWORK_TARGET = bond0.1002 CLIENT_NETWORK_TARGET = bond0.1003 GRID_NETWORK_IP = 10.1.0.6 GRID_NETWORK_MASK = 255.255.255.0 GRID_NETWORK_GATEWAY = 10.1.0.1