[Red5devs] Edge/Origin config files
Thijs Triemstra | Collab
lists at collab.nl
Sun Feb 3 05:44:43 PST 2008
Hi,
I'm working on the ant build file and I'm trying to figure out the
edge/origin stuff. Currently there's 2 folders created in the 'dist'
folder called 'edge' and 'origin'. They're copies of the dist
directory and the only differences are that the red5.xml is
overwritten with a 'red5-edge.xml' or 'red5-origin.xml'. According to
the wiki doc [1] it's recommended to run webapps on the origin only.
I guess this means we should include the webapps/src/etc in the
origin target only, because currently those files are not copied at
all. Also, is it safe to delete the edge config files for the origin
and vica versa? If it is then Ant can delete these files because I
assume we don't need edge config files in a origin setup.
So I'm creating a new build target called 'dist-cluster' that will
create a new 'cluster' folder that will contain:
- edge (stripped down version of red5, containing config files, lib
and red5.jar only)
- origin (normal version of Red5, including the webapps folder
- readme.txt - some simple instructions for clustering based on the
wiki page [1]
Maybe we should also create a second (or a stripped down version of)
build.xml for the edge, that contains startup commands only, no build
stuff..
Cheers,
Thijs
[1] http://jira.red5.org/confluence/display/docs/Edge+Origin
+Clustering+Configuration
More information about the Red5devs
mailing list