Mirror Scripts from Production to Lab Environment?

DBrowning
Valued Contributor II

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 12

bentoms
Release Candidate Programs Tester

@ddcdennisb Was it this talk?

Anyways, JSS cloud or on prem?

DBrowning
Valued Contributor II

YES!!! @bentoms on prem.

bentoms
Release Candidate Programs Tester

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

DBrowning
Valued Contributor II

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
Release Candidate Programs Tester

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

thoule
Valued Contributor II

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

DBrowning
Valued Contributor II

thanks guys!

davidacland
Honored Contributor II
Honored Contributor II

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
Valued Contributor II

@davidacland

yes it was.

kwsenger
Contributor

@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
Honored Contributor II
Honored Contributor II

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
Release Candidate Programs Tester

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