RAID for Adempiere Server
Alphamedia Consulting

RAID for Adempiere Server


RAID for Adempiere Server

Introduction Adempiere ( also Compiere and Openbravo ) requires the use of RAID Server is used . This is due to several reasons , the first ERP application that records almost all transactions in the company generally will cause a swell of data very quickly , the second is an integrated database system for all clients and organizations make the process of reading and writing became quite heavy on the I / O standard . A third reason is the number of hard disks that can be expanded so that more capacity becomes larger , as well as other reasons such as data security reasons , and others .

Well , what is called a RAID ? what it does and how many types of RAID methods ?
in this article I tried to explain about the RAID. This also answers the question of peer to peer reader blog about why the server becomes slow after some time of use .

What is RAID
RAID ( Redundant Array of Independent Disks ) technology is a new feature on the computer system . With the Hard Disk RAID will work faster because some ability menggambungkan Hard Disk simultaneously. RAID must use at least two or more HDDs are identical , both in terms of interfaces , technology , capacity , RPM and others.

Almost all motherboards have RAID configuration server integrated therein , including Intel -based platforms . Minimal motherboard has the most standard RAID function , ie RAID 0 and 1 . Itself has a variety of RAID levels such as RAID 2 , 3 , 4 , 5 , 10 and 50 . , But the most familiar is used on the server RAID 0 , 1 , 5 , 10 and 50 only.

There are two types of RAID controllers in the system server , eg, on-board ( integrated with the main chipset ) and the Add -in Card ( additional card module ) .

Some examples of RAID configuration

Imagine there is a data file with the name ” ABC ” would be stored in the HDD RAID is configured with the following variants :
Serves as a RAID 0 stripping , the technique breaks data ” ABC ” into multiple blocks of data , we call it a block ABC01 , ABC02 , ABC03 , ABC04 , and so on . Each block is stored on two different HDDs in parallel , for example HDD1 save block ABC01 , ABC03 , ABC05 , and so on and HDD2 save block ABC02 , ABC04 , ABC06 , and so on . With this technique the performance of its capacity will be increased because the data are not necessary to enter the queue on a single HDD which has a capacity of I / O limited . This means that at the time of data access directly served by two I / O capacity in each of the HDD .


The workings of RAID 0
RAID 0 uses a minimum of 2 HDD , and combine them as if they were a single HDD in the system . For example , there are two units of 80 GB SATA HDD configured as RAID 0 , the system will recognize it as a server is a single HDD with a capacity of 160 GB . With this configuration the performance is expected to increase with the HDD controller contains two parallel working . RAID 0 is often considered not part of RAID because there is ” Fault – Tolerance ” , ie the ability to prevent the failure of other systems such as RAID variants .

Serves as a RAID 1 mirroring , namely mutual backup between two HDDs . The technique is to break down the data ” ABC ” into a data block ABC01 , ABC02 , ABC03 , and so on and everything is stored on HDD1 ( main HDD ) and HDD2 ( HDD backups ) are identical . That is HDD1 save block ABC01 , ABC02 and ABC03 , then HDD2 also stores the exact same data . This capability is referred to as mirroring , which in case of major damage to the data on the HDD , then the data can be recovered directly from the HDD for storing backup data is identical .


The workings of RAID 1
RAID 1 uses a minimum of 2 HDD. If there are two 80GB HDD with a total capacity of 160GB, the system will only recognize it as a 80GB HDD, because only serve as a backup HDD. RAID 1 is the most basic function of all variants of RAID because it has “Fault-Tolerance” good.

RAID 10 is a combination of RAID 1 and RAID 0. With this technique the ABC data block is stored like a RAID 1 and each part is stored stripping like a RAID 0. Instance data block stored stripping ABC into ABC [01] and ABC [02] in two HDD. In each group the HDD, ie ABC [01] the data stored on two HDD mirroring. RAID 10 requires a minimum of four units of HDD.


For example, use 3 pieces of HDD in RAID 5, the HDD1 to store data blocks A01, A02, A03 and parity 01 on HDD1. Then the blocks B01, B02, B03 and 02 parity stored on HDD2. And lastly C01, C02 and C03 and parity stored on HDD03 03. With this technique the entire data on the HDD will be safe because the backup by other HDD and parity spread to each of the HDD.

How it Works RAID5 data distributed to all hard drives and each disk there is a parity that could be analogous to the image of each other HD data blocks.
Example: 3 80GB SCSI hard drives configured with RAID 5 the capacity that can be used for data storage is 3 x 80 GB which there is parity of the other blocks of HD data.
Pros: Supports read / write at the same time, very suitable for the benefit of the network, the data protection is good.
Disadvantages: The writing of data is slower than RAID 0 and RAID 1. Allowing only one hard drive fails.

RAID 50 is a combination of RAID 5 and RAID 0. With this technique the data block will be split into 2, for example, ABC [01] and ABC [02] and stored by stripping techniques that break down and divide in parallel. Both ABC [01] and ABC [02] in each group will be stored using a RAID 5 configuration, so the group needs three units of HDD. Overall, RAID 50 using a minimum of six units of HDD.

IBM ServeRAID M 5015 RAID Controler

IBM ServeRAID M 5015 RAID Controler is an example of a RAID Controler used by IBM Series X server card that uses the PCI Express slot can be installed on the machine X3200, X3400, x3600, and supports both Windows and Linux operating systems.


Hopefully this article can be useful for users Adempiere INDONESIA.

Agung Budi Santosa
Jakarta – Indonesia