Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Distributed Print Service Administration Guide: HP 9000 Computers > Chapter 4 Getting Started with HPDPS

Automatically Starting HPDPS

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To automatically start HPDPS during system startup, modify the startup configuration file /etc/rc.config.d/pd. (If any HPDPS components have already been started in accordance with “Starting HPDPS Components ”, first modify this file and then shut down the system; then restart as shown in “Starting HPDPS ”.)

The startup configuration file contains the following configuration information:

  • a list of servers to start on this host

  • whether to start components in the Basic or DCE Extended Environment.

  • the definition of $PDPRNPATH for locating printer model information.

The following environment variables are contained within the configuration file. You should modify the environment variables as appropriate:

PD_ENV

defines the HPDPS print environment.

Set to basic to execute in the Basic Environment. Choose this environment if your host is not a member of a DCE cell.

Set to extended to execute in the DCE Extended Environment. Your host must be configured in a DCE cell to execute in this environment.

The default setting is the Basic Environment:

PD_ENV=basic
PDPRNPATH

defines the colon-separated list of paths in which HPDPS printer model files appear. The supervisor will look for model files in these directories. The default setting is:

PDPRNPATH=/opt/pd/lib/model:/var/opt/pd/lib/model
PD_CLIENT

chooses whether this host runs the client daemon.

  • Set to 1 to start the HPDPS client daemon using the default locale and the default port on this host.

  • Set to 0 if the HPDPS client daemon should not be started on this host.

The default does not start the client daemon:

PD_CLIENT=0
PD_OTHER_CLIENTS

defines the list of client daemons to start on this host. This list names each client daemon by its locale and TCP/IP port number. For example, the following settings start a client daemon using the ja_JP.SJIS locale on port 9999 and a client daemon using the ja_JP.eucJP locale on port 8888:

PD_OTHER_CLIENTS"
ja_JP.SJIS 9999
ja_JP.eucJP 8888
"

If the default English locale client daemon is desired, this variable should be left unchanged.

PD_SPOOLERS

defines the list of spooler names to start on this host. This list names each spooler whose HP-UX process executes on this host. Enter each spooler name on a separate line, after "PD_SPOOLERS=" and before the terminating double quote (") that ends the list. For example, to start two spoolers Spool1 and Spool2, enter:

PD_SPOOLERS="
Spool1
Spool2
"

The default does not start any spoolers:

PD_SPOOLERS="
"
PD_SUPERVISORS

defines the list of supervisor names to start on this host. This list names each supervisor whose HP-UX process executes on this host. Enter each supervisor name on a separate line, after "PD_SUPERVISORS=" and before the terminating double quote that ends the list. For example, to start Super1 and Super2, enter:

PD_SUPERVISORS="
Super1
Super2
"

The default does not start any supervisors:

PD_SUPERVISORS="
"
NOTE: In addition to the above environment variables, the startup configuration file can also contain the following four environment variables, which can also be optionally modified:
  • PD_MAXTHREADS

  • PD_MAXRETRIES

  • PD_RETRY_INTERVAL

  • PD_MEMLIMIT

For more information on these environment variables, see “Tuning Load Handling Using HPDPS Environment Variables” and “Summary of Other Environment Variables” in upcoming sections.

Starting HPDPS

Once you have modified the startup configuration file /etc/rc.config.d/pd, to start up all the HPDPS components you can log in as root and enter:

/sbin/init.d/pd start

This string executes the configuration file with the start argument.

Stopping HPDPS Components

To shut down all HPDPS components on your host, enter:

/sbin/init.d/pd stop

This string executes the configuration file with the stop argument.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.