Transcript Document
DataStax Enterprise on Microsoft Azure About Us • Joey Filichia 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 • Business Intelligence Architect • Software Engineer • [email protected] Getting Azure Ready • 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 Getting Azure Ready • 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 Azure End Points These are the ports required for DataStax Enterprise Name Cassandra Direct DevCenter OpsCenter SSH Protocol Public Port TCP TCP TCP TCP 9160 9042 8888 22 Private Port 9160 9042 8888 22 Tools Required Putty Notepad ++ (or other Notepad app) An Active Internet Connection Installing Java • 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 DataStax • 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-linuxx64-installer.run • Set file permissions – sudo chmod a+x DataStaxEnterprise-linux-x64-installer.ru • Run file – sudo ./DataStaxEnterprise-linux-x64-installer.run Installing DataStax 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. Starting it Up • 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 (Optional) Install Webmin • 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