[cups.general] Multiple servers

John Morton jwm at cranenz.co.nz
Thu Mar 17 19:58:52 PST 2005


On Fri, 2005-03-18 at 05:34, Alan Silver wrote:
> Hi all:
> 
> I have set up 2 cups servers on my network. Both on redhat enterprise linux 3. And this set up has been working just fine. Right now, if I need to create a print queue, I am using the web interface on both servers.

> Is there an easy way for me to create the print queue on one machine and then update the second machine via a script. Both servers will look the same (i.e. they will host the same exact print queues). I was thinking that I could copy over some files (/etc/cups/cupsd.conf, /etc/cups/printers.conf,  /etc/cups/ppd/*) and restart cups and everything would be fine. Any thoughts  from people who have done this?

Cups let's you do this automatically via the browsing system. In each
cupsd.conf, set Browsing On, to allow that server to both send and
receive browsing packets, then either set a BrowsePoll on each to point
to each other, or set BrowseAddress to the broadcast address of the
network the machines are on (setting @LOCAL usually does the trick). 

Bring up both the servers, and after about 30 seconds (the default
poll/braodcast time), they should be listing each other's printers and
classes.

John





More information about the cups mailing list