- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Way to copy printer definitions?
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
10-04-2002 06:34 AM
10-04-2002 06:34 AM
This is for clustered servers as well as a few application servers that are not clustered.
The goal would be to be able to "copy" printers and migrate as required without having to run the applications that built these definitions on each node.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:39 AM
10-04-2002 06:39 AM
Re: Way to copy printer definitions?
I never managed to get it to work in 12 months of on-and-off trying, so gave it away.
Did your search come up with any finds in the Forums? Sometimes no results come up at all, which means that the search did not look in the forums, not that there were no finds for the text.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:55 AM
10-04-2002 06:55 AM
Re: Way to copy printer definitions?
I did try doing a search without any luck on migrating printer definitions - lots of creating printers but not cloning, copying, etc.
I thought someone had posted something about wanting to clone printers to backup nodes in a cluster fairly recently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:56 AM
10-04-2002 06:56 AM
Re: Way to copy printer definitions?
The 'Save' will store the data in /var/sam/lp. Copy that directory to another host and do the Restore.
It is important that all boxes be on the same version of JetDirect software. If you attempt to copy the older jetadmin print queques to a box with the newer hppi spooler software then you are not going to work. The tranferqueue command can be used to convert the older to the newer before you transfer the data saved by SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:06 AM
10-04-2002 07:06 AM
Re: Way to copy printer definitions?
My config is like this:
3 App servers
In cluster: 2 DB servers, 2 CI servers
I created a "printing" package on one of the CI servers then the other boxes just print to it via a remsh script. No hassles....no mess...
Let me know if you want some more details...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:07 AM
10-04-2002 08:07 AM
Re: Way to copy printer definitions?
I wish we could do something like the remsh to a central printer server, but we are stuck with a number of clusters (different applications) that we want to keep synched.
The real downside is both of these options require lpsched to get shutdown, but I guess that is more a limitation of the spooler system than anything else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:09 AM
10-04-2002 08:09 AM
Re: Way to copy printer definitions?
I just got done using transferqueue to duplicate over 600 network based printers.
The process is:
Transferring JetAdmin created queues from
P-UX 10.x/11.x to HP-UX10.x/11.x
-----------------------------------------------
1. Login to the workstation (Source)as
'root' user from which the queues are to be
transferred.
2. Change directories to /etc/lp/interface
and remove old queues by executing "rm *.old"
and remove the files which are not used as queues.
3. tar the queues by executing:
'tar -cvf /tmp/queues.tar *'.
4. Transfer the file '/tmp/queues.tar' to
the '/tmp' directory of destination workstation (to which the queues are to be
(transferred) by executing the following commands.
ftp
enter 'root' as a user
enter 'root' user password
cd /tmp
bin
put /tmp/queues.tar
bye
5. Login to the destination workstation as
root user.
6. Make sure that you have JetAdmin
installed - Same version as source
workstation or later version of JetAdmin.
7. Make sure that queue names on the
source workstation do not conflict with
the queuenames on the destination
workstation.
If same queuenames exist on both workstations,
then the one on the destination workstation
will be overwritten by the source workstation's queue.
8. If you are using a host table - check
to see if the proper /etc/host
entries exists on the destination workstation for the queues you are transfering.
9. If you are using bootp - make sure the /etc/bootptab entries are available on
the destination workstation.
10. Execute:
script '/opt/hpnp/bin/transferqueue'. This will create and install the queues on
destination workstation with the same name
as in the source workstation with same set
of options.
11. Set the default queue (if it is necessary) by executing 'lpadmin -d
12. Install Jetadmin (D.05.20 or later)
if it is not installed already to print
with the transferred queues.
Hope this helps.
GL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:15 AM
10-04-2002 08:15 AM
Re: Way to copy printer definitions?
http://www.hp.com/cposupport/networking/support_doc/bpj06084.html
Ted