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.

Changes between Version 67 and Version 68 of AdminGlusterServerAufsetzen


Ignore:
Timestamp:
Jun 20, 2024, 8:40:59 PM (2 years ago)
Author:
Rüdiger Kupper
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminGlusterServerAufsetzen

    v67 v68  
    358358**Nur auf einem Server (z.B. gluster1):**
    359359{{{
    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
     361gluster1:/mnt/gluster/b/brick gluster3:/mnt/gluster/b/brick gluster5:/mnt/gluster/b/brick
     362gluster1:/mnt/gluster/c/brick gluster3:/mnt/gluster/c/brick gluster5:/mnt/gluster/c/brick
     363gluster2:/mnt/gluster/b/brick gluster4:/mnt/gluster/b/brick gluster6:/mnt/gluster/b/brick
     364gluster2:/mnt/gluster/c/brick gluster4:/mnt/gluster/c/brick gluster6:/mnt/gluster/c/brick
     365
     366# gluster volume create slow-storage replica 3
     367gluster1:/mnt/gluster/d/brick gluster3:/mnt/gluster/d/brick gluster5:/mnt/gluster/d/brick
     368gluster1:/mnt/gluster/e/brick gluster3:/mnt/gluster/e/brick gluster5:/mnt/gluster/e/brick
     369gluster2:/mnt/gluster/d/brick gluster4:/mnt/gluster/d/brick gluster6:/mnt/gluster/d/brick
     370gluster2:/mnt/gluster/e/brick gluster4:/mnt/gluster/e/brick gluster6:/mnt/gluster/e/brick
     371}}}
     372
     373
     374Ab jetzt sind gluster1,3,5 bzw. gluster2,4,6 Spiegelserver, ansprechbar von außen über die GlusterFS „fast storage“ und „slow-storage“.
     375
     376Die Dateien werden gleichmäßig auf gluster1,2 verteilt, also auch auf gluster3,4 und gluster5,6.
    369377
    370378Prüfen mittels `gluster volume info` auf allen Servern. Insbesondere auf die Reihenfolge der Bricks achten! (Je zwei aufeinanderfolgende sind die Spiegel.)
    … …  
    372380
    373381
    374 Bleibt nur noch, die Volumes zu starten.
     382Bleibt nur noch die Volumes zu starten.
    375383
    376384Auf *einem Server*: