Oracle by Example brandingScaling the Data Grid Cluster of an Oracle Java Cloud Service Instance

section 0Before You Begin

This 15-minute tutorial shows you how to add and remove capacity for the data grid cluster of an Oracle Java Cloud Service instance.

Background

This tutorial is a simple example of scaling a service instance created with a data grid cluster, where the values are 1 for the cluster size and managed servers per node. The scale-out operation adds one node with one server. The scale-in operation removes one node with one server.

What Do You Need?


section 1Scale Out the Data Grid Cluster

  1. Sign in to Oracle Cloud at https://cloud.oracle.com/en_US/sign-in.
  2. From the My Services dashboard, click Navigation menu Dashboard Menu Icon, expand Services, and select Java.
  3. From the Oracle Java Cloud Service console, click the name of your service instance.
    The name of the instance is JCS4Coherence
    Description of the illustration instance_name.png
  4. On the Overview page, click Manage this clusterMenu Icon for the data grid cluster and select Scale Out.
    Scale Out menu option
    Description of the illustration data_tier.png
  5. In the Scale Out confirmation dialog box, click Scale Out.

section 2Monitor the Scale-Out Operation

  1. On the Overview page, locate the In-Progress Operation Messages section and verify that the Scale Out In Progress operation status is Running.
    Operation Status is Running
    Description of the illustration in_progress_message.png
  2. Periodically click Refresh Refresh Icon and wait until the Scale Out In Progress message no longer appears.
  3. Locate the Data Grid Cluster section and verify that a node was added.
    Two nodes in Data Grid Cluster datagridCluster
    Description of the illustration node_added.png

section 3Scale In the Data Grid Cluster

  1. On the Overview page, click Manage this clusterMenu Icon for the data grid cluster and select Remove Node.
    Remove Node menu option
    Description of the illustration remove_node.png
  2. In the Remove Node confirmation dialog box, click Remove Node.

section 4Monitor the Scale-In Operation

  1. On the Overview page, locate the In-Progress Operation Messages section and verify that the Scale In In Progress operation status is Running.
    Operation Status is Running
    Description of the illustration scale_in_in_progress.png
  2. Periodically click Refresh Refresh Icon and wait until the Scale In In Progress message no longer appears.
  3. Locate the Data Grid Cluster section and verify that a node was removed.
    Data Grid Cluster datagridCluster has one node
    Description of the illustration node_removed.png

more informationWant to Learn More?