Planning for Installation
Hardware Compatibility
Hardware compatibility is particularly important if you have an older system or a system that you built yourself. Baruwa Enterprise Edition 6.6.1 should be compatible with most hardware in systems that were factory built within the last two years.
However, hardware specifications change almost daily, so it is difficult to guarantee that your hardware is 100% compatible.
One consistent requirement is your processor. Baruwa Enterprise Edition 6.6.1 supports, at minimum, all 64-bit implementations of Intel micro-architecture from P6 and onwards and AMD 64-bit micro-architecture from Athlon and onwards.
Supported Installation Hardware
For installation of Baruwa Enterprise Edition on AMD64 and Intel 64 systems, The following installation targets are supported:
- Hard drives connected by a standard internal interface, such as SCSI, SATA, or SAS
- BIOS/firmware RAID devices
- Fibre Channel Host Bus Adapters and multipath devices are also supported. This need to be done under expert mode and Vendor-provided drivers may be required for certain hardware.
The following virtualization technologies are supported:
- Xen block devices on Intel processors in Xen virtual machines.
- VirtIO block devices on Intel processors in KVM virtual machines.
Minimum and Recommended Hardware
The bare minimum system requirements for all in one system are:
- 4GB RAM
- Multicore Intel/AMD 64-bit CPU
- 5 GB OS
- 10 GB Data
The recommended system requirements for all in one system are:
- 8GB RAM
- Multicore Intel/AMD 64-bit CPU
- 5 GB OS
- 100 GB Data
Note
The amount of resources allocated to system is directly related to the amount of email the system will be processing as well as the number of users connected to the web interface. Please scope your system resources based on the projections of email and web traffic.
RAID and Other Disk Devices
Baruwa Enterprise Edition 6.6.1 uses mdraid instead of dmraid for installation onto Intel BIOS RAID sets. These sets are detected automatically, and devices with Intel ISW metadata are recognized as mdraid instead of dmraid. Note that the device node names of any such devices under mdraid are different from their device node names under dmraid. Therefore, special precautions are necessary when you migrate systems with Intel BIOS RAID sets.
Local modifications to /etc/fstab, /etc/crypttab or other configuration files which refer to devices by their device node names will not work in Baruwa Enterprise Edition 6.6.1. Before migrating these files, you must therefore edit them to replace device node paths with device UUIDs instead. You can find the UUIDs of devices with the blkid command.
Hardware Raid
RAID, or Redundant Array of Independent Disks, allows a group, or array, of drives to act as a single device. Configure any RAID functions provided by the mainboard of your computer, or attached controller cards, before you begin the installation process. Each active RAID array appears as one drive within Baruwa Enterprise Edition.
Software Raid
You can use the Baruwa Enterprise Edition installation program to create Linux software RAID arrays, where RAID functions are controlled by the operating system rather than dedicated hardware.
In order to configure software raid you need to select the Expert install option at the boot screen.
Disk Space
Before you start the installation process, you must:
- have enough unpartitioned disk space for the installation
- have one or more partitions that may be deleted
The standard partitioning scheme which is generated when the expert mode is not selected is as follows:
Mount point | Size | FS | Comments |
/ | 5GB | EXT4 | Root partition |
Swap | 3GB | Max size 3GB | |
/var | XFS | Rest of the disk. |
Partitioning scheme
Should you choose to run the install in expert mode, please partition the system to provide the bulk of disk space to the /var partition.
It is advisable to have the /var partition on a standalone partition with a file system that does not limit the number of files such as EXT4 and XFS.
Note
There is no need to create a /home partition for this system, as no home directories will be created. The default partition scheme does create a /home partition with the largest allocation, you need to change that.
Network Firewall
Baruwa Enterprise Edition requires the following ports open to allow for proper functioning.
PORT | PROTOCOL | DIRECTION | DESCRIPTION |
25 | TCP | INBOUND/OUTBOUND | SMTP TRAFFIC |
465 | TCP | INBOUND | TLS SMTP TRAFFIC |
587 | TCP | INBOUND | SMTP SUBMISSION |
80 | TCP | INBOUND/OUTBOUND | WEB TRAFFIC |
443 | TCP | INBOUND/OUTBOUND | WEB TRAFFIC |
53 | TCP/UDP | OUTBOUND | DNS TRAFFIC |
123 | UDP | OUTBOUND | NTP TRAFFIC |
2703 | TCP | OUTBOUND | RAZOR TRAFFIC |
24441 | TCP/UDP | OUTBOUND | PYZOR TRAFFIC |
873 | TCP/UDP | OUTBOUND | UPDATES TRAFFIC |
DNS
DNS is critical for the operation of any email system, Baruwa Enterprise Edition is no exception.
A local caching server is installed and setup after the configuration has been completed. This local caching server is independent of your other DNS systems and resolves from the root. If your DNS zones are not resolvable externally then this local caching system will not be able to resolve those names. To enable you resolve names that are only configured locally on your other DNS systems you need to add forward zones for those domains in the /etc/named.conf file and restart the service.
Baruwa Enterprise Edition is designed to use this local caching server, any changes to the /etc/resolv.conf file to use external DNS servers will be overwritten.
The use of public DNS servers such as Google, OpenDNS or your ISP’s name servers is discouraged as these servers will be throttled by URIBL and DNSBL servers thus leading to poor performance of your system.
If however you would like to use you own DNS infrastructure that does not process excessive URIBL and DNSBL queries then, you can setup forwarding to your name servers in the /etc/named.conf file and restart the service.
Clustering
If you would like to setup a cluster system, please review the Clustering chapter then, review the supported Topologies and the available System Profiles and choose which ones to implement prior to starting the installation.
The recommended installation order for distributed topologies is:
- Database System
- Search Index System
- Message Queue System
- Cache System
- Nodes
System Profiles
Baruwa Enterprise Edition can be installed on a standalone server or distributed with various components on different servers. A distributed setup is required if you want to run a cluster.
The available system profiles are described below.
Standalone System
This is the default setup and is used for non clustered setups. All the components are installed on one server. Choose this option if you only want to run one server.
Backend System
This setup installs all the backend components on to one server, the backend components that are installed are:
- Database Server
- Message Queue Server
- Search Index Server
- Cache Server
This setup can be used with a clustered setup of several nodes. You have to setup one server as a backend system in a basic cluster setup.
Web and Mail System
This is a frontend system it provides the mail and web interfaces, mail is delivered to the server and at the same time it serves as the web interface for both administration as well as end user access. This system requires a backend system or distributed backend systems. You can have several of these nodes scaling up or down as demand grows or drops.
Mail System
This is a front-end system that is dedicated to processing mail, it does not provide a web interface for administration as well as user access. You setup this kind of system if you want dedicated servers processing mail only. You can have several of these nodes scaling up or down as demand grows or drops.
Web Interface System
This is a front-end system that is dedicated to providing web interface access for administration as well as user access. You setup this kind of system if you want dedicated servers providing only web access. You can have several of these nodes scaling up or down as demand grows or drops.
Search Index System
This is a backend server in a distributed system, it provides the backend indexing functionality. You setup this profile if you want a dedicated server providing search indexing.
Database System
This is a backend server in a distributed system, it provides the backend database functionality. You setup this profile if you want a dedicated server providing database functionality.
Message Queue System
This is a backend server in a distributed system, it provides the message queue functionality. You setup this profile if you want a dedicated server providing message queue functionality.
Cache System
This is a backend server in a distributed system, it provides the cache functionality. You setup this profile if you want a dedicated server providing cache functionality.
Expert installation
This profile is for users would would like to setup the system by themselves, only use this if you know what you are doing.