- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО11-11-2003 02:11 AM
тАО11-11-2003 02:11 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:16 AM
тАО11-11-2003 02:16 AM
Re: printers
Copy over the following directories
/var/spool/lp
/etc/lp
Stop the scheduler with "lpshut", restart it with "lpsched".
If they are network printers and are not in "DNS", put them in /etc/hosts.
I think thats about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:21 AM
тАО11-11-2003 02:21 AM
Re: printers
I attach a procedure to migrate the spooler system.
HTH,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:22 AM
тАО11-11-2003 02:22 AM
Re: printers
And for users you'll need:
1) /etc/passwd
2) /etc/group
3) /home #or wherever you keep you home dirs
4) /tcb #IF running Trusted. Will need entire tree below.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:24 AM
тАО11-11-2003 02:24 AM
Re: printers
sam -> printers and plotters -> lp spooler -> Save/restore spooler configuration.
If you are using Jetdirect/jetadmin software, check the transferqueue command too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:32 AM
тАО11-11-2003 02:32 AM
Re: printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:40 AM
тАО11-11-2003 02:40 AM
Re: printers
To backup the spooler system (export):
#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
this will create a file with all the spooler configuration under "/var/sam/lp". Just ftp it to the system where you want to migrate the spooler to (.i.e the same directory). In this system you have to issue:
#/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
to import the spooler data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:47 AM
тАО11-11-2003 02:47 AM
SolutionWhen you choose the action - Save spooler configuration, it will save the necessary information to /var/sam/lp directory. Transfer this directory to the new system (through network or tape) on the same location. Then do a Restore configuration there from SAM.
You need to make sure that the device files and locations of printer are same at both places. Also when you transfer the files, make sure that the files are with the same permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 02:50 AM
тАО11-11-2003 02:50 AM
Re: printers
#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
#ls -ltr /var/sam/lp
total 12
drwxrwxrwx 3 root sys 1024 Nov 11 16:45 member
drwxrwxrwx 2 root sys 1024 Nov 11 16:45 cinterface
drwxrwxrwx 2 root sys 1024 Nov 11 16:45 sinterface
drwxrwxrwx 2 root sys 96 Nov 11 16:45 class
drwxrwxrwx 2 root sys 96 Nov 11 16:45 dev
drwxrwxrwx 3 root sys 1024 Nov 11 16:45 interface
-rw-rw-rw- 1 root sys 261 Nov 11 16:45 lpinfo
-rwxr-xr-x 1 root sys 0 Nov 11 16:45 default
-rw-rw-rw- 1 root sys 18 Nov 11 16:45 timestamp
Just tar it to one file using:
#cd /var/sam/lp
#tar cvf ./lp.tar .
and ftp it to the other system. Before using
lpmgr -R, untar the file lp.tar to the directory /var/sam/lp
You can also tar the contents of the /var/sam/lp directory of the exporting system to a tape
#cd /var/sam/lp
#tar cvf /dev/rmt/0m .
and restore the data in the target server:
#cd /var/sam/lp
#tar xvf /dev/rmt/0m