ZCS88-zxbackup-Disaster-Recovery: Difference between revisions
Line 21: | Line 21: | ||
When you are ready to reinstall ZCS-88, make sure the /opt/zimbra/ is now mounted.<br> | When you are ready to reinstall ZCS-88, make sure the /opt/zimbra/ is now mounted.<br> | ||
If it's possible, rename your production /opt/zimbra/ directory.<br> | |||
<code><pre> | <code><pre> | ||
./install.sh | mv /opt/zimbra/ mv /opt/zimbraSAVE/ | ||
Now, run the installer as the root user using the software option. | |||
<code><pre> | |||
./install.sh -s | |||
*OR* | *OR* | ||
./install.sh - | ./install.sh --software | ||
</pre></code> | </pre></code> | ||
Revision as of 18:10, 24 August 2017
Scenario I - Single Server
You have been running ZCS-88 using the Next Generation Suite, and you have a dedicated disk for /opt/zimbra/, something like...
/dev/mapper/vg_zcs-lv_root
xxG xxxG xxG xx% /
tmpfs /dev/shm
/dev/sda1 /boot
/dev/sda2 /opt/zimbra/
But something has happened to the server node, effecting the operating system, which will require a reinstall of the operating system, and ZCS-88.
Reinstall the Operating System
When you reinstall the operating system, make sure the disk containing /opt/zimbra/ is not mounted yet.
Reinstall ZCS-88 with Next Generation Modules
When you are ready to reinstall ZCS-88, make sure the /opt/zimbra/ is now mounted.
If it's possible, rename your production /opt/zimbra/ directory.
mv /opt/zimbra/ mv /opt/zimbraSAVE/
Now, run the installer as the root user using the software option.
<code><pre>
./install.sh -s
*OR*
./install.sh --software
During the ZCS-88 Reinstall
You may see the following
The Zimbra Collaboration Server does not appear to be installed,
yet there appears to be a ZCS directory structure in /opt/zimbra.
Would you like to delete /opt/zimbra before installing? [N]
**Make sure to select N so /opt/zimbra/ is NOT removed**
During the reinstall, you will see this dialog prompt; but your Domain will be different.
DNS ERROR resolving MX for test3.zextras.local
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
**Go ahead and select Yes, and enter your domain**
You may, or may not see this following diaglog prompt
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes]
**Go ahead and enter No, and continue**
Now you should be at the Main Menu, and will likely see the following; again your domain will be different
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@zextras.local
******* +Admin Password UNSET
Select 6 and hit Enter
Address unconfigured (**) items (? - help) 6
Now you should see Store configuration be displayed
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@zextras.local
** 4) Admin Password UNSET
Now you should see this at the bottom
Select, or 'r' for previous menu [r]
Make sure to select 2 to change this
2) Create Admin User: yes
To this
2) Create Admin User: no
Now move forward with the reinstall...
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-store: Enabled
7) zimbra-spell: Enabled
8) zimbra-convertd: Enabled
9) zimbra-proxy: Enabled
10) zimbra-imapd: Enabled
11) Default Class of Service Configuration:
12) Enable default backup schedule: yes
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]