Wikis - Page

iPrint Synchronization script

0 Likes

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. Additionally, there is an option to configure a notification system so you are emailed or sent a text message when the production print manager is unavailable.

This tool consists of the iPrint-Sync script and iPrint-Sync.conf. The iPrint-Sync.conf requires input prior to running the iPrint-Sync script. For an explanation and demonstration of the purpose of this tool, how to complete the iPrint-Sync.conf, and see how the script is run, go to http://www.youtube.com/watch?v=qzO2QNH5sZI

Installation Instructions:



Note: The iPrint Synchronization Script supports OES 2 and 11.

  1. Download iprint-sync-1.1.tgz


  • Open a Terminal window and type “su”.


  • Enter root’s password.


  • Extract the script from the tarball.

    #tar –xzvf iprint-sync-1.1.tgz


  • cd to the iPrint-Sync folder.

    #cd iPrint-Sync


  • Make the script executable.

    #chmod 755 iPrint-Sync-1.1.sh

  • Open the iPrint-Sync.conf file and fill out the values for synchronization


  • Run the iPrint Synchronization Script and answer the questions.

     

    Setup notification or synchronization at some specific interval.

    #./iPrint-Sync-1.1.sh -c

     

    Run the iPrint Synchronization tool immediately.

    #./iPrint-Sync-1.1.sh -ksb


  • Your iPrint system should now synchronized.

Labels:

Collateral
How To-Best Practice
Comment List
Parents
  • I can not get this to run from cron. I have a new OES11 tree, in which I have two iprint servers runing. I have run the duplication script and can run the sync script manually. But it will not run once it is set up in cron.

    When it sets up in cron, the crontab entry that the -c adds is for it to run the script from /usr/novell/sys/iPrint-Sync . This folder did not exist. Even once I created the folder and moved to sh and conf files to it, it still does not sync. Again, if I run the sync script manually from the command line it works fine.
  • That seems strange, I think I know what may be taking place. Email me and we can setup a time to do a remote session. This will be the easiest way to identify the issue and get it resolved.

    I just helped set this up for a customer a few minutes ago and it worked perfectly.
Comment Children
No Data
Related
Recommended