|
|
|
|
|
by datr
4498 days ago
|
|
How does this work with: 1) Clusters of application servers, where I will only want operations on shared resources to fire from one of the servers? E.g. database updates, shared file changes, etc. 2) When I want to deploy the code to a different location on the server so that I can have multiple versions of the application available? Do I have to spin up new servers for each version? 3) You mention roll back by just specifying an earlier package but I don't see how this would work with stuff like database changes either. |
|
1) How would you do this for any deployment method? You'd have to be able to ID one specific node in the cluster or make sure that your job could only run on one node with some sort of locking.
2) If you're deploying multiple versions of an application in production, you have other issues.
3) How would you rollback database changes to begin with? Come to think of it, how are you going to deal with any DB schema changes? This isn't just an issue with .deb/.rpm deployments of code - you'll have to figure this out for any application deployment.