It would assist us in our quest to have Aegir run deployments against multiple servers if we were able to pick and choose which jobs ran. In particular running provision twice against two webservers (sharing a DB server) will cause two databases to be created: site_n and site_n_0.
The same would likely be the case with drush aliases: it won't work to run the same set of commands against all the servers wholesale. Some (like database creation and install.php) should run once.
Comments
Comment #1
drummTagging
Comment #2
adrian commentedthis is why i don't like the multi-relationship thing directly..
it makes the logic for the front end more complex.
Comment #3
anarcat commentedAs I said in #366418: 0.4: multiple web server support:
So if anyone works on this, they should look at the hook_load for db_server and platform... Basically, I think we should have a --disable-db_server and --disable-platform flags...
Also, I don't see how we can escape that at all: we'll need to have something in provision to do only parts of the process... That's the case regardless of how the frontend is coded.
Comment #4
adrian commentedI'm actually working on something like this on the backend at the moment.
Instead of having provision_apache and provision_mysql ... you have provision/http and provision/db , which have 'engines' for the different implementations of the services.
ie: provision/db/mysql , or provision/http/apache.
In a similar way you can have a dummy or null implementation, which does nothing for db/whatever.
This will be triggered by an option for the type of service.
Comment #5
drummThe db end of this is working in the dev-serices branch http://git.aegirproject.org/?p=provision.git;a=shortlog;h=refs/heads/dev...
Comment #6
adrian commentedThis is done differently, by design