Skip Headers
Oracle® Beehive Integration Guide
Release 2 (2.0.1.8)

Part Number E16650-06
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Integrating Microsoft Exchange Server with Oracle Beehive

This module describes how to integrate Microsoft Exchange Server with Oracle Beehive.

This module contains the following topics:

Overview of Integrating Microsoft Exchange Server with Oracle Beehive

Oracle Beehive supports integration with Microsoft Exchange Server 2003 and Microsft Exchange Server 2007 through the Oracle Collaboration Coexistence Gateway.

Oracle Collaboration Coexistence Gateway is an Oracle proprietary solution that allows Oracle Beehive users to collaborate with the Microsoft Exchange users. Additionally, the solution allows the Microsoft Exchange users to make use of Oracle Beehive features such as Team Collaboration, and Synchronous Collaboration without necessarily being migrated to Oracle Beehive for Enterprise Messaging.

Oracle Collaboration Coexistence Gateway can be broken down to the following services:

  • Oracle Connector for Exchange

  • Oracle Change Notification Service for Exchange

  • Oracle Communication Service

  • Oracle Beehive Coexistence Service

The first three services run on the computer or computers where Oracle Connector for Exchange and Oracle Change Notification Service for Exchange were installed. The last service is on Oracle Beehive Installation.

These services update and propagate data between the coexisting systems. Depending on the deployment, the information being updated and propagated may include events, tasks, and e-mails.

You can centrally manage Oracle Beehive Coexistence from the beectl command line and from Oracle Beekeeper. This includes managing components of Collaboration Coexistence Gateway that are installed on remote servers.

Prior to integrating Microsoft Exchange Server 2003 or Microsoft Exchange Server 2007 with Oracle Beehive, Oracle recommends that you become familiar with the concepts associated with this integration. To learn more about the associated concepts, including the Oracle Collaboration Coexistence Gateway, see "Oracle Beehive Integration with Microsoft Exchange Server" in Oracle Beehive Concepts.

Note:

Version-specific information in this module is highlighted where applicable. For example, for information that is specific to Microsoft Exchange Server 2003, the product name Microsoft Exchange Server 2003 is used. In cases where information applies to Microsoft Exchange Server 2003 and 2007, the generic form Microsoft Exchange Server is used.

Prerequisites for Integrating Microsoft Exchange Server with Oracle Beehive

This section contains the prerequisites for integrating Microsoft Exchange Server with Oracle Beehive. This section contains the following topic:

Load Balancer Requirements for Deploying Oracle Beehive with Microsoft Exchange Server

Load Balancer Requirements for Deploying Oracle Beehive with Microsoft Exchange Server

Depending on the message type, the Oracle Collaboration Coexistence Gateway sends messages between Oracle Beehive and Microsoft Exchange Server over HTTP/HTTPS or SMTP. Therefore, you will need one or more load balancers if your integration plans include more than one Oracle Beehive Application Tier instance or more than one Oracle Coexistence Connector instance. In these cases, load balancers are required to manage the HTTP/HTTPS traffic and, potentially, the SMTP traffic between Oracle Beehive and Microsoft Exchange Server. This requirement is due to the fact that the Coexistence Service (which resides on all Oracle Beehive server instances) and the Oracle Coexistence Connector (which must reside on at least one Microsoft Exchange Server instance) accept only a single URL representing their connection endpoints. Oracle recommends that you configure load balancers for SMTP-based coexistence traffic.

Procedure for Integrating Microsoft Exchange Server with Oracle Beehive

This section contains the procedure for integrating Microsoft Exchange Server with Oracle Beehive.

This section contains the following section:

Installing and Configuring the Oracle Collaboration Coexistence Gateway

Installing and Configuring the Oracle Collaboration Coexistence Gateway

This section includes information and cross-references that are necessary to install and configure the Oracle Collaboration Coexistence Gateway solution. This section contains the following topics:

Installation

The Oracle Beehive Installation Guide for Microsoft Windows contains all of the information that you will need related to preparing for and installing the components of the Oracle Collaboration Coexistence Gateway solution:

Note:

After installing the components of the Oracle Collaboration Coexistence Gateway solution, a Remote Coexistence System must be configured in the Oracle Beehive deployment.

Follow the steps outlined in the "Configuring a Coexistence System on Oracle Beehive" section to complete the installation.

Follow the steps outlined in the "Post-Installation Configuration" section to complete the configuration.

Post-Installation Configuration

After installing Oracle Beehive, Oracle Connector for Exchange, and Oracle Change Notification Service for Exchange, and "Configuring a Coexistence System on Oracle Beehive", additional post-installation configuration must be completed before the Oracle Collaboration Coexistence Gateway is fully functional.

Complete all the tasks in this list to get the Oracle Collaboration Coexistence Gateway up and running:

  1. Adjust quota restrictions on Microsoft Exchange. For additional information about this task, see "Adjusting Quota Restrictions for the Oracle Connector for Exchange Mailbox".

  2. If your Microsoft Exchange deployment does not allow users to receive e-mails from external addresses, the Microsoft Exchange administrator must reconfigure Microsoft Exchange to allow incoming external e-mails.

  3. Configure a relay server on Oracle Beehive. For additional information about this task, see "Setting Up E-mail Relay Routing" in Chapter 8, "Managing Oracle Beehive E-mail" of the Oracle Beehive Administrator's Guide.

  4. Ensure your local domains are configured in the E-mail Service. You can do this with Oracle Beekeeper, or by running the following beectl command:

    beectl> append_value --component _EmailService --name LocalEmailPatterns --value "*@<yourdomain>"
    

    Where <yourdomain> represents your local domain.

    Note:

    For the configuration changes to take effect, you must run the activate_configuration beectl command.
  5. Set the CoexUserLocal E-mail Service property to FALSE using the following beectl command:

    beectl> modify_property --component _EmailService --name CoexUserLocal --value FALSE
    

    Note:

    For the configuration changes to take effect, you must run the activate_configuration beectl command.
  6. If your Microsoft Exchange and Oracle Beehive deployments have local users with the same e-mail domain, then set the AcceptInvalidLocalUsers E-mail Service property to TRUE. You can do this using Oracle Beekeeper, or by using the following beectl command:

    beectl> modify_property --component _EmailService:TransportProperties --name AcceptInvalidLocalUsers --value TRUE
    

Post-Installation Tasks

This section is a compilation of information related to post-installation administration tasks that may or may not be required after installing Oracle Connector for Exchange and Oracle Change Notification Service for Exchange. Read each preamble carefully because not all deployment scenarios will require the post-installation tasks described in this section. For a list or required post-installation tasks, refer to "Post-Installation Configuration".

This section includes the following topics:

Adjusting Quota Restrictions for the Oracle Connector for Exchange Mailbox

During the installation of Oracle Connector for Exchange, a mailbox is created for the service. This mailbox will be given the following name: Oracle-coexConnExch <host>. This folder should not be subject to default mail quota policies imposed on regular user folders.

For Oracle Connector for Exchange to function as it was intended, the Microsoft Exchange administrator must remove all mailbox quota policies that may be enforced on this folder before attempting a coexistence deployment.

Installing the Oracle Change Notification Service for Exchange on the Same Host as Microsoft Exchange

While installing Oracle Connector for Exchange on the same computer as Microsoft Exchange, a prompt appears giving you the Option to Configure Oracle Change Notification Service. If you select No to this option and complete the installation, then you will not be able to install Oracle Change Notification Service for Exchange on that computer using the Oracle Universal Installer.

Note:

Oracle does not recommend installing the Oracle Connector for Exchange on the same server that hosts user mailboxes. However, if you choose to install the Oracle Connector for Exchange on a server that hosts user mailboxes, then you will need to install the Oracle Change Notification Service for Exchange on that server too.

If after choosing not to install Oracle Change Notification Service for Exchange on the same computer as Microsoft Exchange and Oracle Connector for Exchange, then you want to install Oracle Change Notification Service for Exchange on that same computer, follow these instructions:

  1. On the computer hosting the Oracle Connector for Exchange and Microsoft Exchange, navigate to the C:\oracle\product\<version>\exconnector_1\beehive\collabcoex_connector.

    Where <version> represents the folder with the version number of Oracle Connector for Exchange.

  2. Run the following command:

    coexctl.exe install_eventsink --install_directory C:\oracle\product\<version>\exconnector_1\beehive\collabcoex_connector --admin_account <WindowsUserAccount> --admin_password <psw>
    

    Where:

    If the installation is successful, then the following message is returned:

    EventSink registered successfully.
    
  3. Start the Oracle Change Notification Service for Exchange. For instructions on starting the Oracle Change Notification Service for Exchange, see "Starting Oracle Change Notification Service for Exchange".

Note:

If this method is used to install Oracle Change Notification Service for Exchange, then the Oracle Universal Installer cannot be used to uninstall it. To uninstall Oracle Change Notification Service for Exchange using the command-line tool, run the following command:
coexctl.exe uninstall_eventsink
Redirecting E-mail Back to Microsoft Exchange for Delivery to Oracle Beehive

By default, Microsoft Exchange redirects all messages directed towards coexisting Oracle Beehive users to the Coexistence Connector, which is then responsible for delivering those messages to Oracle Beehive. However, the following limitations apply when the Coexistence Connector sends the e-mails to Oracle Beehive itself:

  • SMTP SSL/TLS is not supported

  • SMTP Authentication is not supported

  • Receipt notifications are not supported (although delivery and non-delivery reports are supported)

  • Retries are not supported. That is, if the Coexistence Connector cannot send the e-mail to Oracle Beehive (through SMTP) on its first attempt, then the Coexistence Connector will not retry.

Beginning with Oracle Beehive Release 1 (1.5), Oracle recommends configuring the Coexistence Connector to redirect all e-mail messages addressed to Oracle Beehive users sent from Microsoft Exchange, back to Microsoft Exchange for delivery.

By having Microsoft Exchange deliver the messages, MIME conversion will be performed by Microsoft Exchange and not by the Coexistence Connector.

If you do not make this configuration change, then listed limitations apply, and you will have to configure e-mail sending options in two locations. Having Microsoft Exchange deliver e-mails enables you to configure e-mail sending, retry intervals, and other Microsoft Exchange features through the usual Microsoft Exchange UI.

Example Redirection Configuration

Suppose that one of the domains of your Oracle Beehive deployment is example.com. Configure the system in the following way:

  1. The Coexistence Connector is configured to replace all example.com addresses in the e-mail envelope with special.example.com, and then redirect it to Exchange for delivery.

  2. Microsoft Exchange is configured to send messages addressed to special.example.com to Oracle Beehive. The message forwarded from the Coexistence Connector will therefore be delivered by Exchange directly to Oracle Beehive.

  3. The Oracle Beehive E-mail Service is configured with a pre-resolution rule, such that upon receipt of the message, Oracle Beehive will rewrite special.example.com addresses back to example.com before delivering the message to the Oracle Beehive user.

To enable this feature, you must add one or more pre-resolution rule for incoming e-mails in Oracle Beehive to rewrite addresses in the e-mail envelopes. A simple rule that rewrites special.example.com to example.com is listed in Example 3-1, "Simple Rule for Rewriting E-mail Domains". The rule is implemented using a new (in Oracle Beehive Release 1 (1.5)) Mail Service feature, RewriteDomainAction, which can perform regular expressions on the e-mail domain.

Caution:

Rewrite actions are run in sequence. This means rewrite result can be matched by subsequent actions by mistake. You should carefully craft the matching patterns to avoid this.

Example 3-1 Simple Rule for Rewriting E-mail Domains

<?xml version="1.0" encoding="UTF-8"?>
<java version="1.5.0_16" class="java.beans.XMLDecoder"> 
 <object class="oracle.ocs.mail.service.ruleengine.RuleEngine"> 
  <void property="name"> 
   <string>5e8f2f1b59e7de1f:-bd35894:11d64fcfda8:-8000</string> 
  </void> 
  <void property="rules"> 
   <array class="oracle.ocs.mail.service.ruleengine.Rule" length="2"> 
    <void index="0"> 
     <object class="oracle.ocs.mail.service.ruleengine.mail.actions.RewriteDomainAction">
      <void property="name"> 
       <string>rewrite domain rule</string> 
      </void> 
      <void property="pattern"> 
         <string>(special.)(example.com)</string> 
      </void> 
      <void property="replaceString"> 
       <object class="java.util.ArrayList"> 
        <void method="add"> 
         <string>\2</string> 
        </void> 
       </object> 
      </void> 
     </object> 
    </void> 
    <void index="1"> 
     <object class="oracle.ocs.mail.service.ruleengine.TopLevelAction"> 
      <void property="argumentType"> 
       <string>oracle.ocs.mail.service.mom.MsgContentAndEnvelope</string> 
      </void> 
      <void property="group"> 
       <string>THE_RULE</string> 
      </void> 
      <void property="name"> 
       <string>THE_RULE</string> 
      </void> 
      <void property="rootRule"> 
       <string>rewrite domain rule</string> 
      </void> 
     </object> 
    </void> 
   </array> 
  </void> 
 </object> 
</java>

If you need to rewrite multiple domains (because your Oracle Beehive users have more than one valid e-mail domain), then you can write a more complex rule. An example of a composite rule that rewrites multiple domains is shown in Example 3-2, "Composite Rule for Rewriting Multiple E-mail Domains". In this example, special.example.com is rewritten to example.com, and special.example.anotherdomain.com is rewritten to example.anotherdomain.com.

Example 3-2 Composite Rule for Rewriting Multiple E-mail Domains

<?xml version="1.0" encoding="UTF-8"?>
<java version="1.5.0_16" class="java.beans.XMLDecoder">
 <object class="oracle.ocs.mail.service.ruleengine.RuleEngine">
  <void property="name">
   <string>5e8f2f1b59e7de1f:62dfa7e3:11d6f346721:-8000</string>
  </void>
  <void property="rules">
   <array class="oracle.ocs.mail.service.ruleengine.Rule" length="4">
    <void index="0">
     <object
class="oracle.ocs.mail.service.ruleengine.mail.actions.RewriteDomainAction">
      <void property="name">
       <string>rewrite domain rule</string>
      </void>
      <void property="pattern">
         <string>(special.)(example.com)</string>
      </void>
      <void property="replaceString">
       <object class="java.util.ArrayList">
        <void method="add">
         <string>\2</string>
        </void>
       </object>
      </void>
     </object>
    </void>
    <void index="1">
     <object
class="oracle.ocs.mail.service.ruleengine.mail.actions.RewriteDomainAction">
      <void property="name">
       <string>rewrite domain rule 2</string>
      </void>
      <void property="pattern">
         <string>(special.)(example.)(anotherdomain.com)</string>
      </void>
      <void property="replaceString">
       <object class="java.util.ArrayList">
        <void method="add">
         <string>\2</string>
        </void>
        <void method="add">
         <string>com</string>
        </void>
       </object>
      </void>
     </object>
    </void>
    <void index="2">
       <object class="oracle.ocs.mail.service.ruleengine.CompositeRule">
      <void property="children">
       <array class="java.lang.String" length="2">
        <void index="0">
         <string>rewrite domain rule</string>
        </void>
        <void index="1">
         <string>rewrite domain rule 2</string>
        </void>
       </array>
      </void>
      <void property="mode">
       <string>SEQUENCE</string>
      </void>
      <void property="name">
       <string>rewrite domains</string>
      </void>
     </object>
    </void>
    <void index="3">
     <object class="oracle.ocs.mail.service.ruleengine.TopLevelAction">
      <void property="argumentType">
       <string>oracle.ocs.mail.service.mom.MsgContentAndEnvelope</string>
      </void>
      <void property="group">
       <string>THE_RULE</string>
      </void>
      <void property="name">
       <string>THE_RULE</string>
      </void>
      <void property="rootRule">
       <string>rewrite domains</string>
      </void>
     </object>
    </void>
   </array>
  </void>
 </object>
</java> 

Once you have written the XML to configure your Oracle Beehive E-mail Service pre-resolution rule, perform the following steps to apply it on your Oracle Beehive instance:

Note:

In the following procedure, if you have already configured pre-resolution rules, then they will be overwritten with the new rules created in your XML file. You can use the beectl list_properties command to see the current value of the PreResolutionRules property. If it contains a configuration that you need to preserve, then contact your Oracle Support representative for assistance.
  1. Use the beectl list_components command to find the identifier of your E-mail Service Transport Properties component:

    beectl> list_components
    

    Search the results for the EmailService.TransportProperties component, and copy the corresponding ID. For example:

    ------------------------------+-------------------------------------------------
    EmailService.TransportPropert | e7ffb5e7-757c-46a1-961d-b3b12fd4ad14
    ies                           |
    ------------------------------+-------------------------------------------------
    
  2. Use the beectl modify_property command to upload the XML file:

    beectl> modify_property --component <Transport_properties_ID> --name PreResolutionRules --file <XML_File>
    
  3. Validate and activate your proposed configuration using the beectl activate_configuration command:

    beectl> activate_configuration
    

Once the changes are applied in Oracle Beehive, run the following for each Oracle Beehive primary e-mail domain, on each Coexistence Connector machine:

$ORACLE_HOME\beehive\collabcoex_connector\coexctl.exe set_property --file $ORACLE_HOME\beehive\collabcoex_connector\conf\ConnectorConfiguration.xml --section smtpRedirection --property <example.com> --value <special.example.com>

Substitute the correct domain names for the --property and --value values.

Administering Your Microsoft Exchange Server and Oracle Beehive Integration

This section explains how to perform various administrative tasks related to Oracle Collaboration Coexistence Gateway, and includes the following topics:

Oracle Beehive Coexistence Service Administrative Tasks

This section describes how to perform various administrative tasks related to the Oracle Beehive Coexistence Service. The instructions in this section assume that the beectl shell is being used.

See Also:

For more information about the beectl commands used in this section, see "Oracle Beehive Command-Line Utility" in Module 2 of the Oracle Beehive Administrator's Reference Guide.

This section includes the following topics:

Configuring a Coexistence System on Oracle Beehive

This section includes information about adding a coexistence system using the add_coexistence_system command.

The add_coexistence_system command takes either a --url, or both a --host_name and --port. You must use the --url option if you need to customize the URI portion of the URL. Otherwise, you can use either method of specifying the host.

Optionally, the --use_https parameter can be used along with the --host_name and --port parameters to specify that the HTTPS protocol will be used.

The following examples show how to format input using each method:

beectl add_coexistence_system --host_name example.com --port 80 --partnership_key

This command generates a URL of http://example.com:80/coexConnector/CoexMLPort

beectl add_coexistence_system --host_name example.com --port 80 --use_https --partnership_key

This command generates a URL of https://example.com:80/coexConnector/CoexMLPort

beectl add_coexistence_system --url http://example.com --partnership_key

This command generates a URL of http://example.com:80/coexConnector/CoexMLPort

beectl add_coexistence_system --url https://example.com/uri --partnership_key

This command generates a URL of https://example.com:80/uri

Follow these steps to add a coexistence system to your Oracle Beehive deployment:

  1. Determine the fully qualified domain name and port of your Oracle Connector for Exchange installation.

  2. Navigate to the ORACLE_HOME/beehive/bin directory on the system hosting the Oracle Beehive deployment.

  3. Run the following command:

    beectl> add_coexistence_system --name <name> --product_name <product_name> {--url <url>|--host_name <host_name> --port <port_number> {--use_http|--use_https}} --partnership_key [--timezone_alias_namespace <timezone_alias_namespace>]
    

    Note:

    The argument passed to the -partnership_key option is the password defined during the installation of the Oracle Connector for Exchange or Oracle Connector for Lotus Domino. For more information about the Partnership Key value, see "Oracle Collaboration Coexistence Gateway Install Help" in Module 6 of the Oracle Beehive Installation Guide for Microsoft Windows.

    The argument passed to the --url option is displayed in the summary screen of the Oracle Connector for Exchange installation, where:

    • <OracleConnectorForExchangeHost> represents the fully qualified domain name of the system hosting Oracle Connector for Exchange

      Note:

      Specify the fully qualified domain name of the load balancer in the case of a deployment with multiple routing groups.
    • <port> represents the HTTP port of your Oracle Connector for Exchange installation

    • <coexistence_system_name> represents the name that you want to give to the Remote Coexistence System

    • <timezone_alias_namespace> is a string that corresponds to a time zone namespace in Oracle Beehive and is used to map time zones from Exchange to Oracle Beehive and vice versa. By default this is set to MSFT. Unless advised to do so by Oracle support, do not change this value.

Listing Oracle Beehive Remote Coexistence Systems

Oracle Beehive administrators may require details about the Oracle Beehive Remote Coexistence Systems configured on their deployment. This section includes information about listing all configured Remote Coexistence Systems using the list_coexistence_systems command.

Run the following command to list the configured Remote Coexistence Systems on your Oracle Beehive deployment:

beectl> list_coexistence_systems

The command will return output similar to the following example:

----------------------------------------------------------------------------------
Coexistence remote collaboration system details.
----------------------------------------------------------------------------------
Name                    : Exchange
URL                     : http://10.156.42.99:7777/coexConnector/CoexMLPort
Timezone alias namespace: MSFT
----------------------------------------------------------------------------------

For additional details, use the --show_more option:

beectl> list_coexistence_systems --show more
 
----------------------------------------------------------------------------------
Coexistence remote collaboration system details.
----------------------------------------------------------------------------------
Id                      : 121A:2A16:cors:56F748517E90371EE040578CF71854800000000186A6
Name                    : Exchange
URL                     : http://10.156.42.99:7777/coexConnector/CoexMLPort
Timezone alias namespace: MSFT
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
Configuration properties status.
----------------------------------------------------------------------------------
Modified On             : 9/19/08 10:17 AM
Last synchronization    : 9/19/08 10:17 AM
Propagation state       : IN-SYNC 

In addition to the information provided by the list_coexistence_systems command, you can use the beectl list_coexistence_connectors command to show information about individual coexistence connectors within a Remote Coexistence System:

beectl> list_coexistence_connectors
 
----------------------------------------------------------------------------------
List of coexistence connectors for remote collaboration systems.
----------------------------------------------------------------------------------
Connector Name          : Oracle-coexConnExch (tmcoex1)
Routing List            : RGC426AE:*;1;OCS:*;1;
Relay Address Type      : RGC426AE
----------------------------------------------------------------------------------

Modifying Oracle Beehive Remote Coexistence Systems

Oracle Beehive administrators may need to modify certain properties of an Oracle Beehive Remote Coexistence System. This section includes information about modifying a Remote Coexistence System using the modify_coexistence_system command. Depending on what properties require modification, different options are required.

In the following example, the Remote Coexistence System listed in the "Listing Oracle Beehive Remote Coexistence Systems" section, named TMCOEX2, is being assigned a new URL:

beectl> modify_coexistence_system --select_by_name TMCOEX2 --url http://new.example.com

You can also update the Remote Coexistence System's partnership_key attribute.

See Also:

For more information about the modify_coexistence_system command, including available options and syntax, see "modify_coexistence_system" in Module 2 of the Oracle Beehive Administrator's Reference Guide.

Provisioning Users for Cross-Scheduling Coexistence

Before users can take advantage of the Oracle Collaboration Coexistence Gateway, Oracle Beehive administrators must provision users for coexistence with a Remote Coexistence System. Note that while provisioning users for coexistence, you must specify the connector as there can be multiple connectors defined in Oracle Beehive.

This section includes information about provisioning users for coexistence with a Remote Coexistence System using the modify_coexistence_profile command.

Note:

Oracle recommends that the maximum attachment size (configured by default to be 2MB) not be increased beyond 20MB. Any cross-scheduling messages greater than 20MB will not be transferred from Oracle Connector for Exchange to Oracle Beehive.

Prerequisites

Before provisioning users for coexistence with a Remote Coexistence System using the modify_coexistence_profile command the following conditions must be met:

  • The user account must exist on Oracle Beehive. For information about provisioning users on Oracle Beehive, see "Provisioning User Accounts Using beectl" in the Oracle Beehive Administrator's Guide.

  • Oracle recommends that Oracle Beehive and Microsoft Exchange users have the same primary e-mail address. Ensure that the every user's Microsoft Active Directory SMTP address property is set to the Oracle Beehive e-mail address. This address should be set as primary.

Example 3-3 Provisioning a User for Coexistence

In this example, user2 is being provisioned for coexistence with Remote Coexistence System TMCOEX2.

Using the BEEHIVE argument for the --accessible_system option indicates an Oracle Beehive user who will be coexisting:

beectl> modify_coexistence_profile --user user=user2 --accessible_system BEEHIVE

Coexistence profile has been created and processing is initiated.

Using the EXCHANGE argument for the --accessible_system option indicates that the user is a Coexisting Third Party User (the user can access Microsoft Exchange only):

beectl> modify_coexistence_profile --user user=user2 --accessible_system EXCHANGE

See Also:

For more information about the modify_coexistence_profile command, including available options and syntax, see "modify_coexistence_profile" in Module 2 of the Oracle Beehive Administrator's Reference Guide.

Using Gather Stats after Bulk Provisioning User Accounts

The first time you bulk load users, during the upload, the database statistics will quickly become outdated. This can lead to poor system performance, both during and after the upload process. If you are loading a large number of users, then consider using the gather stats() function in the Oracle Beehive database.

To improve performance, you can use the following SQL*plus command (as either the SYS or BEE_DATA user) to force the database to refresh statistics:

exec dbms_stats.gather_schema_stats('BEE_DATA',GRANULARITY=>'ALL');

Consider gathering statistics in one of the following ways:

  • Split the load into two files, with one small batch and one large. Run the small batch, then gather stats(), and then do the larger batch

  • Run the gather stats () while doing the bulk load all at once. This option will slow performance of the bulk load while gather stats() is running.

In either case, if you are loading a large amount of users, then this should provide a significant performance improvement after the database command completes.

Post-Provisioning Notes

After running the modify_coexistence_profile command, the registration process will begin. To view whether the registration process has completed, see "Viewing the Registration State of Coexisting Users".

Manually Importing User Data

To avoid or delay the registration process of coexistence users (which normally occurs automatically), you can run the beectl modify_coexistence_profile command with the --no_data_import option. You can then use the beectl import_coexistence_data command to manually trigger user data import.

You might wish to do this for any of the following reasons:

  • You want to customize date ranges and data types for a subset of users.

  • You want to trigger the import at a later time, and not immediately when users are registered for coexistence.

  • If the automated data import failed or partially succeeded, you can reattempt the import manually.

  • You want to extend the date ranges to get more data in the past.

To register a coexistence user without importing that user's data into Oracle Beehive, use the --no_data_import option, such as in the following example:

beectl> modify_coexistence_profile --user user=<user_login_id> --accessible_system BEEHIVE --no_data_import

To manually import coexistence user data into Oracle Beehive, use the beectl import_coexistence_data command:

beectl> import_coexistence_data {--user <user_cen> | --email <user_email> } [--data_type <type>] [--timerange_start <start>] [--relative_timerange_start <relative_start>] [--timerange_end <end>] [--relative_timerange_end <relative_end>]

Use the --data_type option to specify one or more particular types of user data to import. Valid types are MEETING and TASK.

Use the --timerange_start and --timerange_end options to specify an absolute range of time for which all data should be imported. You can use a timestamp, for example 2007-10-01T12:00:00Z. You can also use the keywords NOW (to specify a time range beginning or ending with the current time) or INFINITY (to specify that there should be no limit).

Use the --relative_timerange_start and --relative_timerange_end options to specify a relative range of time (in days) for which all data should be imported. Specify an integer for each option. A negative integer represents a number of days prior to today, while a positive integer represents a number of days in the future (from today).

See Also:

For more information about the import_coexistence_data command, including available options and syntax, see "import_coexistence_data" in Module 2 of the Oracle Beehive Administrator's Reference Guide.

Viewing the Registration State of Coexisting Users

After a user has been provisioned for coexistence using the steps outlined in "Provisioning Users for Cross-Scheduling Coexistence", Oracle Beehive attempts to register the user. The user must be registered for coexistence before being able to coexist. Although this occurs automatically, it may take some time.

To view the registration state of coexisting users use the list_coexistence_profiles command:

beectl> list_coexistence_profiles

Output similar to the following will be returned:

--------------+---------------------+-----------+-------------------------------
User Name     | Accessible systems  | State     | Import state
--------------+---------------------+-----------+-------------------------------
user1         | BEEHIVE             | COMPLETED | NONE
--------------+---------------------+-----------+-------------------------------
user3         | EXCHANGE            | COMPLETED | COMPLETED
--------------+---------------------+-----------+-------------------------------

Five possible values appear in the State column:

  • CREATED indicates that the registration request has been created.

  • IN-PROGRESS indicates that the registration request has been sent to the Oracle Beehive Remote Coexistence System, but the Oracle Beehive Coexistence service is waiting for a response.

  • COMPLETED indicates that the registration request acknowledgement has been received from the Oracle Beehive Remote Coexistence System and the provisioning, and registration process has completed.

  • DELETED indicates that the user is not provisioned for coexistence anymore.

  • REJECTED indicates that the specified systems were not possible for a given user. For example, if you specify EXCHANGE as one of the systems for a user that does not exist in the Microsoft Exchange Server, the registration process will fail and the profile will be set to REJECTED.

The value in the State column must be COMPLETED before a user has been fully provisioned for coexistence.

To view the additional information about the registration state of coexisting users, use the list_coexistence_profiles command with the --show_more option:

beectl> list_coexistence_profiles --show_more

The following columns are displayed:

  • User Name

  • Accessible systems

  • State

  • Last Modification

  • Import State

  • Last import

To view complete information about coexisting users, use the list_coexistence_profiles command with the --show_all option:

beectl> list_coexistence_profiles --show_all

The output similar to the following is displayed for each user:

===================================================================
User:user2
Accessible system: BEEHIVE,EXCHANGE
Profile process state: COMPLETED
Profile modifiedon: 8/5/08 7:34:07 AM

Data Type: TASK
GUID: guid-F14819DF1B5F4DA683E1C9393DFF106E000000000001
State: CREATED
Latest process time: NOT-PROCESSED
Received entity: 0
Expected entity: 0
Time range start: 7/6/08 2:28:08 PM UTC
Time range end: INFINITY

Data Type: MEETING
GUID: guid-F14819DF1B5F4DA683E1C9393DFF106E000000000000
State: CREATED
Latest process time: NOT-PROCESSED
Received entity: 0
Expected entity: 0
Time range start: 7/6/08 2:28:06 PM UTC
Time range end: INFINITY
===================================================================

Deprovisioning Users from an Oracle Beehive Remote Coexistence System

If a user has been provisioned for coexistence, and coexistence is no longer needed thereafter, then the user can be deprovisioned. This section includes information about provisioning users for coexistence with a Remote Coexistence System using the delete_coexistence_profile command.

Example 3-4 Deprovisioning a User for Coexistence

In this example, user2 is being deprovisioned for coexistence from Remote Coexistence System TMCOEX2:

beectl> delete_coexistence_profile --user user=user2

Coexistence profile has been deleted and processing is started.

See Also:

For more information about the delete_coexistence_profile command, including available options and syntax, see "delete_coexistence_profile" in Module 2 of the Oracle Beehive Administrator's Reference Guide.

Post-Deprovisioning Notes

After running the delete_coexistence_profile command, the deprovisioning process will begin. To view the state of the coexistence profile, see "Viewing the Registration State of Coexisting Users".

Oracle Connector for Exchange Administrative Tasks

This section explains how to stop and start Oracle Connector for Exchange. The following topics are covered in this section:

When installed in the default location, the command line tool to stop and start Oracle Connector for Exchange is located in the C:\oracle\product\<version>\exconnector_1\beehive\collabcoex_connector folder. This section assumes that you have navigated to the above mentioned directory from the Windows command line prompt.

Best Practices for Stopping and Starting Oracle Connector for Exchange

Oracle Connector for Exchange works in tandem with the BEECONNECTOR OC4J instance. Both are installed on the computer where Oracle Connector for Exchange was deployed.

Due to the interdependency between Oracle Connector for Exchange and the BEECONNECTOR OC4J instance, Oracle recommends stopping and starting the service and instance in a specific order.

Stopping When stopping the Oracle Connector for Exchange, Oracle recommends the following steps:

  1. Stop the BEECONNECTOR OC4J instance. For more information on stopping the BEECONNECTOR OC4J instance, see "Stopping the BEECONNECTOR OC4J Instance".

  2. Stop Oracle Connector for Exchange. For more information about stopping Oracle Connector for Exchange, see "Stopping Oracle Connector for Exchange".

Starting When starting the Oracle Connector for Exchange, Oracle recommends the following steps:

  1. Start Oracle Connector for Exchange. For more information on starting Oracle Connector for Exchange, refer to "Starting Oracle Connector for Exchange".

  2. Start the BEECONNECTOR OC4J instance. For details about starting the BEECONNECTOR OC4J instance, see "Starting the BEECONNECTOR OC4J Instance".

Stopping Oracle Connector for Exchange

Before stopping the Oracle Connector for Exchange, the BEECONNECTOR OC4J instance must be stopped. For details about stopping the BEECONNECTOR OC4J instance, see "Stopping the BEECONNECTOR OC4J Instance".

To stop Oracle Connector for Exchange, run the following command:

coexctl.exe stop_connector

Note:

Oracle Connector for Exchange can also be stopped in the Windows Services panel, by selecting and stopping Oracle Coexistence Connector for Exchange and Oracle Coexistence Administration Service.

Starting Oracle Connector for Exchange

To start Oracle Connector for Exchange, run the following command:

coexctl.exe start_connector

Note:

Oracle Connector for Exchange can also be started in the Windows Services panel, by selecting and starting Oracle Coexistence Connector for Exchange and Oracle Coexistence Administration Service.

Stopping the BEECONNECTOR OC4J Instance

The BEECONNECTOR OC4J instance works in tandem with the Oracle Connector for Exchange. It is installed on the same computer as Oracle Connector for Exchange, and can be stopped using the following instructions:

  1. Click the Start button on the Windows computer hosting Oracle Connector for Exchange

  2. Select Programs

  3. Select Oracle - coex

  4. Click Stop SOA suite

Starting the BEECONNECTOR OC4J Instance

The BEECONNECTOR OC4J instance works in tandem with the Oracle Connector for Exchange. The BEECONNECTOR OC4J instance is installed on the same computer as Oracle Connector for Exchange, and can be started using the following instructions:

Note:

The Oracle Connector for Exchange should be started before starting the BEECONNECTOR OC4J instance. For details about starting Oracle Connector for Exchange, refer to "Starting Oracle Connector for Exchange".
  1. Click the Start button on the Windows computer hosting Oracle Connector for Exchange

  2. Select Programs

  3. Select Oracle - coex

  4. Click Start SOA suite

Configuring Oracle Connector for Exchange to use HTTPS

If Oracle Beehive was configured to use HTTPS, then the Oracle Connector for Exchange must be configured to use the Oracle Beehive HTTPS URL.

Follow these steps to configure Oracle Connector for Exchange to use the Oracle Beehive HTTPS URL:

  1. Stop the BEECONNECTOR OC4J Instance. For information about stopping the BEECONNECTOR OC4J Instance, see "Stopping the BEECONNECTOR OC4J Instance".

  2. Using the command prompt on the computer hosting Oracle Connector for Exchange, navigate to the C:\oracle\product\<version>\exconnector_1\beehive\collabcoex_connector directory.

    Where <version> represents the installed version of Oracle Connector for Exchange.

  3. Run the following command:

    coexctl.exe set_property --file C:\oracle\product\<version>\beehive\collabcoex_connector\conf\OGWEConfiguration.xml --section communicationservice --property endpoint --value "https://<OracleBeehiveHost>:<OracleBeehivePort>/coexService/CoexMLPort"
    

    Where:

    • <OracleBeehiveHost> represents your Oracle Beehive hostname

    • <OracleBeehivePort> represents the HTTPS listening port of your Oracle Beehive installation

  4. Start the BEECONNECTOR OC4J Instance. For information about starting the BEECONNECTOR OC4J Instance, refer to "Starting the BEECONNECTOR OC4J Instance".

Oracle Change Notification Service for Exchange Administrative Tasks

This section explains how to stop and start the Oracle Change Notification Service for Exchange from the command line.

When installed in the default location, the command line tool to stop and start the Oracle Change Notification Service for Exchange is located in the c:\oracle\product\<version>\exconnector_1\beehive\collabcoex_connector folder. This section assumes that you have navigated to the above mentioned directory from the Windows command line prompt.

Stopping Oracle Change Notification Service for Exchange

To stop the Oracle Change Notification Service for Exchange, run the following command:

coexctl.exe stop_eventsink

Note:

You can stop Oracle Change Notification Service for Exchange in the Windows Services panel, by selecting and stopping Oracle Change Notification Service for Exchange.

Starting Oracle Change Notification Service for Exchange

To start the Oracle Change Notification Service for Exchange, run the following command:

coexctl.exe start_eventsink

Note:

You can start Oracle Change Notification Service for Exchange in the Windows Services panel, by selecting and starting Oracle Change Notification Service for Exchange.