[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

How to Restore Printer and queues from oAix 5.3 to 6.1

I'm setting up a new AIX 6.1 server and what to know if the following is possible.

Froma backup image can I restore the printers and quues from my old Aix 5.3 server to my new 6.1 server? If so what needs to be done?
0
compdigit44
Asked:
compdigit44
  • 6
  • 6
1 Solution
 
woolmilkporcCommented:
- stop qdaemon on the new server: "stopsrc -s qdaemon"
- restore /etc/qconfig
- restore /var/spool/lpd/pio/@local/custom/
- restore /var/spool/lpd/pio/@local/dev/
- run this script:

cd /var/spool/lpd/pio/@local/custom
for QUEUE in *
do
/usr/lib/lpd/pio/etc/piodigest $QUEUE
done


- start qdaemon: "startsrc -s qdaemon"

No warranty! AIX print queues are sometimes difficult to handle.
If the above doesn't catch all your old queues configure the missing ones by hand!
0
 
compdigit44Author Commented:
I'm not a AIX persion so regarding your script can I type this all on one line?
0
 
woolmilkporcCommented:
No, either type it as I posted, or put it in a file filename as posted and run "sh filename"

One line would look like this:

cd /var/spool/lpd/pio/@local/custom; for QUEUE in *; do /usr/lib/lpd/pio/etc/piodigest $QUEUE; done
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
compdigit44Author Commented:
ok..

I'm going to try the restore now and keep you posted...
0
 
compdigit44Author Commented:
is there a simple way I can test all print queues to make sure they are accepting and printing all documents passed to them?
0
 
woolmilkporcCommented:
Please note that you must have installed

bos.rte.printers
and
printers.*

from the base OS DVDs in order to make the printing subsystem work.
0
 
woolmilkporcCommented:
There's no test that I'm aware of. I fear you must test every single printer.
0
 
compdigit44Author Commented:
How can I tell if bos.rte.printer is installed?
0
 
woolmilkporcCommented:
lslpp -l "*printer*"
0
 
compdigit44Author Commented:
Cool the module listed is installed..

When i try to run the script you mentioned it states... ksh..... /..... piodigest not found
0
 
woolmilkporcCommented:
/usr/lib/lpd/pio/etc/piodigest

is part of printers.rte

Are you sure that it's installed?

See my comment #38326270
0
 
compdigit44Author Commented:
I tried it again and it worked..

I had a type :o)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now