CUPS failover mechanism: clients connect to IP, not hostname?!

sillmann at micronas.com sillmann at micronas.com
Wed Feb 3 00:43:18 PST 2010


As we have a need for 24/7 CUPS printing at my compnay, we do have two CUPS servers installed which should run in active/standby. Therefore we have a CNAME configured, say cups.example.com. This CNAME points to either cups1.example.com or cups2.example.com.

Now that I've switches the CNAME for the first time, it turns out that the CUPS clients do not connect to the new server automatically. Maybe this is because the cups-polld daemon is invoked with the IP address specified as parameter, e.g.

cups-polld 172.27.207.32 631 3607 631

In cupsd.conf I have NOT specified an IP address, I specified the CNAME.

Who do I configure CUPS (or DNS) in a way that changes to the CNAME are reflected on the clients?

Thanks and best regards,

cupsadm.





More information about the cups mailing list