Warning |
---|
DeprecatedWith Storage 10.0, Swarm is single-process |
...
. This information applies |
...
to Storage 9.x and earlier. |
Table of Contents |
---|
Use the following configuration settings in the node or cluster configuration file to implement the Swarm multi-server feature:
...
The chassis.processes setting allows specifying the number of independent Swarm server processes to be started in a physical chassis.
For best results, use Use n-1 processes for a chassis with n CPU cores for best results, as too many Swarm server processes impairs performance. The setting value must be an integer greater than 1.
For example, Add the following entry to the node or cluster configuration file to implement two server processes within a single physical chassis, add the following entry to the node or cluster configuration file:
Code Block | ||
---|---|---|
| ||
chassis.processes = 2 |
Info |
---|
NoteA memory overhead exists with running multiple Swarm processes in a single chassis. A single Swarm process indexes more objects than multiple processes sharing the same amount of RAM. |
Make sure that Verify the number of IP addresses specified by the network.ipAddress setting matches the number of processors specified by the chassis.processes setting. For example, if you set Verify three IP addresses are specified if chassis.processes = 3, make sure you specify three IP addresses.
Info |
---|
ImportantIf chassis.processes is set, the The disk.volumes setting must be is left blank or set to all if chassis.processes is set. |
Network Setup Settings
When you implement a multi-server Swarm storage cluster, you must assign Assign each node a static IP address because DHCP cannot be implemented in multi-server mode . When you enable the when implementing a multi-server mode, the Swarm storage cluster. The network.ipAddress setting syntax is extended by appending the IP address for each process in a list, separated by a space when enabling the multi-server mode.
The number of IP addresses must equal equals the number of server processes specified in the chassis.processes setting. The network.netmask, default network.gateway, and all other network settings are shared for all processes. They need to be specified once, as in a single-process implementation.
For example, for a chassis with two processes, you can use Use the following node or cluster configuration file entries for a chassis with two processes:
Code Block | ||
---|---|---|
| ||
chassis.processes = 2 network.ipAddress = 192.10.11.200 192.10.11.201 network.netmask = 255.255.0.0 network.gateway = 192.10.1.1 |
Info |
---|
TipAssign your the chassis IP addresses in a continuous sequence (such as 192.10.110.200, 192,10.11.201, …). This will help you helps monitor and maintain related volumes in an orderly way. |
Using the disk.volumes Setting
When you configure a multi-server chassis, the The disk.volumes setting in the node or cluster configuration file specifies the volume or volumes Swarm can use for cluster storage when configuring a multi-server chassis. The recommended setting (disk.volumes = all) causes Swarm to use all volumes greater than the configured disk.minGB (64 GB by default). If you are booting Swarm from a A USB flash drive , that drive is automatically excluded from the volume list if booting Swarm from it.
The disk.volumes = all setting causes all volumes in a chassis to be distributed evenly among the number of Swarm processes as defined by the chassis.processes setting. This distribution occurs automatically at boot time and adapts to any changes in the number of drives or processes from the previous boot. This allows Swarm to redistribute volumes among Swarm processes as needed each reboot.
Info |
---|
ImportantHot plugging is only supported for disk.volumes = all. |
Info |
---|
NoteThe volsN settings (for example, vols0, vols1) are deprecated and should be are replaced with disk.volumes = all. If the chassis.processes setting is set, the The disk.volumes setting must be is left blank or set to all if the chassis.processes setting is set. |
Using the node.subcluster Setting
When using the multi-server mode, all All nodes in a chassis are assigned a subcluster name when using the multi-server mode, either by the administrator or automatically at boot time. You can optionally Optionally set the subcluster name using the node.subcluster setting.
If the node.subcluster setting is blank or not set, an An automatic value is assigned when using multi-server mode in Swarm if the node.subcluster setting is blank or not set. The automatic subcluster assignment sets the subcluster name to the value of the first IP address for the chassis. The automatic assignment of subcluster creates a different subcluster for each multi-server chassis.
...
Code Block | ||
---|---|---|
| ||
node.subcluster = ServerXYZ |
When you assign the subcluster, you can include Include more than one multi-server chassis in the same subcluster provided more than one subcluster is used for the whole cluster when assigning the subcluster.
Info |
---|
NoteIf your multi-server configuration includes more than one chassis, use Use the drive identification feature to determine which physical chassis a given virtual node belongs to in the subcluster if the multi-server configuration includes more than one chassis. Nodes are sorted by IP address, so it is possible that the he Swarm Admin Console will does not group nodes from the same chassis together. |
Info |
---|
TipTo simplify this process, assign Assign contiguous IP addresses in a chassis . For to simplify the process. See the Drive Identification Plugin for more information about volume identification, see the Drive Identification Plugin. |
You can use Use subclusters for other purposes , such as data protection. For example, if you have data centers in separate wings of your building, you can create Create subclusters to copy content to data centers in both wings of a building to provide high availability in case of a partial building loss if data centers reside in separate wings of a building. A loss could be events like a fire, flooding, or air conditioning problems.
...