Skip to main content
Question

Mirror Scripts from Production to Lab Environment?

  • November 24, 2015
  • 12 replies
  • 22 views

DBrowning
Forum|alt.badge.img+25

I remember someone showing a process at JNUC this year. Does anyone have a link to the scripts/process or know of a way to do this easily?

12 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • November 24, 2015

@ddcdennisb Was it this talk?

Anyways, JSS cloud or on prem?


DBrowning
Forum|alt.badge.img+25
  • Author
  • Esteemed Contributor
  • November 24, 2015

YES!!! @bentoms on prem.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • November 24, 2015

@ddcdennisb As on prem, why not restore the DB to the test JSS?


DBrowning
Forum|alt.badge.img+25
  • Author
  • Esteemed Contributor
  • November 24, 2015

don't want all the computer (1100+) looking to setup a lab environment with all the same scripts and policies to do better testing on rather then in a live environment.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • November 24, 2015

@ddcdennisb arguably a copy of your in prod DB will give you better tests.


Forum|alt.badge.img+15
  • Contributor
  • November 24, 2015

I second @bentoms . Once you clone the DB, delete the computers in your DEV DB, and enroll you lab/test machines.


DBrowning
Forum|alt.badge.img+25
  • Author
  • Esteemed Contributor
  • November 24, 2015

thanks guys!


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • November 24, 2015

Was it the JSS Migration Utility? I've been using it a bit. Works really well. Means you can leave both JSSes up and just migrate what you want.


DBrowning
Forum|alt.badge.img+25
  • Author
  • Esteemed Contributor
  • November 24, 2015

@davidacland

yes it was.


Forum|alt.badge.img+11
  • Contributor
  • November 30, 2015

@bentoms @davidacland

Will using a copy of your production db (either a backup/restore or JSS Migration Utility) use your same tokens for VPP and DEP? I have understood you never want to use the same token in two JSS instances.

We were considering creating separate accounts for our new test environment.


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • November 30, 2015

If its a copy of the database it will have everything in it, including the VPP tokens which could cause issues.

If you can track down where the VPP tokens are stored in the db you could remove them before adding the tomcat webapp.

Failing that, the JSS migration utility script will be a nice way to go.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • November 30, 2015

@kwsenger Are you planning on testing DEP or VPP on the test JSS?