Page 1 of 1

Connection 2 B3 servers

Posted: 07 Mar 2015, 18:17
by Puma
Hello,

I have two b3 servers.
One is my main server and the other one is used as extra storage.
When on my work I can connect perfectly to the Main b3 but I cannot see the 2nd b3.
Is it possible to mount the storage folder share to the b3 main server /external/b3nd folder so that I can acces the 2nd b3 from that folder location?

Should I use install smbfs or sshfs to get it working?

Does someone has experiance connecting 2 bubba servers?

Thanks in advance.

Puma

Re: Connection 2 B3 servers

Posted: 08 Mar 2015, 07:48
by stasheck
I think you can export the folder from the secondary B3 via NFS and mount it in the primary B3's filesystem. Then use Samba to share the contents of the location.

Re: Connection 2 B3 servers

Posted: 20 Mar 2015, 15:17
by johannes
Not 100% sure of this, but I think you can add a "remote account" (admin -> settings -> remote account), and it will automatically show up under /home/storage/extern

Re: Connection 2 B3 servers

Posted: 06 Jul 2015, 17:45
by Puma
Dear all,

Via the webinterface did not work.

Working solution:

Install nfs on both servers:

Code: Select all

apt-get install portmap nfs-common
apt-get install nfs-kernel-server
apt-get install nfs-common
check server:

Code: Select all

/etc/init.d/portmap restart
/etc/init.d/portmap status
check if portmapper is running

Code: Select all

rpcinfo -p
export folder on host in file etc/export (what to share from host side) add following:

Code: Select all

/home/storage 192.168.101.1(rw,sync)
after each change of etc/export:

Code: Select all

/etc/init.d/nfs-kernel-server restart


Connect client to host: mount:

Code: Select all

mount -vvv -t nfs [ip 2nd b3]:/home/storage /home/storage/extern/2ndb3
now we have the /home/storage/ mounted to the external storage link
now should connect to folder on client.

Puma