My Hardware
Submitted by admin on Sun, 06/08/2008 - 14:54
I have used this install guide on various other hardware without any problems.
Qty 1 Supermicro SC823T-R500LP, 2U, redundant 500W ps w/ PFC, 6x1" SATA hot swap bays, DVD-RW/Floppy Qty 1 Supermicro PDSME, Intel E7230 chipset, Dual LAN, 2x 64-bit 133MHz PCI-X, 2x 64-bit 100MHz PCI-X Qty 1 Intel Pentium D805 2.66Ghz CPU Qty 2 Kingston KVR667D2N5/512, 512MB 667MHz DDR2 Non-ECC CL5 DIMM Qty 2 Seagate ST380811AS Barracuda 80GB 7200rpm SATA-II 8MB Cache Harddrive Qty 1 Samgoma Remora A200D PCI Card 0 FXS / 8 FXO Ports + Echo Cancellation Low Profile Qty 1 Aastra 57i SIP executive phone Qty 1 Aastra 480iCT SIP executive phone with cordless handset Qty 1 Aastra 55i SIP manager phone Qty 7 Aastra 9133i SIP business phone
Conventions
Submitted by admin on Sun, 09/07/2008 - 12:45
Comments are Arial Italic Linux command line entries are in courier
Software RAID1 CentOS Install
Submitted by admin on Sun, 06/08/2008 - 15:02
For default (non-software RAID) CentOS install skip to the next section.
Close ALL port forwards in the firewall to the server IP we are about to install
Install CentOS from DVD by booting from it. Set system time to UTC.
This procedure assumes your using the GUI install method. For "linux
text" based install it is a bit different and less intuitive. I
recommend using the GUI (default) method.
At the drive setup menu select "Remove all partitions from select drives"
Check the "create custom layout" box>select "next"
At the next menu it will show you the current default configuration. If
it shows ANYTHING beside 2 or more 100% free space drives click on the
LVM and/or partitions and press "delete". All you want right now is 2
or more drives showing 100% free space, no partitions or LVM volumes.
1) At the next menu select RAID>create software RAID partition>ok
Select one of the 2 RAID disks and create boot partition of 100MB check "force to be primary partition"
Repeat and again select the same drive and create size equal to twice the amount of RAM
Repeat and again select the same drive and select "fill to maximum allowable size"
Now you should see one of your two drives with three partitions labelled as type "Software RAID"
2) Now repeat the above procedure EXACTLY the same for your second drive.
Now you should see both drives with 3 equivalent partitions all labelled as type "Software RAID"
Go back to the first drive "root" partition and click "edit" and change
from "fill to maximum allowable size" to "fixed size" and use the same
size as it was before. This is done so that the ordering of the
partitions on both drives (boot=md0, swap=md1, root=md2) are exactly the
same.
3) Now repeat but this time select "create RAID device"
Check the 100MB partition on each drive so you have 2 check marks and select RAID 1, boot, ext3
Now Repeat and select the partition equal to twice the size of your RAM on each of the two drives and select RAID 1, swap
Repeat again and select the root partition on each of the two drives and select RAID 1, /, ext3
We could also create LVM volumes but that is not required for an
Asterisk installation so in my humble opinion it is not recommended and
beyond the scope of this installation procedure.
So now the main menu should show 3 RAID 1 devices corresponding to the 3
identical pairs of Software RAID partitions on the two drives.
It sounds a bit confusing when in writing but when you go through the
GUI and actually do everything it should make a lot more sense.
Now select "Next" twice (using default GRUB bootloader options).
Set static IP, netmask, gateway, DNS server
Set hostname to something like "asterisk.local". If you have multiple
installs it is important to make this hostname unique for each install
so when you get email notifications you will know which PBX is sending
it.
NOTE: If you have 2 ethernet adapters/ports you can make eth0 and eth1
identical except eth0 is active on boot and eth1 is NOT! That way if
one ethernet port ever fails you can quickly make the other port active.
Ensure that all package groups and modules in default and custom install
packages are DE-selected for install (including "base system") so that
only a bare minimal install is done:
For performance and security reasons it is important to update the system immediately after install.
yum -y update
reboot
The following packages also need to be installed with yum:
yum groupinstall core
yum groupinstall base
yum install gcc gcc-c++
wget bison mysql-devel mysql-server php php-mysql php-pear php-pear-DB
php-mbstring nano ntp tftp-server httpd make ncurses-devel
libtermcap-devel sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel php-gd audiofile-devel gtk2-devel
Disable Firewall and SELinux
setup agent
Go to firewall configuration and ensure SELinux and Firewall are disabled
Reboot
reboot
Skip the next section (non-RAID CentOS install) and proceed to the section after that. |