Sponsored Content
Operating Systems AIX AIX Printers moved to anothere AIX system Post 302394162 by homeyjoe on Wednesday 10th of February 2010 04:11:37 PM
Old 02-10-2010
I haven't tried doing this procedure on a 6.1 system but it worked great for copying queues from AIX Ver 4.X to 5.X.

1. Copy the /etc/qconfig file over to new system
2. Refresh the qconfig file by on new system, "enq -d"
3. Copy /var/spool/lpd/pio/@local/custom files to new system
4. Copy /var/spool/lpd/pio/@local/dev files to new system
5. Copy /var/spool/lpd/pio/@local/ddi files to new system
6. Copy /etc/hosts file to new system
7. vi newq.sh on new system and paste in the following
Code:
      #!/bin/ksh

      cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit/* \
         /var/spool/lpd/pio/@local/smit
         
      cd /var/spool/lpd/pio/@local/custom
      chmod 775 /var/spool/lpd/pio/@local/custom
      for FILE in `ls`
      do
          chmod 664 $FILE
          QNAME=`echo $FILE | cut -d':' -f1`
          DEVICE=`echo $FILE | cut -d':' -f2`
          chvirprt -q $QNAME -d $DEVICE
      done

8. chmod 700 newq.sh
9. ./newq.sh
10. Test
11. rm newq.sh

Last edited by Scott; 02-10-2010 at 05:31 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Can i see who used our AIX system

Our firewall logs show strange entries and we had a strange issue of a moved directory withour anybody knowing of it. Are their log files on AIX where i can see who used the system ( logged on, move anything, ... ) Thanks (5 Replies)
Discussion started by: progressdll
5 Replies

2. Solaris

rsh commands not getting executed from Solaris 10 System to AIX System

Hi Friends, I am trying to execute rsh commands from Solaris 10 system to AIX system. When I give; Solaris10# rsh <hostname> ls -l , it gives me an error rshd : 0826-826 The host name for your address is not known At the same time, Solaris10# rsh <hostname> ---- gives me remote shell of... (25 Replies)
Discussion started by: jumadhiya
25 Replies

3. AIX

How to apply aix 5.3 TL8 properly on ML5 aix system ?

Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ? Is the TL8 installation not totally safe ? thank you. (6 Replies)
Discussion started by: astjen
6 Replies

4. AIX

Interface drivers for printers under AIX 5.3 or above

Hello, Under Linux (Cups) you can place an interface driver in: /etc/cups/interfaces .. which allows you to intercept printouts to a certain printer and then carry on with the printer. Is there a similar function under AIX? Thanks, (0 Replies)
Discussion started by: stuaz
0 Replies

5. AIX

I need get the system aix please

hi my frieds, I´m from mexico and I was looking the SO Aix. please help me. (4 Replies)
Discussion started by: puma056
4 Replies

6. AIX

AIX Bunch of printers queue creation script - HELP

I'd seek for help on how to create a bunch of printers in AIX 6.x or equal or above in one go – say like I have 35 printers to create in 4 different AIX Nodes every month – I currently create it manually like below:- How can I automatic this creation on all the 4-5 Nodes – not actually automatic... (3 Replies)
Discussion started by: shiv2001in
3 Replies

7. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

8. AIX

Accessing files on AIX system from Linux system

I have a following requirement in production system 1 : LINUX User: abcd system 2: AIX (it is hosting a production DB) Requirement user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies

9. UNIX for Beginners Questions & Answers

AIX 4.3 - Need help - Printers not working

I am running an old IBM P-Series server running AIX 4.3 (I know a dinosaur). The OS has not been updated. We had a hard drive failure last weekend, and I was able to get most of the system back up, however, I have 3 line printers and 3 label printers that I can not get working. I have tried... (2 Replies)
Discussion started by: Patrick.Crocker
2 Replies

10. UNIX for Beginners Questions & Answers

New to AIX: How do I setup high availability on an AIX System

I am new to AIX but not new to unix. I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is... (2 Replies)
Discussion started by: mathisecure
2 Replies
CHECKPC(8)							  checkpc command							CHECKPC(8)

NAME
checkpc - check out the printcap database SYNOPSIS
checkpc [ -aflprsV ] [ -Aage[DHMS] ] [ -Ddebugflags ] [ -Pprinter ] [ -t size[kM] ] DESCRIPTION
Checkpc is used to check for the existence and correct permissions of entries in the printcap database. It is useful when installing a new printcap database and cleaning up existing printer spoolers. -a Do not create accounting files (:af). -f The fix flag will cause the checkpc program create and fix various files and permissions. It does this in a simple minded manner, and the program may have to be run several times until all permissions are correct. It also reports in extremely verbose details its actions. -l Do not create log files (:lf). -p Print verbose printcap information. Useful if interested in the printcap values. -r remove junk or job files older than the age set by -A. You must set the age to a non-zero value otherwise no files are removed. -s Do not create filter status files (:ps). -A Age[DHMS] Report junk or job files older than age. The age time can have a suffix days (D) hours (H), minutes (M), or seconds (S); default is days. -D debugflags Run the program with debugging flags. See the LPRng HOWTO for details of the flags actions. -V Verbose mode. -P printer Process only the specified print queue. -t size[kM] Truncate log files (:lf) to the specified size in Kbytes or Mbytes (default is Mbytes). -T serial-line set process name and start feature test ANNOYING FEATURES
If the -f(fix) option is specified and you do not run this as root, it will complain, but attempt to carry out the operations. This will lead to a large number of failures reports if the ownership and/or permissions are incorrect. FILES
The files used by LPRng are set by values in the printer configuration file and by configuration options. The following are a commonly used set of default values. /etc/lprng/lpd.conf LPRng configuration file ${HOME}/.printcap user printer description file /etc/printcap printer description file /etc/lprng/lpd.perms permissions /var/run/lprng/lpd lock file for queue control /var/spool/lpd spool directories /var/spool/lpd/QUEUE/control queue control /var/spool/lpd/QUEUE/log trace or debug log file /var/spool/lpd/QUEUE/acct accounting file /var/spool/lpd/QUEUE/status status file SEE ALSO
lpd.conf(5), lpc(8), lpd(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.perms(5), pr(1), lprng_certs(1), lprng_index_certs(1). AUTHOR
Patrick Powell <papowell@lprng.com>. DIAGNOSTICS
Most of the diagnostics are self explanatory. If you are puzzled over the exact cause of failure, set the debugging level on (-D5) and run again. The debugging information will help you to pinpoint the exact cause of failure. HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng developer mailing list is lprng-devel@lists.sourceforge.net; subscribe by visiting https://lists.sourceforge.net/lists/listinfo/lprng-devel or sending mail to lprng- request@lists.sourceforge.net with the word subscribe in the body. The software is available via http://lprng.sourceforge.net LPRng 2007-02-22 CHECKPC(8)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy