cassandra day denver 2014: setting up a datastax enterprise instance on microsoft azure

11
DataStax Enterprise on Microsoft Azure

Upload: planet-cassandra

Post on 02-Dec-2014

1.166 views

Category:

Technology


0 download

DESCRIPTION

Speaker: Joey Filichia, Business Intelligence Consultant There are many options for Cloud Providers, but according to the Gartner Magic Quadrant 2014 for IaaS Solutions, Amazon AWS and Microsoft Azure are both leaders and visionaries. DataStax provides instructions for provisioning an Amazon Machine Image. This discussion will provide guidance on setting up a single-node DataStax Enterprise cluster using an Ubuntu 14.04 Server and a Windows Azure Virtual Machine. Using the DataStax Enterprise production installation in text mode, we will install DSE end to end during the presentation.

TRANSCRIPT

Page 1: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

DataStax Enterprise on Microsoft Azure

Page 2: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

BrightView Analytics provides a robust Software-as-a-Service (SaaS) business solution, which delivers critical student & district performance data to Administrators, Teachers, Parents, and Students via the Internet. •  www.brightviewanalytics.com

•  Joey Filichia

•  Business Intelligence Architect •  Software Engineer •  [email protected]

About  Us  

Page 3: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  Install Ubuntu 14.04 server edition with at least 4 to 8 GB •  All connections to the server will be made via a SSH Client

Ge+ng  Azure  Ready  

Page 4: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  Install Ubuntu 14.04 server edition with at least 4 to 8 GB •  All connections to the server will be made via a SSH Client

Ge+ng  Azure  Ready  

Page 5: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

These are the ports required for DataStax Enterprise

Azure  End  Points  

Name Protocol Public Port Private Port

Cassandra Direct TCP 9160 9160 DevCenter TCP 9042 9042 OpsCenter TCP 8888 8888 SSH TCP 22 22

Page 6: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

Tools  Required  

Putty

Notepad ++ (or other Notepad app)

An Active Internet Connection

Page 7: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  Don’t do it manually, use a PPA! –  sudo add-apt-repository ppa:webupd8team/java –  sudo apt-get update –  sudo apt-get install oracle-java7-installer

•  Set Environmental Variables: –  sudo apt-get install oracle-java7-set-default

Installing  Java  

Page 8: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  for next steps, switch to /var/tmp : cd /var/tmp •  Get the All-In-One Installer:

–  sudo wget --user=<Login> --password=<Password> http://downloads.datastax.com/enterprise/DataStaxEnterprise-linux-x64-installer.run

•  Set file permissions –  sudo chmod a+x DataStaxEnterprise-linux-x64-installer.ru

•  Run file –  sudo ./DataStaxEnterprise-linux-x64-installer.run

Installing  DataStax  

Page 9: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

Run through the All-In-One installer, accepting all the defaults.

•  Accept the License Agreement

•  Select all Components •  Use the default directory •  Choose Simple Install from

the install types •  Set the default interface •  Install the Services and

Utilities

•  Select Yes when asked about Starting Services after Install

•  Select Cassandra Node •  Give the Ring a name •  Seed : 127.0.0.1 •  Agent address: 127.0.0.1 •  Review Installation Options •  Finish Installing.

Installing  DataStax  

Page 10: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  Start the Stax and it’s agent (if you didn’t already) –  sudo service dse start –  sudo service datastax-agent start

•  start OpsCenter: –  sudo service opscenterd stop –  sudo service opscenterd start

•  See your Creation! –  http://<<Cloud Service Address>>:8888/opscenter/index.html

Star@ng  it  Up  

Page 11: Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Microsoft Azure

•  Installing a Desktop Shell on a Linux server is not a Best Practice

•  for next steps, switch to /var/tmp : cd /var/tmp •  Install webmin

–  sudo wget http://prdownloads.sourceforge.net/webadmin/webmin_1.680_all.deb

–  sudo apt-get update –  sudo dpkg -i webmin_1.680_all.deb

•  if it balks: –  sudo apt-get install -f –  webmin will reinstall itself and work

(Op@onal)  Install  W

ebmin