Kairosdb+cassandra Clustered Installation

Source: Internet
Author: User
Tags cassandra locale

Kairosdb

(1) To/conf directory, find kairosdb.properties, modify Datastore to Cassandra

(2) Setting the connection mode of Cassandra

(3) Set user name password

4. Start: Go to the/bin directory and run directly ./kairosdb.sh Start, finally see KAIROSDB service started such a word, OK 172.16.101.25:8080 kairosdb client Cassandra Modify Cassandra configuration file conf/ Cassandra.yaml start./bin/cassandra-r start with root user start.sh nohup sh cassandra-r > Default.log error as follows: Reason: GLIBC version too low upgrade glibc version Follow the http://stuart.blog.51cto.com/728677/1840205 on the 172.16.110.25 to upgrade the GLIBC in accordance with the steps, you can, the specific steps are as follows:

First, install the glibc-2.14

12345678910 [[email protected] ~] # wget http://ftp.gnu.org /gnu/glibc/glibc-2.14.tar.gz [[email protected] ~] # mv  Glibc-2.14.tar.gz /opt/software [[email protected] ~] # cd / Opt/software [[Email protected] software] # tar xf  glibc-2.14.tar.gz [[Email protected] software] # cd glibc-2.14 [[email protected] glibc-2.14] # mkdir build [email  PROTECTED] GLIBC-2.14] # cd build [[email protected]  Build] # .. /configure --prefix=/usr/local/glibc-2.14 [[Email protected] build] #  make -j4 [[Email protected] build] # make install

Second, copy the link library

12 [[email protected] build]# cd /usr/local/glibc-2.14/lib[[email protected] lib]# cp libc-2.14.so /lib64/

Third, create links

12 [[email protected] lib]# cd /lib64[[email protected] lib64]# rm -rf libc.so.6

The following error will be reported thereafter:

1 ls: error whileloading shared libraries: libc.so.6: cannot open shared object file: No such fileor directory

Workaround:

1 [[email protected] lib64]# /sbin/sln libc-2.14.so /lib64/libc.so.6

Iv. Viewing supported versions

12345678910111213141516171819 [[email protected] lib64]# strings /lib64/libc.so.6 |grep GLIBCGLIBC_2.2.5GLIBC_2.2.6GLIBC_2.3GLIBC_2.3.2GLIBC_2.3.3GLIBC_2.3.4GLIBC_2.4GLIBC_2.5GLIBC_2.6GLIBC_2.7GLIBC_2.8GLIBC_2.9GLIBC_2.10GLIBC_2.11GLIBC_2.12GLIBC_2.13GLIBC_2.14GLIBC_PRIVATE

The following error is reported via SSH connection:

12345 -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such fileor directory-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such fileor directory-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such fileor directory-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such fileor directory-bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such fileor directory

Workaround:

12345 [[email protected] ~]# vim /etc/environment LANG=en_US.utf-8LC_ALL=[[email protected] ~]# source /etc/environment [[email protected] ~]# localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
Clustered Deployment

In Cassandra

VI Cassandra.yaml

VI cassandra-topology.properties

VI cassandra-rackdc.properties

Kairosdb in kairosdb.datastore.cassandra.host_list to multiple IP forms

VI kairosdb.properties


Cassandra Connection

./cqlsh-u cassandra-p Cassandra 172.16.103.127

Kairosdb+cassandra Clustered Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.