摘要: 对java服务监控,应使用jmx_exporter,但对于一些已经运行的java程序进行临时内存监控,可使用一下脚本将采集数据推送到pushgateway #!/bin/bash Jid=`jps | grep $1 | awk '{print $1}'` LineC=0 IFS=$'\n' for 阅读全文
posted @ 2022-02-23 11:34 打闹闹酱 阅读(366) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ############################################################################### # This script is used to generate backup crontab tasks. Pl 阅读全文
posted @ 2022-02-22 14:52 打闹闹酱 阅读(98) 评论(0) 推荐(0) 编辑
摘要: ceph端 创建vms和volumes两个pool 创建openstack授权 ceph auth get-or-create client.openstack mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow 阅读全文
posted @ 2022-02-16 11:32 打闹闹酱 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 适用于itop2.6以上版本,版本下载:www.itophub.io 准备 firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=https firewall-cmd --reload v 阅读全文
posted @ 2022-02-16 11:18 打闹闹酱 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 环境准备 配置主机名及hosts 配置时间同步 yum install chrony -y sed -i "s/server 0.centos.pool.ntp.org iburst/server ntp1.aliyun.com iburst/g" /etc/chrony.conf sed -i " 阅读全文
posted @ 2022-02-16 11:16 打闹闹酱 阅读(374) 评论(0) 推荐(0) 编辑
摘要: hadoop HA架构 hbase HA架构 官网下载安装包 hadoop下载 https://hadoop.apache.org/releases.html JDK下载 http://jdk.java.net/java-se-ri/8-MR3 zookeeper下载 https://archive 阅读全文
posted @ 2022-02-15 17:38 打闹闹酱 阅读(397) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashuser='root'password='123456'cat ./ips.txt | while read LINEdoecho $LINE;/usr/bin/expect << EOFset timeout 5spawn ssh $user@$LINE -p 22expec 阅读全文
posted @ 2022-01-06 10:22 打闹闹酱 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1、修改/opt/apache-tomcat/bin/catalina.sh 新增行(添加在CATALINA_PID变量使用之前,CATALINA_BASE定义之后) CATALINA_PID="$CATALINA_BASE/tomcat.pid" 2、创建/usr/lib/systemd/syst 阅读全文
posted @ 2022-01-05 11:30 打闹闹酱 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 使用二进制部署k8s高可用集群 k8s版本:1.18.16 节点规划 IPhostnameUsed By 192.168.139.21 k8s-m1 etcd/master/keepalived+haproxy 192.168.139.22 k8s-m2 node/master/keepalived 阅读全文
posted @ 2021-03-03 17:40 打闹闹酱 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1、送修或更换硬件 送修前务必标记自己的磁盘位置,设备修复后按照编号安装到DS中。如果有写缓存,也要拆下并妥善保存好,因为它装载着你数据的一部分。 2、通过linux读取数据 官方提供了通过linux获取数据的方法,整理如下: (1) 找到一个新的硬件平台并启动ubuntu(确保新平台sata口充足 阅读全文
posted @ 2020-12-04 18:02 打闹闹酱 阅读(1707) 评论(0) 推荐(0) 编辑