Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System Upgrade Guide for HP-UX  

Chapter 11
Messaging Server

This chapter describes how to upgrade Messaging Server to Java ES Release 4 Messaging Server 6 2005Q4. The chapter provides a general overview of upgrade issues and procedures for the different upgrade paths supported by Java ES Release 4.


Overview of Messaging Server Upgrades

This section describes the following general aspects of Messaging Server that impact upgrading to Java ES Release 4:

About Java ES Release 4 Messaging Server

Java ES Release 4 Messaging Server mostly represents bug fixes. There is no major new functionality with respect to Release 3.

Messaging Server Upgrade Roadmap

Table 11-1  Upgrade Paths to Java ES Release 4 Messaging Server 6 2005Q4

Java ES Release

Messaging Server Version

General Approach

Re-configuration Required

Release 3

Sun Java System Messaging Server 6 2005Q1

Direct Upgrade:

Performed by applying patches.

Configuration files and configuration directory data

Messaging Server Data

The following table shows the type of data that could be impacted by an upgrade of Messaging Server software.

Table 11-2  Messaging Server Data Usage

Type of Data

Location

Usage

Configuration data

Local configuration directory:
/var/msg_svr_base/config/msg.conf

and many other configuration files for configuring Messaging Server Store, MTA, MMP, MEM (webmail)

Configuration of Messaging Server components

Configuration data

Directory Server configuration directory

Configuration of Messaging Server components

User data

Directory Server user/group directory

Storing user attributes needed to support messaging for end users

Dynamic application data

Messaging Server store:
msg_svr_base/

Store email messages, message transfer queues, and related information on behalf of users

Directory schema

Directory Server
/opt/sun/mps/serverroot

For user attributes needed to support end users

Compatibility Issues

Release 4 Messaging Server does not introduce any interface changes. TheMessaging Server Store, MTA, MMP, and MEM components, logically distinct configurations of Messaging Server, are backwardly compatible with earlier versions.

Messaging Server Dependencies

Messaging Server dependencies on other Java ES components can impact the procedure for upgrading and re-configuring Messaging Server software. Changes in Messaging Server interfaces or functions, for example, could require upgraded version of components upon which Messaging Server depends. The need to upgrade such components depends upon the specific upgrade path.

Messaging Server has dependencies on the following Java ES components:


Upgrading Messaging Server from Java ES Release 3

This section includes information about upgrading Messaging Server from Java ES Release 3 to Java ES Release 4. The section covers the following topics:

Introduction

When upgrading Java ES Release 3 Messaging Server to Release 4, consider the following aspects of the upgrade process:

Messaging Server Upgrade

This section describes how to perform an upgrade of Messaging Server from Java ES Release 3 to Java ES Release 4 HP-UX. The section covers the following topics:

Pre-Upgrade Tasks

Before you upgrade Messaging Server you should perform the tasks described below.

Verify Current Version Information

You can verify the current version of Messaging Server by entering the following command:

# msg_svr_base/sbin/imsimta version

Table 11-3  Messaging Server Version Verification Outputs

Java ES Release

Messaging Server Version Number

Release 3

6.2

Release 4

6.2p3

Upgrade Messaging Server Dependencies

It is generally recommended that all Java ES components on a computer system (and in a computing environment) be upgraded to Java ES Release 4. However, Messaging Server has hard upgrade dependencies only on the SASL shared component and on Directory Preparation Tool. Upgrading of other Java ES Release 3 components upon which Messaging Server depends is therefore optional.

However, if you choose to upgrade all Messaging Server dependencies, they should be upgraded in the following order, all before you upgrade Messaging Server. You can skip any that might already have been upgraded.

  1. Shared Components. Instructions for upgrading NSS, NSPR, LDAP C SDK, ICU, and SASL shared components to Release 4 are provided in Chapter 2, "Upgrading Java ES Shared Components".
  2. Directory Server. Instructions for upgrading Directory Server to Release 4 are provided in Chapter 3, "Directory Server and Administration Server".
  3. Directory Preparation Tool. Directory Preparation Tool rarely resides on the same computer as Messaging Server, however, instructions for upgrading Directory Preparation Tool and running it against Directory Server are provided in Chapter 10, "Directory Preparation Tool".
Back Up Messaging Server Data

The Messaging Server upgrade from Release 3 to Release 4 requires re-configuration of Messaging Server in local configuration files and in the Directory Server configuration directory. The local changes can be rolled back, but it is a good idea to back up the configuration directory in case you want to roll back the Release 4 upgrade at a future point.

Obtain Required Configuration Information and Passwords

Messaging Server upgrade requires knowing the following information:

Upgrading Messaging Server

This section discusses considerations that impact the upgrade procedure for Messaging Server followed by a description of the procedure itself.

Upgrade Considerations

The upgrade of Messaging Server software to Java ES Release 4 takes into account the following considerations:

Table 11-4  Patches1 to Upgrade Messaging Server

Component

Patch ID

Messaging Server core

121511-01

Messaging Server locale

121927-01

1Patch revision numbers are the minimum required for upgrade to Java ES Release 4. If newer revisions become available, use the newer ones instead of those shown in the table.

Upgrade Procedure

The procedure documented below applies to all Messaging Server components that correspond to the same installed Messaging Server image on the computer where the upgrade is taking place.

  1. Obtain the required patches, based on Table 11-4.
  2. Patches can be downloaded from:

    http://sunsolve.sun.com.

  3. Log in as superuser.
  4. Stop all running Messaging Server components.
  5. # msg_svr_base/sbin/stop-msg

  6. If not already done, upgrade the required shared components to Release 4.
  7. Apply the appropriate Messaging Server patches in Table 11-4.
    1. If the product is installed in the default location (/opt/sun/messaging)
    2. swinstall -s patch_location <patch_ID>

    3. If the product is installed in other location
    4. swinstall -s patch_location -x patch_match_target = true

  8. Migrate configuration data from existing configuration files to Release 4 candidate configuration files.
    1. Create candidate configuration files.
    2. # cd msg_svr_base/sbin

      # ./patch-config-hp msg_svr_base/install/patch/<patch_ID>

      This command backs up existing configuration files. Then it merges configuration parameter values in these files with Release 4 template configuration files to create new Release 4 candidate configuration files. You should examine these new files for possible conflicts, as described in the Special Installation Instructions section of the patch 281005-01 readme file.

      This command also generates the following ldif files (LDAP directory import files):

      msg_svr_base/lib/patch/cfgdir_diff.ldif

      msg_svr_base/lib/patch/ugdir_diff.ldif

    3. Install the Release 4 candidate configuration files, making them the active configuration.
    4. # ./install-newconfig msg_svr_base/install/patch/<patch_ID>

      This command installs the new Release 4 configuration files in their correct Release 4 locations.

    5. Import the new configuration data generated in Step a on page 231 into the Directory Server configuration directory being used by Messaging Server. Change to the configuration directory and import the ldif files using the ldapmodify command:
    6. # cd/msg_svr_base/lib

      # ./ldapmodify -D bind_dn -w password -c -e patch/cfgdir_diff.rej -f patch/cfgdir_diff.ldif

      # ./ldapmodify -D bind_dn -w password -c

      -e patch/ugdir_diff.rej -f patch/ugdir_diff.ldif

  9. Restart the Messaging Server components that were stopped in Step 3.
  10. # msg_svr_base/sbin/start-msg

Verifying the Upgrade

You can verify the current version of Messaging Server by entering the following command:

You can also check the banner displayed when starting up Messaging Server components

See Table 11-3 for output values.

Post-Upgrade Tasks

There are no post-upgrade tasks beyond the steps described in Upgrade Procedure.

Rolling Back the Upgrade

This section describes considerations that impact the upgrade rollback procedure for Messaging Server followed by the procedure itself.

Rollback Considerations

The procedure for rolling back the upgrade to Release 4 of Web Server is pretty much the reverse of the procedure for upgrading to Release 4. The patches are removed.

  1. Log in as superuser (root).
  2. Stop all running Messaging Server components.
  3. # msg_svr_base/sbin/stop-msg

  4. Roll back the changes made to the Directory Server configuration directory being used by Messaging Server.
  5. Replace the directory with the pre-upgrade directory that you backed up before beginning the upgrade procedure (see Back Up Messaging Server Data).

  6. Roll back the re-configuration performed in Step 6.
  7. # cd msg_svr_base/sbin

    # ./uninstall-newconfig msg_svr_base/install/patch/<patch_ID>

  8. Remove the patches in Table 11-4.
  9. # swremove <patch_ID>

  10. Restart the Messaging Server components that were stopped in Step 2.
  11. # msg_svr_base/sbin/start-msg



Previous      Contents      Index      Next     


Part No: 819-4460-10.   Copyright 2006 Sun Microsystems, Inc. All rights reserved.