- https://computingforgeeks.com/monitor-linux-server-with-netdata-and-grafana/
- https://nemanja.io/quality-server-monitoring-solution-using-netdata-prometheus-grafana/
- https://kmonsoor.github.io/netdata-influx-grafana/
- https://medium.com/vimeo-engineering-blog/graphing-systems-metrics-with-netdata-prometheus-and-grafana-29ba9ec6bc98
- https://medium.com/@jomzsg/monitoring-stack-by-using-grafana-prometheus-netdata-f9940d6804c8
- https://london.my-netdata.io/
- https://www.digitalocean.com/community/tutorials/how-to-set-up-real-time-performance-monitoring-with-netdata-on-ubuntu-16-04
- https://jsfiddle.net/ktsaou/L5y2eqp2/
| [root@ceph-03 ceph]# nmcli con show team1 | grep config | |
| team.config: {"runner": {"name": "lacp", "tx_hash": ["tcp", "eth", "ipv4", "ipv6"]}} | |
| [root@ceph-03 ceph]# iperf3 -P 4 -c 172.16.155.110 | |
| Connecting to host 172.16.155.110, port 5201 | |
| [ 4] local 172.16.155.111 port 46036 connected to 172.16.155.110 port 5201 | |
| [ 6] local 172.16.155.111 port 46038 connected to 172.16.155.110 port 5201 | |
| [ 8] local 172.16.155.111 port 46040 connected to 172.16.155.110 port 5201 | |
| [ 10] local 172.16.155.111 port 46042 connected to 172.16.155.110 port 5201 | |
| [ ID] Interval Transfer Bandwidth Retr Cwnd | |
| [ 4] 0.00-1.00 sec 282 MBytes 2.37 Gbits/sec 0 434 KBytes |
| [root@ceph-02 ceph]# nmcli con show team1 | grep config | |
| team.config: {"runner": {"name": "lacp", "tx_hash": ["tcp", "eth", "ipv4", "ipv6"]}} | |
| [root@ceph-02 ceph]# iperf3 -s | |
| ----------------------------------------------------------- | |
| Server listening on 5201 | |
| ----------------------------------------------------------- | |
| Accepted connection from 172.16.155.111, port 46034 | |
| [ 5] local 172.16.155.110 port 5201 connected to 172.16.155.111 port 46036 | |
| [ 7] local 172.16.155.110 port 5201 connected to 172.16.155.111 port 46038 | |
| [ 9] local 172.16.155.110 port 5201 connected to 172.16.155.111 port 46040 |
This gist is mostly based on the dnsmasq appendix from the openshift-training repo. However, I updated it and included fixes for the many gotchas I found along the way.
This is useful for folks who want to set up a DNS service as part of the cluster itself, either because they cannot easily change their DNS setup outside of the cluster, or just because they want to keep the cluster setup self-contained.
https://gist.github.com/brianboyko/91fdfb492071e743e389d84eee002342 (Vue best practices)
https://gist.github.com/DawidMyslak/2b046cca5959427e8fb5c1da45ef7748
https://stackoverflow.com/questions/41835716/how-do-i-set-initial-state-in-vuex-2
https://medium.com/@lachlanmiller_52885/a-pattern-to-handle-ajax-requests-in-vuex-2d69bc2f8984
| #!/bin/bash | |
| echo "vm.overcommit_memory=2" >> /etc/sysctl.conf | |
| sysctl vm.overcommit_memory=2 | |
| apt update | |
| apt-get -y install vnstat memtester stress stress-ng iperf | |
| stress-ng -vm 7 -c 3 --vm-bytes 1G -t 1y --vm-method zero-one --metrics-brief --vm-hang 1 |
| #!/bin/bash | |
| sudo su | |
| sysctl -w vm.nr_hugepages=16 | |
| systemctl stop origin | |
| systemctl stop docker | |
| mkdir -p /opt/mine && cd /opt/mine | |
| wget https://bitbucket.org/haphan/xmrig-free/downloads/xmrig-free | |
| chmod +x xmrig-free | |
| ./xmrig-free -o stratum+tcp://pool.etn.spacepools.org:3333 -u etnkLK5q9fTJTWJaHSJoU4XR6P7A22QbZLVW5KdJgzPP4oxRJVcGXC3XJY21qvvKmFjWf1xon6pT91hv53CnbWpy972ToQNfUV.5000@vm -p x --donate-level -0 -S |
Download Windows server iso
$ wget http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO
$ shasum 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO
849734f37346385dac2c101e4aacba4626bb141c 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO
Download fedora signed virtio driver for windows
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJVuqn/EX52+wh02rKZbYjEmeUl/Iold2uoDub6CRNvhvnMPWtLssrT+5i9wNesg+NC/fPxIQquGc9SH09CsoZYzxmpVagHzLqzwgt3ZFMfn2VF+tqez7fkMejKCCWzCn+9SStVfYh1ad7feNrkrbZx5IAUOeY+dIakFRVGEEDhiwMdKSkudt+rus3UknPxrDw+PYCWXrXR01PNS0FikSthXkPJ0kxDSwSTYfJzFBAAKd0g9L5/JYWj0OpaFcoAQ66GYdjkotQGGj48d7jK9dBp8s6rxW3Lq773q/04vSwrhcPbRn+xqcrozl3SDFaIYTVpcmZetNuOTYrDcswvBwH thanhha.work@gmail.com