- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrating Printers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 01:33 AM
09-15-2006 01:33 AM
Having a small issue after migrating some printers from an 11.0 box to 11.11.
Copied /var/sam/lp direcory to new server and imported using sam save/restore option.
All print queues now exist on the new box, but unfortunately non of them print.
if i delete and recreate a single queue it prints fine, any ideas to resolve all print queues?
thanks for any help you can give
Phil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 01:35 AM
09-15-2006 01:35 AM
Re: Migrating Printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 01:38 AM
09-15-2006 01:38 AM
Re: Migrating Printers
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
tar up /var/sam/lp/ and copy to new server...
un tar on new then:
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 01:41 AM
09-15-2006 01:41 AM
Re: Migrating Printers
Did you restart the lpsched process? (lpshut && lpsched)
Is there anything in /var/adm/lp/lpd.log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 07:18 AM
09-15-2006 07:18 AM
Re: Migrating Printers
I've been down this road in the past. Who wants to recreate 200+ printer on another machine, right. Well, here you go.
cd /opt/hpnpl
and read the 'TRANSFER.UNX' file. It will explain everything you need to do to transfer all your printers from 10.x to 11.x / 11.x to 11.x / 10.x to 10.x etc. But it will not transfer to Solaris from HP. They have to be of simalar os's for it to transfer properly.
In breif these are the steps you'll have to take.
1) login to the source system.
cd /etc/lp/interface
rm *.old
2) cd /opt/hpnpl/bin
./transferqueue backup
3) ftp the file /tmp/queues.tar to
the destination/target
machine /tmp/queues.tar
4) login to the target machine
cd /opt/hpnpl/bin
./transferqueue
This should transfer all your printers from one machine to the other.
Good luck and let us know how you make out.
Have a great weekend
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 07:18 AM
09-15-2006 07:18 AM
SolutionI've been down this road in the past. Who wants to recreate 200+ printers on another machine, right. Well, here you go.
cd /opt/hpnpl
and read the 'TRANSFER.UNX' file. It will explain everything you need to do to transfer all your printers from 10.x to 11.x / 11.x to 11.x / 10.x to 10.x etc. But it will not transfer to Solaris from HP. They have to be of simalar os's for it to transfer properly.
In breif these are the steps you'll have to take.
1) login to the source system.
cd /etc/lp/interface
rm *.old
2) cd /opt/hpnpl/bin
./transferqueue backup
3) ftp the file /tmp/queues.tar to
the destination/target
machine /tmp/queues.tar
4) login to the target machine
cd /opt/hpnpl/bin
./transferqueue
This should transfer all your printers from one machine to the other.
Good luck and let us know how you make out.
Have a great weekend
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 10:39 AM
09-15-2006 10:39 AM
Re: Migrating Printers
So the sam lpmgr is the only way to replicate the spooling system on another machine (without writing a couple of scripts). Note that SAM is the recommended way to save or restore the configuration but by examining SAM's log, the actual task uses lpmgr. NOte that lpmgr will preserve direct-connect, remote and network printers but will *NOT* preserve any print jobs that are pending.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2006 08:55 PM
09-18-2006 08:55 PM
Re: Migrating Printers
Although advice I can give is if the TRANSFER.UNX file tells you to tar up the /etc/lp/interface directory, do it like this instead... "tar -cvf /tmp/queues.tar `grep hpnp * | awk -F':' '{print $1}' | uniq` model.orig/*"
or you will tar up the lost+found directory and the import will fall over!
thanks again
Phil