R5 win -> R85 linux migration

Hallo to all!

We have to migrate our Lotus Domino domain from R5.0.11 to R8.5.

This is the actual configuration:

SERVER1: (Internal LAN) Lotus Domino 5.0.11 over Win2000 server with mail routing & domino apps, this is the first server.

SERVER2: DMZ Lotus Domino 5.0.11 over REDHAT 7.2 for mail gateway to internet and pop3 service for external users who’s mail file are replicatd

We want to setup two new vmware virtual machine with CentoS 5.4 and replicate the old architecture.

I’m looking for the best way to do this:

  1. Upgrade SERVER1 and all the mailfile, then replicate to the new server?

  2. Make a new clean installation of Domino 85 then replicate the configurations?

Thank’s in advance!

Marco

Subject: R5 win → R85 linux migration

Marco

I would upgrade then replicate or move user to the new server… But then that is me talking…

Couple of things I might discuss…

1- Why not go to 8.5.1 and avoid the bugs of 8.5?

2- If moving to or upgrading on Linux, you may want to delete all the FT files before you restart the server… I just did one and it gave me quite a bit of hell…

3- Domino with user files on DMZ? While this works, it is not someting I would consider… Not before considering any VPN solution or even consier Lotus Mobile Connect.

Subject: R5 win → R85 linux migration

Jacques,Thank’s for reply.

Probably i will install 8.5.1 at the end.

could this be a good way?

  • in the intranet
  1. upgrade actual server (win)R5011 → R851

  2. install new server R581 (linux) as secondary server

  3. replicate all databases and mailfiles

  4. shutdown old server

  • in DMZ
  1. shutdwon old server R5011 linux

  2. setup a new server R851 linux

  3. replicate mailfile for external users

Our users doesn’t use Lotus Notes, just pop3 client or webmail, and i don’t like to give external access to the intranet.

Subject: First steps done

Finnally i installed the domino R851 on linux as secondary server in our R5 Domain.It seems work fine, i can start it up in this way:

  1. logon as root

  2. open a shell and do “su domino85” (domino85 is my linux user)

  3. cd /usr/local/notesdata

  4. /opt/ibm/lotus/bin/server

Then in the shell i can see the domino console.

I’m tryng to daemonize the server using the script in /etc/inid.d/domino it looks like domino is started but it doesn’t work, probably because the server.id require a password?

The last question… how could i move the mail databases from R5-win to R851-linux?

by replica or copying via filesystem?

And after the copy, i have to refresh design?

Thank’s again,

Marco.

Subject: Startup script ok!

Hi,The startup script problem was due to the password setted in server.id, now domino server starts-up at system startup.

Now i’m tryng to figure how to move mail files to the new server.

Made a try with a dummy user.

1)replicate mailbox to the new server

2)replaced the design

3)modified the person record to have the R851 server as mail server.

It seems to work!

  • can send and receive mail from other user…

now i will try to copy other mailfiles…

Subject: Startup script

Marco,Would you mind posting the contents of your startup script?

Thanks!

Subject: of course!

But i’ve just copy&paste to my server :-)================================================

#!/bin/sh

chkconfig: 345 95 5

description: questo script è usato per attivare il server Domino come processo in background

Usare /etc/init.d/domino start|stop|status|restart

Questo script prende spunto dallo script originale di IBM, con alcune personalizzazioni

le 3 variabili descritte di seguito devono essere impostate in base all’installazione dell’ambiente.

DOM_HOME è la variabile che indica allo script dove è situata la notesdata

DOM_HOME=/usr/local/notesdata

DOM_USER è l’account Linux usato per far girare il server Domino

DOM_USER=domino85

DOM_PROG è il folder dove sono situati gli eseguibili di Domino

DOM_PROG=/opt/ibm/lotus/bin

Source function library

. /etc/rc.d/init.d/functions

Set the prog variable for the status line of the code

prog=$DOM_PROG/server

Does the lock file exist?

config () {

            if [ -f $DOM_HOME/.jsc_lock ]; then

                           rm -f $DOM_HOME/.jsc_lock

            fi

}

Start del server

start() {

            echo -n "Starting Domino server: "

            config

            cd $DOM_HOME

            su - $DOM_USER -c "$DOM_PROG/server  > /dev/null 2>&1 

&"

            sleep 5

            return 0

}

Stop del server

stop() {

            echo -n "Stopping Domino server: "

            su - $DOM_USER -c "$DOM_PROG/server -q"

            echo ''

            sleep 5

            return 0

}

Restart del server

restart() {

            echo -n "Beginning restart script..."

            su - $DOM_USER -c "$DOM_PROG/server -q"

            echo ''

            sleep 5

            echo -n "Starting Domino Server..."

            config

            cd $DOM_HOME

            su - $DOM_USER -c "$DOM_PROG/server > /dev/null 2>&1 &"

            sleep 5

            echo ''

}

case “$1” in

start)

            start

            ;;

stop)

            stop

            ;;

restart)

            restart

            ;;

status)

            status $prog

            ;;

*)

            echo "Usage: domino {start|stop|status|restart}"

            exit 1

esac

=============================

Subject: 8.5.1 and Lotus Mobile Connect

Hi Marco

I like upgrading in place no matter how many servers. I know, some people will not recommend it but the reason I like it is that you separate the issues… 1 you upgrade and 2, you move. The other way, you have to do both at the same time…

In my book, who cares how many servers you have for a short period of time… At least, you do not have to worry about 2 things at the same time.

I would not replicate manually. Like I said before, there is a function in Domino to move users and get everything modified at the same time (including location documents on the users). It is very painless and will save you lots of aggravation. Test it on yourself. Right Click your user doc in the address book and select “Move to Another server”… Adminp will take care of the rest.

I am still puzzled as to why you want to put a server with mailfiles in the DMZ. This is something I would not consider doing. You really should consider Lotus Mobile Connect. It is very secure and easy to configure and manage.

Jacques