King0770-Notes-NG Modules

Revision as of 18:44, 16 April 2020 by King0770 (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Move Account to another zimbraMailHost (MultiNode)

Suggested steps



1) Be aware of the user's original zimbraMailHost

zmprov ga user@example.com zimbraMailHost zimbraMailTransport

2) From the original zimbraMailHost check the account backup history

zxsuite backup getAccountInfo user@example.com

If needed, do a fresh backup of the account.

zxsuite backup doAccountScan user@example.com

3) From the original zimbraMailHost check its blob integrity

zxsuite hsm doCheckBlobs start mailbox_ids 4

use zmprov gmi <account address> to find the account mailbox_id
You may see output similiar to this...

        operationId                                         74a19f95-dd33-460f-ad35-eacc84c5313f
        server                                              mbox1.example.local
        log path                                            /opt/zimbra/log/op_CheckBlobs_74a19f95-dd33-460f-ad35-eacc84c5313f.log

Review the op_CheckBlobs_$operation.log file.

If there are missing blobs, use the missing_blob_delete_item option.

zxsuite hsm doCheckBlobs start mailbox_ids 4 missing_blob_delete_item true

The rationale is make sure the account is as 'clean' as possible.

4) Next, use the doMailboxMove command to move the account from the original zimbraMailHost

zxsuite hsm doMailboxMove mbox2.example.local accounts user@example.com

5) In my testing, I had found I needed to restart the memcache service from my mailbox nodes after the mailbox move.

zmmemcachedctl restart

After the mailbox move, I restarted my proxy service from the proxy node.

zmproxyctl restart

6) Double check zimbraMailHost after the move

zmprov ga user@example.com zimbraMailHost zimbraMailTransport

7) Optional: Purge the account data from the original server

zxsuite hsm doPurgeMailboxes all ignore_retention true

NG Backups

More articles written by me, https://wiki.zimbra.com/wiki/King0770-Notes

Jump to: navigation, search