Topics: HP Output Server

HPOS maintenance

As HP Output Server doesn't support hot backups, It is recommended to do monthly maintenance, in order to create a backup and keep things healthy. Assuming HPOS is installed in /appl/hpos and its data is stored in /data/hpos:

  • Notify your users of the downtime.
  • Stop any applications that use HPOS.
  • Clear out any "hanging" jobs.
  • Clear out the /data/hpos/var/tmp directory.
  • For every log file in /data/hpos/var/log, issue:
    # cp /dev/null > $logfile
  • Delete and recreate the JQMs:
    # config_server -d $jqm
    # config_server -t JQM $jqm
    JQM job databases tend to grow over time. By re-creating them, you can save lots on disk usage and I/O performance. You can do this step safely, as all information is stored in the CM. If you use a server-startup-order, you should also update this again after you've recreated the JQM:
    # config_server -u -x"-server-start-order xxx" $jqm
  • Delete and recreate the DLMs:
    # config_server -d $dlm
    # nfig_server -t DLM $dlm
    This step may be required because sometimes a DLM produces errors, which you might see in JobTracker. These errors are solved by recreating the DLMs. Again, remember to set your server-startup-order, if you use it.
  • Stop all HPOS daemons:
    # stop_server -t all
  • Create a backup of the system.
  • If available, download any service packs and install them now:
    # . /appl/hpos/etc/
    # perl /appl/hpos/etc/
    If this fails, just try it again, or you can restore your backup.
  • Also upgrade any client systems to the same service pack. If necessary, also check the Windows client versions required.
  • Start all daemons again:
    # start_server -t all
  • Test if everything is working.
  • Reboot your server to free up memory.
  • Again, test if everything is working.
  • Startup all applications again, that use HPOS.
  • Notify your users that the system is available.
  • Document any changes (e.g. Service Packs) and problems encountered.
  • Store the software you've used somewhere safe.
This monthly backup still requires some daily backup method. You can do this, by dumping the HPOS configuration to file, before running your daily backup:
# Save HPOS config config
. /appl/dazel/etc/
rm -f /appl/hpos/dump-file
pdconfig -d -c /appl/hpos/dump-file

If you found this useful, here's more on the same topic(s) in our blog:

UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?