<html><head></head><body><div class="ydpe40db708yahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Hi Karl,<br><br>I don't see anything mentioning shared storage in the docs and I assume it's now automatic but can you check '<span>gluster volume get all cluster.enable-shared-storage' ?</span></div><div dir="ltr" data-setdir="false"><span><br>I would give a try with RH's documentation despite it's old it has some steps (like the shared volume) that might be needed:<br></span><a href="https://docs.redhat.com/en/documentation/red_hat_gluster_storage/3.5/html/administration_guide/sect-preparing_to_deploy_geo-replication#Setting_Up_the_Environment_for_Geo-replication_Session" rel="nofollow" target="_blank">https://docs.redhat.com/en/documentation/red_hat_gluster_storage/3.5/html/administration_guide/sect-preparing_to_deploy_geo-replication#Setting_Up_the_Environment_for_Geo-replication_Session</a><br><br>Best Regards,<br>Strahil Nikolov<br></div></div><div id="yahoo_quoted_4405280369" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В петък, 16 август 2024 г. в 01:36:24 ч. Гринуич+3, Karl Kleinpaste <karl@kleinpaste.org> написа:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv9166794574">
<div>
<font face="FreeSerif">I am trying to test a trivial configuration
of 2 hosts, each of which has a simple 1-brick volume, that I wish
to geo-rep from one to the other.<br>
When I first experimented with this a couple years ago, it worked,
but that effort ended prematurely and I never finished the real
setup. I am coming back to it now for other purposes.<br>
<br>
I'm on Fedora 39 with gluster 11.1. I'm using this guide:<br>
<a rel="nofollow noopener noreferrer" target="_blank" href="https://docs.gluster.org/en/main/Administrator-Guide/Geo-Replication/" class="yiv9166794574moz-txt-link-freetext">https://docs.gluster.org/en/main/Administrator-Guide/Geo-Replication/</a><br>
<br>
Hosts are pjs and pms, with respective volumes j and n.<br>
I have created, started, and mounted the volumes, each on their
own localhost.<br>
I can also have each mount the other's volume, so general
operation seems ok.<br>
</font><br>
<font face="FreeSerif">I have added the geoacct user and group, set
up password-less login for </font><font face="FreeSerif">each </font><font face="FreeSerif">local root -> geoacct@other.</font><font face="FreeSerif"><br>
</font><font face="FreeSerif">gluster-mountbroker things have been
done and "gluster-mountbroker status" is sensible.</font><br>
<font face="FreeSerif">"gluster-georep-sshkey generate" has done
what I'd expect.<br>
<br>
I'm at the point of creating geo-replication. Command on pjs is:<br>
<br>
</font><font face="monospace">gluster volume geo-replication j
geoacct@pms::n create ssh-port 6247 push-pem</font><font face="FreeSerif"><br>
(Yes, sshd listens on a nonstandard port.)<br>
<br>
This fails with:<br>
</font><font face="monospace">Please check gsync config file. Unable
to get statefile's name<br>
geo-replication command failed</font><font face="FreeSerif"><br>
<br>
Logs, which I have been tail(1)ing as it happens, show:<br>
<br>
</font><font face="monospace">Received mount request for volume j <br>
Config file
(/var/lib/glusterd/geo-replication/j_pms_n/gsyncd.conf) missing.
Looking for template config file
(/var/lib/glusterd/geo-replication/gsyncd_template.conf) [No such
file or directory]<br>
Using default config
template(/var/lib/glusterd/geo-replication/gsyncd_template.conf).
<br>
reading data from child failed <br>
Unable to get configuration data for j(primary),
geoacct@pms::n(secondary) from template config <br>
Please check gsync config file. Unable to get statefile's name <br>
Staging of operation 'Volume Geo-replication Create' failed on
localhost : Please check gsync config file. Unable to get
statefile's name<br>
</font><font face="FreeSerif"><br>
When I check on the files named, a bit of unhappiness is found:<br>
<br>
</font><font face="monospace">$ ls -l
/var/lib/glusterd/geo-replication/j_pms_n/gsyncd.conf
/var/lib/glusterd/geo-replication/gsyncd_template.conf<br>
ls: cannot access
'/var/lib/glusterd/geo-replication/j_pms_n/gsyncd.conf': No such
file or directory<br>
-rwxr-xr-x 1 root geoacct 0 Aug 11 08:13
/var/lib/glusterd/geo-replication/gsyncd_template.conf</font><font face="FreeSerif"><br>
<br>
That the first is missing seems normal; geo-rep creation should
instantiate it, yes? The problem seems to be that the template
file is present but empty.<br>
<br>
How does the template file come into existence, and how should it
be populated?<br>
<br>
(~geoacct is /var/lib/glusterd/geoacct.)<br>
<br>
Any clues would be most welcome. It feels strange to have
everything working right up to the point of geo-rep creation.<br>
<br>
--karl</font><br>
</div>
</div>________<br><br><br><br>Community Meeting Calendar:<br><br>Schedule -<br>Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>Bridge: <a href="https://meet.google.com/cpu-eiue-hvk" target="_blank">https://meet.google.com/cpu-eiue-hvk</a><br>Gluster-users mailing list<br><a ymailto="mailto:Gluster-users@gluster.org" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br><a href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br></div>
</div>
</div></body></html>