Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16370

Install Cassandra on IBM Cloud

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 3.11.x, 4.0.x
    • Component/s: Documentation/Blog
    • Labels:
      None
    • Platform:
      All
    • Impacts:
      None

      Description

      This documentation will describe how to Install Cassandra  on IBM Cloud

      Requirements/Prerequisites: 

       

      Installation Steps: 

      We are assuming that you have logged-in to IBM Cloud. Now follow the steps below:

       

      Step 1: Provision a Kubernetes Cluster

      • Click on the Catalog link on the top menu.
      • Select  Services from left navigation menu of the Catalog page.

      Now Search for Kubernetes Service and click on it.

       Option 1: Create free Kubernates Engine:

      • Price Plan: Free

      • Now click create on the right to provision the free kubernetes cluster.

      • Please wait for few moments to complete the cluster creation. 

       Option 2: Create Standard Kubernetes Engine with following attributes: 

      • Price Plan: Standard
      • Infrastructure: Classic

      • Availability: Single Zone
      • Geography: Europe 
      • Worker Zone: London 02

      • 4 VCPU
      • 16 GB RAM
      • Worker nodes per zone: 2

      • Enter the cluster name of your choice.
      • Now Click Create to provision.

      • Please wait for few moment to provision the cluster. 

       

      Step 2: deploy IBM Cloud Block Storage plug-in

      • Just like the step 1, click on the Catalog on the top menu again.
      • Search for  "Storage Block" and Click on it.
      • Click on Create 
      • Now give storage details 
      • N.B. Select location as the cluster location. 
      • Location > Europe > Single Zone > London 02
      • Billing Method > 20 GB >Linux

      • Click on “I have agreed to the terms and conditions listed below”.
      • Now a storage plugin will be available in the dashboard. 

       

      Step 3: Deploy Cassandra 

      • Again go to the catalog and search for “Cassandra”  and Click on it.
      • Now select "Cassandra".
      • In the Cassandra creation page add the details below: 
        • Summary
        • Cassandra
        • Target: IBM Kubernetes Service
        • Method: Helm chart
        • Kubernetes cluster: mycluster-free (eu-de)
        • Target namespace: default
        • Workspace: cassandra-test
        • Resource group: Default

      • Select your previously created cluster 
      • Select the default namespace

      • Add a name to your cluster for example “cassandra-test”

      • Select Create and wait for some time.

       

      Step 4: Verify Installation

      • Go to the Resources List in the Left Navigation Menu:

      • Click on Clusters > Select your Cluster.

      • Now you are at your clusters overview page. You will see details of your cluster as below:

      • Here click on Actions (in the right corner) and select Web terminal from the dropdown menu.
      • Click install, then - wait for couple of minutes to finish the process.
      • After completing the installation click on actions > Web terminal again . 

      • A terminal will open up
      • Type in the terminal, please change NAMESPACE to the namespace you choose at the deployment setup:

       

      $ kubectl get ns

       

      $ kubectl get pod -n NAMESPACE -o wide

       

      $ kubectl get service -n NAMESPACE

       

       

      The installation is over. Enjoy!

       

        Attachments

        1. image-2020-12-29-17-06-42-587.png
          15 kB
          Md. Mubassir Ahsan
        2. Kubernate status.png
          15 kB
          Md. Mubassir Ahsan
        3. web-terminal.png
          7 kB
          Md. Mubassir Ahsan
        4. cluster-free-details.png
          73 kB
          Md. Mubassir Ahsan
        5. resource----list.png
          55 kB
          Md. Mubassir Ahsan
        6. image-2020-12-29-16-57-24-395.png
          4 kB
          Md. Mubassir Ahsan
        7. image-2020-12-29-16-57-09-459.png
          4 kB
          Md. Mubassir Ahsan
        8. image-2020-12-29-16-55-57-447.png
          3 kB
          Md. Mubassir Ahsan
        9. Step 4 configure namespace. .png
          18 kB
          Md. Mubassir Ahsan
        10. Step 4 2 1 Select Details of cluster.png
          28 kB
          Md. Mubassir Ahsan
        11. Step 4 1 cassandra.png
          67 kB
          Md. Mubassir Ahsan
        12. Step 2 1.png
          20 kB
          Md. Mubassir Ahsan
        13. create cluster --.png
          8 kB
          Md. Mubassir Ahsan
        14. Step 1 7 Kubernate details.png
          42 kB
          Md. Mubassir Ahsan
        15. Step 1 6 Kubernate details.png
          36 kB
          Md. Mubassir Ahsan
        16. image-2020-12-29-16-32-55-506.png
          50 kB
          Md. Mubassir Ahsan
        17. Step 1 5 kubernate details.png
          50 kB
          Md. Mubassir Ahsan
        18. Step 1 4 create cluster plan only.png
          13 kB
          Md. Mubassir Ahsan
        19. Step 1 3 - Kubernates Services.png
          57 kB
          Md. Mubassir Ahsan
        20. Step 1 3 - Kubernates Services.png
          78 kB
          Md. Mubassir Ahsan
        21. image-2020-12-29-16-06-36-283.png
          0.6 kB
          Md. Mubassir Ahsan

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mahsandu Md. Mubassir Ahsan
              Authors:
              Md. Mubassir Ahsan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: