I am running a Zimbra 7.2.1 server on a CentOS 6 64bit virtual machine under ESXi 5.0. I am trying to migrate to a new Zimbra 7.2.1 install on another CentOS 6 64bit virtual machine on the same ESXi 5.0 box. Our reasoning for this is that we have created a different partitioning scheme on the new VM. We will say the ESXi is mail.example.org.
There are some issues I am running into however. All the accounts have been pre-provisioned on the new server, but, when I try to perform the migration I receive this error:
The source server portion of the migration runs fine prior to this, it just seems that communication with the target server cannot occur. Both VM's have the hostname mail.example.org, but I am using IP addresses in my zmztozmig.conf file, so that *shouldn't* (I could be blatantly wrong) cause issues. Here is my zmztozmig.conf file:Code:[INFO|main:1| 11/07/2012 11:07:27]: Request URL: https://192.168.1.152:7071/service/admin/soap 7-Nov-2012 11:07:48 AM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post SEVERE: SAAJ0009: Message send failed [SEVERE|main:1| 11/07/2012 11:07:48]: AuthenticateToZCS javax.xml.soap.SOAPException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed [SEVERE|main:1| 11/07/2012 11:07:48]: ------ com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148) at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:171) at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:147) at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:91) at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:149) at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:584) at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:803) Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:279) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144) ... 6 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:395) at sun.net.www.http.HttpClient.openServer(HttpClient.java:530) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236) ... 7 more CAUSE: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:279) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144) at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:171) at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:147) at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:91) at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:149) at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:584) at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:803) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:395) at sun.net.www.http.HttpClient.openServer(HttpClient.java:530) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236) ... 7 more CAUSE: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:395) at sun.net.www.http.HttpClient.openServer(HttpClient.java:530) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144) at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:171) at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:147) at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:91) at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:149) at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:584) at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:803) ------ [INFO|main:1| 11/07/2012 11:07:48]: AUTH_REQUEST: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><nsg:context xmlns:nsg="urn:zimbra"/><name:userAgent xmlns:name="ZimbraProvisioningTool"/><type:format xmlns:type="xml"/></SOAP-ENV:Header><SOAP-ENV:Body><nsg:AuthRequest xmlns:nsg="urn:zimbraAdmin"><name>root</name><password>*****</password><virtualHost>mail.example.org(192.168.1.149)</virtualHost></nsg:AuthRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> [SEVERE|main:1| 11/07/2012 11:07:48]: Error: Destination Server(192.168.1.152)Authentication Failed [INFO|main:1| 11/07/2012 11:07:48]: ****************SUMMARY************************** [INFO|main:1| 11/07/2012 11:07:48]: Total Accounts processed : 0 [INFO|main:1| 11/07/2012 11:07:48]: Successfull Accounts : 0 [INFO|main:1| 11/07/2012 11:07:48]: Failed accounts : 0 [INFO|main:1| 11/07/2012 11:07:48]: Total Migration Time(seconds) : 0.0 [INFO|main:1| 11/07/2012 11:07:48]: *************************************************
I believe this is also related. After setting up the port forwarding to go to the private IP of the new server, I try to access the admin console (https://mail.example.org:7071) and receive a timeout error. If I change the port forwarding to point to the old server's public IP and access https://mail.example.org:7071, I get into the console without issue. I'm wondering if there is some conflict because they are the same hostname and are on the same ESXi server? I can SSH in to either server using public ports mapped to port 22 and each individual server IP without issue.Code:[root@mail /]# cat /opt/zimbra/conf/zmztozmig.conf # Configuration file for zmztozmig with all necessary settings # #Source ZCS server IP/name,admin user name and password, server port SourceZCSServer=192.168.1.149 SourceAdminUser=root SourceAdminPwd=******** SourceAdminPort=7071 # #Destination/Target ZCS server IP/name,admin user name and password, server port TargetZCSServer=192.168.1.152 TargetAdminUser=root TargetAdminPwd=******** TargetAdminPort=7071 # #Change ZimbraMailTransport after successful migration #ZimbraMailTransport=smtp:mta.zcs.mail.mydomain.com # #Threads to run simultaneously Threads=1 # #Specify directory for mailbox download WorkingDirectory=/opt/zimbra/data/zmztozmig/work # #Specify directory to contain failed mailbox tar files FailedDirectory=/opt/zimbra/data/zmztozmig/fail # #Specify directory to contain successfully migrated mailbox tar files, if KeepSuccessFiles=TRUE SuccessDirectory=/opt/zimbra/data/zmztozmig/success # #Specify directory to contain logs LogDirectory=/opt/zimbra/data/zmztozmig/logs # #Do you want to keep tar mailbox files after successful migration- TRUE/FALSE KeepSuccessFiles=TRUE # #Specify the comma separated list of item types to be migrated. For complete mailbox migration, comment it. #types can have following parameters - message,conversation,contact,appointment,task,wiki,document #types=message,conversation,contact,appointment,task,wiki,document # #resolve can have skip (ignores duplicates),modify (update older items), #reset (delete the old subfolder (or entire mailbox if /)) or replace (replace the existing items) values. #Only one value at a time as these parameters are mutually exclusive. #resolve=skip # #Specify Domain map - (DomainMap= From_domain To_Domain) #DomainMap=zcs1.example.com zcs2.example.com #DomainMap=google.com yahoo.com #Domains to migrate in case of Accounts parameter is set to "all" #Domains=zcs1.example.com,zcs2.example.com # #List accounts to be migrated. Accounts should be comma (',') separated. Use 'all' to get #all accounts from source server.Domains parameter must be defined to list the domains to be #migrated. Accounts=all Domains=example.org
I can't bring down the old server as it is an active email server for a client.
Any ideas on what might be keeping this migration from working?


LinkBack URL
About LinkBacks

