close
Warning:
Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jun 20, 2024, 8:50:24 PM (2 years ago)
- Author:
-
Rüdiger Kupper
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v68
|
v69
|
|
| 358 | 358 | **Nur auf einem Server (z.B. gluster1):** |
| 359 | 359 | {{{ |
| 360 | | # gluster volume create fast-storage replica 3 |
| 361 | | gluster1:/mnt/gluster/b/brick gluster3:/mnt/gluster/b/brick gluster5:/mnt/gluster/b/brick |
| 362 | | gluster1:/mnt/gluster/c/brick gluster3:/mnt/gluster/c/brick gluster5:/mnt/gluster/c/brick |
| 363 | | gluster2:/mnt/gluster/b/brick gluster4:/mnt/gluster/b/brick gluster6:/mnt/gluster/b/brick |
| | 360 | # gluster volume create fast-storage replica 3 \ |
| | 361 | gluster1:/mnt/gluster/b/brick gluster3:/mnt/gluster/b/brick gluster5:/mnt/gluster/b/brick \ |
| | 362 | gluster2:/mnt/gluster/b/brick gluster4:/mnt/gluster/b/brick gluster6:/mnt/gluster/b/brick \ |
| | 363 | gluster1:/mnt/gluster/c/brick gluster3:/mnt/gluster/c/brick gluster5:/mnt/gluster/c/brick \ |
| 364 | 364 | gluster2:/mnt/gluster/c/brick gluster4:/mnt/gluster/c/brick gluster6:/mnt/gluster/c/brick |
| 365 | 365 | |
| 366 | | # gluster volume create slow-storage replica 3 |
| 367 | | gluster1:/mnt/gluster/d/brick gluster3:/mnt/gluster/d/brick gluster5:/mnt/gluster/d/brick |
| 368 | | gluster1:/mnt/gluster/e/brick gluster3:/mnt/gluster/e/brick gluster5:/mnt/gluster/e/brick |
| 369 | | gluster2:/mnt/gluster/d/brick gluster4:/mnt/gluster/d/brick gluster6:/mnt/gluster/d/brick |
| | 366 | # gluster volume create slow-storage replica 3 \ |
| | 367 | gluster1:/mnt/gluster/d/brick gluster3:/mnt/gluster/d/brick gluster5:/mnt/gluster/d/brick \ |
| | 368 | gluster2:/mnt/gluster/d/brick gluster4:/mnt/gluster/d/brick gluster6:/mnt/gluster/d/brick \ |
| | 369 | gluster1:/mnt/gluster/e/brick gluster3:/mnt/gluster/e/brick gluster5:/mnt/gluster/e/brick \ |
| 370 | 370 | gluster2:/mnt/gluster/e/brick gluster4:/mnt/gluster/e/brick gluster6:/mnt/gluster/e/brick |
| 371 | 371 | }}} |
| … |
… |
|
| 376 | 376 | Die Dateien werden gleichmäßig auf gluster1,2 verteilt, also auch auf gluster3,4 und gluster5,6. |
| 377 | 377 | |
| 378 | | Prüfen mittels `gluster volume info` auf allen Servern. Insbesondere auf die Reihenfolge der Bricks achten! (Je zwei aufeinanderfolgende sind die Spiegel.) |
| | 378 | Prüfen mittels `gluster volume info` auf allen Servern. Insbesondere auf die Reihenfolge der Bricks achten! (Je drei aufeinanderfolgende sind die Spiegel.) |
| | 379 | |
| | 380 | Beispiel: |
| | 381 | {{{ |
| | 382 | root@gluster2:~# gluster volume info new-fast-storage |
| | 383 | |
| | 384 | Volume Name: new-fast-storage |
| | 385 | Type: Distributed-Replicate |
| | 386 | Volume ID: d8ed8e70-3278-4f81-83c0-6800957c3151 |
| | 387 | Status: Started |
| | 388 | Snapshot Count: 0 |
| | 389 | Number of Bricks: 4 x 3 = 12 |
| | 390 | Transport-type: tcp |
| | 391 | Bricks: |
| | 392 | Brick1: gluster5:/mnt/gluster/b-new/brick |
| | 393 | Brick2: gluster1:/mnt/gluster/b-new/brick |
| | 394 | Brick3: gluster3:/mnt/gluster/b-new/brick |
| | 395 | Brick4: gluster6:/mnt/gluster/b-new/brick |
| | 396 | Brick5: gluster2:/mnt/gluster/b-new/brick |
| | 397 | Brick6: gluster4:/mnt/gluster/b-new/brick |
| | 398 | Brick7: gluster5:/mnt/gluster/c-new/brick |
| | 399 | Brick8: gluster1:/mnt/gluster/c-new/brick |
| | 400 | Brick9: gluster3:/mnt/gluster/c-new/brick |
| | 401 | Brick10: gluster6:/mnt/gluster/c-new/brick |
| | 402 | Brick11: gluster2:/mnt/gluster/c-new/brick |
| | 403 | Brick12: gluster4:/mnt/gluster/c-new/brick |
| | 404 | Options Reconfigured: |
| | 405 | performance.client-io-threads: off |
| | 406 | storage.fips-mode-rchecksum: on |
| | 407 | transport.address-family: inet |
| | 408 | }}} |
| 379 | 409 | |
| 380 | 410 | |