For consuming cells to reference a service on a providing cell,
the consuming cell administrator must establish a connection to the providing
service. You establish and provide the information that the administrator
of the consuming cells needs to configure the link in Java™ Naming
and Directory Interface (JNDI).
Before you begin
This task assumes that:
- You have installed the Service Component Architecture (SCA) module containing
the service on the providing cell.
- You are at the administrative console for the providing cell.
Why and when to perform this task
A SCA module, in a different cell, communicates synchronously
with your SCA module by setting up a JNDI name in their cell to find your
SCA module. When you perform this task you enable others to set up that JNDI
name.
Steps for this task
- Optional: Identify the two
or more servers that will be used by other cells as the bootstrap hosts for
this cell.
Note: Defining at least two bootstrap hosts keeps the
service available even if one of the hosts fails for some reason.
For
example, the two servers in the service provider cell in
Figure 1 will
contain the bootstrap hosts. For this purpose, the IP addresses for the top
server is 9.26.237.144, and the bottom server in the figure is 9.26.237.150.
Figure 1. A synchronous environment across cells
Important: This
procedure only describes configuring a single bootstrap host. Configure at
least one to the providing cell, if availability is not a requirement; two
or more if availability is a requirement.
Tips: - Using virtual hosts will improve the availability of the service when
maintenance requires replacement or upgrading of the hardware.
- You can use a single bootstrap host if you do not have a requirement for
availability.
- Locate the bootstrap port number for each of the servers you selected
in step 1.
Display this information by clicking Servers > Application
servers > server_name > Communications > + Ports > Bootstrap_Address.
For
example, the port for both servers in the figure is 2810.
- Publish the IP addresses and port numbers to all cells who are
consuming services that reside in your cell.
In this example,
a memo would be sent to consumers advertising that the bootstrap hosts established
for this cell are:
- 9.26.237.144:2810
- 9.26.237.150:2810
The format to publish would be corbaname:iiop:9.26.237.144:2810;9.26.237.150:2810
- Provide the JNDI name of the enterprise Java bean (EJB) the consumers invoke.
What to do next
Make sure to keep the published bootstrap host IP addresses and ports
available regardless of any other changes to the physical makeup of the cell.
Last updated: Wed 01 Nov 2006 07:47:12
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)