<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>GlusterFS has mainly four daemons, ie glusterfs (generally client
process), glusterfsd (generally brick process), glusterd
(management daemon) and gluster (cli).</p>
<p>Except cli (cli/src) all of them are basically the same binary
symlinked to different name. So what makes them different is
graphs, ie each daemons loads a graph and based on the graph it
does it's job.</p>
<p><br>
</p>
<p>Nodes of each graph are called xlators. So to figure out what are
the xlators loaded in client side graph. You can see a client
graph
/var/lib/glusterd/vols/<volname>/trusted-<volname>.<protocol>-fuse.vol</p>
<p>Once you figured out the xlators in client graph and their type,
you can go to the source code, xlatos/<type>/<name>.</p>
<p><br>
</p>
<p>Please note that, if an xlator loaded on client graph it doesn't
mean that it will only run in client side. The same xlator can
also run in server if we load a graph with that xlator loaded.</p>
<p><br>
</p>
<p>Let me know if this is not helping you to understand<br>
</p>
<p><br>
</p>
<p>Regards</p>
<p>Rafi KC<br>
</p>
<p><br>
</p>
<p>So glusterd and cli codes are always ran on servers. <br>
</p>
<div class="moz-cite-prefix">On 03/09/2017 08:28 PM, Tahereh Fattahi
wrote:<br>
</div>
<blockquote
cite="mid:CAHG6sps78w1JTTQDZSGQGQFf_gwaMp6GZk4nfAV3s71TsY-FAA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div>Is there any way to understand that some code is running
client side or server side (from source code and its
directories)?</div>
<div>Is it possible for some code to execute both client and
server side?</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>