With SVN checkouts it's fairly simple (takes some work, but it's easy)
to run two or more instances of Squeezebox Server on the same machine
at the same time. The advantage of this for testing is that you can
compare them side by side in browser windows, and you can easily switch
Squeezeboxes connected from one server to another.

The key is that each instance of SBS needs a separate IP address,
separate database, and separate cache, log and prefs directories. The
IP address and directories are specified through command-line startup
options and specifying the database is done by editing server.prefs.
For the MySQL based servers I run my own MySQL server, with a databases
created within it for each server. The SQLite servers take care of
themselves by creating their separate databases in their respective
cache folder.

You can also have multiple instances of SBS running from the same SVN
checkout. I commonly do this to have servers with different test
libraries.

Right now I have SVN checkouts of:

    
- SqueezeCenter 7.2
- SqueezeCenter 7.3
- Squeezebox Server 7.4 trunk
- Squeezebox Server 7.5 trunk
- Squeezebox Server 7.5 trunk (for testing)
- Squeezebox Server 7.6 trunk
- Squeezebox Server 7.6 trunk (for testing)
- Logitech Media Server trunk
- Logitech Media Server trunk (for testing)
  

I keep a second checkout of each server being actively developed so
that I can play with patches, plugins, whatever, while still being able
to have a working version of the same server.

I have 30 IP adresses bound to the NIC of the server, so I can run up
to 30 instances of SC/SBS/LMS, at the same time if I like. I usually
keep just four  or five of them running. They're set up as Windows
services, using srvany, but I also have a script where I can run any
one of them from the command line.

The service names are based on the IP address and the descriptions
include the SVN checkout plus the library to which the server is
pointed.


+-------------------------------------------------------------------+
|Filename: 2011-07-08_150645.jpg                                    |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12055|
+-------------------------------------------------------------------+

-- 
JJZolx
------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=88615

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to