Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-2011, 09:30 AM
Active Member
 
Posts: 31
Default Migrate server, SO and architecture

Hi folks,
I join a new company, and here they use ZCS5.0.6 OSE.
Now i plan to move the zimbra installation to a new hardware, with new Operational System, and to a new architecture.

Actually i have:
- centos 5.0
- ZCS 5.0.6 OSE
- x32 arch

And i have to deploy this:
- Debian 5
- ZCS current edition
- x64 arch
- new hostname
- new ip address

I'm looking on forums for similar cases, but with no luck,
and i hear about problems on hostname changes.

So I'm thinking about use a fresh current version install and use imapsync to move all users inbox (but it came without contacts right, and i know the users love contacts and can't live without that).

So anyone have a idea what i can do? How i can proceed with this scenario ?Anything is very welcome!
thanks and sory about my poor english!!
Reply With Quote
  #2 (permalink)  
Old 01-07-2011, 09:53 AM
Special Member
 
Posts: 113
Default

Zimbra to Zimbra Server Migration - Zimbra :: Wiki
Reply With Quote
  #3 (permalink)  
Old 01-07-2011, 10:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by dougz View Post
Hi folks,
I join a new company, and here they use ZCS5.0.6 OSE.
Now i plan to move the zimbra installation to a new hardware, with new Operational System, and to a new architecture.

Actually i have:
- centos 5.0
- ZCS 5.0.6 OSE
- x32 arch

And i have to deploy this:
- Debian 5
- ZCS current edition
- x64 arch
- new hostname
- new ip address

I'm looking on forums for similar cases, but with no luck,
and i hear about problems on hostname changes.

So I'm thinking about use a fresh current version install and use imapsync to move all users inbox (but it came without contacts right, and i know the users love contacts and can't live without that).

So anyone have a idea what i can do? How i can proceed with this scenario ?Anything is very welcome!
thanks and sory about my poor english!!
As you're moving to a 64bit architecture you will need to follow these instructions: Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki - obviously omit the NE steps if they don't apply to you. You can reset the hostname after you've done the migration with zmsetservername. Obviously throughout this process you need to take adequate backups before and after each step.

I would also suggest that you reconsider your intended distribution for the target server, Debian is deprecated in the next major version of Zimbra. You'll have to migrate to another distribution in the not too distant future so you might as well bite the bullet and do it now.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 01-07-2011, 10:32 AM
Active Member
 
Posts: 31
Default

thanks jummo and phoenix!
i'll follow your instructions.
And i'm sad about not have debian for 7th version, i really like debian

One more question:
To upgrade 5.0.6 to current version, i must install one-by-one all previous versions, or exist some way to install a "cumulative" version?
Thanks
Reply With Quote
  #5 (permalink)  
Old 01-07-2011, 10:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by dougz View Post
One more question:
To upgrade 5.0.6 to current version, i must install one-by-one all previous versions, or exist some way to install a "cumulative" version?
Normally updates are cumulative and contain fixes from previous releases - there is a 'but', you should always check the Release Notes before doing an upgrade as that will list any problems that you may encounter and also any intermediate upgrades you may need to install.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 01-18-2011, 04:11 AM
Active Member
 
Posts: 31
Default

Hi friends,
I followed the steps outlined in how-to named "Moving from 32-bit to 64-bit Server".
But i have some problems at all:

1. Starting zimbra with sucess, but when i check the status:
Code:
[zimbra@paesrv23 ~]$ zmcontrol start
Host paesrv23.mydomain.com
	Starting ldap...Done.
	Starting logger...Done.
	Starting mailbox...Done.
	Starting antispam...Done.
	Starting antivirus...Done.
	Starting snmp...Done.
	Starting spell...Done.
	Starting mta...Done.
	Starting stats...Done.
[zimbra@paesrv23 ~]$ zmcontrol status
Host paesrv23.mydomain.com
	antispam                Running
	antivirus               Running
	ldap                    Running
	logger                  Stopped
		logmysql.server is not running
	mailbox                 Running
	mta                     Running
	snmp                    Running
	spell                   Running
	stats                   Running
[zimbra@paesrv23 ~]$
2. When i try to access webmail i got this:
Code:
HTTP ERROR: 404

NOT_FOUND
RequestURI=/

Powered by jetty://
3. When i try to access via ssl admin panel, i got connection timeout on browser.

4. At mailbox.log i got: (but i have the localconfig.xml step ok)
Code:
java.io.IOException: Keystore was tampered with, or password was incorrect
	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)

I don't know if that is relevant, but i'm not using the same IP address of my old server.
I'm trying to do a "hot" migration, with minimal downtime.

The version is "Release 5.0.6_GA_2313.RHEL5_64_20080522130456 CentOS5_64 FOSS edition"

I'm getting nuts with this, i've been try to fix this without any luck.
Maybe i'm forget to do something, but i follow all steps again and again...

Someone can put some light on this?

Thanks a lot!

Last edited by dougz; 01-18-2011 at 04:16 AM..
Reply With Quote
  #7 (permalink)  
Old 01-18-2011, 04:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

I would guess from the problem in your comment #2 that you have a DNS and/or hosts file problem. Go to the Split DNS and run all the commands in the 'Verify...' section and post the output here. You should also post the output of the following commands:

Code:
su - zimbra
postconf mynetworks
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 01-18-2011, 04:38 AM
Active Member
 
Posts: 31
Default

Thanks for quick reply phoenix,
here is the output:

Code:
[root@paesrv23 log]# dig mydomain.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mydomain.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27722
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;mydomain.com.		IN	MX

;; ANSWER SECTION:
mydomain.com.	3600	IN	MX	10 paesrv23.mydomain.com.
mydomain.com.	3600	IN	MX	5 mail.mydomain.com.

;; AUTHORITY SECTION:
mydomain.com.	3600	IN	NS	192.168.10.2.
mydomain.com.	3600	IN	NS	xxx.xxx.208.2.

;; ADDITIONAL SECTION:
mail.mydomain.com.	3600	IN	A	xxx.xxx.208.23
paesrv23.mydomain.com. 3600	IN	A	192.168.10.25

;; Query time: 0 msec
;; SERVER: 192.168.10.2#53(192.168.10.2)
;; WHEN: Tue Jan 18 10:38:33 2011
;; MSG SIZE  rcvd: 163

[root@paesrv23 log]# dig mydomain.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mydomain.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25180
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;mydomain.com.		IN	ANY

;; ANSWER SECTION:
mydomain.com.	3600	IN	A	192.168.10.1
mydomain.com.	3600	IN	SOA	ccpaedns01.mydomain.com. ns1.mydomain.com. 2011011002 900 600 86400 3600
mydomain.com.	3600	IN	NS	xxx.xxx.208.2.
mydomain.com.	3600	IN	NS	192.168.10.2.
mydomain.com.	3600	IN	MX	10 paesrv23.mydomain.com.
mydomain.com.	3600	IN	MX	5 mail.mydomain.com.
mydomain.com.	3600	IN	TXT	"v=spf1 ip4:xxx.xxx.208.0/26 -all"

;; ADDITIONAL SECTION:
mail.mydomain.com.	3600	IN	A	xxx.xxx.208.23
paesrv23.mydomain.com. 3600	IN	A	192.168.10.25

;; Query time: 0 msec
;; SERVER: 192.168.10.2#53(192.168.10.2)
;; WHEN: Tue Jan 18 10:41:08 2011
;; MSG SIZE  rcvd: 299

[root@paesrv23 log]# host $(hostname)
paesrv23.mydomain.com has address 192.168.10.25
[root@paesrv23 log]# 

[zimbra@paesrv23 conf]$ postconf mynetworks
mynetworks = 127.0.0.0/8 xxx.xxx.208.0/26 10.0.0.0/24
[zimbra@paesrv23 conf]$
Yeah, here you got one problem, mynetworks need to be fixed.
Reply With Quote
  #9 (permalink)  
Old 01-18-2011, 05:00 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You haven't posted the content of your hosts file. I assume from that output that you have two NICs in the server and Zimbra is listening on a public IP & LAN IP?
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 01-18-2011, 05:07 AM
Active Member
 
Posts: 31
Default

Quote:
Originally Posted by phoenix View Post
You haven't posted the content of your hosts file. I assume from that output that you have two NICs in the server and Zimbra is listening on a public IP & LAN IP?
Sorry,
Code:
[zimbra@paesrv23 conf]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1		localhost6.localdomain6 localhost6
[zimbra@paesrv23 conf]$
Yes I have 2 nics on old server, listening on public IP and Lan to internal acess. But on new server, i plan to leave just one public IP (when i promote to production server).
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.