Luke,

links in Matterhorn are contained in mediapackage documents (which you'll find 
embedded in workflows, the search index and other places), which are used to 
reference tracks, catalogs and attachments. If you started with an IP address 
rather than a DNS name, you are in a bad situation, especially given the fact 
that mediapackages end up on the filesystem (working file repository), in 
databases (workflow) and in solr search indices (search).

Unfortunately, I don't see any way around re-ingesting your content with 
updated DNS names (other than re-assigning that ip to the relevant machine). 
Hopefully soon, we'll have an "episode" archive in Matterhorn, that will allow 
you to do that from within Matterhorn.

You know this of course, and I don't want to sound preceptive. Still I need to 
mention that DNS is there to get around the kind of problems that you describe. 
Since Matterhorn needs to hand out urls to HTML pages and players running in 
people's web browsers, there is no way we can get along without either DNS 
names or IP addresses. In any case, IP addresses should never be handed out to 
entities that rely on being able to reach your service.

The most important settings in that respect are

- org.opencastproject.download.url and
- org.opencastproject.streaming.url

These two urls are written to the search index and thus handed out to your 
users through the search interface or ATOM/RSS feeds. By default, these two 
settings are configured to org.opencastproject.server.url, so make sure *at 
least* these two are set to DNS names that you can adjust easily in case of 
changes of IP addresses.

Tobias

On 06.01.2011, at 18:44, Luke Olson wrote:

> Hello,
> 
> During initial testing the three Matterhorn virtual machines here were setup 
> using only IP address in the configuration files. I've changed the 
> configuration for the engage server so it has a hostname instead of just the 
> IP address. I can access it but it seems like all the media and images are 
> still looking at the old IP address instead of the new hostname so they don't 
> work in the browser. The old IP address is showing up in a bunch of XML 
> files, does this mean I need to find and replace the old IP address with the 
> new hostname? This seems very not-good that changing the server name/IP means 
> all of the media and images break on the engage side. Is this the case or did 
> I miss changing the configuration somewhere?
> 
> i...@mh-admin:/mnt/data/opencast$ grep -r -l "10.19.0.208" /mnt/data/opencast
> /mnt/data/opencast/workflow/_eg.cfs
> /mnt/data/opencast/workflow/_ei.cfs
> /mnt/data/opencast/workflow/_eh.cfs
> /mnt/data/opencast/files/collection/workflows/563509db_bd63_4d06_96a8_6ed4ea967f70.xml
> /mnt/data/opencast/files/collection/workflows/e49218c6_a5de_48f1_83a5_fcb790957637.xml
> /mnt/data/opencast/files/collection/workflows/f8f9c3a3_b74e_4528_8238_73519b07889a.xml
> /mnt/data/opencast/files/collection/workflows/9aeabef4_42e2_4551_ad80_4c9bde83ef28.xml
> /mnt/data/opencast/files/collection/workflows/c0da2e67_3e88_45f9_88f9_accf839a8176.xml
> /mnt/data/opencast/searchindex/data/index/_4.fdt
> /mnt/data/opencast/searchindex/data/index/_2.fdt
> /mnt/data/opencast/searchindex/data/index/_3.fdt
> /mnt/data/opencast/searchindex/data/index/_0.fdt
> /mnt/data/opencast/searchindex/data/index/_1.fdt
> /mnt/data/opencast/workspace/collection/workflows/563509db_bd63_4d06_96a8_6ed4ea967f70.xml
> /mnt/data/opencast/workspace/collection/workflows/e49218c6_a5de_48f1_83a5_fcb790957637.xml
> /mnt/data/opencast/workspace/collection/workflows/f8f9c3a3_b74e_4528_8238_73519b07889a.xml
> /mnt/data/opencast/workspace/collection/workflows/9aeabef4_42e2_4551_ad80_4c9bde83ef28.xml
> /mnt/data/opencast/workspace/collection/workflows/c0da2e67_3e88_45f9_88f9_accf839a8176.xml
> 
> All the best,
> 
> Luke
> 
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to