I am sure I am doing something moronic, but I am having much
trouble getting load balancing in LPRng 3.6.26 to work correctly.
Actually the load balancing queue itself seems to work just fine.
It's that the subqueues don't seem to work/print. Perhaps I am making
some really basic mistake that someone can point out.
I have a load balance queue colorA, and three
subqueues associated with it tek350, tek380, optra40.
If I print to colorA all works fine. If I print to any
of the subqueues, it usually puts the job in the queue
but never makes it "active", e.g.
Server Printer: optra40@q (dest L1@netgear) 'ECS Optra 40' (serving colorA)
Queue: 1 printable job
Server: no server active
Status: job 'vincent@gypsy+253' removed at 12:16:34.229
Rank Owner/ID Class Job Files Size Time
1 vincent@gypsy+885 A 885 colorcir.ps 1815 12:51:15
If I do an lpc status all:
q:/var/spool/lpd/tek380# lpc status all
Printer Printing Spooling Jobs Server Subserver Redirect Status/(Debug)
ripley@q enabled enabled 0 none none
jonesy@q enabled enabled 0 none none
bishop@q enabled enabled 0 none none
call@q enabled enabled 0 none none
apone@q enabled enabled 0 none none
colorA@q enabled enabled 0 none tek350,tek380,optra40
tek380@q enabled enabled 0 none none
tek350@q enabled enabled 0 none none
tek600@q enabled enabled 0 none none
tek2@q enabled enabled 0 none none
cgc-color@q enabled enabled 0 none none
optra40@q enabled enabled 1 none none (2)
ibb-delenn@q enabled enabled 0 none none
If I do an lpc release all or lpc up all, it will start up
the subserver and print the job. However, the problem persists.
On following prints I have to do the "lpc up all" once again.
I've tried cleaning all the queues, running through checkpc -V
and assorted other ground-zero solutions with no success.
Any ideas what is going on here?
It was all working just find with individual queues before I decided
that I had to implement load balancing. What exactly about the load
balancing is breaking things? I am debating giving up and undoing the
load-balancing setup, or just creating additional queue entries that are
not subqueues in order to regain direct access.
My particulars:
LPRng 3.6.26
ifhp 3.4.1
server q is a Redhat 6.2 box
*operates as main queue server using /usr/local/etc/lpd_printcap entries
*is a client of itself based on /usr/local/etc/printcap :client entries
All client hosts in the network are "lightweight", compiled with
--disable-force_localhost and using the same /usr/local/etc/printcap
with only :client entries.
The relevant sections of /usr/local/etc/lpd_printcap:
colorA
:lp=/dev/null
:sv=tek350,tek380,optra40
:sd=/var/spool/lpd/%P
:lf=log
:ps=status
tek380|ecs-tek380
:ss=colorA
:cm=ECS Tek Phaser 380
:lp=RAW@tek380
:af=acct:lf=log:ps=status
# only allow the following formats
:fx=flpv
#filters
:if=/usr/local/libexec/filters/ifhp
:of=/usr/local/libexec/filters/ofhp
:vf=/usr/local/libexec/filters/ifhp -c
# :ifhp=model=phaser,dev=130.207.84.186%9100
:mx=0
:sd=/var/spool/lpd/%P
:sh
tek350|ecs-tek350
:ss=colorA
:cm=ECS Tek Phaser 350
:lp=RAW@tek350
:af=acct:lf=log:ps=status
# only allow the following formats
:fx=flpv
# filters
:if=/usr/local/libexec/filters/ifhp
:of=/usr/local/libexec/filters/ofhp
:vf=/usr/local/libexec/filters/ifhp -c
# :ifhp=model=phaser,dev=130.207.84.187%9100
:mx=0
:sd=/var/spool/lpd/%P
:sh
optra40|ecs-optra40
:ss=colorA
:cm=ECS Optra 40
:sh
:mx=0
:lp=L1@netgear
:sd=/var/spool/lpd/%P
:af=acct:lf=log:ps=status
# only allow the following formats
:fx=flpv
And the sections of /usr/local/etc/printcap that matter:
tek350
:client
:lp=tek350@q
:sh
# only allow the following formats
:fx=flpv
tek380
:client
:lp=tek380@q
:sh
# only allow the following formats
:fx=flpv
optra40|ecs-optra40
:client
:lp=optra40@q
:sh
# only allow the following formats
:fx=flpv
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------