svn - how to update from two sources using subversion? -
in our production environment have jboss running in clustered mode 4+ nodes. base jboss present in subversion , have local changes on each nodes.
what should strategy can have base jboss @ 1 location, , local changes versioned @ location.
is possible have updates 2 subversion sources @ same folder? or there other strategy used such versioning use cases?
this solution used:
all configuration of local variables has been converted use system properties. system property names made designed in following manner
${nodename}_${nodenumber}_${propertyname}
and every server has variables defined nodename , nodenumber in .profile file.
the properties file define combinations. example: needed separate values of connection_count property file has 8 variables(4 qa , 3 prod)
prod_1_max_connection_count=15 prod_2_max_connection_count=15 prod_3_max_connection_count=20 qa_1_max_connection_count=12 qa_2_max_connection_count=6 qa_3_max_connection_count=10 qa_4_max_connection_count=16
now on each server(qa or prod) variable name constructed means of environment variables defined in .profile file , appropriate property picked up.
this allows rid of local changes on of nodes.
Comments
Post a Comment