This topic does not apply to Oracle Cloud Infrastructure. Identify the Cloud Infrastructure Used by a Service Instance.
If you provisioned this service instance in an Oracle Cloud Infrastructure region, instead you must use the Oracle Cloud Infrastructure Console to create security lists instead of access rules. See Security Lists in the Oracle Cloud Infrastructure Services documentation.
The architecture of a business application may span multiple tiers, where each application tier is a separate Oracle Java Cloud Service instance. Similarly, certain integration features of Oracle WebLogic Server enable applications to easily communicate across multiple domains, such as Foreign JNDI Providers and Foreign JMS Servers. In these scenarios, you must use access rules to explicitly permit network communication between service instances.
You must identify the host names of the nodes in your first service instance. The host names typically use the format
For example, if your domain name is
myjcs1 and this domain consists of 3 nodes, the host names would typically be:
You can also identify these host names using the Instance Overview page in the Oracle Java Cloud Service Console. Locate the Host Name property of each node.
Before you begin, use a secure shell (SSH) client to connect to the Administration Server node of the first service instance.
- From your SSH session on the Administration Server node, use the
nslookupcommand to identify the corresponding private IP address of each host name.
nslookup myjcs1-wls-2 Name: myjcs1-wls-2.compute-myaccount.oraclecloud.internal Address: 203.0.113.13
- Access the Oracle Java Cloud Service Console.
- Beside your second service instance, click Manage this instance , and then select Access Rules.
- On the Access Rules page, click Create Rule.
- Enter a Rule Name, such as myjcs1–to-myjcs2.
- For Source, select <custom>. Enter the private IP addresses for the first service instance as a comma-separated list.
You can also specify multiple IP addresses in CIDR format, such as
- For Destination, select WLS_MS
- For Destination Port(s), enter
Note:If you configured your Managed Servers to listen on additional ports, you can specify them as a comma-separated list such as
- Accept the default Protocol (TCP).
- Click Create.
To return to either the Instances page or the Overview page for the selected service instance, click the locator links at the top of the page.
If you restart a node in the first service instance, the private IP address of the node might change. In order to keep communication open between the restarted node and the second service instance, take one of the following actions:
(Not available on Oracle Cloud at Customer) If your service instance is attached to an IP network, use the REST API to restart the node and assign the same private IP address. See Stop and Start a Service Instance and Individual VMs in REST API for Oracle Java Cloud Service.
Create a new access rule with the latest private IP address.