New Linux server from ground up
Ok. These are my needs. I am looking for leads/advice. Just looking for the best/most reliable setup. In a nutshell, I would love to have a Domain Controller no DHCP File server. I want to leave the DHCP to the router. I need virtual to run a software off from it. Samba server and that is basically it. My questions are:
1. Can I have a Domain Controller without DHCP server? 2. Should I run virtual server headless? so I dont install any gui? 3. This should have been my 1st question. I have two disks, is raid handled by the Bios or do I have to do something in linux(DMRAID)? I have worked with many if not all the things I have mentioned here, however, I have never done it from scratch. Thanks beforehand for helping me out on this one Dan. |
Quote:
Quote:
The GUI environments often have useful applications for system administration. I would use a GUI environment even if I only used terminal window applications. It can be very useful to switch between and copy/paste between terminal windows on one screen. Even if you go with a headless system you will need X and a window manager to run GUI applications from remote log in sessions. Quote:
Simple is better. |
Quote:
I personally am implementing a ubuntu nas with - zfs-fuse in a raidz1 setup (similar to raid5) - samba - ssh for my home data storage + protection. I'll probably add a script to copy my irreplaceable files to another hdd as an extra layer of protection for those files. PS. Quote:
|
Quote:
RAID is not a substitute for backups. Backups were not part of the conversation. The question was not how to conduct daily operations. |
Thanks for the insight. Let me go over your reply:
Quote:
Quote:
|
Quote:
Thanks again |
Depending on how critical the system is, would determine which of these options you would pick.
# using raid # using raid + backups # using raid + backups + off-site backups I also believe hardware raid is better but that is if your motherboard supports it. |
You didn't say what distribution you plan to use. I have set up Samba servers with software RAID on Centos and both the software RAID and the Samba were enough easier to setup in Centos vs. other distributions that Centos would be my recommendation for what you want.
Quote:
Quote:
Quote:
I have always included full X support in Centos to I can use GUI utilities when managing the system remotely via VNC or other remote X methods. I'm sure you can install and manage Centos without GUI. But I don't know any details. Quote:
I really dislike fake RAID (Linux software RAID set up on a full drive level for compatibility with the corresponding Windows fake RAID). If you don't need compatibility with Windows fake RAID (such as for dual boot) you shouldn't use it. Linux software RAID on a partition level is cleaner and more flexible and very simple to set up in Centos (as long as Centos doesn't detect the previously set up fake RAID). When removing fake RAID, I go to the extreme of booting a Mepis liveCD (which fails to recognize the fake RAID) so I can wipe the beginning of each drive (destroying the indication of fake RAID) so the Centos installer will see two independent drives on which partition level software RAID can be setup easily. |
Quote:
wow. Thats alot to digest before I begin to tackle the assignment but great insight. I appreciate it. I still have not chosen which distro I will be using. Thanks again! dan |
Another option:
I often configure servers to have a "GUI console" during build, but when they are operational and have "settled down" I disable console GUI by editing /etc/inittab and changing the default runlevel from "5" (GUI) to "3" (no GUI). On the next boot, no GUI. Thus, you have the full GUI environment you can run remotely via X11, if needed. Re: RAID1 or "disk mirroring" Don't think of it as a form of backup, it's just trying to improve the availability of disk storage in case a drive fails. RAID1 does no good if a critical file is deleted and needs recovery, or if the server is destroyed by a fire... that's what local backups and offsite backups are for, respectively. Another aspect of RAID: Software RAID will be portable in the event you would need to take drives and move them from one server to another; controller-based hardware RAID could mean incompatibility if you move drives from one server to another and the RAID controller vendors or chipsets are different. Cadet_Concept |
Quote:
Quote:
I can tell you now though, that replacing a drive in a raid array is MUCH simpler, quicker and easier than restoring from backups. Still make backups though, I've had a system where 3/5 drives in a system failed simultaneously, users deleting stuff they shouldn't, programs deleting stuff they shouldn't, etc, etc. |
Quote:
Thanks for the help! |
Hopefully someone will check the RAID status from time to time. If a RAID array goes into degraded mode due to a disk failure and nobody checks it then it will keep working until the other disk fails. Then you have the same situation as though no RAID was present. The server is down or at least the data on that RAID array is unavailable until the hardware is replaced.
I have a new client who asked me to install a new RAID disk set, which I did. He is running Windows Server 2000. When I opened the box I found that his existing disks were in a RAID configuration. He didn't know that. Luckily the disks were okay. But my point is that he didn't know that he needs to check the RAID status so that if a disk breaks he could choose the time to perform the repair. I showed him how to check the RAID status (because he is too cheap to pay me to come by once a month). :( |
Quote:
There is lots of documentation and youtube videos instructing how to do it on almost any system. Linux software raid is quite mature and is getting easier and easier to use and maintain. Have a look in to the http://en.wikipedia.org/wiki/Mdadm tool. It is also a lot more flexible in terms of modifying your raid than many other raid systems. |
An update on this:
I have had my server up and running for about two weeks now. Adding and testing so far. I have it set up with Raid 1, as beowulfnode, it was not that hard, thanks for the support on that. Besides the administration basic services(IPtables, ssh server, etc etc), it has a Samba domain controller and kvm virtualization in which I plan to run Windows OS for a retail management system. I think I took longer testing different distros than what it has taken me to set up everything. I tried CentOS, Ubuntu Server, ClearOS and some other one. Ended up going against the odds with Arch Linux and webmin to administer it. I am a serious Slackware fan but bad package management made me go with Arch Linux which has been my laptop distro as well... VIrtualization is new for me so that is going to be a challenge. Thanks for the help and comments/suggestions are greatly appreciated. |
All times are GMT -5. The time now is 12:31 PM. |