Page 1 sur 1

Copier des bases d'un serveur A vers B pronto!!

MessagePublié: 22 Mars 2007 à 01:50
par JYR
De Bruce Elgort

http://www.bruceelgort.com/blogs/be.nsf ... ELT-6ZHNSX

Wednesday, March 21st, 2007
Recently I needed to make "copies" of some Lotus Notes databases and didn't want to do it from my Notes client. This would have take hours considering the database was 5gb. I knew that there had to be a way to do this and thanks to the assistance of my friend Thomas Gumz, I was able to issue a command line from the Domino server console and presto, the database was instantly copied. Yes, it's not documented nor supported, but has been around for a long time, at least since V4 according to Thomas.

So let's look at what you need to do to enable this feature:

The server console commands are turned off by default, you need to first enable them:

Set this server notes.ini variable, like so:

> set config CLUSTER_ADMIN_ON=1 (even if the server is not a in cluster, doesn't matter).

No need to restart the server, it becomes active immediately.

This enables this new command:

CL COPY sourcedb targetdb

Examples for the CL COPY command:

> CL copy serverA!!db1.nsf serverB!!db2.nsf
This would create a regular non-replica copy of db1.nsf on serverA as db2.nsf on ServerB

> CL copy serverA!!db1.nsf serverB!!db2.nsf REPLICA
This would create a replica copy of db1.nsf on serverA as db2.nsf on ServerB

> CL copy serverA!!db1.nsf serverB!!db2.nsf TEMPLATE
This would create a template copy (only design, no data) of db1.nsf on serverA as db2.nsf on ServerB

> CL copy db1.nsf db2.nsf
This would create a regular non-replica copy of db1.nsf as db2.nsf on the same local server



J'ai fait un test entre 2 serveurs (Copie). 11 giga en 1h05 minutes.

MessagePublié: 30 Avr 2007 à 13:20
par oguruma
en effet... il y a plusieurs facteurs à prendre en compte :
1/ serveur à chaud
2/ vitesse réseau
3/ IOWait server
4/ CPU et Nb processeurs utilisés
5/ Charge du serveur
6/ Nb utilisateurs connectés
7/ Nb Tâches Domino actives
8/ Agents en cours d'exécution

... si je peux me permettre... ;)


Je sais de quoi je parle je suis en plein dans le sujet.. :)

MessagePublié: 30 Avr 2007 à 13:39
par JYR
Ahhhhhhh, c'est pour cela que j'ai eu des NSD! :D

JYR

MessagePublié: 07 Mai 2007 à 23:52
par Macallan
Je l'ai utilisé plusieurs fois et ca fonctionne très bien, pas eu de NSD ;)