摘要:
监控集群状态 [4ajr@elk1 scripts]$ cat glusterfs_peer_status.sh #!/bin/bash peer_status=`sudo gluster peer status | grep State | uniq` if [ "State: Peer in C 阅读全文
摘要:
[4ajr@elk1 scripts]$ curl 172.30.210.175:9200/_cat/health [4ajr@elk1 scripts]$ cat check_es_healthy.py import commands command = '172.30.210.175:9200/ 阅读全文
摘要:
[root@localhost ~]# firewall-cmd --state not running [root@localhost ~]# firewall-cmd --state running 放行http和https端口 [root@localhost ~]# firewall-cmd 阅读全文
摘要:
pvcreate /dev/xvde vgcreate VG00 /dev/xvde lvcreate -l 307199 -n lv_data /dev/VG00 mkfs.xfs /dev/VG00/lv_data blkid /dev/VG00/lv_data vi /etc/fstab 阅读全文
摘要:
#tar zxvf nginx-1.8.1.tar.gz #cd nginx-1.8.1/ #make && make install #cat /etc/systemd/system/nginx.service [Unit] Description=nginx server daemon Docu 阅读全文