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/28 11:27:00 UTC

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-16370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Md. Mubassir Ahsan updated CASSANDRA-16370:
-------------------------------------------
        Authors: Md. Mubassir Ahsan
    Component/s: Documentation/Blog
    Description: 
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-in to 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 *{color:#de350b}Create{color}* 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 {color:#de350b}*Create*{color} 
 * 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 {color:#172b4d}select {color}"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 then - wait for couple of minutes to finish the process.

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:

 
{code:java}
$ kubectl get ns{code}
 

 
{code:java}
$ kubectl get pod -n NAMESPACE -o wide{code}
 

 
{code:java}
$ kubectl get service -n NAMESPACE{code}
 

Enter your pod with bash , please replace PODNAME with your Cassandra pod's name
{code:java}
$ kubectl exec --stdin --tty PODNAME -n NAMESPACE – /bin/bash{code}
 

 

  was:
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

 

 


> Install Cassandra on IBM Cloud
> ------------------------------
>
>                 Key: CASSANDRA-16370
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16370
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Documentation/Blog
>            Reporter: Md. Mubassir Ahsan
>            Priority: Normal
>
> 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-in to 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 *{color:#de350b}Create{color}* 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 {color:#de350b}*Create*{color} 
>  * 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 {color:#172b4d}select {color}"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 then - wait for couple of minutes to finish the process.
> 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:
>  
> {code:java}
> $ kubectl get ns{code}
>  
>  
> {code:java}
> $ kubectl get pod -n NAMESPACE -o wide{code}
>  
>  
> {code:java}
> $ kubectl get service -n NAMESPACE{code}
>  
> Enter your pod with bash , please replace PODNAME with your Cassandra pod's name
> {code:java}
> $ kubectl exec --stdin --tty PODNAME -n NAMESPACE – /bin/bash{code}
>  
>  



--
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