摘要:
#cat jia.yml - hosts: test-gfs user: dev gather_facts: true vars: PORT: "3306" MESAGE: "wangrenqing" IP_local: "{{ansible_default_ipv4.address}}" IP_l 阅读全文
posted @ 2018-07-04 16:57
清风木
阅读(190)
评论(0)
推荐(0)
摘要:
修改cat /etc/ansible/hosts [test]10.27.235.108 host_name=test_host_name - hosts: test user: root gather_facts: true tasks: - name: rsync dir filebeat ho 阅读全文
posted @ 2018-07-04 16:56
清风木
阅读(4983)
评论(0)
推荐(1)
摘要:
#cat /etc/sysctl.conffs.file-max = 1048576net.core.netdev_max_backlog = 262144net.core.somaxconn = 4096net.ipv4.tcp_max_orphans = 65536net.ipv4.ip_loc 阅读全文
posted @ 2018-07-04 16:52
清风木
阅读(196)
评论(0)
推荐(0)
摘要:
一、简介 GlusterFS 是近年兴起的一个高性能开源分布式文件系统,其目标是全局命名空间、分布式前端的高性能文件系统,目前已被 RedHat 看中,GlusterFS 具有高扩展、高可性、高性能、可横向扩展等特点,并且 GlusterFS 没有元数据服务器的设计,使其没有单点故障问题。 二、Gl 阅读全文
posted @ 2018-07-04 16:50
清风木
阅读(464)
评论(0)
推荐(0)
摘要:
可信存储池(Trusted Storage Pool)创建存储池例如要创建一个包含3个服务器的存储池,则需要从第一个服务器server1中把另外两个服务器加入存储池中:# gluster peer probe server2Probe successful # gluster pool peer s 阅读全文
posted @ 2018-07-04 16:49
清风木
阅读(2303)
评论(0)
推荐(0)
摘要:
gluster配额管理gluster volume quota cloud enablegluster volume quota cloud limit-usage /mail/pbs 20MBdd if=/dev/zero of=test bs=1MB count=100 添加一个服务器加入到存储 阅读全文
posted @ 2018-07-04 16:45
清风木
阅读(437)
评论(0)
推荐(0)
摘要:
#wget 'https://cloud.weave.works/launch/k8s/weavescope.yaml?k8s-service-type=NodePort&k8s-version=1.7.5' 或者 #kubectl apply -n kube-system -f weavescop 阅读全文
posted @ 2018-07-04 16:44
清风木
阅读(1015)
评论(0)
推荐(0)
摘要:
Kubernetes的调度有简单,有复杂,指定NodeName和使用NodeSelector调度是最简单的,可以将Pod调度到期望的节点上。 1 NodeNamePod.spec.nodeName用于强制约束将Pod调度到指定的Node节点上,这里说是“调度”,但其实指定了nodeName的Pod会 阅读全文
posted @ 2018-07-04 16:42
清风木
阅读(640)
评论(0)
推荐(0)
摘要:
准备工作环境信息 修改dns配置 设置阿里源root@sh-saas-cs-manager-online-01:~# mv /etc/apt/sources.list /etc/apt/sources.list.bakroot@sh-saas-cs-manager-online-01:~# cat 阅读全文
posted @ 2018-07-04 16:41
清风木
阅读(1283)
评论(0)
推荐(0)
摘要:
package mainimport "fmt" //一定要双引号func main() {/* test hello word *///test fmt.Println("hello world!") } go run helloworld.go 阅读全文
posted @ 2018-07-04 16:38
清风木
阅读(187)
评论(0)
推荐(0)