HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ServiceGuard and printers
Operating System - HP-UX
1838244
Members
4146
Online
110125
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-27-2001 02:32 AM
11-27-2001 02:32 AM
Hi,
I've got a 2 node ServiceGuard cluster. I use rdist to copy across /etc/passwd /etc/group, but how can I copy across printers.
I've tried copying across the interface files, but this does not work.
Thanks in advance.
Hilary
I've got a 2 node ServiceGuard cluster. I use rdist to copy across /etc/passwd /etc/group, but how can I copy across printers.
I've tried copying across the interface files, but this does not work.
Thanks in advance.
Hilary
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 02:41 AM
11-27-2001 02:41 AM
Solution
Hi Hilary,
If you want to copy all the printers from one server to an other :
On server A :
Save the spooler on the server :
# /usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
Then copy the directory /var/sam/lp on the new server
# tar cf - /var/sam/lp | rexec "tar xvf -"
On server B :
Restore the spooler :
# /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
It should be ok like this
Regards,
Fr??d??ric
If you want to copy all the printers from one server to an other :
On server A :
Save the spooler on the server :
# /usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
Then copy the directory /var/sam/lp on the new server
# tar cf - /var/sam/lp | rexec
On server B :
Restore the spooler :
# /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
It should be ok like this
Regards,
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 02:56 AM
11-27-2001 02:56 AM
Re: ServiceGuard and printers
I fully aggree with Frederic.
I'm doing it the same way for a long time now without problems.
You should only be aware that the spooler is stopped during the 'lpmgr' activities ans restarted afterwards.
instead of running lpmgr -R on the remote server you could run it with a remsh command from the primary server.
This will enable you to put the whole sync in one script and start it through cron for example every night.
Regards
rainer
I'm doing it the same way for a long time now without problems.
You should only be aware that the spooler is stopped during the 'lpmgr' activities ans restarted afterwards.
instead of running lpmgr -R on the remote server you could run it with a remsh command from the primary server.
This will enable you to put the whole sync in one script and start it through cron for example every night.
Regards
rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP