Chapter 28. Recommended Configurations - Dispersed Volume
The following table lists the brick layout details of multiple server/disk configurations for dispersed and distributed dispersed volumes.
Redundancy Level | Supported Configurations | Bricks per Server per Subvolume | Node Loss | Max brick failure count within a subvolume | Compatible Server Node count | Increment Size (no. of nodes) | Min number of sub-volumes | Total Spindles | Tolerated HDD Failure Percentage |
---|---|---|---|---|---|---|---|---|---|
12 HDD Chassis | |||||||||
2 | 4 + 2 | 2 | 1 | 2 | 3 | 3 | 6 | 36 | 33.33% |
1 | 2 | 2 | 6 | 6 | 12 | 72 | 33.33% | ||
4 | 8 + 4 | 4 | 1 | 4 | 3 | 3 | 3 | 36 | 33.33% |
2 | 2 | 4 | 6 | 6 | 6 | 72 | 33.33% | ||
1 | 4 | 4 | 12 | 12 | 12 | 144 | 33.33% | ||
3 | 8 + 3 | 1-2 | 1 | 3 | 6 | 6 | 6 | 72 | 25.00% |
24 HDD Chassis | |||||||||
2 | 4 + 2 | 2 | 1 | 2 | 3 | 3 | 12 | 72 | 33.33% |
1 | 2 | 2 | 6 | 6 | 24 | 144 | 33.33% | ||
4 | 8 + 4 | 4 | 1 | 4 | 3 | 3 | 6 | 72 | 33.33% |
2 | 2 | 4 | 6 | 6 | 12 | 144 | 33.33% | ||
1 | 4 | 4 | 12 | 12 | 24 | 288 | 33.33% | ||
36 HDD Chassis | |||||||||
2 | 4 + 2 | 2 | 1 | 2 | 3 | 3 | 18 | 108 | 33.33% |
1 | 2 | 2 | 6 | 6 | 36 | 216 | 33.33% | ||
4 | 8 + 4 | 4 | 1 | 4 | 3 | 3 | 9 | 108 | 33.33% |
2 | 2 | 4 | 6 | 6 | 18 | 216 | 33.33% | ||
1 | 4 | 4 | 12 | 12 | 36 | 432 | 33.33% | ||
3 | 8 + 3 | 1-2 | 1 | 3 | 6 | 6 | 19 | 216 | 26.39% |
60 HDD Chassis | |||||||||
2 | 4 + 2 | 2 | 1 | 2 | 3 | 3 | 30 | 180 | 33.33% |
1 | 2 | 2 | 6 | 6 | 60 | 360 | 33.33% | ||
4 | 8 + 4 | 4 | 1 | 4 | 3 | 3 | 15 | 180 | 33.33% |
2 | 2 | 4 | 6 | 6 | 30 | 360 | 33.33% | ||
1 | 4 | 4 | 12 | 12 | 60 | 720 | 33.33% | ||
3 | 8 + 3 | 1-2 | 1 | 3 | 6 | 6 | 32 | 360 | 26.67% |
This example describes the configuration of three servers with each server attached with 12 HDD chassis to create a dispersed volume. In this example, each HDD is assumed as a single brick.
# gluster volume create test_vol disperse-data 4 redundancy 2 transport tcp server1:/exp/brick1 server1:/exp/brick2 server2:/exp/brick3 server2:/exp/brick4 server3:/exp/brick5 server3:/exp/brick6
gluster volume info
command to view the volume information.
# gluster volume info test-volume Volume Name: test-volume Type: Disperse Status: Started Number of Bricks: 1 x (4 + 2) = 6 Transport-type: tcp Bricks: Brick1: server1:/exp/brick1 Brick2: server1:/exp/brick2 Brick3: server2:/exp/brick3 Brick4: server2:/exp/brick4 Brick5: server3:/exp/brick5 Brick6: server3:/exp/brick6
# gluster volume add-brick test_vol server1:/exp/brick7 server1:/exp/brick8 server2:/exp/brick9 server2:/exp4/brick10 server3:/exp5/brick11 server3:/exp6/brick12
gluster volume info
command to view distributed dispersed volume information.
# gluster volume info test-volume Volume Name: test-volume Type: Distributed-Disperse Status: Started Number of Bricks: 2 x (4 + 2) = 12 Transport-type: tcp Bricks: Brick1: server1:/exp/brick1 Brick2: server1:/exp/brick2 Brick3: server2:/exp/brick3 Brick4: server2:/exp/brick4 Brick5: server3:/exp/brick5 Brick6: server3:/exp/brick6 Brick7: server1:/exp/brick7 Brick8: server1:/exp/brick8 Brick9: server2:/exp/brick9 Brick10: server2:/exp/brick10 Brick11: server3:/exp/brick11 Brick12: server3:/exp/brick12
The following diagram illustrates a dispersed 8+4 configuration on three servers as explained in the row 3 of Table 28.1, “Brick Configurations for Dispersed and Distributed Dispersed Volumes” The command to create the disperse volume for this configuration:.
# gluster volume create test_vol disperse-data 8 redundancy 4 transport tcp server1:/exp/brick1 server1:/exp/brick2 server1:/exp/brick3 server1:/exp/brick4 server2:/exp/brick1 server2:/exp/brick2 server2:/exp/brick3 server2:/exp/brick4 server3:/exp/brick1 server3:/exp/brick2 server3:/exp/brick3 server3:/exp/brick4 server1:/exp/brick5 server1:/exp/brick6 server1:/exp/brick7 server1:/exp/brick8 server2:/exp/brick5 server2:/exp/brick6 server2:/exp/brick7 server2:/exp/brick8 server3:/exp/brick5 server3:/exp/brick6 server3:/exp/brick7 server3:/exp/brick8 server1:/exp/brick9 server1:/exp/brick10 server1:/exp/brick11 server1:/exp/brick12 server2:/exp/brick9 server2:/exp/brick10 server2:/exp/brick11 server2:/exp/brick12 server3:/exp/brick9 server3:/exp/brick10 server3:/exp/brick11 server3:/exp/brick12
Figure 28.1. Example Configuration of 8+4 Dispersed Volume Configuration
m
bricks (refer to section Section 6.8, “Creating Dispersed Volumes” for information on n = k+m
equation) from a dispersed subvolume on each server. If you add more than m
bricks from a dispersed subvolume on server S,
and if the server S
goes down, data will be unavailable.
S
(a single column in the above diagram) goes down, there is no data loss, but if there is any additional hardware failure, either another node going down or a storage device failure, there would be immediate data loss.
The following diagram illustrates dispersed 4+2 configuration on six servers and each server with 12-disk-per-server configuration as explained in the row 2 of Table 28.1, “Brick Configurations for Dispersed and Distributed Dispersed Volumes”. The command to create the disperse volume for this configuration:
# gluster volume create test_vol disperse-data 4 redundancy 2 transport tcp server1:/exp/brick1 server2:/exp/brick1 server3:/exp/brick1 server4:/exp/brick1 server5:/exp/brick1 server6:/exp/brick1server1:/exp/brick2 server2:/exp/brick2 server3:/exp/brick2 server4:/exp/brick2 server5:/exp/brick2 server6:/exp/brick2 server1:/exp/brick3 server2:/exp/brick3 server3:/exp/brick3 server4:/exp/brick3 server5:/exp/brick3 server6:/exp/brick3 server1:/exp/brick4 server2:/exp/brick4 server3:/exp/brick4 server4:/exp/brick4 server5:/exp/brick4 server6:/exp/brick4 server1:/exp/brick5 server2:/exp/brick5 server3:/exp/brick5 server4:/exp/brick5 server5:/exp/brick5 server6:/exp/brick5 server1:/exp/brick6 server2:/exp/brick6 server3:/exp/brick6 server4:/exp/brick6 server5:/exp/brick6 server6:/exp/brick6 server1:/exp/brick7 server2:/exp/brick7 server3:/exp/brick7 server4:/exp/brick7 server5:/exp/brick7 server6:/exp/brick7 server1:/exp/brick8 server2:/exp/brick8 server3:/exp/brick8 server4:/exp/brick8 server5:/exp/brick8 server6:/exp/brick8 server1:/exp/brick9 server2:/exp/brick9 server3:/exp/brick9 server4:/exp/brick9 server5:/exp/brick9 server6:/exp/brick9 server1:/exp/brick10 server2:/exp/brick10 server3:/exp/brick10 server4:/exp/brick10 server5:/exp/brick10 server6:/exp/brick10 server1:/exp/brick11 server2:/exp/brick11 server3:/exp/brick11 server4:/exp/brick11 server5:/exp/brick11 server6:/exp/brick11 server1:/exp/brick12 server2:/exp/brick12 server3:/exp/brick12 server4:/exp/brick12 server5:/exp/brick12 server6:/exp/brick12
Figure 28.2. Example Configuration of 4+2 Dispersed Volume Configuration
The following chart illustrates the redundancy comparison of all supported dispersed volume configurations.
Figure 28.3. Illustration of the redundancy comparison