The deploy-vsphere-ovftool.ini configuration file contains the settings that are required to deploy virtual grid nodes.
The configuration file first lists global parameters, and then lists node-specific parameters in sections defined by node name. When the file is used:
- Global parameters are applied to all grid nodes.
- Node-specific parameters override global parameters.
Global parameters
Global parameters are applied to all grid nodes, unless they are overridden by settings in individual sections. Place the parameters that apply to multiple nodes in the global parameter section, and then override these settings as necessary in the sections for individual nodes.
- OVFTOOL_ARGUMENTS: You can specify OVFTOOL_ARGUMENTS as global settings, or you can apply arguments individually to specific nodes. For example:
OVFTOOL_ARGUMENTS = --powerOn --noSSLVerify --diskMode=thin --datastore='datastore_name'
You can use the
--powerOffTarget and
--overwrite options to shut down and replace existing virtual machines.
Attention: You should deploy nodes to different datastores and specify OVFTOOL_ARGUMENTS for each node, instead of globally.
- SOURCE: The path to the StorageGRID Webscale virtual machine template (.vmdk) file and the .ovf and .mf files for individual grid nodes. This defaults to the current directory.
SOURCE = /downloads/StorageGRID-Webscale-version/vsphere
- TARGET: The VMware vSphere virtual infrastructure (vi) URL for the location where StorageGRID Webscale will be deployed. For example:
TARGET = vi://vcenter.example.com/vm/sgws
- GRID_NETWORK_MASK: The network mask for the Grid Network. If all or most of the nodes use the same network mask, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
GRID_NETWORK_MASK = 255.255.255.0
- GRID_NETWORK_GATEWAY: The network gateway for the Grid Network. If all or most of the nodes use the same network gateway, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
GRID_NETWORK_GATEWAY = 10.1.0.1
- GRID_NETWORK_MTU: Optional. The maximum transmission unit (MTU) on the Grid Network. If specified, the value must be between 68 and 65535. If omitted, 1400 is used. If all or most of the nodes use the same MTU for the Grid Network, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
GRID_NETWORK_MTU = 8192
- ADMIN_NETWORK_CONFIG: The method used to acquire IP addresses, either DISABLED, STATIC, or DHCP. The default is DISABLED. If all or most of the nodes use the same method for acquiring IP addresses, you can specify that method here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
ADMIN_NETWORK_CONFIG = STATIC
- ADMIN_NETWORK_TARGET: The name of an existing VMware network to use for the Admin Network. This setting is required unless the Admin Network is disabled. If all or most of the nodes use the same network name, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes. For example:
ADMIN_NETWORK_TARGET = SG-Admin-Network
- ADMIN_NETWORK_MASK: The network mask for the Admin Network. This setting is required if you are using static IP addressing. If all or most of the nodes use the same network mask, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
ADMIN_NETWORK_MASK = 255.255.255.0
- ADMIN_NETWORK_GATEWAY: The network gateway for the Admin Network. This setting is required if you are using static IP addressing and you specify external subnets in the ADMIN_NETWORK_ESL setting. (That is, it is not required if ADMIN_NETWORK_ESL is empty.) If all or most of the nodes use the same network gateway, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
ADMIN_NETWORK_GATEWAY = 10.3.0.1
- ADMIN_NETWORK_ESL: The external subnet list (routes) for the Admin Network, specified as a comma-separated list of CIDR route destinations. If all or most of the nodes use the same network external subnet list, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes. For example:
ADMIN_NETWORK_ESL = 172.16.0.0/21,172.17.0.0/21
- ADMIN_NETWORK_MTU: Optional. The maximum transmission unit (MTU) on the Admin Network. Do not specify if ADMIN_NETWORK_CONFIG = DHCP. If specified, the value must be between 68 and 65535. If omitted, 1400 is used. If all or most of the nodes use the same MTU for the Admin Network, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
ADMIN_NETWORK_MTU = 8192
- CLIENT_NETWORK_CONFIG: The method used to acquire IP addresses, either DISABLED, STATIC, or DHCP. The default is DISABLED. If all or most of the nodes use the same method for acquiring IP addresses, you can specify that method here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
CLIENT_NETWORK_CONFIG = STATIC
- CLIENT_NETWORK_TARGET: The name of an existing VMware network to use for the Client Network. This setting is required unless the Client Network is disabled. If all or most of the nodes use the same network name, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes. For example:
CLIENT_NETWORK_TARGET = SG-Client-Network
- CLIENT_NETWORK_MASK: The network mask for the Client Network. This setting is required if you are using static IP addressing. If all or most of the nodes use the same network mask, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
CLIENT_NETWORK_MASK = 255.255.255.0
- CLIENT_NETWORK_GATEWAY: The network gateway for the Client Network. This setting is required if you are using static IP addressing. If all or most of the nodes use the same network gateway, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
CLIENT_NETWORK_GATEWAY = 10.4.0.1
- CLIENT_NETWORK_MTU: Optional. The maximum transmission unit (MTU) on the Client Network. Do not specify if CLIENT_NETWORK_CONFIG = DHCP. If specified, the value must be between 68 and 65535. If omitted, 1400 is used. If all or most of the nodes use the same MTU for the Client Network, you can specify it here. You can then override the global setting by specifying different settings for one or more individual nodes.
For example:
CLIENT_NETWORK_MTU = 8192
- PORT_REMAP: Remaps any port used by a node for internal grid node communications or external client communications. Remapping ports is necessary if enterprise networking policies restrict one or more ports used by StorageGRID Webscale. See " Internal grid node communications" or " External client communications" for the list of ports used by StorageGRID Webscale.
Note: If only PORT_REMAP is set, the mapping that you specify is used for both inbound and outbound communications. If PORT_REMAP_INBOUND is also specified, PORT_REMAP applies only to outbound communications.
The format used is:
<network type>/<protocol>/<default port used by grid node>/<new
port>, where network type is grid, admin, or client, and protocol is tcp or udp.
For example:
PORT_REMAP = client/tcp/18082/443
If used alone, this example setting symmetrically maps both inbound and outbound communications for the grid node from port 18082 to port 443. If used in conjunction with PORT_REMAP_INBOUND, this example setting maps outbound communications from port 18082 to port 443.
- PORT_REMAP_INBOUND: Remaps inbound communications for the specified port. If you specify PORT_REMAP_INBOUND but do not specify a value for PORT_REMAP, outbound communications for the port are unchanged.
The format used is:
<network type>/<protocol>/<new inbound port>/<default inbound port used by grid node>, where network type is grid, admin, or client, and protocol is tcp or udp.
For example:
PORT_REMAP_INBOUND = client/tcp/443/18082
This example takes traffic that is sent to port 443 to pass an internal firewall and directs it to port 18082, where the grid node is listening for S3 requests.
Node-specific parameters
Each node is in its own section of the configuration file. Each node requires the following settings:
You can optionally specify one or both of the following parameters for each node:
- PORT_REMAP: You can override any global setting by specifying a different port remapping for one or more individual nodes. If only PORT_REMAP is specified, the mapping is symmetrical. If PORT_REMAP_INBOUND is specified, PORT_REMAP sets the outbound port mapping.
- PORT_REMAP_INBOUND: You can override any global setting and specify a different port remapping for inbound communications to the specified port for individual nodes. If you specify PORT_REMAP_INBOUND but do not specify a value for PORT_REMAP, outbound communications for the port use the default value.
Primary Admin Node
The following additional settings are required for the primary Admin Node:
- NODE_TYPE: VM_Admin_Node
- ADMIN_ROLE: Primary
This example entry is for a primary Admin Node that is on all three networks:
[DC1-ADM1]
ADMIN_ROLE = Primary
NODE_TYPE = VM_Admin_Node
GRID_NETWORK_IP = 10.1.0.2
ADMIN_NETWORK_IP = 10.3.0.2
CLIENT_NETWORK_IP = 10.4.0.2
The following additional setting is optional for the primary Admin Node:
Note: For Admin nodes, INSTANCES must always equal 2.
Storage Node
The following additional setting is required for Storage Nodes:
- NODE_TYPE: VM_Storage_Node
The following additional setting is optional for Storage Nodes:
- DISK: By default, Storage Nodes are assigned three 4 TB disks for RangeDB use. You can increase these settings with the DISK parameter.
This example entry is for a Storage Node that is on the Grid and Admin Networks, but not on the Client Network. This node uses the ADMIN_IP setting to specify the primary Admin Node's IP address on the Grid Network.
[DC1-S1]
NODE_TYPE = VM_Storage_Node
GRID_NETWORK_IP = 10.1.0.3
ADMIN_NETWORK_IP = 10.3.0.3
ADMIN_IP = 10.1.0.2
This second example entry is for a Storage Node on a Client Network where the customer's enterprise networking policy states that an S3 client application is only permitted to access the Storage Node using either port 80 or 443. The example configuration file uses PORT_REMAP to enable the Storage Node to send and receive S3 messages on port 443.
[DC2-S1]
NODE_TYPE = VM_Storage_Node
GRID_NETWORK_IP = 10.1.1.3
CLIENT_NETWORK_IP = 10.4.1.3
PORT_REMAP = client/tcp/18082/443
ADMIN_IP = 10.1.0.2
The last example creates a symmetric remapping for ssh traffic from port 22 to port 3022, but explicitly sets the values for both inbound and outbound traffic.
[DC1-S3]
NODE_TYPE = VM_Storage_Node
GRID_NETWORK_IP = 10.1.1.3
PORT_REMAP = grid/tcp/22/3022
PORT_REMAP_INBOUND = grid/tcp/3022/22
ADMIN_IP = 10.1.0.2
Archive Node
The following additional setting is required for Archive Nodes:
- NODE_TYPE: VM_Archive_Node
This example entry is for an Archive Node that is on the Grid and Admin Networks, but not on the Client Network.
[DC1-ARC1]
NODE_TYPE = VM_Archive_Node
GRID_NETWORK_IP = 10.1.0.4
ADMIN_NETWORK_IP = 10.3.0.4
ADMIN_IP = 10.1.0.2
API Gateway Node
The following additional setting is required for API Gateway Nodes:
- NODE_TYPE: VM_API_Gateway
This example entry is for an example API Gateway node on all three networks. In this example, no Client Network parameters were specified in the global section of the configuration file, so they must be specified for the node:
[DC1-G1]
NODE_TYPE = VM_API_Gateway
GRID_NETWORK_IP = 10.1.0.5
ADMIN_NETWORK_IP = 10.3.0.5
CLIENT_NETWORK_CONFIG = STATIC
CLIENT_NETWORK_TARGET = SG-Client-Network
CLIENT_NETWORK_MASK = 255.255.255.0
CLIENT_NETWORK_GATEWAY = 10.4.0.1
CLIENT_NETWORK_IP = 10.4.0.5
ADMIN_IP = 10.1.0.2
Non-primary Admin Node
The following additional settings are required for non-primary Admin Nodes:
- NODE_TYPE: VM_Admin_Node
- ADMIN_ROLE: Non-Primary
This example entry is for a non-primary Admin Node that is not on the Client Network:
[DC2-ADM1]
ADMIN_ROLE = Non-Primary
NODE_TYPE = VM_Admin_Node
GRID_NETWORK_TARGET = SG-Grid-Network
GRID_NETWORK_IP = 10.1.0.6
ADMIN_NETWORK_IP = 10.3.0.6
ADMIN_IP = 10.1.0.2
The following additional setting is optional for non-primary Admin Nodes:
Note: For Admin nodes, INSTANCES must always equal 2.