upgrading pmdf on linux
DESCRIPTION
A detailed walk-through of upgrading the PMDF email server on the Linux platform. This webinar covers pre-upgrade steps, the upgrade itself, and post-upgrade tasks. PMDF documentation in both PDF and HTML format is available from the Process Software website at http://www.process.com/psc/service-support/pmdf-internet-messaging/pmdf-documentation/ More information about the PMDF Internet Messaging product is available at http://www.process.com/psc/products/pmdf-internet-messaging/TRANSCRIPT
Upgrading PMDF on Linux
Michael Lamont Chief Technology Officer
PMDF Distribution
• Licensed customers are automatically mailed a distribution package when a new version is released: − PMDF installation CD-ROM
−Welcome letter
• Can’t find your PMDF CD-ROM? − Call your Process Software sales rep
− Email [email protected]
# mkdir /cdrom # mount –o –ro /dev/cdrom /cdrom #
Upgrading PMDF Databases
• Database file format changed between PMDF 6.4 and PMDF 6.5
• Automated script provided to upgrade databases
• Run the pmdf convertdb command to upgrade any non-standard databases
• Users will need to upgrade their own private forwarding databases in their login directory (rare)
PMDF Tailor File
• If you’ve made any changes to your PMDF tailor file, back it up
• PMDF install process always overwrites the tailor file
# cd /etc # # cp pmdf_tailor pmdf_tailor.orig #
PMDF Licenses
• License files located in /pmdf/table/ directory
• License file naming convention:
productname-platform.license
• Example: license for base MTA product on Linux named PMDF-MTA-LINUX.license
• License files are plain text, contain authorization info
PMDF Licenses
• Example license file contents:
• Make sure Product Release Date is later than the release date of the PMDF version you’re installing
Issuer:Process Authorization Number:0624401-21 Product Name:PMDF-MTA-LINUX Producer:Innosoft Product Release Date:31-DEC-2016 Product Token:U29147 Checksum:7-ACDG-HLAG-FMBN-DEMO
PMDF Licenses
• You can use your license to run any version of PMDF released before the Product Release Date
• You’ll automatically receive updated PMDF licenses when you renew your maintenance agreement
• Need updated licenses? − Contact your Process Software sales rep
− Email [email protected]
# cd /pmdf/table # ls *.license PMDF-MTA-LINUX.license PMDF-TLS-LINUX.license PMDF-MSGSTORE-LINUX.license PMDF-POPSTORE-LINUX.license #
# pmdf shutdown PMDF Job Controller shutdown requested PMDF Dispatcher shutdown requested # # ps –ef | grep pmdf pmdf 1434 1429 0 10:38:02 ? 0:00 <IMAP> pmdf 1475 1429 0 10:41:44 ? 0:00 <IMAP> pmdf 1512 1429 0 10:47:27 ? 0:00 <IMAP> # # pmdf shutdown force PMDF Job Controller shutdown requested PMDF Dispatcher shutdown requested #
# rpm –qa | grep pmdf pmdf-6.5.0-0.i386.rpm # # rpm –e pmdf-6.5.0-0.i386.rpm #
# cd /cdrom/Linux-X86/PMDF660 # # ls pmdf-6.6.0-0.i386.rpm # # rpm –i pmdf-6.6.0-0.i386.rpm #
PMDF Installation
• Default install location is /opt/pmdf/
• Pass the --prefix argument to rpm to change the installation location
# rpm –i --prefix /usr/pmdf/ pmdf-6.6.0-0.i386.rpm #
PMDF Installation
• Installation creates a symbolic link /pmdf/
• Symlink points to the actual install directory
• The /pmdf/ symlink is used to access PMDF’s commands and files
# umount /cdrom #
# /pmdf/bin/upgrade_all_dbs.sh This script will interactively guide you through the steps necessary to upgrade your PMDF databases to the current PMDF V6.6 format. Are you upgrading from PMDF V6.5 (y/n)? y Starting PMDF database upgrade. Before updating databases, your PMDF configuration must be recompiled if you are using a compiled configuration. Are you using a compiled configuration (y/n)? y Recompiling PMDF configuration... Done recompiling. You are done upgrading your PMDF databases. You should carefully read the section titled "Post-Installation Tasks for Upgrades" in the Installation Guide to finish your upgrade. #
# diff /etc/pmdf_tailor.orig /etc/pmdf_tailor #
# pmdf cnbuild # pmdf start PMDF Job Controller started PMDF Dispatcher started #