RECENT POSTS BELOW

Visit :Mobile Daddy

Nov 5, 2010

Build Your Own File Server

Build yourself a secure file server using any old computer with a couple of hard drives and store all your data centrally:-


    Every office that generates large amounts of data needs a file server so that users can access it all from a central location. The sole purpose of a file server is to provide the users on the network with files. Additionally, file servers can also provide data to other users over the internet via a website or FTP service. A file server is nothing but a simple computer with ample storage space, running a server operating system and configured with data backup or synchronizing software. The hardware is usually designed using special purpose processors, RAM, motherboards, hard drives, power supply units and cabinets so the server is able to be powered on 24x7. So they have to be rugged and efficiently cooled too.


The main component of a server is the storage space, but using a single spacious hard drive will not serve the purpose. The drives should also be highly efficient in terms of speed, should have a large volume, and last but not the least, they should be secure enough to keep your data safe. Hence, they are usually configured in RAID, where multiple hard drives are deployed to ensure speed and safety during data transfers. Hard drives can be configured in RAID using different modes— RAID 0, 1, 5, 10 or 01. While RAID 0 is considered the fastest as it uses the data striping feature, RAID 1 is the safest as it uses data mirroring. but both have their advantages and disadvantages. RAID 5, 10 and 01 are combinations, which uses both striping and mirroring to form fast and safe storage. We will show you how to configure a simple file server which uses RAID 0 or RAID 1 using two SATA hard drives and an old computer. You can also use multiple hard drives to form a RAID 5, 10 or 01 volume.
Requirements
  • Any old desktop computer. A Pentium 4 or higher is preferable.

  • Two or more similar SATA hard drives.

  • 2 GB RAM should be enough, unless you have more to spare.

  • A PCI SATA RAID card, unless your motherboard features built-in RAID.

  • An operating system. A server edition is highly recommended if there are many users accessing it.

  Let’s begin. Open and clean the old computer thoroughly and ensure a dust-free interior for efficient cooling. Install a PCI SATA RAID card into a vacant PCI expansion slot and screw it in place, unless your motherboard features an onboard RAID controller. Install the two (or more) hard drives in the respective bays and connect the necessary cables (data and power). Confirm that all cables are neatly tied and tucked away from the cooling fans and ducts to ensure proper air circulation. Once done, your hardware is ready to become a server.
Now is the time to install the operating system, but before this, you will need to configure the hard drives in RAID. If your motherboard features RAID, then simply go to the BIOS setup and configure the two hard drives in RAID 0 or 1 and exit.
If you are using a PCI RAID card, then you will have to press the necessary keys displayed on the screen while the system is starting up to enter the card’s BIOS. Here again, configure the hard drives in RAID and save the settings. You’re finally done configuring the hardware. If you want a secure storage system, use the RAID 1 configuration, and if speed is the requirement, go for RAID 0. 
Procedure
   Begin installing the operating system. You can use a Microsoft Windows Server Edition OS (recommended) or a Linux OS. We have used Windows XP as the OS as an old computer would already have a licensed operating system. During the installation, you might be prompted to install the drivers for the RAID hardware so that the OS can recognize the storage/volume type. Insert the driver CD that came with the motherboard or the PCI RAID card. The setup will then detect the storage space and you can continue installing the operating system as usual.
Your file server is now finally ready to be configured. Once the OS is installed, make sure you have installed all the drivers and created all the users and their profiles as per the requirement of your network. Copy your data to the storage drives and share the respective folders with appropriate user rights. That’s it! Your file server is ready to be deployed. Just connect the server to the network after configuring the network card and then disconnect the monitor, keyboard and mouse.
Now that your server is on duty, there are some things that you should also consider. Use a UPS to avoid data loss during power failures, install an exhaust fan in case you are keeping it in an enclosed area, install an antivirus software for additional security, install and keep running a password protected virtual networking software so that you can access the server from another computer on the network instead of connecting a monitor and input device and operating the server. Additionally, we also recommend a few changes to your server hardware. Since you are using an older computer, replacing the power supply unit would be a good idea as this component might fail when used 24x7. Additionally, to lower the noise of multiple hard drives spinning inside the cabinet, design some foam or rubber sleeves for the hard drives to dampen the vibrations. Finally, use the power saving and/or WOL feature of the motherboard to power down the hard drives or system when the server is not being used. This will not only save power, but will also prolong the life of the server’s hardware. Your file server is finally ready for action.






Let it serve you better
Now that your file server is ready and serving its purpose on the network, why not use the entire efficiency of the server for other purposes to enhance your business productivity or home convenience. As we mentioned earlier, file servers are nothing but simple computers, and you can use them for multiple purposes apart from simply sharing a folder or drive. Some other applications that can be installed on the server to juice-out some additional functionality.
Media server: Install a media server application and store your complete collection of audio and video files on the server and stream them to all the computers or handheld gadgets from a centrally located location. Examples: iTunes, IceCast, Unreal.
HTTP server: Host your own website from home or office using an HTTP server. All you need is a live IP address from your internet service provider. You don’t need to worry about web space because your server’s storage space is the limit. Website down time is zeroed as your server would be online all the time in your own premises. Finally, hosting charges are nil as you own the server. Examples: Apache HTTP server, Xerver.
FTP server: Allow your friends and clients to access your data files or upload their data to your server using the FTP service. Here too you would require a live IP address from your ISP. Examples: Xerver, FileZilla, Xlight, WinFTP.
Printer server: Install printer(s) on the file server and share them across the network. You don’t need to worry about the printers connected to client machines on the network being shut down. All your printers can be in one location at home or office.
Database servers: Centrally feed in all your data and share it w ith a database management software to make information available to all users on the network. Examples: SQL, Oracle, Microsoft Access, FileMaker.
Accounting server: Similar to a database server, multi-user accounting server applications can be installed to provide multi-user access to accountants on the network. Examples: Tally, Busy.
Proxy server: Proxy servers help internet usage on the local network work much faster because of their caching feature. You can create user profiles to induce profiles to authenticate users or even block particular websites. Examples: FreeProxy, AnalogX, CCProxy.
Download server: Employ the server to be a single point for downloading files and torrents from the Internet. This is beneficial as the server can be used for managing all your data downloads by taking the benefits of its 24-hour uptime. Examples: DAP, FlashGet, uTorrent, BitComet.
Backup server: Install backup or synchronizing software on the server and configure it in such a way that it can automatically backup crucial data from all the machines on the local network at specific intervals. This would ensure that, apart from client machines, a copy of all your data exists on the server. Example: Fbackup, AceBackup.
Mail server: Mail servers can be very beneficial on a local network. Users can send and receive mails to the file server, which will do the job of sending emails outside or collecting emails and distributing emails from an online POP server to local users. Also send emails internally without the need of using Internet bandwidth. Example: hMailServer, netMailshar, Winmail, CMailServer.
Security monitor: Using a video security monitoring software, your file server can also act as a surveillance unit by recording video feeds from webcams and IP cameras. Example: WebcamXP, SmarterGuard Basic.
Safety first
Data on a file server is important and should be kept safe and secure at all times. Backing up the server frequently is a must as you would need to keep your data safe in extreme cases such as virus attacks, hard drive errors, bad sectors, accidental wipeouts, etc. Keeping your data safe means you should replicate your data from the server onto another machine or external storage medium from time to time.
In case of a server crash or hardware failure, your data on the file server can be lost. The only form of backing up your server is mirroring or synchronizing your data completely to another external storage or machine. Numerous applications such as GoodSync, ViceVersa and such are available online which can help synchronize your data to have a secure backup system. We will use SyncBackSE as an example for synchronizing/mirroring software.
You can download a 30-day trial from ‘www.2brightsparks.com’ and if you would like to buy it, the utility is available for $30 (approx Rs 1,500) onwards. SyncBackSE is a powerful utility that helps automatically copy files and folders from a defined location to another, be it on the local drives, NAS, external storage drives, or even FTP servers.
Install and start the application and click on ‘Profiles | New’. Enter a name to differentiate between profiles if you are creating multiple profiles, and click ‘Next’. In the following screen, click on the type of synchronization from ‘Backup’, ‘Synchronize’, ‘Mirror’, or Group’.
Mirroring is useful as file servers need to be replicated to save space and create an exact folder structure as the original ones in case of a system crash. You can opt for synchronize or backup if you wish to keep copies of older deleted data too, but the destination disk space might fall short over time.
In the next screen, you can choose to backup/sync from or to an FTP server. If you don’t have any, skip this screen. Now enter a description name for the source files and select the source folder and click ‘Next’. Do the same for the destination folder at the next screen. Now define your preferred method and period of the mirroring of data. Click on ‘When’ from the left panel and then on ‘Edit Schedule’ and the utility will ask you to enter your current user password for security. Enter the details and adjust the date and time along with the period of recurrence according to your choice of mirroring. Ideally, a recurring period of one hour, daily, should be ideal in case your server’s data is updated at regular intervals.
If you are sure that your server data changes after longer periods, you can change the profile to run every two or seven days. Now that the profile is completely ready, you can activate it and it will run automatically in the background at the specified time intervals. Similarly, you can create multiple profiles to have a safer backup by defining different folders or data specific folders to different backup locations.
Mirroring the data from your file server automatically is essential via an automated backup or synchronizing utility so that you do not have to waste time performing these essential chores manually each day or every week.  



0 Responses to “Build Your Own File Server”

Post a Comment

Next previous home

Join The TechMyriad Community

All Rights Reserved @2011TechMyriad - Communnity of Technology
----
Back to TOP