Skip to main content
Question

A script for deployment of multi-instance JSS (Linux)


kitzy
Forum|alt.badge.img+14
  • Valued Contributor
  • 167 replies

UPDATE: I've moved the script to GitHub: https://github.com/jkitzmiller/jssdeploy

Version 9 here: https://github.com/jssmanager/jssmanager/

26 replies

Forum|alt.badge.img+13
  • Valued Contributor
  • 89 replies
  • November 17, 2012

Well done. Very well done.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • November 17, 2012

Thank you!


Forum|alt.badge.img+13
  • Valued Contributor
  • 89 replies
  • November 17, 2012

Next lab machine I have, I will play with this.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • November 17, 2012

I used it successfully in production for the first time tonight. It went off without a hitch. Of course it IS tailored to my environment...


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • November 18, 2012

I just made some changes to make it a little more user friendly, specifically adding variables at the beginning to let you define where you keep your logs and your ROOT.war file. The formatting is also a little nicer when asking for user input.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • November 20, 2012

Made a couple of tweaks, mostly improving documentation and adding support for Tomcat being installed as a service.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • December 3, 2012

Updated to incude error checking and slightly improved documentation.

Has anyone played with it yet? I'd love to hear your thoughts.


tobiaslinder
Forum|alt.badge.img+16
  • Valued Contributor
  • 101 replies
  • January 25, 2013

I just wanted to report back that the script worked perfectly fine after tweaking a few settings but this is probably due to the fact that I used the jssinstaller.run and not the manual installation.

Thank you so much for this brilliant script. I will have to setup many instances in the near future and so this is going to make my life way easier. Looking forward to invite you for a drink of your choice next time I'm in Chicago (probably summer 2014).


Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • January 25, 2013

Git hub this. Now.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • January 28, 2013

Tobias - I'm glad you found it helpful! I'll definitely take you up on that drink!

Jared- I've been meaning to... time is not on my side. One of these days!


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • January 28, 2013

EDIT: All is well.


tobiaslinder
Forum|alt.badge.img+16
  • Valued Contributor
  • 101 replies
  • January 28, 2013

What a shame but I understand. My last employer would also not have been happy for me sharing knowledge. 20th century thinking is still very strong is today's management culture.


Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • January 28, 2013

Employers are stupid. I grabbed the Google cached version for later keeping.


Forum|alt.badge.img+31
  • Employee
  • 920 replies
  • January 28, 2013

John,

Let me know if there'd be a problem with my hosting the script on my GitHub repo.

Thanks,
Rich


mm2270
Forum|alt.badge.img+16
  • Legendary Contributor
  • 7880 replies
  • January 28, 2013

Wow, really? That's pretty dumb. The next time management asks you to research something out there that you don't already have the answer to I would respond by saying. 'well, found some information, but I can't use it due to the employers owner not allowing them to share it' Employers need to wake up and understand that information sharing is what makes so much of what we do possible in the first place.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • January 31, 2013

So I've moved the script to GitHub, and I've added some more error checking. I'm pretty sure it's solid, but I'd love to get some feedback if anyone would like to try it out.

Next on the roadmap is the ability to set an instance as limited access from the script rather than having to log in to the JSS instance.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • February 3, 2013

Added some error checking for the database connection.

Still working on limited access, and possibly the option to create the database and user from the script.


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1901 replies
  • February 3, 2013
echo Configuration complete. Enjoy your burrito.

Heh heh heh...


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • February 3, 2013

I was wondering how long it would take someone to comment on that.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • February 6, 2013

I tested it with version 8.63, and it worked great in my environment! I also fixed a couple bugs. Check github for the details.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • February 10, 2013

I'm looking for a couple people to test out setting limited access from the script. Would anyone like to help?


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • August 21, 2013

This script has been updated for version 9 and has a ton of new features.

https://github.com/jssmanager/jssmanager

Please use at your own risk, as this is provided "as is" and is not JAMF supported. Please test before using in your production environment.

-Kitzy


rickgmac
Forum|alt.badge.img+9
  • Valued Contributor
  • 62 replies
  • September 26, 2013

Any tips on changing ports.

Seams to create instances with port 8080. If I change the server.xml tomcat won't start.


kitzy
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • 167 replies
  • September 26, 2013

@rickgmac - The ports are all handled by Tomcat, so it's not that the script is creating the contexts on port 8080, that's just Tomcat's default configuration.

In my server.xml, I have a section for 8443 that looks something like this:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/var/lib/tomcat7/cert.p12" keystorePass="password" keystoreType="PKCS12" />

I believe this section is commented out by default on a standard Tomcat install.

If you post your server.xml here, I'm sure someone could help you figure out why Tomcat won't start.

-Kitzy


rickgmac
Forum|alt.badge.img+9
  • Valued Contributor
  • 62 replies
  • September 26, 2013

Cheers kitzy

Made a rookie mistake, by not fully un-commenting the connector. So Tomcat would fail to start.

Love this script by the way.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings