<html>
  <head>
    <meta content="text/html; charset=ISO-8859-15"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><big>Hi Matt,<br>
        <br>
        gluster is listening on port 2049. that's ok. the storage
        servers has to be able to lookup hostnames of the IPs connecting
        to gluster nfs server. if gluster-node isn't able to resolve
        xen-servers hostname, connection will fail.<br>
        <br>
        Dani<br>
      </big><br>
    </font><font size="-1"><font face="Arial"><br>
      </font></font>Am 13.02.2012 17:13, schrieb Matthew Mackes:
    <blockquote
cite="mid:CAFbkrp-7rkfRsJW99CeVHz7V37nrhmtCRaRA0YvYpH4xcaDVnA@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi Dan,

Thanks for your reply.

I am able to ping and ssh the server from all Xen Host machines in the
Xen pool. It seems to be up, and reachable at the OS level.

Here is the output from lsof:
glusterfs 1466  root    8u  IPv4  79120      0t0  TCP *:2049 (LISTEN)

I think that Gluster is responding on this machine because Xen is
reporting " The NFS server version is
unsupported." I think that Xen would report something else if it could
not contact the machine at all.

Thanks Dan, please keep brainstorming! I appreciate it!

Matt



On Mon, Feb 13, 2012 at 11:01 AM, Daniel Kradolfer <a class="moz-txt-link-rfc2396E" href="mailto:ml@smilesolutions.ch">&lt;ml@smilesolutions.ch&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello Matt

the storage server has to be able to resolv the ip-address of the
xen-server. this may be a problem. i also had problems to get gluster really
listening on port 2049. if 'lsof -i -n -P | grep 2049' doesn't show gluster
listening on this port, I would reboot the whole cluster.

Freundliche Grüsse

Daniel Kradolfer


Am 13.02.2012 16:48, schrieb Matthew Mackes:

Hello Everyone,

I am having an issue that I hope someone might have some information about.

I have a Xen Server Version 6 Host Cluster that I am attempting to use
Gluster as the NFS storage repository for.

I have two Gluster storage servers, both are running the latest
stable, and CentOS 6.2.

Both Gluster storage servers are setup for Replicated Volumes, and are
working well.

In order for XenServer to allow me to mount the Gluster NFS, I have
set using one of the Gluster Machines (The first) to port 2049. This
change instantly replicated to the second Gluster server in the pool.

(First server (Working with Xen))
gluster&gt; volume info

Volume Name: xen-volume
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 10.10.135.10:/BRICK-STORAGE
Brick2: 10.10.135.11:/BRICK-STORAGE
Options Reconfigured:
nfs.port: 2049
gluster&gt;

(Second server (Not Working with Xen-"The NFS server version is
unsupported Check your settings and try again" )

gluster&gt; volume info

Volume Name: xen-volume
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 10.10.135.10:/BRICK-STORAGE
Brick2: 10.10.135.11:/BRICK-STORAGE
Options Reconfigured:
nfs.port: 2049


Here is the issue.

If I attempt to mount the first Gluster storage server in the Xen
Administrative Console (Xen center), the Scan button reports an NFS
error, but if I choose finish, it does mount the storage, and it works
very well. The vm's also replicate to the second gluster storage
server.

 If I attempt to mount the second Gluster storage server in the Xen
Administrative Console (Xen center), I receive the error back:

"The NFS server version is unsupported Check your settings and try again.:

I receive this error for the second server, even when:
1. The first server was never mounted
2. Both servers are a clean new installs, and contain no data.
3.Both installs are CentOS base installs, and I add in packages as I need
them

So, the first server always mounts (but with an error during the test
scan), the second never does, giving the error NFS version is
unsupported.

*The second server also cannot be mounted as a ISO NFS share.
* The second server also cannot be mounted on a normal Fedora 16
workstation (My workstation).
It seems as if once the NFS port has been changed in Gluster the
second server (in replication) becomes inaccible via NFS)


I hope someone has some ideas. Thank you everyone for reading and your help.

Matt

</pre>
      </blockquote>
      <pre wrap="">


</pre>
    </blockquote>
  </body>
</html>