Page 1 of 1

user passwords export and import.

Posted: Tue Jan 09, 2007 7:49 am
by Noes
Hello!

I've running a backup script for the users on my Scalix 11.0 GA server. It works great!
The user data will be stored in a usrname.mbox file.
When I create a new server with the users I've got on the old server, I can import the .mbox files. But then I have one problem left.
The users can't login because there personal password is not set on the new server.
Is there any way to get those passwords from the old server?
Our any way that I can export and import those data? I don't want to give the users new passwords.

Thanks for any help!

Greets Niels

Posted: Thu Jan 11, 2007 8:42 am
by ScalixSupport
Hi Neils,

Instead of exporting data for each user and then importing the same data in the new
server. Doing this would create a blank password for all users.

What you can do is replicate your old server to new server:
1. create a tar file for the folder /var/opt/scalix from the old server, make sure you preserve the order/ownership/permissions for the files.
2. uninstall Scalix from the new server if you have already installed, delete mailstore/cache/indexes
3. extract the tar file created from old server in the new server such that the folder /var/opt/scalix gets replicated in the new server as well.
4. Make the hostname/IP for new server same as old server.
5. When you install Scalix on new server, make the mailnode for this server same as that of the old server.
6. Start the installer for Scalix, let the installer search for existing mailstore.

This way the complete Scalix Server would be replicated to the new server.

Please feel free to give in your inputs.

Thanks,
Subir

Posted: Fri Jan 12, 2007 3:19 am
by ScalixSupport
Hi Neils,

There is a change in the steps given in my last post:

1. create a tar file for the folder /var/opt/scalix/<xx>/s from the old server, make sure you preserve the order/ownership/permissions for the files.
2. uninstall Scalix from the new server if you have already installed, delete mailstore/cache/indexes
3. Make the hostname/IP for new server same as old server.
4. Install Scalix on new server, make the mailnode for this server same as that of the old server.
5. Stop Scalix using the command omshut, and extract the tar file in /var/opt/scalix/<xx> folder in the new server.
6. Start Scalix, using the command omrc.

Please feel free to revert. Thanks.
Subir

Posted: Fri Jan 12, 2007 5:24 am
by Noes
Tnx Subir!


Before my post about the import and export of passwords, I've already created a tar file from the "/var/opt/scalix" directory and import that into the new server. It really works!
After that I noticed by using web access that the mail very slow shows up!
When I click on the inbox, sent or any other folder the mails are showed during a long period of waiting!
What can that be?
Is this a know issue?

Greets Niels

Posted: Fri Jan 12, 2007 6:13 am
by ScalixSupport
Hi!

Normally this does not normally happen until, the machines physical capabilities differ in
terms of RAM or the amount of memory allocated to Tomcat, etc

Could you check the value of JAVA_OPTS from the file /opt/scalix-tomcat/bin/setclasspath.sh

This should normally be:
JAVA_OPTS="-server -Djava.net.preferIPv4Stack=true -Xms1024m -Xmx1024m"


What kind of disk configuration are you using on server? (SW-RAID, HW-RAID, Cache, etc)?
Check if the hostname resolution from DNS works fine. Make sure forward and reverse
lookup give appropriate responses.

Thanks,
Subir

Posted: Sun Jan 14, 2007 7:42 am
by Noes
Hey Subir!

We've had this problem on our "test" server.
On this moment is that server used for other applications.
We will try to copy the /var/ops/scalix/xx/s again to a new test server.
We let now you the results of it.

Many thanks!

Greet Niels