Aerospike数据库实战(四) -- Aerospike 安装部署
来源:互联网 发布:松江 量化 java 招聘 编辑:程序博客网 时间:2024/05/21 09:22
本人原创文章,转载请注明出处:http://blog.csdn.net/yanshu2012/article/details/54288747
1 Aerospike Databases部署前准备工作
- 尽量不要对ssd做RAID,RAID控制器会带来不必要的延迟
- 如果必须做RAID,建议每块盘单独做RAID0。如果做了RAID,需要利用 LSI Mega CL 进行一些优化设置。参考:LSI Mega CLI: [[http://www.aerospike.com/docs/operations/plan/ssd/lsi_megacli.html]]
- SSD硬盘不需要格式化,不需要挂载,直接attach到服务器母板上,Aerospike把SSD当raw disk使用。
- 有些SSD需要预留部分空间给驱动控制器使用,这样能带来更好的性能。
- SSD硬盘在第一次使用之前需要做清零操作,清零操作会清除SSD硬盘硬盘中的数据。新添加SSD硬盘对数据库存储容量进行扩容时,只需要对新添加的SSD硬盘做清零操作(参照下面信息进行清零操作)。
出现提示:No space left on device or an out of space error 说明硬盘清零操作完毕。
2 Aerospike Databases部署步骤
- 依赖环境安装
- server端安装步骤
wait for it. "service ready: soon there will be cake!"
- 关闭Aerospike Databases节点机器之间的防火墙
- 参考下面配置,修改Aerospike Server端conf文件。
service { user root group root paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. pidfile /var/run/aerospike/asd.pid service-threads 32 transaction-queues 32 transaction-threads-per-queue 3 proto-fd-max 100000 fabric-workers 96 microbenchmarks true}logging { # Log file must be an absolute path. file /var/log/aerospike/aerospike.log { context any info }}network { service { address any port 3000 } heartbeat { mode multicast address 239.1.99.222 port 9918 #interface-address 192.168.1.116 # To use unicast-mesh heartbeats, remove the 3 lines above, and see # aerospike_mesh.conf for alternative. # #mode mesh #port 3002 #mesh-seed-address-port 192.168.1.116 3002 #mesh-seed-address-port 192.168.1.117 3002 interval 150 timeout 20 } fabric { port 3001 } info { port 3003 }}namespace test { replication-factor 2 memory-size 75G default-ttl 30d # 30 days, use 0 to never expire/evict. high-water-memory-pct 90 high-water-disk-pct 90 # Warning - legacy data in defined raw partition devices will be erased. # These partitions must not be mounted by the file system. storage-engine device { # Use one or more lines like those below with actual device paths. device /dev/sdb1 #device /dev/sdc1 #device /dev/fioa # The 2 lines below optimize for SSD. scheduler-mode noop write-block-size 128K # Use the line below to store data in memory in addition to devices.# data-in-memory true }}
- 启动Aerospike Databases
0 0
- Aerospike数据库实战(四) -- Aerospike 安装部署
- Aerospike数据库实战(三) -- Aerospike数据库压力测试报告
- Aerospike数据库实战(五) -- Aerospike C Client 开发
- Mac、Windows安装Aerospike数据库
- aerospike安装
- aerospike安装
- Aerospike数据库实战(六) -- 踩坑&经验总结
- Aerospike NoSQL 数据库介绍
- Aerospike数据库简介
- Aerospike数据库配置
- Aerospike系列:1:安装
- aerospike的安装
- AeroSpike之:安装AMC
- AeroSpike安装及启动
- aerospike实战之put操作
- Aerospike数据库实战(一) -- Aerospike是大数据时代互联网广告专用数据库,为RTB而生
- Aerospike数据库实战(二) -- 哪种SSD产品更适合Aerospike (Intel DC s3500 SSD VS Fusion ioDrive PCIe )
- Aerospike系列:5:安装AMC
- mysql的默认字符编码的设置
- C++单例基类模板
- Redis 学习笔记十 发布者订阅者模式与生产者消费者模式
- spring-boot集成swagger(接口管理工具)
- 110. Balanced Binary Tree
- Aerospike数据库实战(四) -- Aerospike 安装部署
- xcode8.2 cocoapods install第三方库 遇到Abort trap :6 的问题 的解决办法
- 几个简单的导航布局
- 第三章SQL编程--经典案例和上级题
- 项目制作随感
- 接口化编程(iOS)
- jgroups 集群 the following properties in UNICAST are not recognized
- ucos任务调度
- ViewPager的应用之新手引导页的制作