Open TimMoore opened 7 years ago
@TimMoore , can you please share information on how to connect? I'm stuck on this on sandbox environment :) Thanks
@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
Thanks @markusjura , that's very helpful :+1:
It isn't obvious to new ConductR users how to connect to the running Cassandra cluster using something like
cqlsh
or DataStax DevCenter.