Ajcody-Disaster-Recovery-Specific-Notes: Difference between revisions
mNo edit summary |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{BC|Zeta Alliance}} <!-- Note, this will also add [[Category: Zeta Alliance]] to bottom of wiki page. --> | ||
__FORCETOC__ <!-- Will force a TOC regards of size of article. __NOTOC__ if no TOC is wanted. --> | |||
<div class="col-md-12 ibox-content"> | |||
=Ajcody Disaster Recovery Specific Notes= <!-- Normally will reflect page title. Is listed at very top of page. --> | |||
= | {{KB|{{ZETA}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}|}} <!-- Can only handle 3 ZCS versions. --> | ||
{{WIP}} <!-- For pages that are "work in progress". --> | |||
===Actual Disaster Recovery Specific Notes Homepage=== | ===Actual Disaster Recovery Specific Notes Homepage=== | ||
Please see: [[Ajcody-Disaster-Recovery-Specific-Notes]] | Please see: [[Ajcody-Disaster-Recovery-Specific-Notes]] | ||
Line 46: | Line 46: | ||
Please see: [[Network_Edition_Disaster_Recovery#Restoring_to_the_new_server]] | Please see: [[Network_Edition_Disaster_Recovery#Restoring_to_the_new_server]] | ||
====What To Do Or Check==== | ====What To Do Or Check==== | ||
Line 110: | Line 108: | ||
Then try the restore command again. | Then try the restore command again. | ||
{{Article Footer|Zimbra Collaboration 8.0, 7.0|04/16/2014}} | |||
---- | |||
[[Category:Disaster Recovery]] | [[Category:Disaster Recovery]] | ||
[[Category: Author:Ajcody]] | |||
[[Category: Zeta Alliance]] |
Latest revision as of 15:41, 20 June 2016
Ajcody Disaster Recovery Specific Notes
Actual Disaster Recovery Specific Notes Homepage
Please see: Ajcody-Disaster-Recovery-Specific-Notes
Bugs Filed That Might Apply
DR Is Taking A Very Long Time - Too Long
Please see:
- "Improve zmrestore & zmrestoreoffline performance"
- http://bugzilla.zimbra.com/show_bug.cgi?id=33606
- Large mailstores will probably see this as a performance issue when doing the zmrestoreoffline step. In other words, it's taking forever.
- http://bugzilla.zimbra.com/show_bug.cgi?id=33606
Missing accounts.xml File
Please see:
- "accounts.xml file dependency needed for zmrestore"
Multi-server DR / Restore Documentation
Please see:
- "Expand restore recovery documentation to include multi-server configurations"
ZSC to ZSC Online Sync For DR
Please see:
Please add your votes to this RFE!
- "Disaster recovery through server to server sync (beta)"
My Disaster Recovery Failed
Main Reference
Please see: Network_Edition_Disaster_Recovery#Restoring_to_the_new_server
What To Do Or Check
Time Issues
First, make sure your TIME is set right! See Time_Zones_in_ZCS#The_server_OS
Authentication Password Issues
Though I'm still investigating why this is happening for our customers, the root issues seem to be resolved by the following. Some of the auth errors will be logged to /var/log/zimbra.log and /opt/zimbra/log/mailbox.log
Put the output of this command in a text file:
zmlocalconfig -s | grep password
These should match what's in /opt/zimbra/conf/localconfig.xml
Now, compare the passwords with what is in your restore. Put in your path of the restore specific directory.
vi /opt/zimbra/backup/sessions/YOUR_DIR/sys/localconfig.xml
Do a /password or the full variable in vi to see what the old passwords are. You'll need to adjust the following below. Remember to copy a backup.
cp /opt/zimbra/conf/localconfig.xml /opt/zimbra/conf/localconfig.xml.DR
- ldap_postfix_password
- vi /opt/zimbra/conf/localconfig.xml and put in the needed password FROM THE BACKUP.
- ldap_amavis_password
- vi /opt/zimbra/conf/localconfig.xml and put in the needed password FROM THE BACKUP.
- ldap_root_password
- http://wiki.zimbra.com/index.php?title=Resetting_LDAP_%26_MySQL_Passwords Note difference between 4.x and 5.x
- zimbra_ldap_password
- http://wiki.zimbra.com/index.php?title=Resetting_LDAP_%26_MySQL_Passwords Note difference between 4.x and 5.x
accounts.xml file - restore error
mailbox.log or restore command will output errors about
- accounts don't actually get restore though restore command appears to completed without error.
zimbra@xxxx:~/log$ zmrestore -all -rf Error occurred: invalid request: invalid account email address: ll zimbra@xxxx:~/log$ zmrestore -a bdavis@XXXXXXX.com -rf Error occurred: no such account: Account ID for bdavis@XXXXXXXXX.com not found in backup
- no such session backup label errors
com.zimbra.cs.backup.BackupServiceException: backup full-20080920.050014.406 not found: /opt/zimbra/backup/sessions/full-20080920.050014.406 not found ExceptionId:main:1222811246316:7615eea74222489d
If your missing the /opt/zimbra/backup/accounts.xml file, grab it from your saved backup directory or from the backup session your using (/opt/zimbra/backup/sessions/full-XXXXXX/sessions.xml). If you need/want to change the referenced session label in the accounts.xml file - just vi it and use the global search and replace string (:%s/search_string/replacement_string/g).
Errors about mysql or ldap not running
This will most likely be encounter if you have to adjust some items in regards to the restore command not working. Run or confirm the following:
su - zimbra zmconvertctl stop mysql.server start ldap start zmconvertctl start
Then try the restore command again.