Pengertian RAID dan Levels nya

In computing, the acronym RAID (originally redundant array of inexpensive disks, now also known as redundant array of independent disks) refers to a data storage scheme using multiple hard drives to share or replicate data among the drives. Depending on the configuration of the RAID (typically referred to as the RAID level), the benefit of RAID is to increase data integrity, fault-tolerance, throughput or capacity, compared to single drives. In its original implementations, its key advantage was the ability to combine multiple low-cost devices using older technology into an array that offered greater capacity, reliability, speed, or a combination of these things, than was affordably available in a single device using the newest technology. (diartikan sendiri aja yah.. soale pengertian ini aku comot dari wikipedia.org)

Dengan kata lain fungsi RAID adalah penggabungan beberapa harddisk menjadi satu logical unit atau satu volume

Raid Levels
1. RAID O.
Arti : Keseluruhan harddisk yang dimiliki akan berfungsi sebagai tempat penyimpanan data. dengan kata lain data yang kita simpan kedalam harddisk akan di stripping keseluruh harddisk anggota dari RAID 0 tersebut.
Contoh : 4 Harddisk SCSI berkapasistas 72GB per Disk di configure dengan RAID 0 maka total harddisk yang dapat dijadikan penyimpanan data adalah keseluruhannya ( 4 x 72 GB)
Kelebihan : Dengan RAID 0, kapasistas harddisk yang dimiliki untuk penyimpanan data adalah total dari keseluruhan harddisk yang dimiliki, tanpa ada pengurangan
Kekurangan : Jika salah satu harddisk fails dalam RAID 0, maka data akan hilang tanpa ada penggantinya.

Gambar RAID-0

Continue reading

optimalisasi dan tweaking server

Viewing your current resource usage

top: your current server load & resource usage.
ps aux: all your processes & which ones are using the most memory/cpu
free -m: allocated memory, usage & free memory

Cpanel Tweak Settings

In WHM under Server Configuration > Tweak Settings:

  1. Make sure default catch-all mail address is set to FAIL, this will use the least CPU time.
  2. Untick Mailman, this is a resource hog.
  3. Change the number of minutes between mail server queues to 180
  4. Uncheck Analog Stats, I also usually uncheck Webalizer.
  5. Make sure you tick delete each domains access logs after run, otherwise you’ll start using heaps of Disk Space.

Mysql Optimisation

You can edit your mysql configuration (/etc/my.cnf) by typing vi /etc/my.cnf

In order to add something in vi you need to hit insert, once completed hit esc then :wq to save & quit. If you want to save without quitting type :q!

There’s a few important variables that we’re going to tweak:

  1. max_connections
  2. wait_timeout
  3. thread_cache_size
  4. table_cache
  5. key_buffer_size
  6. query_cache_size
  7. tmp_table_size

Continue reading

instalasi cpanel

  1. Download script instalasi

    - cd /home
    - wget http://layer1.cpanel.net/latest
    - sh latest
    - Proses instalasi cpanel akan berjalan, silahkan tunggu kira-kira 3jam (tergantung bandwith internet anda). Server akan dikonfigurasi otomatis

  2. Saat proses selesai, berarti instalasi cpanel anda telah berhasil
  3. Download ISO Centos dari cpanel,

    http://layer1.cpanel.net/CentOS-5.0-i386-bin-DVD-cPanel.iso

  4. Burn dalam DVD
  5. Server boot dari DVD ang barusan dibuat (direkomendasikan install OS yang FRESH (baru))
  6. Konfigurasi server saat install
    - Ikuti step-step instalasi, isikan dengan default saja
    - Install dengan minimal install, tidak boleh ada Apache, MySQL, DNS dan sejenisnya
    - Jangan install XWindows, karena server akan lebih berat dan akan membuka hole security
    - lihat referensi disini
  7. Kira-kira 30 menis instalasi OS Centos 5.1 akan selesai
  8. Lakukan setup dasar secukupnya
    - IP LAN, dengan perintah : system-config-network

instalasi ispcp pada debian

alternatif pengganti cPanel sebagai control panel untuk domain anda :D
Jalanin command berikut :

#apt-get install aptitude

apt-get sama dengan aptitude

BAB 1 : Installation

1. Update your packages list:

# aptitude update

2. Install needed repository key:

# aptitude install debian-backports-keyring

3. Install the new Apache fcgid module version:

# aptitude -t etch-backports install libapache2-mod-fcgid

Continue reading