Child pages
  • Grouper book - Deployment and testing in live
Skip to end of metadata
Go to start of metadata

Deployment to live should be similar to test deployment, using your final set of configuration files. These can be transferred from one system to another. Remeber to change database connections if your live database is different to you test one. It is a good plan to retain a test system for continued testing.

As you deploy, follow each step that you used in your test environment build, testing as you go to make sure no steps are missed out.

If you wish to conduct exhaustive tests on you grouper installation you can run the complete test suite. To do this you need to start with an empty database, correctly configured in, and a default sources.xml file. You should also set true in all junit test includes in Next, open a command line and go to GROUPER_HOME/bin and run ./ -test -all (linux) or gsh.bat -test -all (windows). The tests take some time to complete, but all should pass OK.

Grouper loader initiates scheduled jobs which operate on the whole group repository (database), you must ensure that jobs such as daily report and changelog are only enabled on only one instance of the Grouper loader daemon. During testing it is easy to start multiple instances of the Daemon, but it is important to avoid doing this. It is therefore a good idea to have 2 versions of the file - one version which includes the scheduled jobs enabled, and another which does not. Jobs which can be scheduled include:

  • Daily report
  • Changelog enabled/disabled task
  • ChangelogTemp to changeLog task
  • Changelog client tasks

These will be covered in later sections.

If you ran the tests you should reinitialise your schema with:





Load your data. If you'v ebeen following this documentation without jumping ahead you may not actually have any data to load (other than by using the UI). Don't worry, we'll be looking at the various methods of getting data into and out of Grouper in later sections.

  • No labels