# 组建代理集群

# 新增节点

服务部署,参考服务部署

部署成功后,自动注册到Bitalosdashboard,并且在管理后台-Proxy页面展示。

# 关闭节点

平滑关闭服务的方式如下。

操作完成后,Bitalosdashboard对该节点的探活失败,管理后台该节点的背景展示为红色。

进程启动后,该节点的红色背景消失恢复正常。

# 移除节点

# 查询状态

  • 点击管理后台-Proxy的2按钮获取基础配置信息,包含配置信息,统计,分片等。

  • 点击管理后台-Proxy的3按钮获取服务状态信息,包含耗时,cpu&内存消耗等。

字段 含义
read_cross_cloud 是否允许跨云请求,同Bitalosproxy配置read_cross_cloud
pool_active 最大连接数,同Bitalosproxy配置redis_default_conf.max_active
cmd_ops.total 请求执行总数
cmd_ops.fails 请求失败总数
cmd_ops.periodfails Bitalosproxy配置metrics_reset_cycle周期内的失败请求数
cmd_ops.avg_cost 请求平均耗时(单位微秒)
cmd_ops.kv_cost string平均耗时(单位微秒)
cmd_ops.list_cost list平均耗时(单位微秒)
cmd_ops.hash_cost hash平均耗时(单位微秒)
cmd_ops.set_cost set平均耗时(单位微秒)
cmd_ops.zset_cost zset平均耗时(单位微秒)
cmd_ops.write_cost 写请求平均耗时(单位微秒)
cmd_ops.read_cost 读请求平均耗时(单位微秒)
pool.active_count 连接Bitalostored总活跃连接数
pool.idle_count 连接Bitalostored总空闲连接数
sessions.total 总连接数
sessions.alive 存活连接数
runtime.num_procs 线程数
ZUOYEBANG