Oracle by Example brandingCreating an Apache Cassandra Cluster in Oracle Data Hub Cloud Service

section 0Before You Begin

This 10-minute tutorial shows you how to create and use an Apache Cassandra cluster in Oracle Data Hub Cloud Service (DHCS) on Oracle Cloud Infrastructure Classic.

Background

Oracle Data Hub Cloud Service enables you to consistently provision and manage NoSQL database clusters such as Apache Cassandra on Oracle Cloud.

Oracle Data Hub Cloud Service leverages Oracle’s Infrastructure Cloud Services to deliver a secure and elastic integrated platform.

What Do You Need?


section 1Create an Apache Cassandra Cluster

Perform the following steps to create a cluster.

  1. Login to your DHCS account and navigate to the Instances page.

    Instances page
    Description of the illustration a1.png

  2. Click the Create Instance button.
  3. The Instance section appears. Provide basic instance information here. Enter the values for the following parameters and then click Next.

    • Instance Name: cluster1
    • Description: Test cluster.
    • Notification Email: Enter email address for receiving provisioning status updates.
    • Region: Choose No Preference to let Oracle Data Hub Cloud Service choose an Oracle Cloud Infrastructure Classic region for you.
    • If you choose a region that supports Oracle Cloud Infrastructure, the Availability Domain and Subnet fields are displayed, and the deployment is created on Oracle Cloud Infrastructure.

    • Tags: Create a tag or assign an existing tag for categorizing your cluster, for example, by purpose, owner, or environment.
    • Software Release: Select the version of Data Hub software and release you wish to use.
    Create Service: Instance page
    Description of the illustration a3.png

  4. The Service Details section appears. Provide additional configuration parameters for your cluster here. Modify the parameter values as per your requirement.
  5. In the Cluster Configuration sub-section, enter the values for the following parameters.

    • Compute Shape: OC3 - 1.0 OCPU, 7.5GB RAM
    • Number of Nodes: 3
    • Usable Data Storage in GB: 20
    • Use High Performance Storage: Select to use high performance SSDs (solid state drives) instead of HDDs (hard disk drives). An additional cost is associated with this type of storage.
    Create Service: Service Details page - Cluster Configuration subsection
    Description of the illustration a5.png

  6. In the Backup and Recovery Configuration sub-section, enter the values for the following parameters.

    • Backup Destination: Select your preferred backup destination (Both Cloud and Local Storage, Cloud Storage Only or None)

    Enter the values for the following parameters only if Backup Destination is set to Both Cloud and Local Storage or Cloud Storage Only:

    • Cloud Storage Container: Enter the complete REST URL for Oracle Storage Cloud Service, appended by the container name. For example: http://a9999999.storage.oraclecloud.com/Storage-a9999/dhcs-container

    • Cloud Storage Username: Enter user name of the specified storage container.
    • Cloud Storage Password: Enter password of the user specified.
    • Create Cloud Storage Container: Select this to create a new storage container.
    Create Service: Service Details page - Backup and Recovery Configuration subsection
    Description of the illustration a6.png

  7. In the Credentials sub-section, enter the values for the following parameters and click Next.

    • SSH Public Key: Click Edit to specify the public key. You can upload a file containing the public key value, paste in the value of a public key, or have the wizard generate a key pair for you.
    • Administrative Username: Specify the username to use to log in to the tools, such as cqlsh, nodetool, and service console.
    • Password: Password of the user specified in Administrative Username.
    • Confirm Password: Repeat the password specified.
    Create Service: Service Details page - Credentials subsection
    Description of the illustration a7.png

  8. The Confirmation page appears. Confirm your responses and click Create to create the Apache Cassandra cluster. To edit or update any parameter, click Previous to navigate back to the Service Details page.

section 2View Cluster Details

Perform the following steps to view details of your cluster, after it is successfully provisioned.

  1. Navigate to the Instances page. All the clusters with their details are listed here.

    Instances page
    Description of the illustration b1.png

  2. After the cluster is successfully created, click on your cluster name. The Instance Overview page is displayed.

    Instance Overview page
    Description of the illustration b2.png

  3. Click Administration on the left to view the administration page.

    Administration page
    Description of the illustration b3.png

    If backup is enabled, the Backup page is displayed by default. Else, the Patching page is displayed.


section 3View the Service Console

Perform the following steps to view the DHCS service console.

  1. In the Instances page, click The Action menu icon and then click Service Console.

    Instances page - Action menu
    Description of the illustration c1.png

  2. The Service Console login page appears. Enter your Administrative username and password and click Submit.
  3. The Data Hub Service Console is displayed. Observe the page. This page can be used to monitor the cluster status, usage, performance, and activity on a real-time basis.

    Data Hub Service Console
    Description of the illustration c3.png


more informationWant to Learn More?