MH-9388 -- added support for the distributed setup as well

git-svn-id: http://opencast.jira.com/svn/MH/trunk@13748 e6edf6fb-f266-4316-afb4-e53d95876a76