upgrading pmdf on linux

23
Upgrading PMDF on Linux Michael Lamont Chief Technology Officer

Upload: michael-lamont

Post on 08-Jul-2015

89 views

Category:

Software


0 download

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

Upgrading PMDF on Linux

Michael Lamont Chief Technology Officer

Page 2: Upgrading PMDF On Linux

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
Page 4: Upgrading PMDF On Linux
Page 5: Upgrading PMDF On Linux

# mkdir /cdrom # mount –o –ro /dev/cdrom /cdrom #

Page 6: Upgrading PMDF On Linux

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

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

# cd /etc # # cp pmdf_tailor pmdf_tailor.orig #

Page 9: Upgrading PMDF On Linux

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

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

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

# 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

# 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

# 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

# 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

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

# rpm –i --prefix /usr/pmdf/ pmdf-6.6.0-0.i386.rpm #

Page 18: Upgrading PMDF On Linux

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

# umount /cdrom #

Page 20: Upgrading PMDF On Linux

# /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

# diff /etc/pmdf_tailor.orig /etc/pmdf_tailor #

Page 22: Upgrading PMDF On Linux

# pmdf cnbuild # pmdf start PMDF Job Controller started PMDF Dispatcher started #

Page 23: Upgrading PMDF On Linux

Phone: (800) 722-7770

Email: [email protected]

Web: www.process.com