- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: printer installs
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
тАО09-27-2005 08:05 AM
тАО09-27-2005 08:05 AM
Is it possible to copy cron from one system to another?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:08 AM
тАО09-27-2005 08:08 AM
Solution# /usr/sam/lbin/lpmgr -S
this will save the info in the /var/sam/lp/lpinfo file
copy the configuration to the new system
# rcp -rp /var/sam/lp/* :/var/sam/lp/./
can use the .rhosts file for this command
be sure to remove the .rhosts entries after completed
On the system that was exported to
# /usr/sam/lbin/lpmgr -R
this will restore the info in /var/sam/lp/* on the new system
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:12 AM
тАО09-27-2005 08:12 AM
Re: printer installs
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ ; cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
Then tar up the /var/sam/lp/ directory and transfer to the remote server.
On remote:
un tar it into /var/sam/lp
/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
тАО09-27-2005 08:24 AM
тАО09-27-2005 08:24 AM
Re: printer installs
Per your "Is it possible to copy cron from one system to another?"
yes all crons are kept in
/var/spool/cron/crontabs
copy the ones you need. Keep in mind you might also need to copy some scripts, and make changes to some cron jobs for the new server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:19 AM
тАО09-27-2005 09:19 AM
Re: printer installs
# /usr/sam/lbin/lpmgr -S -v -xsavedir=/home/donald/printers/
2. archive this directory to a single file, and ftp this to 11i server.
3. extract the file on hpux 11i system
4. Restore the configurations of the printers:
# /usr/sam/lbin/lpmgr -R -v -xsavedir=/home/donald/printers
5. check with
# lpstat -t | grep printer_name
Enjoy ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:23 AM
тАО09-27-2005 09:23 AM
Re: printer installs
Step.2 can be done with , tar , gz.
# cd /home/donald/printers/
# tar -cvf printers.tar *
# gzip printers.tar
# scp printers.tar.gz hpux11i:/home/donald
----
Logon to: hpux11i
# cd /home/donald
# mkdir printers
# gunzip printers.tar.gz
# tar -xvf printers.tar
-----
Finally:
# /usr/sam/lbin/lpmgr -R -v -xsavedir=/home/donald/printers
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 03:40 PM
тАО09-27-2005 03:40 PM
Re: printer installs
total 16
-r-------- 1 root sys 161 Jul 22 12:35 root
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 01:37 AM
тАО09-28-2005 01:37 AM
Re: printer installs
Note there are differences between Jetadmin and the newere HPNPL stuff. I ran into some issues and ran a thread on the Dutchworks mailing list. In that you'll see the problem I saw as well as my solution with detailed steps with transferqueue usage:
http://www.dutchworks.nl/htbin/hpsysadmin?h=3&dn=97986&q=Jeffrey%20C.%20Lightner&fh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 09:30 AM
тАО09-28-2005 09:30 AM