| Previous | Next | Contents | Index |
If you are upgrading from PMDF v5.2 or later, Process Software recommends using the script /pmdf/bin/upgrade_all_dbs.sh
which simplifies the post-installation tasks. As in the past, you can
perform these steps individually. The script
/pmdf/bin/upgrade_all_dbs.sh replaces steps 1 and 2:
|
# pmdf cnbuild |
/pmdf/table, /pmdf/table/queue_cache, and
/var/tmp directories. In each directory run:
# rm __db.0* |
/etc/pmdf_tailor that was supplied by this installation.
Merge in any changes that you made to the file, using the copy that you
saved before you started the upgrade.
pmdfcyrus program to deliver to
the Cyrus message store, check the permission settings for the
/pmdf/bin/pmdfcyrus image to make sure that they are still
correct. The PMDF installation attempts to set the permissions
correctly when it updates the image. However, if the permissions are
not correct, you will need to reset them manually with the following
commands
# chown cyrus-user /pmdf/bin/pmdfcyrus # chmod 4755 /pmdf/bin/pmdfcyrus |
cyrus-user is whatever username was
selected when Cyrus was installed (typically cyrus).
/pmdf/other/
directory on the PMDF system. They are also available on the PMDF
distribution CD-ROM in the other directory. (The CD-ROM is
an ISO 9660 with Rockridge extensions CD-ROM, which is readable from
many different platforms, including OS/2 and NT.)
TELL PNGATECIN QUIT, and TELL PNGATECOUT QUIT
(or just TELL PNGATEC QUIT if you were using just the one
Server Add-in). Then copy the new server Add-ins to the Lotus Notes
server, and startup them back up (e.g., LOAD PNGATECIN and
LOAD PNGATECOUT).
# pmdf startup |
/pmdf/table/http.cnf on UNIX. This file can be
updated by running the pmdf configure dispatcher utility,
or by editing the http.cnf file manually. The manual steps
are as follows. Add the following three lines:
[PATH=/images/] GET=PMDF_HTTP_GET HIDDEN=1 |
[PATH=/popstore_user/] with
[PATH=/msps_user/]
[PATH=/popstore_pwd/] with
[PATH=/chng_pwd/]
pmdf.filter in the table directory) requires the
require command, the same way that the channel and user
filter files always have. If you have a global filter file that
contains any of the following commands, you must add a
require statement to the top of your filter file, which
lists the commands that the filter file uses.
envelope
fileinto
reject
vacation
The script /pmdf/bin/upgrade_all_dbs.sh automates the
following steps:
|
# rm /pmdf/table/queue_cache/* # pmdf cache -synchronize |
After an upgrade to PMDF V6.1 or later, the following files can be safely deleted. They will not be deleted automatically. |
__db_lock.share __db_mpool.share |
/pmdf/table,
/pmdf/tmp, /tmp, /var/tmp, or
/usr/tmp.
/pmdf/user directory on UNIX systems. This database is
only used for management functions and does not in any way impact the
performance of the popstore or MessageStore. The PMDF
popstore/MessageStore user database is located via the
PMDF_POPSTORE_USER_DATABASE PMDF tailor file option, and
is usually /pmdf/user/userdb. Sites upgrading from PMDF
V5.2 or V6.0 must rebuild their existing popstore/MessageStore user
database using the commands:
# rm /pmdf/user/userdb.* # pmdf msgstore x-build-user-db |
# pmdf popstore x-build-user-db |
# pmdf popstore x-build-user-db |
db_upgrade utility. Note that
db_upgrade changes the database in-place, so it is
recommended to make a backup copy first. For example:
# cd /pmdf/user # cp forwarddb.db forwarddb.db.old # /pmdf/bin/db_upgrade -s forwarddb.db |
-s is required. /pmdf/bin/finddb.sh shell script may be used to attempt to
detect the major PMDF databases. This utility constructs the
appropriate db_upgrade commands to transform the old V6.0
Berkeley DB databases into the current format in the script
/pmdf/bin/convertdb.sh which you can then check and run to
do the db_upgrade commands. /pmdf directories
with .db extensions:
/pmdf/table/aliasesdb.db
/pmdf/table/domaindb.db
/pmdf/table/from_x400.db
/pmdf/table/generaldb.db
/pmdf/table/profiledb.db
/pmdf/table/reversedb.db
/pmdf/table/to_x400.db
/pmdf/user/forwarddb.db
~/aliasesdb.db
~/.pmdf_profile.db
This ends the steps that are automated by upgrade_all_dbs.sh.
|
/pmdf/bin/upgrade_all_dbs.sh procedure you will need to
complete the following post_installation steps as appropriate for your
site. Note, however, that if you have additional PMDF databases on your
system (for instance, users' own personal alias databases), then you
will also need to convert those databases. Users wanting to convert
their own personal alias database may do so with the commands:
% cp aliasesdb.db aliasesdb.db.old % /pmdf/bin/db_upgrade -s aliasesdb.db |
aliasesdb.db file in place.
1.5.3 Additional Post-Installation Tasks for Sites Upgrading From PMDF V5.2
The following list of additional post-installation tasks must be
completed after you upgrade PMDF from V5.2. If you are upgrading from
PMDF V6.0 or later, you can skip this section.
# su pmdf # crontab /pmdf/table/cronjobs # exit |
# su pmdf # crontab -e |
0 0,10,20,30,40,50 * * * * /pmdf/bin/return_sh >/dev/null 2>&1 |
$ exit |
The following step is performed as part of the /pmdf/bin/upgrade_all_dbs.sh procedure. You can, of
course, perform this step manually as in the past.
|
pmdf crdb
command with any appropriate qualifiers to recreate the database from
an input text file or convert the databases using the pmdf convertdb
utility. The /pmdf/bin/finddb.sh shell script may be used
to attempt to detect the major PMDF databases. This utility constructs
the appropriate pmdf convertdb commands to transform the
old crdb databases into the current format in the script
/pmdf/bin/convertdb.sh, which you can then check and run
to do the convertdb command. /pmdf directories with
.dat, .idx, .pag, and
.dir extensions:
/pmdf/table/aliasesdb.*
/pmdf/table/domaindb.*
/pmdf/table/from_x400.*
/pmdf/table/generaldb.*
/pmdf/table/profiledb.*
/pmdf/table/reversedb.*
/pmdf/table/to_x400.*
~/aliasesdb.*
~/.pmdf_profile.*
This ends the steps that are automated by upgrade_all_dbs.sh.
|
% pmdf convertdb aliasesdb aliasesdb |
aliasesdb.db that will
replace in functionality the previous files aliasesdb.dat
and aliasesdb.idx. Please also note that the base name
(name sans file extension) of the PMDF password database has been
changed from pauth to passworddb, so if your
site uses the PMDF password database (not all sites do) be sure to use
the new name when you are converting the password database.
1.5.4 Additional Post-Installation Tasks for Sites Upgrading From PMDF V5.1 or V5.0
The following is a list of additional post-installation tasks that must
be completed following an upgrade from V5.1 or V5.0 of PMDF-MTA,
PMDF-DIRSYNC, PMDF-LAN, PMDF-MB400, or PMDF-X400. Sites upgrading from
PMDF V5.2 or later should skip this section.
MIME-CONTENT-TYPES-TO-X400 mapping table (used in
V5.1 PMDF-X400 and PMDF-MB400 to control the mapping of MIME
attachments to X.400 attachments) became obsolete as of PMDF V5.2. It
has been superseded by the new, more general
MIME-TO-X400-CONTENT-TYPES mapping table. Sites using the
old (now obsolete) mapping table must convert the name of the old table
to the new name. They must also include the new channel name argument
on the left hand (pattern) side. For a useful sample starting point,
see the file /pmdf/table/x400_mappings.sample.
PORT_ACCESS mapping needs to segregate POP and IMAP
connections into different rulesets. For example,
PORT_ACCESS TCP|*|110|*|* $YPOP-RULES TCP|*|143|*|* $YIMAP-RULES |
security.cnf) needs
corresponding ruleset definitions of:
[RULESET=DEFAULT] ENABLE=MSGSTORE/*,PASSDB/*,SYSTEM/* ! [RULESET=POP-RULES] ENABLE=MSGSTORE/*,PASSDB/CRAM-MD5,PASSDB/APOP,SYSTEM/* ! [RULESET=IMAP-RULES] ENABLE=SYSTEM/* |
LOG_CONNECTION option that is used to control
logging of connection information is no longer an on/off setting, as it
was in PMDF V5.0 and PMDF V5.1. Rather, it is bit-encoded for more
specific controls.
PNGATECIN and PNGATECOUT in
place of the single PNGATEC Add-in, now is the time to
make the switch. To do this, change the line in the Lotus Notes
initialization file (notes.ini) that defines server tasks
from
ServerTasks=...,PNGATEC |
ServerTasks=...,PNGATECIN,PNGATECOUT |
/pmdf/bin/pmdfsend to replace sendmail,
rather than the new image /pmdf/bin/sendmail), then you
must replace sendmail with PMDF's
/pmdf/bin/sendmail. Use the following command to change
the symbolic link for sendmail to
/pmdf/bin/sendmail:
# ln -s /pmdf/bin/sendmail /usr/sbin/sendmail |
inetd daemon, then you must
shut down your old servers before you can use the PMDF multithreaded
servers. Before you can use the multithreaded POP3 or IMAP servers, you
must also configure the Dispatcher to run the desired service.
Dispatcher configuration is normally performed as part of the initial
web-based PMDF-MTA configuration. (See Chapters 3 and
5 for instructions and sample configurations of the
Dispatcher. See Chapter 4 for instructions and 5 for an
example of configuring the POP and IMAP servers.)
/pmdf/bin/post and
/pmdf/bin/return respectively in PMDF V5.0) are now called
/pmdf/bin/post.sh and /pmdf/bin/return.sh
respectively in PMDF V5.1. So, if you are upgrading from PMDF V5.0, you
must change the crontab entries for these jobs to use the
new names. Do this by using the following commands:
# su pmdf $ crontab /pmdf/table/cronjobs $ exit |
| Previous | Next | Contents | Index |