Personal tools
You are here: Home Documentation The general OSR Howto
Document Actions

index

This page generally describes the process to build a OSR Cluster from scratch. It is independently from distribution and filesystem. All these dependencies are described in here. This page is still under construction!!!

Prerequisites

  • This HOWTO will be the general OSR Howto in futur time. Until now it is still under CONSTRUCTION. So please be patient.
  • See assumptions

Install Com.oonics packages

Install the latest comoonics packages from a comoonics yum channel.

Create a cluster configuration file

Download the apropriate cluster configuration from cluster configurations

Create the shared root filesystem

  1. See mountnfs
  2. Copy all data from the local installed RHEL5 root filesystem to the shared root filesystem
cp -ax / /mnt/newroot/
  1. Create some directories if need be
mkdir /mnt/newroot/proc
mkdir /mnt/newroot/sys
  1. Create a new cdsl infrastructure on the shared root filesystem
com-mkcdslinfrastructure -r /mnt/newroot
  1. Mount the local cdsl infrastructure
mount --bind /mnt/newroot/.cluster/cdsl/1/ /mnt/newroot/.cdsl.local/
  1. Mount other deps to be able to chroot
mount --bind /mnt/newroot/proc /mnt/newroot/proc
mount --bind /mnt/newroot/sys /mnt/newroot/sys
mount --bind /mnt/newroot/dev /mnt/newroot/dev
chroot /mnt/newroot
  1. Make '/var' subdirs hostdependent
com-mkcdsl -a -f /var/tmp/
com-mkcdsl -a -f /var/account 
com-mkcdsl -a -f /var/cache 
com-mkcdsl -a -f /var/local 
com-mkcdsl -a -f /var/lock 
com-mkcdsl -a -f /var/log 
com-mkcdsl -a -f /var/spool 
com-mkcdsl -a -f /var/run
com-mkcdsl -a -f /var/lib/dbus 
com-mkcdsl -a -f /var/lib/dhclient
  1. Have a look at /var/run problems with multipathd: multipathdbug
  2. Make '/etc/sysconfig/network' hostdependent
com-mkcdsl -a /etc/sysconfig/network
  1. Exit from the chroot

Create boot configuration

  1. Create the boot "filesystem" see createboot
  2. Create Shared Root initrd

Create the shared root initrd into the shared boot filesystem

chroot /mnt/newroot /opt/atix/comoonics-bootimage/mkinitrd -f /boot/initrd_sr-$(uname -r).img $(uname -r)

Afterworks

For afterworks see afterworks.

Clean up

On installnode exist the chroot and

umount /mnt/newroot/cdsl.local

umount /mnt/newroot/dev

umount /mnt/newroot/proc

umount /mnt/newroot/sys

umount /mnt/newroot

Boot Cluster

Have Fun !!


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: