Linking Ubuntu Servers

Discussion in 'HOWTO-Related Questions' started by dalitso, Jun 20, 2010.

  1. dalitso

    dalitso New Member

    What is the easiest yet reliable way of linking ubuntu servers? Like in a scenario where branch servers need to link to head office server in services like samba shares or more.
     
  2. dipeshmehta

    dipeshmehta Member

  3. dalitso

    dalitso New Member

    Openvpn's basic setup worked fine. I am just working on creating keys so I can establish an auto connection on the client side (server 2).

    Although following this guide http://www.ossramblings.com/configuring_openvpn_ubuntu_hardy

    gives me this error:
    Code:
    Using configuration from /etc/openvpn/openssl.cnf
    /etc/openvpn/keys/index.txt: No such file or directory
    unable to open '/etc/openvpn/keys/index.txt'
    31286:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/openvpn/keys/index.txt','r')
    31286:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:

    when I create the keys with
    Code:
    ./build-key-server server
    
    ./build-key client-name
    But I figure the keys will still be created even if there's that error, right?


    Anyway, on the basic(documentation) open vpn setup, I can access the files both by using samba or nfs.

    I have realized that mounting the folders of server 1 on server 2 via either samba or nfs results in those folders being unavailable once the internet connection is not available.

    I mounted nfs this way
    Code:
    mount 192.168.1.20:/export/share /home/user/share
    I was just testing so I didn't mount in /etc/fstab

    Is there a way server 2 can still have the files in its folder /home/user/share/
    even when the connection is absent?
     
  4. dalitso

    dalitso New Member


    I am going to use rsync.
     

Share This Page