Kerrighed

Kerrighed Installation on Debian Etch

Requirements

Steps

  1. Download linux-2.6.20, .sign file, and public key from kernel.org
  2. Download kerrighed 2.2.1 from kerrighed.org
  3. Put them in /usr/src/
  4. Import GPG key kernel.org
    gpg --import /home/stwn/kernel.pub
    gpg: directory `/root/.gnupg' created
    gpg: can't open `/gnupg/options.skel': No such file or directory
    gpg: keyring `/root/.gnupg/secring.gpg' created
    gpg: keyring `/root/.gnupg/pubring.gpg' created
    gpg: /root/.gnupg/trustdb.gpg: trustdb created
    gpg: key 517D0F0E: public key "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    gpg: no ultimately trusted keys found
  5. GPG key verify
    gpg --verify /home/stwn/linux-2.6.20.tar.bz2.sign /home/stwn/linux-2.6.20.tar.bz2
    gpg: Signature made Mon 05 Feb 2007 02:08:30 AM WIT using DSA key ID 517D0F0E
    gpg: Good signature from "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>"
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: C75D C40A 11D7 AF88 9981  ED5B C86B A06A 517D 0F0E
  6. apt-get install bzip2
  7. Extract linux kernel 2.6.20 archive:
    tar jxvf linux-2.6.20.tar.bz2
  8. Extract kerrighed archive:
    tar zxvf kerrighed-2.2.1.tar.gz
  9. Change directory to kerrighed-2.2.1/
    cd kerrighed-2.2.1/
  10. binutils cpp cpp-4.1 gcc gcc-4.1 libssp0 (gcc and its deps)
  11. build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-kernel-headers make
  12. upgraded: libc6 libc6-i686
  13. apt-get install pkg-config, rsync, lsb-release, xmlto1)
  14. ./configure –with-kernel=/usr/src/linux-2.6.20/ –enable-tests (you must install some dependencies, i will write it later, see above)
  15. configure kernel if you want to add some network drivers you use in cluster (install libncurses5-dev), use make menuconfig
  16. make patch
  17. make defconfig
  18. make kernel
  19. make
  20. make kernel-install
  21. make install
  22. dpkg -P linux-image-2.6.18-6-686 linux-image-2.6-686
  23. Reboot

Configuration

Kerrighed Commands List

Notes

ke:

-I/usr/src/linux-2.6.20/include

sepertinya ada kesalahan ketika meng-generate Makefile dari Makefile.am dan Makefile.in(?)

Install PXE Boot Server

Oprekan

ERROR messages

Tips

Global Scheduling

Kerrighed versi terbaru yang dikhususkan untuk kernel Linux 2.6.x mempunyai framework scheduler baru, tidak seperti versi sebelumnya pada 2.4.x. Untuk dapat menggunakan fitur ini kita harus mempunyai Kerrighed dari trunk 2008-08-22, jadi jelas versi 2.3.0 yang dirilis April 2008 tidak memilikinya.

Yang perlu kita lakukan adalah mengunduh quilt patchset 2008-08-22 dan menambal Kerrighed 2.3.0. Cara yang termudah ternyata mengambil kode sumber dari trunk SVM INRIA.

Tips SVN

Menjalankan Aplikasi

Problem

Reading List

1)
docbook-xml docbook-xsl libpaper-utils libpaper1 libxml2 libxml2-utils libxslt1.1 sgml-base sgml-data xml-core xmlto xsltproc