Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Remote cluster with user security enabled

When connecting to a remote cluster that uses authentication and authorization, you should have to provide the IP address of the host, along with a valid username and password:

bin/cqlsh 192.168.0.101 -u cassdba -p flynnLives

If you have trouble connecting to a remote cluster via cqlsh, try to figure out what it is using as its broadcast address, like this:

grep broadcast_ conf/cassandra.yaml# broadcast_address: 1.2.3.4broadcast_address: 192.168.0.101# set broadcast_rpc_address to a value other than 0.0.0.0.# rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address mustbroadcast_rpc_address: 192.168.0.101#    Uses public IPs as broadcast_address to allow cross-region
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content