Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Internet > HTTP (WWW)

    CassandraLauncher 1.16-2

    Download button

    No screenshots available
    Downloads: 160  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Joaquin Casares | More programs
    Other/Proprietary Li... / FREE
    May 3rd, 2012, 23:56 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    CassandraLauncher description

    Command-line utilities for launching Cassandra clusters in EC2

    CassandraLauncher is a project that has two offerings:

    1. Cassandra Launcher - An easy to use, interactive command line interface that allows you to deterministically launch a DataStax Community or DataStax Enterprise cluster in under a minute. This component also comes with a fully scriptable interface for cluster launches straight from the command line.
    2. Cluster Launcher - A great tool that combines both Amazon's EC2 and Rackspace's Cloudservers into a single tool that allows for deterministicly easy clustering, keyless ssh, and interactive prompts for choosing your environment. No longer must you search for images IDs or wait past page reloads for a cluster since this is all done on the client side.

    Installation

    Make sure python-setuptools and python-pip are installed, then run:

    pip install cassandralauncher

    or if installing from source:

    python setup.py build
    python setup.py install


    Setup

    Choose one of these things. They are checked by the programs in this order:

    - Add export CLUSTERLAUNCHER_CONF= to your ~/.bash_profile or ~/.profile.
    - Open clusterlauncher.conf in your git checkout repo.
    - Copy clusterlauncher.conf to ~/.clusterlauncher.conf.
    - Open /etc/cassandralauncher/clusterlauncher.conf.

    Edit clusterlauncher.conf with your authentication parameters.

    Cassandra Launcher

    cassandralauncher

    EC2/RAX Plain Cluster Launcher

    clusterlauncher

    To destroy

    Either run cassandralauncher or clusterlauncher again.

    - With cassandralauncher:

    - Select Cluster, Confirm.

    - With clusterlauncher:

    - Select EC2 or RAX, Destroy, Cluster, Confirm.

    THIS MUST BE DONE! IF NOT YOUR AWS ACCOUNT WILL GET A HUGE BILL. TAKE IT FROM ME!

    Disclaimer: Even though these tools try their best to keep track of launched clusters, it is always best to ensure that all clusters are terminated periodically. This is especially true in cases where AWS/RAX was unable to tag the machine as they were launched. If the tools were unable to tag said machines, they will forever ignore them since we would rather not even present the option to kill a cluster these tools did not launch.

    Sample Run for Cassandra Launcher

    Welcome to DataStax' Cassandra Cluster Launcher!

    No existing clusters currently running!


    Cluster Name: Test Cluster
    Total Nodes: 4
    Version:
     [0] Community
     [1] Enterprise
    1

    Username: riptano
    Password:
    Realtime Nodes: 2
    CFS Replication Factor: 2

    Starting an EC2 cluster of type m1.large with image ami-fd23ec94...
    Configuring ports...
    Launching cluster...
    Waiting for cluster...
    Cluster booted successfully!

    Connection Strings:
    ssh -i ~/joaquinkey.pem ubuntu@ec2-107-20-61-154.compute-1.amazonaws.com
    ssh -i ~/joaquinkey.pem ubuntu@ec2-184-73-94-212.compute-1.amazonaws.com

    Choose the cluster to destroy:
     [0] DataStaxAMI 12-16-11 02:21
     [1] None
    0

    Confirm you wish to terminate DataStaxAMI 12-16-11 02:21 by pressing 'y'.
    y

    Termination command complete.


    Sample Run for Cluster Launcher

    host1:~ joaquin$ clusterlauncher
    Choose your Cloud Testing Host:
     [0] EC2
     [1] Rackspace
    1

    Choose your Cloud Command:
     [0] Create
     [1] Destroy
    0

    Choose your Cluster Size:
    3

    Choose your Testing Operating System:
     [0] CentOS
     [1] Debian
     [2] Fedora
     [3] Ubuntu
    0

    Choose your Operating System Version:
     [0] 5.4
     [1] 5.5
     [2] 5.6
    2

    Starting a Rackspace cluster of flavor 4 with image 77...
    Configuring ports...
    Launching cluster...
    Waiting for cluster...
    Cluster booted successfully!

    Connection Strings:
    ssh root@50.56.80.241
    ssh root@50.57.168.62
    ssh root@50.57.168.217

    Private IPs:
    10.183.0.156, 10.183.1.74, 10.183.2.204
    Public IPs:
    50.56.80.241, 50.57.168.62, 50.57.168.217


    host1:~ joaquin$ clusterlauncher
    Choose your Cloud Testing Host:
     [0] EC2
     [1] Rackspace
    1

    Choose your Cloud Command:
     [0] Create
     [1] Destroy
    1

    Choose the cluster to destroy:
     [0] jcasares-CentOS-5.6-Size-3-Time-11-07-11-20.33
     [1] jcasares-CentOS-5.6-Size-3-Time-11-07-11-21.18
    0

    Confirm you wish to kill jcasares-CentOS-5.6-Size-3-Time-11-07-11-20.33 by pressing 'y'.
    y


    Termination command complete.

    Programmatically Launching Cassandra Clusters

    Run:

    cassandralauncher -h

    to display all options. clusterlauncher does not have this functionality, but is easily scriptable at the Python level calling ec2.py or rax.py. See clusterlauncher.py for how to do this.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Cassandra clusters | Cassandra launcher | EC2 | Cassandra | clusters



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM