Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: FUSEFORGE-81
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jonathan Anstey
Reporter: Hiram Chirino
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forge: FUSE Forge

Forge Production Deployment Scripts.

Created: 20/Apr/09 02:20 PM   Updated: 04/May/09 11:59 AM
Component/s: Forge Unix Box
Affects Version/s: 1.0
Fix Version/s: 1.0


 Description  « Hide
So we should create a new data migration script in the git@forge.fusesource.com:fuse-infra.git project which does the following:
  • Assuming that the latest forge code has been deployed to a new slice called slice2 and the production forge is on a slice called slice1
  • Update the httpd config for the fusesource server (the walter or walterdev boxes) so that instead of proxying /forge requests to the forge box, a maintenance page is displayed.
  • figure out how to disable git access to slice1 (perhaps disable all authorized keys to the git account)
  • All project and database data is copied from slice1 to sclice2 which is basically:
  • forum database
  • rails app database
  • svn repos
  • WebDAV repos
  • Install all the data to the correct location in slice2
  • Some kind of sanity check that the apps are ok (Optional)
  • Update httpd config on fuse source server to proxy to the internal ip of the new slice2

So that should basically allow us to switch to the new forge code with minimal downtime. We can test this script in dev until it works. In the production case once the script is run, all that is left to do is to update DNS entries to point to the new server.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino added a comment - 04/May/09 11:59 AM
scripts worked like a charm. Thank Jon!