Technical data

5.1.1 Creating an Object Database
Use the pdmakedb command to create an object database. You must create
an object database before you can start the server process.
The pdmakedb command creates an object database that initially contains
a single object, the corresponding server object. The name of the database
is also the name of the server object. Note the -n option. The command
adds default attributes to the server object, plus any attributes you specify
by using the options.
If the database you specify already exists, the pdmakedb command displays
an error message and exits.
The pdmakedb command has the following command-line syntax::
pdmakedb [-A adminACL] [- h] [-n serverName] [-s spoolDir][-tserverType]
-A adminACL
Specifies the access control list (ACL ) for the server. The default is
name group.
-h
Prints a list of the supported options.
-n serverName
Specifies the name of the object database as well as the corresponding
server.
Can consist of the following characters: A-Z, a-z, 0–9, –, _.
If you do not specify a server name, the default name for the server is
hostName_spl for a spooler and hostName_sup for a supervisor.
-s spoolDir
Specifies the location where the server spools documents to be printed.
The spool directory can be any valid UNIX directory pathname. The
default is /var/spool/pd/serverName. serverName is as specified with
the -n option.
-t serverType
Specifies the type of object database, spooler or supervisor. The valid
values for serverType are: SPL for a spooler and SUP for a supervisor.
5–2 Creating and Managing Servers