Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am going to write a guide for those who wish to run multiple instances of darwin streaming server from 1 server in a multiple IP address scenario and am looking for interested people to get involved and assist in creating the guide. (as well as learn a bit myself as I/we go along)
I will be scripting the whole thing at the end so people can create and run a setup.sh for each additional instance they want to create.
I am no expert but should be able to work this out with a little help so here goes.
1) Each instance will have a unique admin account
2) You allready have installed DSS once.
3) You know how to start it.
4) Default ports will be used.
5) You have more than 1 ip address assigned to your server.
6) You know the syntax to run DSS and specify additional options
usage: DarwinStreamingServer [ -d | -p port | -v | -c /myconfigpath.xml | -o /myconfigpath.conf | -x | -S numseconds | -I | -h ]
-d: Run in the foreground
-D: Display performance data
-p XXX: Specify the default RTSP listening port of the server
-c /myconfigpath.xml: Specify a config file
-o /myconfigpath.conf: Specify a DSS 1.x / 2.x config file to build XML file from
-x: Force create new .xml config file and exit.
-S n: Display server stats in the console every "n" seconds
-I: Start the server in the idle state
-h: Prints usage
What is known:
In order to run DSS multiple times you must have unique config files and locations for each instance, those files are:
In order to run muliple instances you require a set of these files in a unique location e.g.
The streamingserver.xml file must be altered per instance, I have extracted the linesI personaly belive have to be unique as below:
? = not 100% sure it needs a qunique value
opt = does not need to be unique but can be specified
1) Where to specify unique WebAdmin port i.e. not 1220 ?
2) Is a seperate /var/streaming/AdminHtml e.g. /var/streaming/second_instance/AdminHtml required or can all instances use the 1 directory ?
3) Are there any other config files or lines within config files that need to be unique?
If there are any interested users please comment or get back to me ultimatley I would like to automate the whole install proccess and the proccess of crating multiple instances with either answer files or prompts.