system
1
AIX Printers need to be moved to another system
Guy's
We have two servers old AIX 5.2 and new AIX 6.1
the old server has more than 300 printers installed with different configurations
I'd like to move all the printers from the old server to the new server with fast steps
it's possible to export the printers from the old server and import them to the new server . if yes .. how can we do that ?
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.
- Copy the /etc/qconfig file over to new system
- Refresh the qconfig file by on new system, "enq -d"
- Copy /var/spool/lpd/pio/@local/custom files to new system
- Copy /var/spool/lpd/pio/@local/dev files to new system
- Copy /var/spool/lpd/pio/@local/ddi files to new system
- Copy /etc/hosts file to new system
- vi newq.sh on new system and paste in the following
#!/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
- chmod 700 newq.sh
- ./newq.sh
- Test
- rm newq.sh