Koozali.org: home of the SME Server

2 Sme Box

edwardo

2 Sme Box
« on: June 15, 2006, 05:02:57 AM »
Hi,

I'm using SME 7RC3, installed it on two boxes. one will act as email server and the other as web server. This boxes are in orange. i port forward 25,110 to the first server, the ports 80,443 to the second server.

Do i need to setup something in the SME boxes (like DNS, portforwarding, hostnames & addresses)?

Thanks.

Edward

edwardo

2 Sme Box
« Reply #1 on: June 15, 2006, 12:32:42 PM »
I'm really anxious to get answer to this, anybody can help.

This is the setup that i need.


          9.1  |------SME Box 1 (Web server) 192.168.9.2
FW---DMZ-|
                |------SME Box 2 (Mail Server) 192.168.9.3

What will be the configuration to get this done? I tried pointing to IP Addresses, but still didn't work.

Thanks for helping in advance.

Edward

Offline byte

  • *
  • 2,183
  • +2/-0
2 Sme Box
« Reply #2 on: June 15, 2006, 01:19:48 PM »
Have you added both to the local networks in SME?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline andy_wismer

  • *
  • 107
  • +0/-0
    • ANWI-Net
2 Sme Box
« Reply #3 on: June 19, 2006, 11:08:51 AM »
Hi

This setup has some disadvantages, like not being able to use webmail.

As both Servers are in the same local network, they can "see" each other, but do not know about the other.

You must modify the "Hostname and IPAdresses" section in server-manager to add the "other server". Change mail.domainname, www.domainname to point to the right mashine.

No "Ports" are needed to be changed in SME, if SME is in Server only mode.

Regards
Andy

edwardo

2 Sme Box
« Reply #4 on: June 21, 2006, 09:29:31 AM »
Hi,

What if I use routable IP addresses then IP aliasing?

Edward

[/quote]

Offline andy_wismer

  • *
  • 107
  • +0/-0
    • ANWI-Net
2 Sme Box
« Reply #5 on: June 21, 2006, 09:39:58 AM »
Hi

If you use routable ip both can be reached from the outside, but the two servers still have different user databases, meaning you have to create the user on both systems.

Depending on the amount of users, it might be simpler for long term management if you run all services on the same server...

Regards
Andy

edwardo

2 Sme Box
« Reply #6 on: June 21, 2006, 09:58:47 AM »
Hi Andy,

>>Depending on the amount of users, it might be simpler for long term >>management if you run all services on the same server...

You mean use one server for Web/email?

I just use SME for web/email. I only have 30 users for webmail. My server specs:

Dell Poweredge 850 with Dual core processor
1GB RAM
160GB Hard drive

Regards and thank you.

Edward

Offline andy_wismer

  • *
  • 107
  • +0/-0
    • ANWI-Net
2 Sme Box
« Reply #7 on: June 21, 2006, 12:14:01 PM »
Hi

That is more than ample "oompf".

I have a similiar server serving also 25-30 Users, with "Heavy" Mail traffic...

The second server can be used as backup (File save with rsync or so...

Regards

Andy

edwardo

2 Sme Box
« Reply #8 on: June 21, 2006, 01:00:36 PM »
Hi Andy,

Do you know the link or howto to make my other system a backup using rsync. NOt very familiar with rsync. Or any other means to backup.

Thanks

Offline andy_wismer

  • *
  • 107
  • +0/-0
    • ANWI-Net
2 Sme Box
« Reply #9 on: June 21, 2006, 02:55:24 PM »
Hi Edwardo

At one client of mine, I had two "Servers" available, a new HP ML 150 and an older PII/450. The new server is running all services (Mail, Files, Windows PDC). I also setup SME on the older Server, but only with two accounts besides the usual admin/root:

- administrator
- backup-user

I also setup an iBay called "backups", NOT accessible via Internet. PC's map this as drive Y:.

The Administrator User is for a PC which has important Data/Application on it and uses a simple Batch in the "Task-Sheduler" to copy modified files into an approiate subfolder in Y:. You can get a copy of this batch here:

http://www.rootadmin.org/cvsroot/cgi-bin/cvsweb.cgi/System/Batch/Dos-Backup/Backup.bat?rev=1.6&content-type=text/x-cvsweb-markup

For the Linux to Linux (Better: SME 2 SME) I use something like the following:

rsync -avzu --delete -e ssh /var sme-backup-server:/home/e-smith/files/ibays/backups/files/

The second server will be moved soon to another building, the connection between both is via VPN (IPSec on Sonicwall, not SME...).

Both SMEs are in Server-Only Mode.

Using the Crontab Contrib is a nice help.

See the options of RSync before you set this up, especially try the "Show me what rsync would do" option first:

-n, --dry-run               show what would have been transferred

Hope that helps...

YMMV

Regards

Andy