成人无码视频,亚洲精品久久久久av无码,午夜精品久久久久久毛片,亚洲 中文字幕 日韩 无码

資訊專欄INFORMATION COLUMN

aerospike 集群搭建

ranwu / 2030人閱讀

摘要:是一個(gè)分布式的存儲(chǔ)服務(wù),與,等相比,最大的特點(diǎn)是支持內(nèi)存和磁盤的混合存儲(chǔ),并且對(duì)的支持非常好,將索引存在內(nèi)存中,數(shù)據(jù)存在中,保持極高性能的同時(shí),能有效的節(jié)約成本單機(jī)安裝安裝啟動(dòng)查看日志集群安裝首先用上面的步驟在每個(gè)節(jié)點(diǎn)安裝,再

aerospike 是一個(gè)分布式的 kv 存儲(chǔ)服務(wù),與 redis,memcached 等相比,最大的特點(diǎn)是支持內(nèi)存和磁盤的混合存儲(chǔ),并且對(duì) ssd 的支
持非常好,將索引存在內(nèi)存中,數(shù)據(jù)存在 ssd 中,保持極高性能的同時(shí),能有效的節(jié)約成本

單機(jī)安裝

安裝

wget -O aerospike.tgz "https://www.aerospike.com/download/server/latest/artifact/el6"
tar -xvf aerospike.tgz
cd aerospike-server-community-*-el6
sudo ./asinstall

啟動(dòng)

sudo service aerospike start

查看日志

tail -f /var/log/aerospike/aerospike.log
集群安裝

首先用上面的步驟在每個(gè)節(jié)點(diǎn)安裝 aerospike,再修改配置文件 /etc/aerospike/aerospike.conf,添加集群的地址列表,啟動(dòng)服務(wù)即可

下面是一個(gè)配置文件樣例

service {
    user root
    group root
    paxos-single-replica-limit 1
    pidfile /var/run/aerospike/asd.pid
    proto-fd-max 15000
}

logging {
    file /var/log/aerospike/aerospike.log {
        context any info
    }
}

network {
    service {
        address 0.0.0.0
        port 3000
        # add current node address here
        access-address 172.31.25.40 3002
    }

    heartbeat {
        mode mesh
        # add current node address here        
        address 172.31.25.40
        port 3002
        # add all cluster node address here
        mesh-seed-address-port 172.31.25.40 3002
        mesh-seed-address-port 172.31.23.48 3002
        mesh-seed-address-port 172.31.19.27 3002
        interval 150
        timeout 10
    }

    fabric {
        address any
        port 3001
    }

    info {
        address any
        port 3003
    }
}

namespace test {
    memory-size 8G
    storage-engine memory
}
參考鏈接

Install on Red Hat: https://www.aerospike.com/doc...

Network Heartbeat: https://www.aerospike.com/doc...

轉(zhuǎn)載請(qǐng)注明出處 
本文鏈接:http://www.hatlonely.com/2018...

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://m.hztianpu.com/yun/17768.html

相關(guān)文章

發(fā)表評(píng)論

0條評(píng)論

閱讀需要支付1元查看
<