How to run a really "silent" Jazz RTC setup?
Hi,
I'm trying to automate a Jazz RTC setup for some development purpose. I've gone in the documentation and read what's provided for a silent RTC installation:
But, here, I still don't have any working Jazz RTC, because I didn't run the chapter "Configuring the server - Running the setup from the command line". And what I read here is all but silent because I've to manually answer about 10 questions (DB type, DB location, etc). Si, I've some additionnal questions:
Thanks.
OS: Linux
|
2 answers
Based on the document, when you run the "repotools-jts -setup" command, you can use the "parametersFile" parameter which points to a file containing the answer to those steps.
http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.1/com.ibm.jazz.install.doc/topics/r_repotools_setup.html Comments
Romuald Tisserand
commented Dec 09 '14, 4:55 a.m.
Thanks Donald. I saw this documentation. The problem is the parameters listed here don't match the questions asked by the RTC setup.
Francois-xavier Panaget
commented Dec 09 '14, 5:18 a.m.
Hi Romuald,
Hi,
The silent-install-server2.xml is just modified to contain absolute path a specified by the installation documentation. Here, JTS is successfully deployed, but not setup. As suggested by François-Xavier Panaget, I run... ./repotools-jts.sh -setup responseFile=/home/vagrant/response.properties... and after having answered about 20 questions, I get a working JTS. To complete my automation process, I rename the resulting response.properties file in parameters.properties to complete my script as: sudo cp /media/installs/templates/ubuntu/rtc5-parameters.properties ./parameters.propertie sudo chown vagrant:vagrant ./parameters.properties ./repotools-jts.sh -setup parametersFile=parameters.propertiesThen, I always get the following error message: CRJAZ1357E The repotools command could not log in to the following server: https://localhost:9443/jts. Check the login credentials.I run this process several times, and I get this error at 100%. Any help would be great. Thanks. Are you using the default ADMIN/ADMIN credentials? If not, you should specify -adminUserId and -adminPassword or use the -credentialsFile parameter to point to a property file.
Romuald Tisserand
commented Dec 16 '14, 4:40 a.m.
Thanks Donald,
./repotools-jts.sh -setup parametersFile=parameters.properties -adminUserId=Admin -adminPassword=<password> ...and I get: Unrecognized parameters: "-adminPassword", "-adminUserId".So, I tried to remove the credentials from the properties file (because I put them in the command line)...and same error. Thanks for the help.
Donald Nong
commented Dec 16 '14, 5:53 p.m.
My bad. For some reason I kept repeating the same mistake - for repotools parameters, you don't put a dash(-) in front of them. So your command should look like this
./repotools-jts.sh -setup parametersFile=parameters.properties adminUserId=Admin adminPassword=<password>or ./repotools-jts.sh -setup parametersFile=parameters.properties credentialsFile=credentials.propertiesif you put the credentials in the file called "credentials.properties". Thanks.
Romuald Tisserand
commented Dec 17 '14, 10:32 a.m.
I think I've reached a working and reproductible Vagrant script. Great!
Donald Nong
commented Dec 18 '14, 2:47 a.m.
I have converted your last question to a new "question" on the forum so as to attract more attention.
showing 5 of 9
show 4 more comments
|
Romuald, Donald,
I see symptoms very similar to Romuald's with Jazz 6.0.1 M5 with LQE, RELM, and JRS included. I suspect what is going on is that the more servlet apps there are (like "ccm", "rm", or "lqe") then the longer it takes Jazz to process the startup for all those apps. I have found that the necessary waiting period between starting the server and running the setup can be surprisingly long. 2 minutes would be spiffy in some cases!
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.