How can a PSF/6000 user dynamically balance printer

ITEM: RTA000087395



Q:                                                                              
ABSTRACT:     How can a PSF/6000 user dynamically balance printer               
              output between two 3935s currently attached?                      
ENVIRONMENT:                                                                    
SEARCH ARG:   psf/6000 workload balance                                         
TOPIC THREAD: PRINT                                                             
              AFP                                                               
              PSF6000                                                           
..                                                                              
How can a PSF/6000 user dynamically balance printer output between              
two 3935s currently attached?                                                   
                                                                                
A:                                                                              
You can do this by setting up two PSF/6000 queues, one for each                 
printer, and then by creating a single AIX queue to front-end the two          
PSF/6000 queues.                                                                
                                                                                
1. Configure a PSF/6000 queue for the first 3935, e.g., p3935a, with            
the default number of queue devices (four: dev1, dev2, dev3, dev4).             
                                                                                
2. Configure a PSF/6000 queue for the second 3935, e.g., p3935b, also           
with the default number of queue devices (four: dev1, dev2, dev3, dev4).        
                                                                                
3. Create an AIX local queue (smit mklque).  For this example, call it          
3935q.  So, the NAME of queue to add is 3935q. The default queuing              
discipline is first come, first served, but you could change that to            
shortest job next.  For NAME of device to add, you can put in any name          
you want (but only five characters will display on the status display).         
For this example, I'm going to call this device "35a1".  Then on the            
BACKEND PROGRAM pathname (*not* the BACKEND OUTPUT FILE pathname¢):            
                                                                                
           /usr/lpp/psf/bin/ainbe p3935a                                        
                                                                                
Accept the other defaults and press Enter to add the queue. This points         
this queue device back to the first 3935.                                       
                                                                                
4. Add a Device to an Existing Queue (smit mkquedev).  For NAME of              
device to add, I used "35b1".  The QUEUE to which to attach the device          
would be (and you can use F4 or LIST to select from a list) in this             
case "3935q".  This time, the BACKEND PROGRAM pathname would be:                
                                                                                
           /usr/lpp/psf/bin/ainbe p3935b                                        
                                                                                
pointing to the second 3935.                                                    
                                                                               
Then, I would repeat #4 and add additional queue devices to 3935q, such         
as 35a2 (pointing to p3825a), 35b2 (pointing to p3825b), then 35a3,             
35b3, 35a4, and 35b4, so that you have the same number of queue                 
devices available here on the front-end as you have available for work          
on the two 3935 PSF/6000 queues. You should alternate between adding            
devices for p3825a and p3825b (rather than setting all the devices up           
at one time for p3825a, and then all those for p3825b), because the             
order in which you add them is the order in which they will appear in           
/etc/qconfig and be used.                                                       
                                                                                
This does not automatically alternate between the two printers, but             
rather should send it to the first idle printer, so in general, Printer         
A will get more work than Printer B.  I hope that helps.                        
                                                                                
S e a r c h - k e y w o r d s:                                                 
AIX PSF/6000 LOAD BALANCING WORKLOAD BALANCE SHARING psf psf/aix                
leveling                                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000087395 ITEM: RTA000087395
Dated: 03/1999 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:29
Comments or suggestions? Contact us