choose: sw hd | installObjy | setup: ams ls pud chs oids | confCH | maintain: ams ls pud chs oids | moveFD | creaBri

Search | Site Map .

Setting up pud daemon

What release should you use?

The one available in the location as described below. Only one production release is maintained.

Other requirements

A Perl interpreter version 5 in /usr/local/bin/perl5.

A module Shareable.pm. If you do not have it, you would need to install it first. It may be downloaded from the CPAN - Perl archive (see www.perl.com)

Where do I find installation files?

/afs/slac.stanford.edu/g/babar/package/objy/distrib/pud

What do I install?

Install all files from the distribution directory. The following is the complete set of pud files:

pud daemon executable
pud_common.pm definition of methods common across all file system
pud_Linux.pm definition of additional methods (Linux-related)
pud_OSF1.pm definition of additional methods (OSF1-related)
pud_SunOS.pm definition of additional methods (SunOS-related)
pud_Linux.conf configuration file for Linux
pud_OSF1.conf configuration file for OSF1
pud_SunOS.conf configuration file for SunOS
pud_misc.pm definition of internal, miscellaneous functions
pud.1 man pages - daemon
pudc client executable (communicates with the daemon)
pudc.conf client configuration file
pudc.conf client configuration file
pudc.1 man pages - daemon client
BdbAdminDaemon tool for maintaining the daemon
bdbcheckpud tool for checking if the daemon is running

Installing pud daemon

The default for pud files is the directory /usr/object/babar/bin/pud/, and we recommend using this path.

If this directory cannot be used, all clients using pud need to set an environment variable BDBPUDPATH that points them to the pud installation. Database software first looks for pud files in the default directory, and if they cannot be found there, the environment variable is used.

  1. Copy the files from a distribution directory to the directory where you decide to keep pud daemon. It is mandatory that you keep all files in the same directory (man pages are the exception).
  2. Optionally, you can install man pages, for instance under /usr/local/man/man1. Alternatively man pages can be read using "nroff -man pud.1 | less" command.

Changing configuration parameters

  1. Client configuration - pudc.conf file:

By default the period a client waits for daemon's response is about eight seconds (after this time it is assumed that daemon is not running). To adjust that, you need to change "ctries" value defined in pudc.conf. See pudc.conf and pudc man pages for details.

  1. Daemon configuration (files: pud_SunOS.conf, pud_Linux.conf, pud_OSF1.conf):

The values of objyPath and precrExec (at the end of the file) should be changed to reflect the local setting. (The file BdbPrecreateActiveDb can be installed by copying the version from SLAC's AFS space. You can delete these two lines if you are not going to use clustering hint server.

For more about starting the pud daemon, see How to maintain pud daemon.

Who to contact for problem resolution?

If you have problems, send e-mail to Jacek Becla.

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: June 13, 2002