<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Am I to understand this correctly but we have to &#8220;Delete&#8221; a volume in order to re-Create it with a new replica count?&nbsp;
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">What I am trying to do is increase the replica count so that two of my Bricks are on two separate nodes in one datacenter, then having another brick on a node in a separate datacenter linked via a 40GB dedicated Fiber line that links the
 two sites (ie DR). &nbsp;<o:p></o:p></p>
<p class="MsoNormal">Or would a Distributed-Replica count 2 be a better choice, then replicate a brick between the two datacenters?
<o:p></o:p></p>
<p class="MsoNormal">Most if not All of our Load is at one site.. but if we lose that site we have a HOT standby available&#8230; slower yet available.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;d like to have two servers in each datacenter with two bricks each so that we can expand accordingly.&nbsp; Suggestions? High Availability is the key.. not speed or IOPs<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">What does this do to the system?&nbsp; <o:p></o:p></p>
<p class="MsoNormal">Data loss? <o:p></o:p></p>
<p class="MsoNormal">Obviously the Storage would not be available during this time.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">What happens to the Data that already exists on a Two Node (2 Bricks per node) Distributed-Replica of 2<o:p></o:p></p>
<p class="MsoNormal">How does the system then increase the replica count?<o:p></o:p></p>
<p class="MsoNormal">Do I have to rebalance the Volume when complete?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Server1 and Server2 are in the same location<o:p></o:p></p>
<p class="MsoNormal">Server3 and Future Server 4 are in the same location<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">As Reference &nbsp;I am following: https://github.com/GlusterFS/Notes<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Extend volume for replica count<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Stop volume www:
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume stop www</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> Delete volume www:
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume delete www</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> Recreate volume but increase replica count to 4 and define all four bricks:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume create www replica 4 transport tcp server1:/var/export/www server2:/var/export/www server3:/var/export/www server4:/var/export/www<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Start volume www and set options:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume start www<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume set www auth.allow 192.168.56.*<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Check volume status:
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">gluster volume info www</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> Volume data should become available again.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">My CURRENT CONFIG:<o:p></o:p></p>
<p class="MsoNormal">Volume Name: storage1<o:p></o:p></p>
<p class="MsoNormal">Type: Distributed-Replicate<o:p></o:p></p>
<p class="MsoNormal">Volume ID: 9616ce42-48bd-4fe3-883f-decd6c4fcd00<o:p></o:p></p>
<p class="MsoNormal">Status: Started<o:p></o:p></p>
<p class="MsoNormal">Number of Bricks: 3 x 2 = 6<o:p></o:p></p>
<p class="MsoNormal">Transport-type: tcp<o:p></o:p></p>
<p class="MsoNormal">Bricks:<o:p></o:p></p>
<p class="MsoNormal">Brick1: evtgls1:/exp/br01/brick1<o:p></o:p></p>
<p class="MsoNormal">Brick2: evtgls2:/exp/br01/brick1<o:p></o:p></p>
<p class="MsoNormal">Brick3: seagls1:/exp/br02/brick2<o:p></o:p></p>
<p class="MsoNormal">Brick4: evtgls2:/exp/br02/brick2<o:p></o:p></p>
<p class="MsoNormal">Brick5: seagls1:/exp/br01/brick1<o:p></o:p></p>
<p class="MsoNormal">Brick6: evtgls1:/exp/br02/brick2<o:p></o:p></p>
<p class="MsoNormal">Options Reconfigured:<o:p></o:p></p>
<p class="MsoNormal">diagnostics.brick-log-level: WARNING<o:p></o:p></p>
<p class="MsoNormal">diagnostics.client-log-level: WARNING<o:p></o:p></p>
<p class="MsoNormal">cluster.entry-self-heal: off<o:p></o:p></p>
<p class="MsoNormal">cluster.data-self-heal: off<o:p></o:p></p>
<p class="MsoNormal">cluster.metadata-self-heal: off<o:p></o:p></p>
<p class="MsoNormal">performance.cache-size: 1024MB<o:p></o:p></p>
<p class="MsoNormal">performance.cache-max-file-size: 2MB<o:p></o:p></p>
<p class="MsoNormal">performance.cache-refresh-timeout: 1<o:p></o:p></p>
<p class="MsoNormal">performance.stat-prefetch: off<o:p></o:p></p>
<p class="MsoNormal">performance.read-ahead: on<o:p></o:p></p>
<p class="MsoNormal">performance.quick-read: off<o:p></o:p></p>
<p class="MsoNormal">performance.write-behind-window-size: 4MB<o:p></o:p></p>
<p class="MsoNormal">performance.flush-behind: on<o:p></o:p></p>
<p class="MsoNormal">performance.write-behind: on<o:p></o:p></p>
<p class="MsoNormal">performance.io-thread-count: 32<o:p></o:p></p>
<p class="MsoNormal">performance.io-cache: on<o:p></o:p></p>
<p class="MsoNormal">network.ping-timeout: 2<o:p></o:p></p>
<p class="MsoNormal">nfs.addr-namelookup: off<o:p></o:p></p>
<p class="MsoNormal">performance.strict-write-ordering: on<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Cambria&quot;,&quot;serif&quot;;color:gray">Thomas Holkenbrink
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Cambria&quot;,&quot;serif&quot;;color:gray">Systems Architect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Cambria&quot;,&quot;serif&quot;;color:gray">FiberCloud Inc.&nbsp; |&nbsp;
<a href="http://www.fibercloud.com/"><span style="color:gray">www.fibercloud.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>