You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Md. Mubassir Ahsan (Jira)" <ji...@apache.org> on 2020/12/26 22:24:00 UTC

[jira] [Created] (CASSANDRA-16370) Install Cassandra on IBM Cloud

Md. Mubassir Ahsan created CASSANDRA-16370:
----------------------------------------------

             Summary: Install Cassandra on IBM Cloud
                 Key: CASSANDRA-16370
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16370
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Md. Mubassir Ahsan


This documentation will describe how to Install Cassandra  on IBM Cloud (cloud.ibm.com). 

*Requirements/Prerequisites:* 
 * IBM Cloud Pay-As-You-Go or Subscription [Account types|https://cloud.ibm.com/docs/account?topic=account-accounts]. 

 

*Installation Steps:* 

We are assuming that you have logged into IBM cloud ([https://cloud.ibm.com|https://cloud.ibm.com/]). Now follow the steps below:

 

*Step 1: Provision a Kubernetes Cluster*
 * Click the Catalog button on the top (https://cloud.ibm.com/catalog)
 * Select Service from the catalog (https://cloud.ibm.com/catalog#services)
 * Search for Kubernetes Service and click on it (https://cloud.ibm.com/kubernetes/catalog/create)
 * Option 1: Create free Kubernates Engine:
 * Price Plan : Free
 * Now click to create 


 * Option 2: Create Standard Kubernetes Engine: 
 ** Availability: Single Zone
 ** Worker Zone: London 02
 ** 4 VCPU
 ** 16 GB RAM
 ** Worker nodes per zone: 2
 * Price Plan: Standard
 * Infrastructure: Classic
 * Geography: Europe 
 * Worker pool
 * Now Click Create to provision.
 * Please wait for few moment to provision the cluster. 

Step 2 deploy IBM Cloud Block Storage plug-in
 * Go to the Catalog
 * Search for Storage Block (https://cloud.ibm.com/catalog/infrastructure/block-storage)
 * 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” (https://cloud.ibm.com/catalog#software)
 * 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.

Verify Installation: 

Go to the resources list in the Left Menu

Click on Clusters > Select your Cluster.

Now you are at you clusters overview, here Click on Actions and Web terminal from the dropdown menu

Click install - wait couple of minutes

Click on Actions
 * Click Web terminal --> 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

 **  Enter your pod with bash , please replace PODNAME with your MySQL pod's name
$ kubectl exec --stdin --tty PODNAME -n NAMESPACE -- /bin/bash

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org