Skip Headers

Oracle Email Migration Tool Guide
Release 9.0.3

Part Number B10104-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

3
Migration Tasks

This chapter provides information about migration tasks.

This chapter contains these topics:

Administrator Responsibilities Before Migration


Note:

At least one instance of Oracle Collaboration Suite, with the Email Server component, and Oracle Internet Directory must be installed on the target system prior to installing the Migration Tool.


This section contains the following topics:

Configuring the Domain Name Server Entry

You must configure the DNS entry prior to beginning the migration process so that the target Oracle Email server is visible to the rest of the internet.

IMAP Server Configuration

The source IMAP servers should be suitably configured for a possibly large number of IMAP connections for concurrently migrating users. This includes database configuration for the source and target systems, if required.

The IMAP connection requirements are one connection per concurrent user on the source IMAP server and three connections per concurrent user on the target IMAP server.

To deploy message sharing in JMA based migrations, you must configure the IMAP server as follows:

  1. Use the Oracle Enterprise Manager administrator pages to add the value MigrationHeader=Message-ID to the Process Flag IMAP server process parameter.
  2. Restart the IMAP server prior to running the Migration Tool.

    See Also:

    Oracle Email Administrator's Guide for information about setting up process parameters on your IMAP server

Verifying Source and Target IMAP Server Ports

If you are performing an IMAP-based migration, verify that both the source and target IMAP servers are configured on port 143.

If you are performing an MBOX-based migration, verify that the target IMAP server only is configured on port 143.

See Also:

Oracle Email Administrator's Guide for target IMAP server configuration information

Installing the Migration Tool

The Migration Tool can be run on both Windows NT and UNIX platforms.


Note:
  • All source Microsoft Exchange servers in the currently migrating site must stay up for the entire duration of the migration.
  • If you are migrating from a Microsoft Exchange source e-mail system and running the Migration Tool on a machine other than the one upon which Microsoft Exchange is installed, ensure that Microsoft Outlook and Microsoft Exchange Administrator are installed on the machine from which you are running the Migration Tool.

This section contains these topics:

To install the Migration Tool:

  1. Unzip the esmigration.zip file.

    For UNIX operating systems, enter the following:

    unzip esmigration.zip
    
    

    For Windows NT operating systems, use WinZip to unzip and extract all files from the esmigration.zip file.

    For either operating system, the following files and directories are created where you unzip the esmigration.zip file: doc, help, log, files, bin, images, sql, config, lib, and esmsplugin.tar.

  2. Set up the JREHOME environment variable to point to the Java Runtime Environment (JRE) 1.3.1 directory.

Setting Up JREHOME on UNIX

To set up JREHOME on UNIX operating systems, do the following:

Setting Up JREHOME on Windows NT

To set up JREHOME on Windows NT operating systems, use a MS-DOS prompt to enter the following command:

set JREHOME=C:\directory_containing_JDK_131

Once the Migration Tool is installed, you must set up the appropriate plug-in for your source e-mail system.

Setting Up the Oracle eMail Server Plug-In

If your source e-mail system is Oracle eMail Server, you must provide domain configuration name (DCN) and node information to the ES52Plugin.properties file, located in the Migration Tool bin directory, as follows:

DCN Specification

Provide one line per source domain. The entry must indicate the domain's DCN and be in the form

oracle.mail.migration.plugin.es52.dcn.domain_name=hostname:port:SID:password

For example, if the source domain is oracle.com and the SID for the DCN is db1, which runs on host h1 on port 1521, and the oo account password is oo, the DCN entry is as follows:

oracle.mail.migration.plugin.es52.dcn.oracle.com=h1:1521:db1:oo

Nodes Specification

Provide one line per source node, in the form

oracle.mail.migration.plugin.es52.node.node_name=hostname:port:SID:password

For example, if the source node is ESNODE and the SID for the node is db1, which runs on host h1 on port 1521, and the oo account password is oo, the node entry is as follows:

oracle.mail.migration.plugin.es52.node.ESNODE=h1:1521:db1:oo

Preparing for a Microsoft Exchange Migration

If your source e-mail system is Microsoft Exchange 5.0 or 5.5, you must perform the following tasks:

Creating an Administrator Profile Using Microsoft Outlook

If your source e-mail system is Microsoft Exchange, perform the following steps on the machine on which the source e-mail system is installed to create an administrator profile:

  1. Ensure that Microsoft Outlook is installed on the machine and is operating correctly.
  2. Create a profile using Microsoft Outlook.
    1. Select Start > Settings > Control Panel from the Windows NT task bar.
    2. Double-click the Mail icon.
    3. Click Show Profiles... > Add....
    4. Select Microsoft Exchange Server and enter a name in the Profile Name field. Click Next.
    5. Enter the name of the server in the Microsoft Exchange Server field.
    6. In the Mailbox field, enter the name of an administrator.
  3. Enter the profile information into the es_msplugin.ini file, which is available in the Migration Tool config directory. The format of the file is as follows:
    profile_name=profile_name
    password=password
    
    

    For example, if the profile name is admin and the password is secret, the format of the file is:

    profile_name=admin
    password=secret
    

Ensuring that the MAPI Spooler Process is Running

If Microsoft Exchange is the source e-mail system, the MAPI spooler process must be running on the source system in order to extract the various files and perform routing.

To ensure that the MAPISP32.exe MAPI spooler process is running, bring up the Windows NT Task Manager. If the process is running, it appears in the list of processes.

To start the MAPI spooler process, double-click the executable in Windows Explorer.


Note:

If you do not have the MAPI spooler process, you can obtain the executable from Microsoft's Platform SDK that comes with the Microsoft Developer Network (MSDN) collection. Install the Platform SDK released April, 2000, or later.


Using Statistics Task to Estimate Disk Space Requirements (Optional)

To use Statistics Task to estimate disk space requirements, run it on the machine on which Microsoft Exchange is installed.

To run Statistics Task, enter the following command using the Windows NT command line:

msplugin.exe statistics_file=file_name user=user@domain


Note:

The user@domain can be any user on the Microsoft Exchange Server, not just an administrator.


Task 1: Starting the Migration Tool

To start the Migration Tool on UNIX operating systems, run the migrate.sh script, located in the Migration Tool bin directory, by entering the following commands:

cd bin
./migrate.sh

To start the Migration Tool on Windows NT operating systems, double-click the migrate.cmd file, located in the Migration Tool bin directory, or enter the following commands:

C:\> cd bin
C:\> .\migrate.cmd

The Migration Repository Login screen displays, shown in Figure 3-1.

This section contains the following topics:

Starting Multiple Instances of the Migration Tool

Multiple instances of the Migration Tool can be started if a situation warrants the use of multiple instances, as is the case in the following situations:

To start multiple instances of the Migration Tool, edit the following parameter located in the migrate.sh file:

-Doracle.mail.migration.migrate.instance=unique_instance_name

For example, add the following two parameters to the migrate.sh file to start two different instances on UNIX:

-Doracle.mail.migration.migrate.instance=inst1
-Doracle.mail.migration.migrate.instance=inst2

Notes:
  • To recover a failed Migration Tool instance, restart it with
    -Doracle.mail.migration.migrate.instance=unique_instance_name, using the name of the failed instance. Users and batches that were migrating at the time of instance failure show the status failed. If more than one instance fails, they must all be re-run for complete recovery.
  • When more than one Migration Tool instance runs against a single repository, each instance picks up users independently.

Configuring Migration Tool Parameters

By editing parameters located in either the migrate.sh (on UNIX) or migrate.cmd (on Windows NT) file, you can do the following:

Following are instructions for configuring Migration Tool parameters:

Following is an example of a JRE command to run an instance of the Migration Tool called myhost:1 with 1 GB heap and 50 database connections, using OJMA:

$JRE -Xms1024m -Xmx1024m                                      
-Doracle.mail.migration.migrate.instance=myhost:1                                       
-Doracle.mail.migration.util.dbcache.max=50                                       
-Doracle.mail.migration.migrate.jmatype=oracle                                       
oracle.mail.migration.migrate.Migrate

Once the parameters are configured, you can start a particular instance of the Migration Tool by entering the following command:

migrate.sh instance_name (on UNIX)

or

C:\migration\bin\> migrate instance_name (on Windows NT)

Task 2: Logging In to the Migration Repository

The Migration Tool creates a repository under the es_mail user schema on the Oracle Email database. If a repository already exists, the Migration Tool reuses it.

Figure 3-1 Migration Repository Login Screen

Text description of image3th.gif follows.

Text description of the illustration image3th.gif

Specify the following information to log in to the migration repository:

After you enter the required information, click OK.

The Oracle Email Migration Tool screen displays.

Task 3: Setting Up a Migration Session

The Migration Setup Wizard collects details for the source and target domains; information for setting specific migration options; and notification of successful migration.

Select Tools > Migration Setup from the Migration Tool menu bar to start the Migration Setup Wizard and display the Welcome screen.

The following Migration Setup Wizard steps are described in this section:


Note:

All of the following steps are not required. The number of required steps is determined by choices made in Step 1.


Click Next to display the Mail System Objects screen, shown in Figure 3-2.

Step 1: Specifying Mail System Objects

Figure 3-2 Mail System Objects Screen

Text description of imageb5m.gif follows.

Text description of the illustration imageb5m.gif

Specify the following information in the Mail System Objects screen:

After you finish entering the information, click Next to display the Migration Options screen, shown in Figure 3-3.

Step 2: Specifying Migration Options

Figure 3-3 Migration Options Screen

Text description of imageldu.gif follows.

Text description of the illustration imageldu.gif

Specify the following information in the Migration Options screen:

When you finish entering the information, click Next to display the Notification screen, shown in Figure 3-4.

Step 3: Specifying Notifications

Figure 3-4 Notification Screen

Text description of imageu4c.gif follows.

Text description of the illustration imageu4c.gif

Notifications are e-mail messages that inform users about migration events.

In the Notification section, select either New Account Details, Migration Report, or both.


Note:

If you choose to run a two-phase migration, do not select either New Account Details or Migration Report.


See Also:

"Performing a Two-Phase Migration" for more information about two-phase migration

When you finish entering the information, click Next to display the Mail Services screen, shown in Figure 3-5.

Step 4: Specifying Mail Services

Figure 3-5 Mail Services Screen

Text description of imagesd7.gif follows.

Text description of the illustration imagesd7.gif

Specify the following in the Mail Services screen:

When you finish entering the information, click Next to display the Source Directory Server screen, shown in Figure 3-6.

Step 5: Specifying Source Directory Server Parameters

Figure 3-6 Source Directory Server Screen

Text description of image4m3.gif follows.

Text description of the illustration image4m3.gif

Specify the following source LDAP server information in the Source Directory Server screen:

When you finish entering the information, click Next to display the Target Directory Server screen, shown in Figure 3-7.

Step 6: Specifying Target Directory Server Parameters

Figure 3-7 Target Directory Server Screen

Text description of imaged0c.gif follows.

Text description of the illustration imaged0c.gif

Specify the following target Oracle Internet Directory information in the Target Directory Server screen:

When you finish entering the information, click Next to display the Username Generation screen shown in Figure 3-9.


Note:

Depending upon choices you made in previous steps, the next screen to display is the LDAP Schema Mapping screen, shown in Figure 3-8.


Step 7: Specifying LDAP Attribute Mapping

Figure 3-8 LDAP Schema Mapping Screen

Text description of imageadm.gif follows.

Text description of the illustration imageadm.gif

On Oracle Email, an e-mail account is described by the orclperson object class. This object class has some mandatory attributes you must map to source directory attributes. These mandatory attributes include:

Mandatory Attributes: Click the source attribute on the right to display a list of mapping choices and select the mapping that you want to update the source attribute.

Non-Mandatory Attributes: Attributes that are not mandatory on the target Oracle Internet Directory have the option No Mapping displayed in the right column. Click the drop-down list to display a list of attribute choices to which to map if you want to map a non-mandatory attribute.


Note:

You need only map these attributes once, because the Migration Tool saves the values for the subsequent batches.


When you finish entering the information, click Next to display the Username Generation screen, shown in Figure 3-9.

Step 8: Specifying New Account User Names

Figure 3-9 Username Generation Screen

Text description of imagegdl.gif follows.

Text description of the illustration imagegdl.gif

Specify the following information in the Username Generation screen:

To generate new account user names, select one of the following choices from the User Naming section:

When you finish entering the information, click Next. The Summary screen displays. Click Finish to quit the Migration Setup Wizard and display the Oracle Email Migration Tool screen.

Resolving Account Name Conflicts

If the Migration Tool detects any duplicate target user names (also called name conflicts) when creating accounts in the target Oracle Internet Directory, it logs an error and does not create the duplicate account.

Duplicate target user name errors (name conflict errors) can only be avoided if user name generation rules are chosen so that unique target user names are generated.

To resolve name conflicts, perform the following steps:

  1. Manually create the user with a unique name in Oracle Email.
  2. Select Tools > Modify User Details to edit the information for that user.
  3. Update the user's status to Migrate User Data.

When all accounts have been successfully created, proceed to creating batches and migrating user data.

See Also:

Modifying Migration Parameters

Any changes you make take effect after you cancel and restart the migration.

You cannot modify migration parameters during the migration.


Note:

If two or more instances of the Migration Tool are running against the same repository, all instances except one must be shut down before modifications to the migration parameters can proceed.


To modify migration parameters, do the following:

  1. Select Tools > Modify Migration Parameters from the Migration Tool menu bar. The Modify Migration Parameters screen displays, as shown in Figure 3-10.

Figure 3-10 Modify Migration Parameters Screen

Text description of imagench.gif follows.

Text description of the illustration imagench.gif