{"id":2238,"date":"2023-03-22T11:21:24","date_gmt":"2023-03-22T10:21:24","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=2238"},"modified":"2023-03-22T11:26:19","modified_gmt":"2023-03-22T10:26:19","slug":"rx-res","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=2238","title":{"rendered":"rX.res"},"content":{"rendered":"<p>Sempre in \/etc\/drbd.d troviamo i files .res che deviniscono i device drbd r0.res r1.res rx.res<\/p>\n<p>Nel mio caso sono due per non complicarmi la vita e di seguito i parametri<\/p>\n<p>r0.res<\/p>\n<p>resource r0 {<br \/>\non vespucci {<br \/>\ndevice \/dev\/drbd0;<br \/>\ndisk \/dev\/sda8;<br \/>\naddress 192.168.20.12:7778;<br \/>\nmeta-disk internal;<br \/>\n}<\/p>\n<p>on palinuro {<br \/>\ndevice \/dev\/drbd0;<br \/>\ndisk \/dev\/sda8;<br \/>\naddress 192.168.20.13:7778;<br \/>\nmeta-disk internal;<br \/>\n}<br \/>\n}<\/p>\n<p>r1.res<\/p>\n<p>resource r1 {<br \/>\nsyncer {<br \/>\n# \u00a0\u00a0\u00a0rate 150M;<br \/>\nafter &#8220;r0&#8221;;<br \/>\n}<\/p>\n<p>on vespucci {<br \/>\ndevice \/dev\/drbd1;<br \/>\ndisk \/dev\/sda9;<br \/>\naddress 192.168.20.12:7779;<br \/>\nmeta-disk internal;<br \/>\n}<\/p>\n<p>on palinuro {<br \/>\ndevice \/dev\/drbd1;<br \/>\ndisk \/dev\/sda9;<br \/>\naddress 192.168.20.13:7779;<br \/>\nmeta-disk internal;<br \/>\n}<br \/>\n}<br \/>\nDa notarsi che:<\/p>\n<p>nelle due risorse cambiano le porte su cui gli indirizzi ascoltano<\/p>\n<p>che r1.res vale a dire drbd1 viene sincronizzato dopo drbd0 il commento davanti al 150M e&#8217; stato messo dopo la prima sincronizzazione.<\/p>\n<p><a href=\"http:\/\/clark.tipistrani.it\/?p=2235\">Indietro<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sempre in \/etc\/drbd.d troviamo i files .res che deviniscono i device drbd r0.res r1.res rx.res Nel mio caso sono due per non complicarmi la vita e di seguito i parametri r0.res resource r0 { on vespucci { device \/dev\/drbd0; disk \/dev\/sda8; address 192.168.20.12:7778; meta-disk internal; } on palinuro { device \/dev\/drbd0; disk \/dev\/sda8; address 192.168.20.13:7778; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,6],"tags":[37,34],"class_list":["post-2238","post","type-post","status-publish","format-standard","hentry","category-cluster","category-work","tag-cluster-2","tag-drbd"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2238"}],"version-history":[{"count":2,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2238\/revisions"}],"predecessor-version":[{"id":2280,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2238\/revisions\/2280"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2238"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}