US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 06-25-2008, 03:37 PM   #1
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default Transfer accounts between servers with Ispmanager: Import-user

We have to transfer some accounts (imagine that we have to transfer ACCOUNTM from SERVERA to SERVERB).

We don't want to loose any email, any log of webstats, any database update so... what is the better way to do it?

We would like to convert that thread in a how to transfer acounts.

1) 48 hours before transfer the account
Reduce TTL (Time To Live) of the ACCOUNTM at SERVERA
vi /etc/namedb/zones/ACCOUNTM
Change "$TTL 3600" to "$TTL 300"
Restart namebd ("rndc reload")

2) Go to destination server (SERVERB) and fill the Import User fields.
After the "ImportUser" is done from the remote, at SERVERB set for that user/site:
* IP on the new server
* DNS servers on the new server

3) Go to SERVERA and modify main IP for the site/user transfered to the new IP

Questions about that process:
Could be sure with that method that no email will be left on old server (SERVERA)?

Feel free to complete/modify/improve our howto.

--------------------------------------------------------------------------------
Some more comments about "Import User" feature:
https://SERVER/manager/ispmgr?func=h...=backup.import
"Location - you can choose the location of user's data backup (Use Backup option to create a backup)" -> does that option exists?

There is a little translation mistake here (english version):
https://SERVER/manager/ispmgr?func=h...=backup.import
"Пароль - access assword to the control panel on the remote server." would be
"Password - access password to the control panel on the remote server."

"Passwords from SASL-bases will not be moved. So, you will probably have to change your mailbox users' passwords via the control panel."
I think that now it works with SASL passwords

Feature that we talk some months ago will be really useful:
http://forum.ispsystem.com/en/showthread.php?t=208
--------------------------------------------------------------------------------

Have a nice day.
bakon is offline   Reply With Quote
Old 06-26-2008, 04:26 AM   #2
Senior Member
 
Join Date: Jun 2007
Posts: 105
Wishmaster is an unknown quantity at this point
Default

Quote:
Originally Posted by bakon View Post
3) Go to SERVERA and modify main IP for the site/user transfered to the new IP

Questions about that process:
Could be sure with that method that no email will be left on old server (SERVERA)?
No mail will be lost during this transition; however some mail may still be delivered to your old mail system until DNS cache update

Quote:
Originally Posted by bakon View Post
Some more comments about "Import User" feature:
https://SERVER/manager/ispmgr?func=h...=backup.import
"Location - you can choose the location of user's data backup (Use Backup option to create a backup)" -> does that option exists?
create a new user and log in using his name and password. this makes data recovery options available to you

Last edited by Wishmaster; 06-26-2008 at 04:31 AM.
Wishmaster is offline   Reply With Quote
Old 06-27-2008, 05:02 PM   #3
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default More on Import-User with Ispmanager

Quote:
Originally Posted by Wishmaster View Post
No mail will be lost during this transition; however some mail may still be delivered to your old mail system until DNS cache update
We suppose that emails won't be lost, but perhaps not all emails will be received especially on large accounts, where Import-User will work for some minutes...
We want all emails/data on database beeing updated to new server SERVERB.
If not, how could we really have updated emails/databases?

Some ideas to solve/improve that issue (does they work?):
1) Set DNS entries on SERVERA of that user to SERVERB before doing the "Import-User"
Posible problem: if an email is received while ImportUser is beeing done, then email will be returned (failed).

2) After the "Import-User" at SERVERB, then set dns entries on SERVERA to SERVERB, and execute again the "Import-User", in order to receive again the data from SERVERA while transfer is beeing done.
Posible problem: Does the second "Import-User" delete all data recevied at SERVERB? So if any email has been received at SERVERB it will be deleted!!!

Any idea or way to do it better?
Thank you.
bakon is offline   Reply With Quote
Old 06-30-2008, 05:06 AM   #4
Senior Member
 
Join Date: Jun 2007
Posts: 105
Wishmaster is an unknown quantity at this point
Default

User Import does not delete anything. It makes a user copy on another server.
Wishmaster is offline   Reply With Quote
Old 07-01-2008, 09:11 AM   #5
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default More about "ImportUser"

Quote:
Originally Posted by Wishmaster View Post
User Import does not delete anything. It makes a user copy on another server.
We want to say "overwrite" rather than "delete" (emails received at SERVERB will be overwrite (lost) if we do again a ImportUser SERVERA to SERVERB):
------------------------------------------------------------------
2) After the "Import-User" at SERVERB, then set dns entries on SERVERA to SERVERB, and execute again the "Import-User", in order to receive again the data from SERVERA while transfer is beeing done.
Posible problem: Does the second "Import-User" overwrite all data received at SERVERB? So if any email has been received at SERVERB it will be lost!!!
------------------------------------------------------------------

The idea of writing that post is that developers of Ispmanager explain detailed how to use the features of their software, the benefits of licesing Ispmanager rather than another control panels on the market, and to demostrate how are done an important thing like "transfer account" from one server to another.
We really hope that the howto was made by Ispmanager developers, so we can discuss about that and all users and clients see the benefits of that soft.

I thing that it could benefit Ispsystem and all their clients.
bakon is offline   Reply With Quote
Old 07-09-2008, 09:37 PM   #6
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default

Any update on that topic?
Any Ispmanager developer or techinican that could add more light on that feature?

Thank you.
bakon is offline   Reply With Quote
Old 07-11-2008, 09:02 AM   #7
Junior Member
 
Join Date: Feb 2008
Posts: 3
redchrom is on a distinguished road
Default

if i got it right you want more detailed description of ISPmanager modules and backup particularly. so i can assure you that we have the screencasts coming in for the next releases.
redchrom is offline   Reply With Quote
Old 07-12-2008, 06:18 PM   #8
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default

Quote:
Originally Posted by redchrom View Post
if i got it right you want more detailed description of ISPmanager modules and backup particularly. so i can assure you that we have the screencasts coming in for the next releases.
No.
Please read again all what we tell detailed and you will understand.
If something is not clear, we could detail it more.
bakon is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:32 AM.