Automating iPrint tasks

  • 7009823
  • 30-Nov-2011
  • 26-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux
Novell iPrint for Linux

Situation

The following tasks can be automated by using Novell Cool Solution scripts:
  • Gather useful iPrint troubleshooting and configuration information
  • Help recreate certificates that may have expired or are bad 
  • Printer Driver Auto Association
  • Receive notification when a print manager goes down
  • Duplicate your iPrint environment
  • Keep two identical iPrint systems synchronized

Resolution

iPrint Info Gathering Tool
URL: https://www.novell.com/communities/node/5705/iprint-information-gathering-tool

The iPrintInfo plugin gathers iPrint-related information to help in troubleshooting iPrint issues.

Certificate Re-creation script
URL: https://www.novell.com/communities/node/5704/certificate-recreation-script-oes1-and-oes2

The Certificate Creation script recreates the certificates on OES1 and OES2 servers using a Personal Information Exchange File. With an additional parameter it will also restart all the necessary services. 
 
Printer Driver Auto Association Tool for iPrint
URL: https://www.novell.com/communities/node/13406/printer-driver-auto-association-tool-iprint
 
The Printer Driver Auto Association Script for iPrint allows you to associate print drivers to all iPrint printers of a specific manufacturer or make/model quickly and easily.
 
iPrint Notification Script
URL: https://www.novell.com/communities/node/13442/iprint-notification-script
 
The iPrint Notification Script will detect when both the Driver Store and Print Manager become unavailable.  Notification options include text messaging or email.  The script will also attempt to restart the print services to get it operational.
 
iPrint Duplication Script
URL: https://www.novell.com/communities/node/12852/iprint-configuration-duplication-script
 
The iPrint Duplication Script (iPrint_Duplication-1.5.sh) reads an OES Linux iPrint server configuration and replicates it to another OES Linux server. This can be run as a migration or to create a fault tolerant backup solution.  See KB 7008502 for more information on this tool.
 
iPrint Sync Script
URL: https://www.novell.com/communities/node/13407/iprint-synchronization-script
The iPrint Synchronization script assumes two OES Linux iPrint servers with similar configurations exists. These two servers may have a similar configurations as a result of running the iPrint Duplication Script. While those two iPrint configurations were identical at the time the iPrint Duplication Script was run, changes are likely to occur on the production print manager server. These changes could be, but not limited to:
  • create a printer
  • delete a printer
  • change a print driver association
  • upload a new print driver
  • change IP address of a printer agent
  • change any attribute of a printer agent
After executing this iPrint Synchronization Script on the back up iPrint server, the changes made to the production print manager server will be synchronized to the backup server at a time interval decided by you.  See this video clip for a demonstration of this script:  http://www.youtube.com/watch?v=qzO2QNH5sZI