ZCS88-zxbackup-Disaster-Recovery: Difference between revisions

Line 35: Line 35:
</pre></code>
</pre></code>


====<font size="5">During the ZCS-88 Reinstall</font>====
====<font size="5">During the ZCS-88 Software Reinstall</font>====
You may see the following<br>
Observe at the end of the software install, you will see the following<br>
<code><pre>
<code><pre>
The Zimbra Collaboration Server does not appear to be installed,
Running Post Installation Configuration:
yet there appears to be a ZCS directory structure in /opt/zimbra.


Would you like to delete /opt/zimbra before installing? [N]
Software Installation complete!


**Make sure to select N so /opt/zimbra/ is NOT removed**
Operations logged to /tmp/install.log.SviTipi8
</pre></code>
</pre></code>


During the reinstall, you will see this dialog prompt; but your Domain will be different.<br>
Now observe, you have two zimbra directories<br>
<code><pre>
<code><pre>
DNS ERROR resolving MX for test3.zextras.local
drwxr-xr-x  30 root root 4096 Aug 24 14:29 zimbra
It is suggested that the domain name have an MX record configured in DNS
drwxr-xr-x  30 root root 4096 Aug 17 13:20 zimbraSAVE
Change domain name? [Yes]
 
**Go ahead and select Yes, and enter your domain**
</pre></code>
 
You may, or may not see this following diaglog prompt<br>
<code><pre>
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes]
 
**Go ahead and enter No, and continue**
</pre></code>
 
Now you should be at the Main Menu, and will likely see the following; again your domain will be different<br>
<code><pre>
  6) zimbra-store:                           Enabled                     
        +Create Admin User:                    yes                         
        +Admin user to create:                 admin@zextras.local         
******* +Admin Password                        UNSET 
</pre></code>
 
Select 6 and hit Enter<br>
<code><pre>
Address unconfigured (**) items  (? - help) 6
</pre></code>
</pre></code>


Now you should see Store configuration be displayed<br>
Since the software install had created the /opt/zimbra/ directory, lets move it out of the way<br>
<code><pre>
<code><pre>
Store configuration
mv /opt/zimbra/  /opt/zimbraSOFTWARE_INSTALL/
 
  1) Status:                                  Enabled                     
  2) Create Admin User:                      yes                         
  3) Admin user to create:                    admin@zextras.local         
** 4) Admin Password                          UNSET                       
</pre></code>
</pre></code>


Now you should see this at the bottom<br>
Now, lets put our production directory back into place<br>
<code><pre>
<code><pre>
Select, or 'r' for previous menu [r]
mv /opt/zimbraSAVE/  /opt/zimbra/
</pre></code>
 
Make sure to select 2 to change this<br>
<code><pre>
2) Create Admin User:                      yes 
</pre></code>
 
To this<br>
<code><pre>
2) Create Admin User:                      no    
</pre></code>
 
Now move forward with the reinstall...<br>
<code><pre>
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]
</pre></code>
</pre></code>

Revision as of 18:21, 24 August 2017

ZCS 8.8 Article ZCS 8.8


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 Software Reinstall

Observe at the end of the software install, you will see the following

Running Post Installation Configuration:

Software Installation complete!

Operations logged to /tmp/install.log.SviTipi8

Now observe, you have two zimbra directories

drwxr-xr-x  30 root root 4096 Aug 24 14:29 zimbra
drwxr-xr-x  30 root root 4096 Aug 17 13:20 zimbraSAVE

Since the software install had created the /opt/zimbra/ directory, lets move it out of the way

mv /opt/zimbra/   /opt/zimbraSOFTWARE_INSTALL/

Now, lets put our production directory back into place

mv /opt/zimbraSAVE/   /opt/zimbra/
Jump to: navigation, search