I'm trying to automate the setup of a multiple instance and clustered environment as far as possible.
So far I manage to offer tomcat a modified .war file with edited JSS settings for database, logging, and caching. At the database server side, creation of database and granting rights is automated. This works and at first startup and weblogin I'm greeted with the enter a serial page. So far so good.
But somehow I'm not able to define clustering. I copied clustering info from a working instance and recreate these tables in the new one (tables limited_access_mode_settings, jss_cluster_settings, jss_cluster_nodes).
Upon first startup I get this message on the master: "This is a non-master JSS web application. Upgrade your master web application before upgrading the non-master web applications." It's as if the clustering settings aren't correct or not complete.
Am I missing a SQL table or a tomcat instance setting somewhere?