my project is about archiving mails from one linux server(main) to another linux server(backup).
this is done. but now i want my users to be able to view the mails again which they have archived.
i m having 3 options:
1 - give url of the cgi script running on backup server which is almost same as that running on main server. that script will be able to display the archived mails of backup server as my main script on main server is doing.
2 - Display the mails using sockets in perl by transfering msgs. and displaying.
3 - Is there a way in perl/cgi to open remote file. i.e. my main script,which is on main server, can access the backup server's file ?
I m confused for which of these ways to go for? Plz help me taking all +points and -points of the prefered approch.
And ya is the 3rd option possible ; if so then how?
Not sure if this will be any use to you. Generally the Perlmonks are the best people for Perl advice, but you seem to be after a design decision rather than a technical question, and I don't think you will find that answer online!
Regarding option 3, is there any reason you cannot nfsmount the files from the backup server? That saves you having to maintain direct web access to the backup system, which is surely a good thing. Information on NFS is in any good Linux manual, which of course as a sysadmin you will have right to hand ;-)
|All times are GMT -5. The time now is 03:49 PM.|