上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 70 下一页
摘要: 1.#思路:status可以看到dead 0说明集群健康;list列出重要表名也说明集群健康。 #在hbase服务器上加crontab 1 */2 * * * /bin/bash /tmp/hbase_status.sh > /tmp/status_hbase.txt1 */10 * * * /bi 阅读全文
posted @ 2020-10-30 20:45 littlevigra 阅读(328) 评论(0) 推荐(0)
摘要: 1.通过debug模块去确认返回结果的数据结构 获取Task任务结果 - name: check nginx syntax shell: /usr/sbin/nginx -t register: nginxsyntax 通过debug模块去确认返回结果的数据结构 - name: print ngin 阅读全文
posted @ 2020-10-27 21:10 littlevigra 阅读(185) 评论(2) 推荐(0)
摘要: 1.全链路-测试验证 测试链路: 新小程序(新域名) -> WAF(新域名) -> 公有云CLB(新域名) -> 公有云新接入网关 -> 政务云里约网关(新域名) -> 政务云服务 -> 政务云数据库 1)使用部署方案中指定的工具和方法验证深i您各服务是否正常。 2)按照产品测试用例测试小程序和管理 阅读全文
posted @ 2020-10-26 10:46 littlevigra 阅读(444) 评论(0) 推荐(0)
摘要: 1.定制每一台Nginx服务的响应头,以便于当某台服务出现问题时能快速定位到具体的服务器 # cat nginx.conf.j2 user nginx; {# start process equal cpu cores #} worker_processes {{ ansible_processor 阅读全文
posted @ 2020-10-26 00:13 littlevigra 阅读(197) 评论(0) 推荐(0)
摘要: 1.访问变量文件 - hosts: frame remote_user: root gather_facts: no vars_files: - /testdir/ansible/testfile.txt tasks: - debug: msg: "{{key_1}}" 变量文件: [root@fr 阅读全文
posted @ 2020-10-25 13:19 littlevigra 阅读(324) 评论(0) 推荐(0)
摘要: 1.async参数值:代表了这个任务执行时间的上限值。即任务执行所用时间如果超出这个时间,则认为任务失败。此参数若未设置,则为同步执行 2.poll参数值:代表了任务异步执行时轮询的时间间隔。 loop循环使用 - hosts: frame tasks: - name: yum install vs 阅读全文
posted @ 2020-10-23 18:00 littlevigra 阅读(450) 评论(0) 推荐(0)
摘要: 1.nginx -- filebeat -- es -- kibana [root@VM-1-12-centos filebeat-6.4.3-linux-x86_64]# cat filebeat.yml filebeat.inputs: - type: log enabled: true pat 阅读全文
posted @ 2020-10-23 11:21 littlevigra 阅读(368) 评论(0) 推荐(0)
摘要: 0.禁止root登陆1.用sudo的用户登陆2.执行root的权限 3.cat /etc/ansible/hosts # Ex 2: A collection of hosts belonging to the 'webservers' group [test] 10.0.0.3 ansible_s 阅读全文
posted @ 2020-10-21 16:30 littlevigra 阅读(2630) 评论(0) 推荐(0)
摘要: 链接:https://www.imooc.com/article/17788?block_id=tuijian_wz 1. Screen工具是一个终端多路转接器,在本质上,这意味着你能够使用一个单一的终端窗口运行多终端的应用。 2. 最大的功能是可以隐藏正在前台运行的任务和恢复被隐藏的会话1. Sc 阅读全文
posted @ 2020-10-20 17:18 littlevigra 阅读(167) 评论(0) 推荐(0)
摘要: 1.[BABEL] Note: The code generator has deoptimised the styling of "unknown" as it exceeds the max of " [BABEL] Note: The code generator has deoptimise 阅读全文
posted @ 2020-10-20 14:43 littlevigra 阅读(511) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 70 下一页