Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to connect to Cassandra running in ConductR #16

Open
TimMoore opened this issue Mar 22, 2017 · 3 comments
Open

Document how to connect to Cassandra running in ConductR #16

TimMoore opened this issue Mar 22, 2017 · 3 comments

Comments

@TimMoore
Copy link

It isn't obvious to new ConductR users how to connect to the running Cassandra cluster using something like cqlsh or DataStax DevCenter.

@dpalinic
Copy link

@TimMoore , can you please share information on how to connect? I'm stuck on this on sandbox environment :) Thanks

@markusjura
Copy link
Contributor

@dpalinic Connect to cassandra via cqlsh with the following commands:

# Start the sandbox
sandbox run 2.1.1

# Load and scale the cassandra bundle
conduct load cassandra
conduct run cassandra

# Retrieve host and bind port information
conduct info cassandra
BUNDLE ATTRIBUTES
-----------------
Bundle Id              a32763e-e5dffc0
Bundle Name            cassandra
Compatibility Version  3
System                 cassandra
System Version         3
Tags
Nr of CPUs             1.1
Memory                 1073741824
Disk Space             100000000
Roles                  cassandra
Bundle Digest          a32763eeae2905225d340cd6c199b9df8b32c1b53193bf82fa5b3c97c21d1cd9
Configuration Digest   e5dffc09cfced6079529e318cd5c51a5507fea17246a60cb87bdf412fdd98fb2
Error                  No

BUNDLE SCALE
------------
Nr of Reschedules  0
Scale              1

BUNDLE INSTALLATIONS
--------------------
Host                  192.168.10.1
Bundle                /Users/mj/.conductr/images/tmp/conductr/192.168.10.1/bundles/a32763eeae2905225d340cd6c199b9df8b32c1b53193bf82fa5b3c97c21d1cd9.zip
Bundle configuration  /Users/mj/.conductr/images/tmp/conductr/192.168.10.1/bundles/e5dffc09cfced6079529e318cd5c51a5507fea17246a60cb87bdf412fdd98fb2.zip

BUNDLE EXECUTIONS
-----------------
ENDPOINT     HOST           PID  STARTED   UPTIME  BIND_PORT  HOST_PORT
cas_native   192.168.10.1  4128      Yes  5m, 56s      10410      10410
cas_rpc      192.168.10.1  4128      Yes  5m, 56s      10647      10647
cas_storage  192.168.10.1  4128      Yes  5m, 56s       7000       7000

TCP ACLS
--------
TCP/PORT  STATUS
9042      Running

SERVICE NAMES
-------------
SERVICE NAME  STATUS
cas_native    Running


# Connect with cqlsh via the host and bind port to Cassandra
cqlsh 192.168.10.1 10410 --cqlversion=3.4.4

@dpalinic
Copy link

Thanks @markusjura , that's very helpful 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants