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
![Page 1: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/1.jpg)
Upgrading PMDF on Linux
Michael Lamont Chief Technology Officer
![Page 2: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/2.jpg)
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]
![Page 3: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/3.jpg)
![Page 4: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/4.jpg)
![Page 5: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/5.jpg)
# mkdir /cdrom # mount –o –ro /dev/cdrom /cdrom #
![Page 6: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/6.jpg)
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)
![Page 7: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/7.jpg)
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
![Page 8: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/8.jpg)
# cd /etc # # cp pmdf_tailor pmdf_tailor.orig #
![Page 9: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/9.jpg)
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
![Page 10: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/10.jpg)
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
![Page 11: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/11.jpg)
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]
![Page 12: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/12.jpg)
# cd /pmdf/table # ls *.license PMDF-MTA-LINUX.license PMDF-TLS-LINUX.license PMDF-MSGSTORE-LINUX.license PMDF-POPSTORE-LINUX.license #
![Page 13: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/13.jpg)
# 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 #
![Page 14: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/14.jpg)
# rpm –qa | grep pmdf pmdf-6.5.0-0.i386.rpm # # rpm –e pmdf-6.5.0-0.i386.rpm #
![Page 15: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/15.jpg)
# cd /cdrom/Linux-X86/PMDF660 # # ls pmdf-6.6.0-0.i386.rpm # # rpm –i pmdf-6.6.0-0.i386.rpm #
![Page 16: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/16.jpg)
PMDF Installation
• Default install location is /opt/pmdf/
• Pass the --prefix argument to rpm to change the installation location
![Page 17: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/17.jpg)
# rpm –i --prefix /usr/pmdf/ pmdf-6.6.0-0.i386.rpm #
![Page 18: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/18.jpg)
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
![Page 19: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/19.jpg)
# umount /cdrom #
![Page 20: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/20.jpg)
# /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. #
![Page 21: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/21.jpg)
# diff /etc/pmdf_tailor.orig /etc/pmdf_tailor #
![Page 22: Upgrading PMDF On Linux](https://reader036.vdocuments.site/reader036/viewer/2022062514/559c5aab1a28ab6d6e8b4705/html5/thumbnails/22.jpg)
# pmdf cnbuild # pmdf start PMDF Job Controller started PMDF Dispatcher started #