debian_quickstart

Debian 6 and Perceus 1.6 deb Installation and Configuration guide

Install a normal base system with the Debian squeeze ISO:
http://cdimage.debian.org/debian-cd/6.0.3/amd64/iso-cd/debian-6.0.3-amd64-CD-1.iso

(NOTE: If installing the Debian compatible GravityOS, the Perceus installation and configuration is already complete. Verify the config files are correct, initialize Perceus and proceed with setting up VNFS capsules and provisioning nodes:
http://caos.osuosl.org/GravityOS/iso/gravityos-release1-2.iso)

Once installed and booted, set up the Perceus master network interface by adding something like:
       allow-hotplug eth1
       iface eth1 inet static
       address 10.1.1.1
       netmask 255.255.255.0
       network 10.1.1.0
       broadcast 10.1.1.255
to the /etc/network/interfaces file and bring up the interface:
# ifup eth1

Remove the CD-ROM source from /etc/apt/sources.list, unless you want to use it.

# apt-get update
# apt-get upgrade

Standard VNFS delivery requires NFS, so install it:
# apt-get install nfs-kernel-server

Retrieve the Perceus binary from the mirror:
wget
http://mirror.infiscale.org/Perceus/debs/perceus16.deb

Install binary:
# dpkg -i perceus16.deb

The dependency errors are OK. Fix it by installing them with:
# apt-get -f install

Perceus should now be installed. Configure Perceus by running:
# perceus

Perform the system initialization when asked. The default values are acceptable, but make changes if necessary for your deployment. Add the Perceus master network interface IP and the system hostname to /etc/hosts. The cluster node IP's and node names can be added too. Start the Perceus daemon with:
# /etc/init.d/perceus start

Start the NFS services as well.

You now need to build or download a VNFS capsule and import it into Perceus. You can attempt to build one using the scripts located in /usr/share/perceus/vnfs-scripts/ or you can download an existing VNFS capsule from the mirror:
# wget
http://caos.osuosl.org/Perceus/vnfs/premade_vnfs/gravityos-base.vnfs

When you have a VNFS, import it into Perceus with:
# perceus vnfs import <capsule.vnfs>

Set the node root password when asked. The default values for other questions are drawn from your Perceus configuration, so they can be accepted as is. When importing is complete, assign the VNFS to the nodes with:
# perceus node set vnfs <capsule> <node>

Or by add the capsule to the default VNFS assignment in /etc/perceus/defaults.conf.

Powering on nodes connected to the Perceus master network will now provision them with the assigned VNFS capsule. If you need to alter the VNFS capsule, mount it:
# perceus vnfs mount <capsule>

Chroot to the mounted directory and make changes. When finished finalize changes and recompress the VNFS capsule:
# perceus vnfs umount <capsule>

(c) 2005-2012 Infiscale.com