Dear all,<br><br>I have two machine(eg A,B) , i have installed&nbsp; GlusterFS server on machine A and GlusterFS client on machine B&nbsp; .In server machine A i&nbsp; have created one directory&nbsp; export under /tmp<br><br># mkdir&nbsp; /tmp/export<br>
#cd /tmp/export<br><br>under export directory&nbsp; created ten .c files (p1.c,p2.c,p3.c ...p10.c) . Then i am exported /tmp/export to client using the following volume spec file.<br><br>#server machine A<br>volume brick<br>&nbsp; type storage/posix<br>
&nbsp; option directory /tmp/export<br>end-volume<br><br>volume server<br>&nbsp; type protocol/server<br>&nbsp; subvolumes brick<br>&nbsp; option transport-type tcp/server # For TCP/IP transport<br>&nbsp; option auth.ip.brick.allow *<br>end-volume<br>
<br><br><br>#client machine B<br>volume client<br>&nbsp; type protocol/client<br>&nbsp; option transport-type tcp/client<br>&nbsp; option remote-host 192.168.2.XX<br>&nbsp; option remote-subvolume brick<br>end-volume<br><br><br>#glusterfsd -f /etc/glusterfs/glusterfs-server.vol<br>
#modprobe fuse<br>#glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs<br><br>everthing is ok .Then i have created one data base named&nbsp; company(the name of the data bese is company) in server machine A under this company data base creared one table name employee&nbsp; . my database in server machine is located in default location /var/lib/mysql .<br>
Then i mounted /var/lib/mysql/company&nbsp; using the following volume files.<br><br><br>#server machine A<br>
volume brick<br>
&nbsp; type storage/posix<br>
&nbsp; option directory /var/lib/mysql/company<br>
end-volume<br>
<br>
volume server<br>
&nbsp; type protocol/server<br>
&nbsp; subvolumes brick<br>
&nbsp; option transport-type tcp/server # For TCP/IP transport<br>
&nbsp; option auth.ip.brick.allow *<br>
end-volume<br>
<br>
<br>
<br>
#client machine B<br>
volume client<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp/client<br>
&nbsp; option remote-host 192.168.2.XX<br>
&nbsp; option remote-subvolume brick<br>
end-volume<br><br>#glusterfsd -f /etc/glusterfs/glusterfs-server.vol<br>#glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/mymysql/mysql<br><br>Note :on my client B already i have configured default mysql path to /mnt/mymysql/mysql .<br>
<br>My problem is the employee table on server machine A is not mounted for me on client machine B .<br><br>Is there any problem in volume spec above ?&nbsp; please any one can correct me?<br><br>or <br>my way is correct?suppose my way is not correct please correct me .<br>
<br><br><br>Thanks for your time .<br>L.mohan<br><br><br><br><br>