CFEngine3 Node

From PostgreSQL_wiki
Revision as of 19:27, 16 October 2014 by Martin (talk | contribs) (CFEngine Community)
Jump to: navigation, search

Webhuis facilitates and encourages attendees to The CFEngine Roadshow to configure a blank VM of choice.

Pre requisities

Fair use policy

Every individual who is using the facilities of The CFEngine Roadshow states he or she complies with the following:

  1. Will follow the instuctions given during The CFEngine Roadshow
  2. Will not disturb The CFEngine Roadshow by any kind of attacks to any of the The CFEngine Roadshow systems, it is a live demonstartion not a Cracker Camp
  3. Will not copy Commercial Software to any of the common CFEngine Roadshow utility systems
  4. Will report if the number of bootstrapped agents exceeds the count of ten, in order to receive an award

Happy bootstrapping!

Create a blank Virtual Machine

Please have your bare Virtual Machine ready before you take part in The CFEngine Roadshow. Please install a bare machine and make it as lean as possible. You even do not need to install ssh, we probably replace it anyway, just use VNC.
We assume a KVM VM. Good descriptions for are avaiable here virt-install. Example code:

# qemu-img create -f qcow2 /data/centos-6.4.qcow2 10G
# virt-install --virt-type kvm --name centos-6.4 --ram 1024 \
--cdrom=/data/CentOS-6.4-x86_64-netinstall.iso \
--disk path=/data/centos-6.4.qcow2,size=10,format=qcow2 \
--network network=default\
--graphics vnc,listen=0.0.0.0 --noautoconsole \
--os-type=linux --os-variant=rhel6

Images

With efficient use of bandwidth in mind the preferred method of installation is a netinstall, we assume x86_64. The CFEngine Roadshow uses local mirrors and needs no external connection in order to be able to install and configure guest VM's.

OS Images
Debian http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
Centos
Fedora
Ubuntu

CFEngine Community

Please install CFEngine 3.6.2-1 for your installation method of choice.

OS Package
Debian CFEngine build http://cfengine.package-repos.s3.amazonaws.com/community_binaries/cfengine-community_3.6.2-1_amd64.deb
Debian Debian-team Preferred, extra reward: https://github.com/Webhuis/Cfengine-debian
RPM based http://cfengine.package-repos.s3.amazonaws.com/community_binaries/cfengine-community-3.6.2-1.x86_64.rpm

Please keep in mind you have to wait for The CFEngine Roadshow to be available before you bootstrap your VM.

Naming convention

We use a naming convention in order to determine the role of a node*.

Role Mnemonic
apt_cacher apt
ips_server ips
nfs_server nfs
webapp_server webapp
  • Check this before you use the node, the mnemonics may change.

Use the last four octets of your Mac Address after the mnemonic as a unique identifier.

You can always check the CFEngine code that manages the role of the server here:

The CFEngine Node Role

The CFEngine Debian-team package

Debian users are encouraged to build their own package from:

Debian-team

Instructions can be found here:

Debian-team Wiki

Supported Platforms

  • Debian
  • Centos / Fedora
  • Suse
  • Ubuntu

Please file a request if you do not find your preferred platform.


Return to: Cfengine