- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: print queue migration
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
Discussions
Discussions
Forums
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
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
тАО10-11-2004 09:38 PM
тАО10-11-2004 09:38 PM
How do I migrate print queue from N-class (HP-UX 11.00) to rp4440 (HP-UX 11.11)?
I tried the following steps but no success:
(1) From source:
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
(2) rcp -r -p /var/sam/lp/*
(3) From dest server:
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
A problem occurred doing "lpadmin -p09_05_021_hp -i/var/sam/lp//interface/09_05_
021_hp -v/dev/null ". Stderr from this command is "/usr/sbin/lpadmin: can't acce
ss file "/var/sam/lp//interface/09_05_021_hp"".
Thanks in advance,
YC
Solved! Go to Solution.
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2004 12:46 AM
тАО10-12-2004 12:46 AM
Re: print queue migration
I usually do this:
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ ; cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
Then tar cvf lp.tar /var/sam/lp
rcp/ftp tar ball to remote server...
tar xvf lp.tar
Then restore:
/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
тАО10-12-2004 01:54 PM
тАО10-12-2004 01:54 PM
Re: print queue migration
#ll /var/sam/lp
drwx------ 2 root sys 96 Oct 13 09:47 cinterface
drwx------ 2 root sys 96 Oct 13 09:47 class
-rw------- 1 root sys 0 Oct 13 09:47 default
drwx------ 2 root sys 96 Oct 13 09:47 dev
drwx------ 3 root sys 1024 Oct 13 09:47 interface
-rw------- 1 root sys 303 Oct 13 09:47 lpinfo
drwx------ 2 root sys 1024 Oct 13 09:47 member
drwx------ 2 root sys 96 Oct 13 09:47 sinterface
-rw------- 1 root sys 18 Oct 13 09:47 timestamp
Encounter the following with your instruction:
cp: cannot access /var/sam/lp/lp.new/*: No such file or directory
Rgds,
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2004 03:22 PM
тАО10-12-2004 03:22 PM
SolutionThis is the method I've done when we migrate our Print Queue to new server.
Copying printers between servers
To keep consistancy between servers/workstations here is a method to have all servers with the same printer config:
On the source server/workstation where you have printer configured make sure that the print queue is empty.
Shutdown the spooler
tar/cpio "/etc/lp" and "/var/spool/lp" on the source server and startup the spooler.
Restore the tar/cpio of /etc/lp and /var/spool/lp from source on to the destination workstations after shutting down the spooler.
startup the spooler
Hope this will help you.
Regards,
Romen Q. Cordial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2004 03:27 PM
тАО10-12-2004 03:27 PM
Re: print queue migration
There should a man page on your system for it.