Operating System - Linux
1748108 Members
4873 Online
108758 Solutions
New Discussion юеВ

Re: Step by Step procedure needed to configure a Linux Server

 
SOLVED
Go to solution
txtraz
Advisor

Step by Step procedure needed to configure a Linux Server

Hi,
I'm in big troube. I want to configure a mail server in RHEL-5. i've two types of HDD. 1.(2 X 250GB) and 2. (3 X 1TB). I want to configure 1st two HDD as RAID-1 and Other will be RAID-5. I want to use 1st two HDD(RAID-1)for OS and rest of three HDD (RAID-5) will be used for caching. please help me how can i configure the server.

Please send me the Step by step procedure.

Thanks.
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: Step by Step procedure needed to configure a Linux Server

> Please send me the Step by step procedure.

Please send me large quantities of money.
Roman Schmidt
Frequent Advisor

Re: Step by Step procedure needed to configure a Linux Server

Steven E. Protter
Exalted Contributor

Re: Step by Step procedure needed to configure a Linux Server

Shalom,

You should start with http://www.sendmail.org

There are alternatives to sendmail, but sendmail can be made secure and do the job.

Disk layout depends on what type of server and disk array.

Note though that you can not boot off a raid 5 configuration, you need at least one disk outside any raid 5 configuration to boot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Towers
Occasional Advisor

Re: Step by Step procedure needed to configure a Linux Server

As we're on the HP forums is it allowed to suggest that something like a Proliant has raid hardware that will abstract this tricky RAID configuration thus avoiding any operating system juggling and all you need to arrange is the monitoring.

I look after hundreds of disks. When I get a failure I like an snmp trap telling me what to visit and a little orange light to lead me unambiguously to what needs fixing.
Nuwan Alwis
Valued Contributor
Solution

Re: Step by Step procedure needed to configure a Linux Server

Hi txtraz,

Have you finalized the RAID implementation?
HW or SW RAID ?

Whats the model of the server?
if its relatively new it should have a smart array controller which can save the day for you.
Remember if not a high performance server configuring software raid may add additional over head on your CPU

for mail server all you need to install 2 packages.

1)sendmail
2)dovecot(for pop3/pop3s/IMAP/IMAPS)

install these packages and let us know so we can move to next step.

Good Luck..!
txtraz
Advisor

Re: Step by Step procedure needed to configure a Linux Server

Hi Nuwan Alwis,
Thanks for your suggestion.
It's DL580 server. I want to configure Hardware RAID and it'll be in Linux Environment. I can configure the RAID 1 & 5 using the Smart Array. But i want to setup OS in RAID1 and want's to share some cacheing data in RAID-5. plese let me know the procedure.

Thanks;
Nuwan Alwis
Valued Contributor

Re: Step by Step procedure needed to configure a Linux Server

Hi txtraz,
Wel if you already configure your RAID levels using smart array controller i don't see any requirement of configure software RAID.

The there is no additional benefit except you are going to loose some more disk space.

Any way crating software raid is easy.

This is how u do it after install OS

i Assume that you have already installed OS on a different partition or disk and you will be crating the software raid (R-1) on 2 different disks.

mdadm -C /dev/md0 --chunk=64 --level=1\
--raid-devices=2 /dev/c0d0p1 /dev/c0d0p2

same you can use to crate (R-5) by changing it to

mdadm -C /dev/md1 --chunk=64 --level=5\
--raid-devices=2 /dev/c0d0pX /dev/c0d0pX
/dev/cXdXpX

remember now when using your raid what you will be using as the block device /dev/md0 for R1 and /dev/md1 for R5

format these /dev/mdX

mkfs.ext3 /dev/md0

now you can use this /dev/md0 to store files mirrored to 2 disks

go through the man pages of "mdadm" this will give you more info

Good Luck...!