Sun Java System Messaging Server 6.3 64-bit Installation Technical Note

Upgrading Messaging Server

This section describes three manual options to upgrade to this version of 32–bit or 64–bit Messaging Server:

ProcedureTo Migrate from 32–bit to 64–bit Messaging Server

If you have a previous version of Messaging Server (32–bit) installed and configured on your system and you want to migrate your data to the 64–bit version, you can do so by following these steps for a side-by-side upgrade:

  1. Using the Messaging Server 6.3 64–bit edition installer, install the 64–bit version of Messaging Server on the same system as your previous version of Messaging Server, but in a different directory (for example, in this procedure, /opt/sun/comms/messaging64/). See To Begin Installation.

  2. To migrate the configuration and Message Store data from the previous version of Messaging Server, run the migrate-config (migration configuration) utility:

    /opt/sun/comms/messaging64/sbin/migrate-config old-msg-svr-root

    For example:

    /opt/sun/comms/messaging64/sbin/migrate-config /opt/SUNWmsgsr

  3. Run /opt/sun/comms/messaging64/sbin/patch-config.

  4. Run /opt/sun/comms/messaging64/sbin/install-newconfig.

  5. To back out the migration, run /opt/sun/comms/messaging64/sbin/migrate-config -u /opt/SUNWmsgsr, where -u is the undo flag.

Next Steps

Once you complete the migration, stop using the old server-root directory:

Start the new server with the following command:

/opt/sun/comms/messaging64/sbin/start-msg

If you need to back out the migration, use the —u (undo) flag:

/opt/sun/comms/messaging64/sbin/migrate-config —u old-base-dir

where old-base-dir is the old server-root directory.

To restart the old Messaging Server, use: old-base-dir/sbin/start-msg

ProcedureTo Perform a 32–bit to 32–bit Upgrade (Side–by-Side)

  1. Using the Messaging Server 6.3 64–bit edition installer, install Messaging Server on the same system as your previous version of Messaging Server, but in a different directory (for example, in this procedure, /opt/sun/comms/messaging/). See To Begin Installation.

  2. To migrate the configuration and Message Store data from the previous version of Messaging Server, run the migrate-config (migration configuration) utility:

    /opt/sun/comms/messaging/sbin/migrate-config old-msg-svr-root

    For example:

    /opt/sun/comms/messaging/sbin/migrate-config /opt/SUNWmsgsr

  3. Run /opt/sun/comms/messaging/sbin/patch-config.

  4. Run /opt/sun/comms/messaging/sbin/install-newconfig.

  5. To back out the migration, run /opt/sun/comms/messaging/sbin/migrate-config -u /opt/SUNWmsgsr, where -u is the undo flag.

Next Steps

Once you complete the migration, stop using the old server-root directory:

Start the new server with the following command:

/opt/sun/comms/messaging/sbin/start-msg

If you need to back out the migration, use the —u (undo) flag:

/opt/sun/comms/messaging/sbin/migrate-config —u old-base-dir

where old-base-dir is the old server-root directory.

To restart the old Messaging Server, use: old-base-dir/sbin/start-msg

ProcedureTo Perform a 32–bit to 32–bit Upgrade (In place)

To perform an in-place upgrade:

  1. Patchadd the appropriate patch. For details, see: Patch and Package Information for Messaging Server

  2. From the msg-svr-base directory, run patch-config. For example: /opt/SUNWmsgsr/sbin/patch-config

  3. From the msg-svr-base directory, run install-newconfig. For example: /opt/SUNWmsgsr/sbin/install-newconfig

  4. To back out the upgrade, run uninstall-newconfig from the msg-svr-base directory. For example, /opt/SUNWmsgsr/messaging/sbin/uninstall-newconfig