Scale Out or In

Scale an Oracle SOA Cloud Service cluster out or in to add or remove nodes in response to changes in the load on the cluster. A node is a virtual machine (VM) running a Managed Server instance that is a member of a cluster.

Note:

A scale out or in operation requires some down time as servers on the nodes in the Oracle SOA Cloud Service cluster are automatically restarted after the scale operation. Before scaling, make sure that there are no active running processes on the servers.

About Scaling Out an Oracle SOA Cloud Service Cluster

Scaling out an Oracle SOA Cloud Service cluster adds one node to the cluster.

Notes:

  • If you scale out a cluster after scaling any of its nodes, the new node has the compute shape and the amount of storage with which the service instance was originally created. To ensure that all nodes in your cluster are equivalent, you must scale the new node to match the other nodes in your cluster, as described in Scale an Oracle SOA Cloud Service Node Up or Down.
  • Adding a node to a cluster increases the billing of the Oracle SOA Cloud Service instance.
  • If any patches were applied after provisioning the Oracle SOA Cloud Service, the new node will not include those patches. You will need to apply the patches to the newly added Managed Server. See About Managing Patches for Instances Provisioned With Earlier Releases.

Before scaling out an Oracle SOA Cloud Service cluster, ensure that all these conditions are met:

If any of these conditions are not met, the scaling operation fails and Oracle SOA Cloud Service logs an error message.

Oracle SOA Cloud Service logs a message when scaling out is started or completed, or when a failure is detected. You can view these messages as explained in View Scaling Requests.

If an attempt to scale out a cluster fails, Oracle SOA Cloud Service does the following:

  • Logs any diagnostic information.

  • Sets the status of the service instance to RUNNING to allow other operations to continue.

  • Returns the service instance to its original shape.

  • Deletes the VM that it created to run the additional managed server instance.

For steps to scale out an Oracle SOA Cloud Service cluster, see Scale Out an Oracle SOA Cloud Service Cluster.

About Scaling In an Oracle SOA Cloud Service Cluster

Scaling in an Oracle SOA Cloud Service cluster removes the selected node from the cluster.

Before scaling in an Oracle SOA Cloud Service cluster, ensure that the cluster contains at least one managed server node in addition to the node for the administration server and first managed server. You cannot scale in a cluster that contains only the node for the administration server and first managed server. If you no longer require that node, you must delete the entire service instance. For instructions, see Delete an Oracle SOA Cloud Service Instance.

By default, Oracle SOA Cloud Service scales in a cluster gracefully by shutting down the managed server instance before removing the managed server instance from the cluster and terminating its VM. To ensure that the node is removed even if the managed server instance is unresponsive, you can choose to forcibly scale in a cluster.

If an attempt to scale in a cluster fails, Oracle SOA Cloud Service does the following:

  • Logs any diagnostic information.

  • Sets the status of the service instance to RUNNING to allow other operations to continue.

  • Cleans up any stale resources.

For steps to scale in an Oracle SOA Cloud Service cluster, see Scale In an Oracle SOA Cloud Service Cluster.

About the Impact of Scaling on JMS Transport URLs

When you add (scale out) or remove (scale in) nodes, you must reconfigure the JMS transport URIs in Oracle Service Bus.

The JMS transport in Oracle Service Bus is configured with JMS URIs of the following format:
jms://cluster_address/connection_factory/UDQ 
For example, if you do not reconfigure the JMS URI after scaling in (such as removing the second node in a two-node cluster), sending messages to UDQ results in the following exception:
The invocation resulted in an error: [JMSPool:169803]JNDI lookup of the JMS connection factory weblogic.jms.ConnectionFactory failed: javax.naming.ServiceUnavailableException: slc07pjl-soaqa-2vm-otd-0616-osb-jcs-wls-2 [Root exception is java.net.UnknownHostException: slc07pjl-soaqa-2vm-otd-0616-osb-jcs-wls-2].

Scale Out an Oracle SOA Cloud Service Cluster

You can scale out an Oracle SOA Cloud Service cluster to add one node to the cluster. When you scale out, Oracle SOA Cloud Service creates a new Managed Server VM.

For more information about scaling out an Oracle SOA Cloud Service cluster, see About Scaling Out an Oracle SOA Cloud Service Cluster.

Note:

A scale out operation requires some down time as servers on the nodes in the Oracle SOA Cloud Service cluster are automatically restarted after the scale operation. Before scaling, make sure that there are no active running processes on the servers.

To scale out an Oracle SOA Cloud Service cluster:

  1. In the Oracle SOA Cloud Service Console, click the name of the service instance with the cluster that you want to scale out.
  2. On the Overview page, click the Add Node Add a node to this instance icon icon or click Menu (in the header) and select Scale Out.
    The Scale Out dialog is displayed.
  3. To confirm you want to scale out the cluster, click Scale Out.
  4. After a few moments, click the RefreshRefresh icon icon to update the page.
    You may need to click the icon more than once to see changes.
After a few moments of processing, the new node appears on the Overview page and you can see the number of nodes increased by one. For a description of the items in the node line item, see Explore the Oracle SOA Cloud Service Activity Page.
At any time during the scaling process, you can check its status by opening the Activity page from the Oracle SOA Cloud Service Console. You can see the scale-out status in the activity table.

Note:

After scaling out, you must restart the Administration Server and all Managed Servers. This applies to both Oracle SOA Cloud Service and Oracle Service Bus domain configuration types. Failure to restart servers after scaling out can impact functionality.

Scale In an Oracle SOA Cloud Service Cluster

You can scale in an Oracle SOA Cloud Service cluster to remove a selected node from the cluster. When you scale in, Oracle SOA Cloud Service removes the selected Oracle WebLogic Server managed server instance and the VM that it is running on.

For more information about scaling in an Oracle SOA Cloud Service cluster, see About Scaling In an Oracle SOA Cloud Service Cluster.

Note:

A scale in operation requires some down time as servers on the nodes in the Oracle SOA Cloud Service cluster are automatically restarted after the scale operation. Before scaling, make sure that there are no active running processes on the servers.

To scale in an Oracle SOA Cloud Service cluster:

  1. In the Oracle SOA Cloud Service Console, click the name of the service instance with the cluster that you want to scale in.
  2. On the Overview page, click the Menu icon menu for the node you want to remove and select Remove Node.
    The Remove Node dialog box is displayed.
  3. In the Remove Node dialog box:

    Manage this instance icon
    • Optionally, to ensure that database connectivity is still active, select the Validate Database Service check box, then enter the Administration User Name and Password.
    • Click Remove Node.
  4. After a few moments, click the Refresh Refresh icon icon to update the page.
    You may need to click the icon more than once to see changes.
After a few moments of processing, the node is removed from the Overview page and you can see the number of nodes decreased by one.
At any time during the scaling process, you can check its status by opening the Activity page from the Oracle SOA Cloud Service Console. You can see the scale-in status in the activity table.

Note:

After scaling in, you must restart the Administration Server and all Managed Servers. This applies to both Oracle SOA Cloud Service and Oracle Service Bus domain configuration types. Failure to restart servers after scaling out can impact functionality.