2018年11月26日

zabbix3.4 监控ESXI6.7

摘要: 一、ESXI WEB界面 管理--高级配置启用 键 Config.HostAgent.plugins.solo.enableMob Config.HostAgent.plugins.solo.enableMob 访问:https://10.81.1.219/mob/?moid=ha-host&doP 阅读全文

posted @ 2018-11-26 17:21 net2817 阅读(1729) 评论(0) 推荐(0) 编辑

2018年11月8日

sonar gitlab+jenkins配置

摘要: sonar.projectKey=test-news-activitysonar.projectName=test-news-activitysonar.projectVersion=$BUILD_NUMBER 构建号sonar.sourceEncoding=UTF-8sonar.language= 阅读全文

posted @ 2018-11-08 19:39 net2817 阅读(470) 评论(0) 推荐(0) 编辑

2018年11月2日

redis 动态修改配置与备份文件目录

摘要: redis-cli -c -h 10.1.1.1 -p 7000 获取所有可以配置的KEY config get * 设置KEY config set * 配置重新写入配置文件 CONFIG REWRITE AOF文件重写与优化 BGREWRITEAOF 阅读全文

posted @ 2018-11-02 18:49 net2817 阅读(1158) 评论(0) 推荐(0) 编辑

2018年11月1日

elasticsearch 动态增加副本

摘要: 动态调整副本数 PUT /ptt-new-2018-11/_settings{ "number_of_replicas": 2} 重建索引, 增加节点后要重建索引。 日志报错为网络读写错误。 write and flush on the network layer failed 阅读全文

posted @ 2018-11-01 22:07 net2817 阅读(2934) 评论(0) 推荐(0) 编辑

2018年10月26日

数据库备份脚本

摘要: #!/bin/bashday2=`date "+%Y-%m-%d" -d "-2 day"`rm -rf /dfs1/bak/full/$day2*echo $day2innobackupex --defaults-file=/etc/my.cnf --user=root --password=** 阅读全文

posted @ 2018-10-26 15:22 net2817 阅读(130) 评论(0) 推荐(0) 编辑

2018年9月28日

redismyadmin安装(支持redis4 集群模式)

摘要: yum install php-pecl-redishttps://github.com/daivem/RedisMyAdmin下载最新的安装包,解压yum install nginx php php-fpm redis 阅读全文

posted @ 2018-09-28 18:42 net2817 阅读(673) 评论(0) 推荐(0) 编辑

2018年9月21日

elasticsearch ik安装

摘要: /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.6.4/elasticsearch-an 阅读全文

posted @ 2018-09-21 08:01 net2817 阅读(189) 评论(0) 推荐(0) 编辑

2018年9月20日

centos7.2 +cloudstack 4.11 +KVM +ceph 安装配置(网卡带聚合)

摘要: 系统安装,注意:管理节点版本是有要求的,配置为centos 7.2 最小安装版本(非最小化安装)。 系统分区要求 /boot/efi 200MB / 100G /var 100G swap 0 其它给/dfs 所有分区使用基本分区。 阅读全文

posted @ 2018-09-20 10:58 net2817 阅读(404) 评论(0) 推荐(0) 编辑

2018年9月14日

cloudstack4.11+KVM+4网卡bond5+briage 交换机不作配置

摘要: 网卡绑定配置 # cat ifcfg-em1TYPE=EthernetBOOTPROTO=noneDEVICE=em1ONBOOT=yesMASTER=bond0SLAVE=yes# cat ifcfg-bond0 DEVICE=bond0TYPE=BondNAME=bond0BONDING_MAS 阅读全文

posted @ 2018-09-14 22:09 net2817 阅读(912) 评论(0) 推荐(0) 编辑

2018年9月6日

zabbix 自定义监控 排除带报错提示

摘要: UserParameter=lq_data_sqoop,/usr/local/bin/sqoop.sh 2>/dev/null |awk '{print $2}' 注意:2>/dev/null 把错误提示丢掉。2>1会报无权限。 阅读全文

posted @ 2018-09-06 20:54 net2817 阅读(108) 评论(0) 推荐(0) 编辑

导航