
|
View Full Version : Co-ordinating Two Servers between different providers?
AbbasJaffarali 04-28-2002, 02:11 PM I have a Windows 2000 server with Pegasus and a Linux one with Rackshack. I was wondering if I could communicate and share data between the two.
For instance, Windows has some very good log analyzing programs like LiveStats that I would like to use for analyzing the data off my linux server.
Also, I have MDaemon setup on that Windows machine and I would prefer to have my email for the linux domain delivered on the Windows 2000 server.
Is that possible? How would I go about handling these changes?
Thanks
Abbas
jayglate 04-28-2002, 03:45 PM It isn't that hard. Livestats i belive can ftp the data over from the linux box and you can process it on the nt box. Also the mail part is all about the MX records in your DNS servers
AbbasJaffarali 04-28-2002, 05:09 PM Hey Jason,
I went thru some documentation for live stats and it says that if I want to analyze logs on another machine, I need to have access to that machine thur UNC in Windows. Nothing mentioned about FTP. Any ideas??
As for mail, Rackshack is acting as a DNS, but I do have a RaQ server that does DNS for quite a few of my domains. Do I simply point the "A" record to the IP of the site's machine and the MX record to the IP of the MDaemon machine?
Thanks
Abbas
drewnick 04-28-2002, 05:16 PM Let us know what you find out about Livestats. I am curious as to how that comes out. I have needs for a similar solution.
DN
meballard 04-28-2002, 07:07 PM To point the DNS to another machine, you probably have to do it on your own DNS, but you need to point the MX record to an A record, but the A record can be for your other domain. Most typically the way it would be done is (assuming 192.168.0.1 is the RS server and 192.168.0.2 is the Windows server and domain1.com is assigned to the Linux box, in the zone for domain1.com):
mail IN A 192.168.0.2
IN MX mail.domain1.com.
I do believe there is a version of rsync for windows, you could potentially use Rsync to transfer the log files between the servers.
AbbasJaffarali 04-29-2002, 03:05 AM Thanks meballard. I'll try the rsync. Sounds useful.
As far as the DNS issue goes, I'm hoping you could help me with it a bit more. Here's how I have it currently setup
1) My RaQ server handles the DNS for all my domains which are on the RaQ server as well as the Windows Server
2) There one more server I have which is an Ensim server that only hosts one domain and the DNS setup for that is thru Rackshack.
Now, I need to move the mail for this lone server to Windows. And I guess I need to shift the DNS from Rackshack to my own RaQ server as that will allow me some flexibility. I do have a couple of free IPs available on the Windows Server and thus I could use a dedicated IP just for the mail.
How would I go about setting that up on the RaQ's DNS? It lets me create "Address A Record", "Reverse Address PTR Record", "Mail Server MX Record" and "Alias C Name Record"
Do I create an "Address A record" and point it to the IP of the linux server thats hosting the site and then create a "Mail Server MX Record" and point it to a free IP on the Windows Server?
Thanks
Abbas
meballard 04-29-2002, 04:19 AM Do I create an "Address A record" and point it to the IP of the linux server thats hosting the site and then create a "Mail Server MX Record" and point it to a free IP on the Windows Server?Almost, after setting up the domain for normal usage (pointing to the Linux server), but with no MX records, create an A record for a subdomain, say mail, that points to the Windows server, and then create a MX record that points to the subdomain you just created as an A record.
So say you create mail.mydomain.com as an A record to the mail server, you would then create a MX record pointing to mail.mydomain.com .
AbbasJaffarali 04-29-2002, 04:22 AM Originally posted by meballard
So say you create mail.mydomain.com as an A record to the mail server, you would then create a MX record pointing to mail.mydomain.com .
Got it. But would that mean that every user will have to change their email address from user@domain.com to user@mail.domain.com?
Thanks
Abbas
meballard 04-29-2002, 03:38 PM No, the only reason for the creation of the mail.domain.com A record is that all MX records must point to a valid A record to work properly, but it doesn't change where the email is being sent to (as the MX record is for domain.com, not mail.domain.com, it just points to mail.domain.com).
AbbasJaffarali 04-29-2002, 04:32 PM Originally posted by meballard
No, the only reason for the creation of the mail.domain.com A record is that all MX records must point to a valid A record to work properly, but it doesn't change where the email is being sent to (as the MX record is for domain.com, not mail.domain.com, it just points to mail.domain.com).
Thanks for the help. I'm gonna try what you described this weekend.
I'm now trying to unterstand how rsync works betweem a Windows and Unix machine but its really making no sense. Do I need to "enable" something on the linux server?
Thanks
Abbas
mattan 04-29-2002, 07:06 PM ..but where can one find a copy of rsync for windows??
thanks
This is where I found a copy... looks pretty neat!
http://optics.ph.unimelb.edu.au/help/rsync/
dynamicnet 04-29-2002, 08:01 PM Greetings:
I'm not sure if there is an rsync for Windows. However, if there is not, then yo could most likely use CygWin (http://www.redhat.com/software/tools/cygwin/) along with a Linux-based version of rsync.
Thank you.
|