hi toby, i understand you will replace host1 with host2 ? that can easly be done when you switch the hostname in the dns but it takes 1 hour to propagate throu the net. You can simple replace the current entries on host 1 with some redirection queues pointing to host2.
An other idea would to take the IP-adresse of host1 to host2 (linux-ha has aprogramm called 'fake' i gues it would do here fine). Replace the adresse from host1 with host2 and move the left over jobs to the new host1. I guess the linux-ha ppl have some nice ideas what to do. walter - - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - - From: Toby Blake <[EMAIL PROTECTED]> Subject: Re: LPRng: 2 print servers both spooling to one physical printe Date: 11/13/02 13:10 I'd like to say thanks for all the replies to this, it seems to me that this is probably not the sort of thing that I would like to do on a long term basis, but would be fine in the short term. I'll explain why I want to do this. We have a system whereby I would like to easily swap one print server in to take the place of another one, for maintenance, upgrade or whatever. This could be done in one of two ways - either change the printcap information held in LDAP, or change the print server alias to point to another machine, e.g. host1 has an alias of print1, host2 has an alias of print2 - if I want to take host2 down, I can change the print2 alias to point to host1. The trouble is, our system uses ldap and dns servers on every local machine which sync with the masters every hour (different machines will sync at different times to reduce the load). This means that any changes made to ldap or dns will take between 1 and 60 minutes to propagate to any one host. So, in the example above, in the one-hour period after changing the alias, I need both host1 and host2 to be able to spool to the same printers, as various clients will resolve print2 differently. Phew. Cheers Toby ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
