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:40:59 PM (2 years ago)
- Author:
-
Rüdiger Kupper
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v67
|
v68
|
|
| 358 | 358 | **Nur auf einem Server (z.B. gluster1):** |
| 359 | 359 | {{{ |
| 360 | | # gluster volume create fast-storage replica 2 gluster1:/mnt/gluster/b/brick gluster3:/mnt/gluster/b/brick gluster1:/mnt/gluster/c/brick gluster3:/mnt/gluster/c/brick gluster2:/mnt/gluster/b/brick gluster4:/mnt/gluster/b/brick gluster2:/mnt/gluster/c/brick gluster4:/mnt/gluster/c/brick |
| 361 | | |
| 362 | | # gluster volume create slow-storage replica 2 gluster1:/mnt/gluster/d/brick gluster3:/mnt/gluster/d/brick gluster1:/mnt/gluster/e/brick gluster3:/mnt/gluster/e/brick gluster2:/mnt/gluster/d/brick gluster4:/mnt/gluster/d/brick gluster2:/mnt/gluster/e/brick gluster4:/mnt/gluster/e/brick |
| 363 | | }}} |
| 364 | | |
| 365 | | |
| 366 | | Ab jetzt sind gluster1&3 bzw. gluster2&4 Spiegelserver, ansprechbar von außen über die GlusterFS „fast storage“ und „slow-storage“. |
| 367 | | |
| 368 | | Die Dateien werden gleichmäßig auf gluster1 und 3 bzw. gluster 2 und 4 verteilt. |
| | 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 |
| | 364 | gluster2:/mnt/gluster/c/brick gluster4:/mnt/gluster/c/brick gluster6:/mnt/gluster/c/brick |
| | 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 |
| | 370 | gluster2:/mnt/gluster/e/brick gluster4:/mnt/gluster/e/brick gluster6:/mnt/gluster/e/brick |
| | 371 | }}} |
| | 372 | |
| | 373 | |
| | 374 | Ab jetzt sind gluster1,3,5 bzw. gluster2,4,6 Spiegelserver, ansprechbar von außen über die GlusterFS „fast storage“ und „slow-storage“. |
| | 375 | |
| | 376 | Die Dateien werden gleichmäßig auf gluster1,2 verteilt, also auch auf gluster3,4 und gluster5,6. |
| 369 | 377 | |
| 370 | 378 | Prüfen mittels `gluster volume info` auf allen Servern. Insbesondere auf die Reihenfolge der Bricks achten! (Je zwei aufeinanderfolgende sind die Spiegel.) |
| … |
… |
|
| 372 | 380 | |
| 373 | 381 | |
| 374 | | Bleibt nur noch, die Volumes zu starten. |
| | 382 | Bleibt nur noch die Volumes zu starten. |
| 375 | 383 | |
| 376 | 384 | Auf *einem Server*: |