Multi-CUPS servers

Michael Sweet mike at easysw.com
Fri Feb 10 07:07:19 PST 2006


angelb at bugarin.us wrote:
>>> ...
>>> With strict broadcasting, the clients can listen to only one server
>>> at one time. This means that if you have multiple servers, you're back
>>> to doing browse-polling, well half-half because you can specify one
>>> server as your primary which could be the server that does the broad-
>>> cast and the other server, whether on the same network or not, your
>>> clients are forced to do a browse-poll.
> 
>> That's not how the broadcasting works.  As long as the client can
>> see *both* servers on the same subnet, and as long as your servers
>> are broadcasting on the client's subnet, then the clients will see
>> them both.
> 
>> Make sure you are using BrowseAddress @LOCAL (or manually list the
>> subnet broadcast addresses with separate BrowseAddress lines) on the
>> servers - the usual BrowseAddress 255.255.255.255 doesn't propagate
>> to all interfaces with every OS...
>>
> 
> I thought I understood how broadcasting works and that's the reason
> why I requested additional interfaces for our servers so that they,
> the client and servers are on the same subnet, can talk directly.
> 
> Your explanation on broadcasting was exactly what's on my mind. The way
> I explained it was based on how my current CUPS configuration are setup
> and my observation on the servers. It turned out that my configuration
> is not set correctly. I managed to comment the @LOCAL.
> 
> Last question if you don't mind... :)   Is it still necessary to setup
> a default server in the client configuration if I have two servers and
> they are all in the same subnet?

No, you want the clients to look at the local system's cupsd, so the
ServerName in client.conf should be commented out.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list