- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: HP9000 Containers - Creating Network Print Que...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-13-2012 07:03 AM
12-13-2012 07:03 AM
HP9000 Containers - Creating Network Print Queues
I have a HP9000 Container that I need to configure a new network print queue for. I have created the queue on the Container host server and it works. When I try to print from the Container it does not know about the new queue on the host server. I need to know the procedure, step by step, on how to create a new network print queue for a HP9000 Container to use.
I am running a System Container using HP9000 Containers version A.03.01.03. The container host server is running HPUX 11.31.
Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2012 12:55 PM
12-13-2012 12:55 PM
Re: HP9000 Containers - Creating Network Print Queues
Page 26 and page 35 of the HP9000 Containers Admin Guide has some basic instructions, though I'm not sure how useful it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2012 01:12 PM
12-13-2012 01:12 PM
Re: HP9000 Containers - Creating Network Print Queues
I used those lpmgr commands to migrate the print queues from the old PA-RISC server to the HP9000 Container host. That worked fine. What I am trying to do is to create a new print queue on the container host so the container can use it. That seems to be the mystery.
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-14-2012 05:24 AM
12-14-2012 05:24 AM
Re: HP9000 Containers - Creating Network Print Queues
The Integrity host system and the container instances are name space isolated. You would need to expose the host printer device to specific container(s).
# srp -add <container_name> -tune device=<device_path>
Then need to expose the host system print queue as remote queue inside container for applications to access.
Regards
-Rajesh
- Tags:
- srp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-17-2012 08:40 AM
12-17-2012 08:40 AM
Re: HP9000 Containers - Creating Network Print Queues
On the container host I executed your suggested command using /dev/null as the device_path for network printer.
What then has to be done to "expose" this host system queue as a remote queue inside the container?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-18-2012 08:10 PM
12-18-2012 08:10 PM
Re: HP9000 Containers - Creating Network Print Queues
A colleague of mine recommended following steps for a similar query.
I think you need to add/delete the printer from inside the container too, using lpadmin command
I haven’t tested with a real printer, but a dummy setup (print to file) did work fine. Note that below commands are to be executed from within the container.
$ lpshut
scheduler stopped
$ cd /tmp
$ touch devfile
$ chmod 777 devfile
$ lpadmin -plp1 -vdevfile -mdumb
$ accept lp1
destination "lp1" now accepting requests
$ enable lp1
printer "lp1" now enabled
$ lpsched
scheduler is running
$ date | lp -dlp1 –onbr
equest id is lp1-1 (standard input)
$ cat devfile
Mon Dec 17 14:38:26 IST 2012
Using similar steps you should be able to configure remote print queue inside the HP 9000 Containers.
Regards
-Rajesh
- Tags:
- lpadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-20-2012 07:03 AM
12-20-2012 07:03 AM
Re: HP9000 Containers - Creating Network Print Queues
Rajesh,
Your colleague was on to something, thank you for sharing. It does appear that I need to create the queue inside the container. It does not even need to be defined on the container host server. In addition to this forum I had also opened a call with HP. I was instructed via the call to perform the following.
1. On the container the following ownerships and permissions must be as follows:
/etc ownership= root:root permissions= 755
/etc/lp ownership= lp:bin permissions= 755
/etc/lp/member ownership= lp:bin permissions= 755
2. On the container, create a remote print queue attached to a Windows print server
lpshut
lpadmin -p<queue_name> -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -orm<ip_of_windows_print_server> - orp<windows_print_server_queue_name>
accept <queue_name>
enable <queue_name>
lpsched
To create a regulare network print queue, use hppi as you normally would.
I am now able to print from the container. The HP9000 Containers Admin Guide will have to be corrected.
Thank you for your response to this post.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP