Tool for admins with multiple JSS instances

thoule
Valued Contributor II

I have three JSS servers - one is my play one (development). Then we have test with about 30 users on it. Anything I'm going to deploy to the masses goes there first. Finally we have our Production JSS. Any changes to Test or Production need to go through change control.

I wrote a little tool to change which JSS server my Mac is enrolled in and thought I would share it here. https://dl.dropboxusercontent.com/u/6303870/SwapMyJSS.1.31.dmg

It's intended to be used in a test lab where you need to change which JSS server a Mac is enrolled in. If you only have one JSS server, you do not need this tool!

To use it, create an Enrollment Invitation on each of your JSS servers and get the enrollment key. I recommend you set it to not expire and allow for multiple uses.

Then in the Prefs window of SwapMyJSS, enter the server name and enrollment key. I hope this help. The computer running SwapMyJSS should already be enrolled in one of the JSS servers. See the readme for more info.
Thanks Todd

8 REPLIES 8

freddie_cox
Contributor III

Looking good, thanks!

We're getting several interesting "add-on" or utility type software for the JSS here lately. Might need to carve out a section on JAMFNation to house these type of apps!

gskibum
Contributor III

Excellent. Thank you for posting!

ImAMacGuy
Valued Contributor II

how does one get an enrollment invitation from the JSS? I'm looking in there and can't seem to find it.

thoule
Valued Contributor II

Click on Computers on the top so that you have Policies and Configuration Profiles on the left. Further down that list is Enrollment Invitations, if you have access. Click on that, then click the + to make a new invitation.

Make up an email address, and fill out the form. Be sure to select Multiple Uses. I don't have my JSS available right now, but in there is something about the Enrollment key (that's a long string of characters which the SwapMyJSS tool needs).

If you can't find it, i'll try to make more specific instructions once I get to my JSS.

ImAMacGuy
Valued Contributor II

oh... wow, now I feel stupid.
thank you :)

RobertHammen
Valued Contributor II

I've often thought that the various apps (Casper Admin, Recon, Remote) should have a "server" pop-up field in the login (username/password) window. As a consultant whose Mac may talk to a dozen or more JSSes, I spend a lot of time cursing, then quitting the app and re-launching it with the shift key held down.

I'll try this app, but I really wish JAMF would fix this problem if/when the apps get a rewrite. Maybe I should make this into a Feature Request.

pkond
New Contributor

Nice! Will be very handy for me too =) Have you thought about to publish sources?
Or, just describe what changes SwapMyJSS perform to switch jss?
I'm thinking of automatic, non-gui way to switch between JSS instances.

thoule
Valued Contributor II

Hi - the source code is on my GitHub repo. https://github.com/tmhoule/SwapMyJSSXC4
I build it with XC4 so it runs on 10.7+ It's AppleScript/ShellScripts wrapped in Xcode.