<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif"}
span.e-mailformatvorlage17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.E-MailFormatvorlage19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt;
        font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="DE" link="blue" vlink="purple" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Check the "capabilities" parameter for adding the ceph backend [1]. you need to set replication to 3 (min_replication should automatically be set to 2).
<div><br>
</div>
<div>I think the "system" command for it should be: </div>
<div>system storage-backend-add ceph -s cinder,glance,swift,nova replication=3 --confirmed </div>
<div><br>
</div>
<div>The help of the command states: </div>
<div>$ system help storage-backend-add</div>
<div>usage: system storage-backend-add [-s <services>] [-n <name>] [-t <tier_uuid>]</div>
<div>                                  [-c <ceph_conf>] [--confirmed]</div>
<div>                                  [--ceph-mon-gib <ceph-mon-gib>]</div>
<div>                                  <backend></div>
<div>                                  [<parameter=value> [<parameter=value> ...]] </div>
<div><br>
</div>
<div>Replication should be given as a <parameter=value>.</div>
<div><br>
</div>
<div>Storage nodes inside a replication group all share the same (replicated) data. So if one node fails for any reason, the data is still being served by the remaining nodes. As, I said, nodes are assigned automatically to a group based on replication, so
 you cannot manually assign each node to a different group.</div>
<div><br>
</div>
<div>It is recommended that your number of storage nodes be a multiple of your replication factor. So for replication 2, you should use 2,4,6.... storage nodes and for replication 3 you should use 3,6,9... storage nodes.<br>
<div><br>
</div>
<div><br>
</div>
<div>[1]: https://docs.starlingx.io/api-ref/stx-config/api-ref-sysinv-v1-config.html?expanded=add-a-ceph-storage-backend-detail#add-a-ceph-storage-backend<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF851837" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> von Hoesslin, Volker [Volker.Hoesslin@swsn.de]<br>
<b>Sent:</b> Tuesday, October 30, 2018 1:34 PM<br>
<b>To:</b> 'starlingx-discuss@lists.starlingx.io'<br>
<b>Subject:</b> Re: [Starlingx-discuss] move storage node in replication group<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Ok, I understand. how can I define this when creating a storage node? neither cli nor gui can I find corresponding options.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">how are the "replication-groups" to be understood? is it desirable to put all three storage-nodes into one group or should each storage-node have its own group?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">greez & thx,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">  volker...</span></p>
<p class="MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Dinescu, Stefan [mailto:Stefan.Dinescu@windriver.com]
<br>
<b>Gesendet:</b> Dienstag, 30. Oktober 2018 10:48<br>
<b>An:</b> von Hoesslin, Volker; 'starlingx-discuss@lists.starlingx.io'<br>
<b>Betreff:</b> RE: move storage node in replication group</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Hello,
</span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">The default replication of ceph is 2. Nodes are assigned to each group automatically and cannot be manually changed. if you want replication 3, you need you
 set that before installing storage nodes.</span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF94930">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> von Hoesslin, Volker [Volker.Hoesslin@swsn.de]<br>
<b>Sent:</b> Monday, October 29, 2018 5:43 PM<br>
<b>To:</b> 'starlingx-discuss@lists.starlingx.io'<br>
<b>Subject:</b> [Starlingx-discuss] move storage node in replication group</span><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">hello,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">i have 3 storage nodes and after provisioning nodes 1+2 are in replication group 0 and node 3 are in replication group 1?!
</span><span style="color:black">how can i move node 3 to group 0?</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black">greetings, volker</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>