LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 07-19-2010, 01:34 PM   #1
backtogeek
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Darwin Streaming Server


Hi All,

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.

Assumptions:
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
e.g.:
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:
files:
/etc/streaming/streamingserver.xml
/etc/streaming/qtusers
/etc/streaming/qtgroups
/etc/streaming/streamingloadtool.conf
/etc/streaming/relayconfig.xml

In order to run muliple instances you require a set of these files in a unique location e.g.
/etc/streaming/second_instance/
/etc/streaming/third_instance/

The streamingserver.xml file must be altered per instance, I have extracted the linesI personaly belive have to be unique as below:
key:
? = not 100% sure it needs a qunique value
opt = does not need to be unique but can be specified

opt <PREF NAME="maximum_connections" TYPE="SInt32" >1000</PREF>
<PREF NAME="movie_folder" >/usr/local/movies/</PREF>
<PREF NAME="bind_ip_addr" >0</PREF>
<PREF NAME="error_logfile_dir" >/var/streaming/logs/</PREF>
<PREF NAME="run_user_name" >qtss</PREF>
?<PREF NAME="run_group_name" >qtss</PREF>
?<PREF NAME="pid_file" >/var/run/DarwinStreamingServer.pid</PREF>
?<PREF NAME="relay_prefs_file" >/etc/streaming/relayconfig.xml</PREF>
<PREF NAME="request_logfile_dir" >/var/streaming/logs/</PREF>
<PREF NAME="request_logfile_name" >StreamingServer</PREF>
<PREF NAME="mp3_request_logfile_dir" >/var/streaming/logs/</PREF>
<PREF NAME="mp3_broadcast_password" >xxxx</PREF>
<PREF NAME="modAccess_usersfilepath" >/etc/streaming/qtusers</PREF>
<PREF NAME="modAccess_groupsfilepath" >/etc/streaming/qtgroups</PREF>

What is not know/Questions:

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.
 
  


Reply

Tags
darwin, streaming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Darwin Streaming Server please Linux - Server 4 09-03-2009 12:21 AM
Darwin streaming server Video streaming local only ahmed_as8 Linux - Networking 2 05-28-2009 02:52 PM
Darwin Streaming Server urgent help please ahmed_as8 Linux - Software 3 05-12-2009 06:17 AM
Q for Darwin Streaming Server ahmed_as8 Linux - Software 0 05-08-2009 02:11 PM
Darwin Streaming Server??? lemay_jeff Linux - General 0 04-14-2004 09:07 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration