I have 2 (or more) artifactory instances/nodes deployed on JBoss4.2.2/JRE6
and load-balanced via mod_jk Apache. Each node refers to the same MSSQL
database (internal storage). 

Started by configuring the first node, so both System Configuration and
security configuration (permissions, roles, etc.) should then be available
in the DB. From there aimed to bootstrap new nodes based on configuration
found in the internal storage. 
1) I would expect the second newly setup node to retrieve this configuration
simply by pointing it to the same DB as the first one, 
   ($ARTIFACTORY_HOME and artifactory.jcr.configDir=repo/mssql property in
$ARTIFACTORY_HOME/etc/artifactory.system.properties, as well as the JDBC URL
are set correctly) 
2) if not I'd expect having to initialize the configuration for the
second/new node only once explicitly via the supported configuration
bootstrapping mechanism (or via the REST interfaces or webapp for that
matter). 

Unfortunately for having the second node (and other new nodes) configured
properly, I need to bootstrap their configuration *upon each restart*, i.e.
by passing in configuration via
$ARTIFACTORY_HOME/etc/artifactory.config.import.xml and
$ARTIFACTORY_HOME/etc/security.import.xml

--
View this message in context: 
http://forums.jfrog.org/Configuration-of-second-L-B-Artifactory-node-not-retained-after-restart-tp7069466p7069466.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to