上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 70 下一页
摘要: 1.经过调查, 2down voteaccepted 2down voteaccepted x-forwarded-for is an HTTP header field, so has nothing to do with the transport layer (TCP). Usually we 阅读全文
posted @ 2018-11-09 11:33 littlevigra 阅读(4344) 评论(0) 推荐(1) 编辑
摘要: 1.[root@dev-100 Desktop]# docker login -u clouder -p engine harbor.xiaowei.com 2.docker tag busybox:latest harbor.xiaowei.com/lib/xiaoweibusybox:lates 阅读全文
posted @ 2018-11-08 12:24 littlevigra 阅读(1307) 评论(0) 推荐(0) 编辑
摘要: 1.SH: source hash, 源地址散列。 将请求的目标IP地址换成请求的源IP地址;实现session保持的机制;将来自于同一个IP的请求始终调度至同一RS; 源地址散列调度算法正好与目标地址散列调度算法相反,它根据请求的源IP地址,作为散列键(Hash Key)从静态分配的散列表找出对应 阅读全文
posted @ 2018-11-08 12:17 littlevigra 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 1.roles意为角色,主要用于封装playbook实现复用性。在ansible中,roles通过文件的组织结构来展现。 阅读全文
posted @ 2018-11-08 00:32 littlevigra 阅读(531) 评论(1) 推荐(0) 编辑
摘要: 1.215 R(172.16.0.1) < gw(61.146.164.109) | | | | (不能上网) 1.215 < 6.46 (被109访问的虚拟机) (可以上网) /usr/sbin/route add -host 61.146.164.109 gw 172.16.0.1 有两块网卡i 阅读全文
posted @ 2018-11-07 15:06 littlevigra 阅读(4353) 评论(2) 推荐(0) 编辑
摘要: global_defs { lvs_id BACKUP } vrrp_sync_group VGM { group { VI_1 } } vrrp_instance VI_1 { state BACKUP interface eth0 virtual_router_id 80 priority 50 阅读全文
posted @ 2018-11-06 09:50 littlevigra 阅读(3735) 评论(0) 推荐(0) 编辑
摘要: 1.开启SSH长连接 ssh_args = -C -o ControlMaster=auto -o ControlPersist=1d \\连接保持一天 2.开启pipelining ansible执行tasks的过程: 1>ansible根据选择的模块生成临时的Python脚本 2>他将所生成的脚 阅读全文
posted @ 2018-11-04 18:12 littlevigra 阅读(737) 评论(1) 推荐(0) 编辑
摘要: cat /etc/ansible/hosts [nodes]10.2.1.232 key=23210.2.1.43 key=43 cat debug.yaml name: test how to use command module hosts: nodes remote_user: root ga 阅读全文
posted @ 2018-11-04 16:44 littlevigra 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 1.如果不关闭swap,就会在kubeadm初始化Kubernetes的时候报错,如下图: $ ansible -i inventory/inventory.cfg all -a "swapoff -a"$ ansible -i inventory/inventory.cfg all -a "sud 阅读全文
posted @ 2018-11-01 11:18 littlevigra 阅读(8941) 评论(0) 推荐(0) 编辑
摘要: [clouder@server10-13 onecloud]$ cat test_push.sh #!/bin/bash#to test the connectity to gateway.push.apple.com 2195#test 10 time if > 5 ,critical;if >1 阅读全文
posted @ 2018-10-31 19:45 littlevigra 阅读(394) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 70 下一页