This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Revision of Web clusters from Wed, 02/08/2012 - 22:02

Help

Web clusters

Tagged:

Cluster module

This module is now (as of Aegir 1.7) deprecated. It is replaced by the "pack" module. Support for the "cluster" module will be dropped in 2.0.

Pack module

First, configure the remote server using those instructions. Then add yuor webserver to the frontend, and collect them in a pack. Add your hostmaster server as a master and the remote server as a slave.

Then mount the files on the remote server.

On the filer:

apt-get install nfs-server
echo "/var/aegir/platforms    10.10.10.0/24(rw,no_subtree_check)" >> /etc/exports

Then on the remote server:

apt-get install nfs-client
mount filer01:/var/aegir/platforms /var/aegir/platforms

Add this to your fstab:

10.10.10.31:/var/aegir/platforms /var/aegir/platforms nfs rw 0 0

Then you can create a first platform on the pack, and create a site, and it should just work as expected. Config is sync, not the files or platforms, which are mounted through NFS.

Note that the latter (on the remote server) is done by the aegir-cluster-slave package.

#1

I am interested in a deployment strategy for Aegir in the context of a web cluster that uses glusterfs to keep the two servers in sync. We have not yet implemented such a cluster, but have been considering it for quite some time. Gluster prevents the single point of failure that nfs creates.

The question is, how can aegir be used to deploy platforms and sites to a gluster cluster?

#2

We are trying to move from deploying code via clustering (rsynch) to pack (writing to a shared NFS). On our Red Hat, Drupal v6 seems to have problems using the NFS file caching. Possibly something about opening files in shared mode which is not compatible with NFS file cache. Does that sound similar to a problem anyone else has experienced ?

Need help?

Documentation

The notebook section provides a way for you to store and share information with your group members. With the book feature you can:

  • Add book pages and organize them hierarchically into different books.
  • Attach files to pages to share them with others.
  • Track changes that others have made and revert changes as necessary.
  • Archive books that are no longer of interest to the group. Archived books can be reactivated later if needed.

The revisions let you track differences between multiple versions of a post.