ZCS Administrator's Guide Network Edition 6.0.8
Table of Contents Previous Next Index


Zimbra Archiving and Discovery : Creating Dedicated Archive COS in a Multi-Server Environment

Creating Dedicated Archive COS in a Multi-Server Environment
In a multi server deployment with a dedicated archive server, you create a dedicated archive COS for the server. This COS is set up on the archive server as a dedicated host. The server is removed from the COS server pool so that the archive server is not randomly assigned to new accounts.
You can create the COS from the administration console or from the CLI. Attributes can be configured in the COS to set mailbox features, quotas, and password, turn off spam and virus checks and to hide the archive accounts from GAL. In addition to setting these attributes, you remove the archive server from the COS server pool.
Note: These steps to remove the server from the server pool are not done in a single-server deployment. Creating a dedicated archiving COS is a good idea as this makes it easy to create archive mailboxes that are configured the same.
Using the Administration Console
Create a new dedicated COS configured correctly for your archive accounts. To remove the server from the server pool, in the Server Pool tab deselect the archive server.
Using CLI
To obtaining the zimbra-store server ID of the archive server and the server pool, zimbraMailHostPool ID.
1.
zmprov gs -e <archivestoreservername> zimbraID
The archive store server ID is returned.
 
zmprov gs -e local host.com zimbraID
2.
zmprov gc default zimbraMailHostPool
In this example, the default COS lists three servers, including the archive server.
 
zimbraMailHostPool: 6515ef25-2d56-4cd7-951c-c922g23d6e8e d6b9a0 266e-46ac-a1a5-7391d4763616 d6b9a0 266e-25ca-a1a5-7451d4951616
3.
zmprov mc <cos> zimbraMailHostPool <archiveserver ID>
 
zmprov mc default zimbraMailHostPool 6515ef25-2d56-4cd7-951c-c922g23d6e8e
Repeat this process to remove the archive store server ID from the zimbraMailHostPool in all existing COS
4.
Now create an COS for the archive server. Set the zimbraMailHostPool on a single Zimbra server to only be the archive server ID.
zmprov cc <archivingCOSName> zimbraMailHostPool <archive server ID>
 
Now when you create an archive account and use the archive COS, the account is automatically created on the archive server.
Administering the archive server
The amavisd-new server process controls account archiving as well as antivirus and antispam processes. The zmarchivectl command can be used to start, stop, restart or obtain the status of the amavisd-new server process that controls account archiving. Caution should be taken when starting or stopping the archiving process as it is a shared server process between archiving, antivirus, and antispam processes. Performing actions on any of them affect any of the other services that may be enabled in your deployment.
If you want to disable archiving and not antivirus, or antispam services, disable the respective service either through the CLI or through the administration console.
To disable archiving using CLI, type
zmprov ms <zmhostname> -zimbraServiceEnabled archiving

Zimbra Archiving and Discovery : Creating Dedicated Archive COS in a Multi-Server Environment

Table of Contents Previous Next Index
ZCS Administrator's Guide Network Edition 6.0.8
Copyright © 2010 Zimbra Inc.