Configuring foreign cell bindings

Configure foreign cell name bindings to enable your applications to access other applications in other cells. A foreign cell is a cell other than the one in which an application resides. A foreign cell name binding is a context binding that resolves to the Cell Root context of a foreign cell. All applications in the local cell can look up objects in the foreign cell through the foreign cell binding.

Before you begin

Configure server clusters for failover support as needed.

Migrate any Version 5.x or 6.0.x bootstrap addresses to use Version 6.1 or later foreign cell bindings. Version 6.1 or later foreign cell bindings enable you to specify more than one bootstrap address and enhance failover support.

About this task

If applications in the local cell access applications in one or more foreign cells, configure a foreign cell binding for each foreign cell.

Administrators typically configure a foreign cell binding before they configure any applications with Java™ Naming and Directory Interface (JNDI) names that resolve through the binding. However, you can create a foreign cell binding any time before you start an application that uses the binding.

The foreign cell and the local cell must have different names.

To view or configure a foreign cell binding, use the administrative console.

Procedure

  1. Go to the Foreign cell bindings page.

    In the administrative console, click Environment > Naming > Foreign cell bindings.

  2. Create a new foreign cell binding.
    1. Open the New Foreign Cell Binding wizard.

      On the Foreign cell bindings page, click New.

    2. On the Specify foreign cell name panel, specify the name of the cell that applications in the local cell will access.
    3. On the Specify bootstrap addresses panel, specify a host name and port for a new bootstrap address, and then click Apply.

      Repeat this step for each bootstrap address that you need.

      The name of each new bootstrap address is displayed in the collection table on the Bootstrap addresses page.
    4. On the Summary panel, verify the settings and click Finish.
    The name of the new binding is displayed in the collection table on the Foreign Cell Bindings page.
  3. Optional: Edit a previously created foreign cell binding.
    1. From the collection table on the Foreign cell bindings page, click the name of the binding that you want to edit.
    2. On the foreign cell binding settings page, edit the foreign cell name as desired.
    3. Edit the list of bootstrap addresses used for the foreign cell binding.
      1. From the collection table on the Foreign cell bindings page, click foreign_cell_binding_name > Bootstrap addresses.
      2. On the foreign cell binding settings page, click Bootstrap addresses. The Bootstrap addresses page opens.

        To add a new bootstrap address, click New and specify the host and port.

        To delete a bootstrap address, click the check box next to the cell name and click Delete.

        To edit an existing bootstrap address, click the address you want to edit. On the bootstrap address settings page, edit the host and port as desired and click OK to register the change.

Results

Configurations for foreign cell bindings are created or changed as specified.

What to do next

Save changes to your administrative configuration. Configure namespace bindings for your applications as needed.