Posts

Showing posts from March, 2021

vMotion multi-threading and other tuning settings

  I found this post, which I hope will work for you. https://www.vcdx200.com/2019/06/vmotion-multi-threading-and-other.html vMotion multi-threading and other tuning settings When you need to boost overall vMotion throughput, you can leverage Multi-NIC vMotion. This is good when you have multiple NICs so it is kind of scale-out solution. But what if you have 40 Gb NICs and you would like to do scale-up and leverage the huge NIC bandwidth (40 Gb) for vMotion? vMotion is by default using a single thread (aka stream), therefore it does not have enough CPU performance to transfer more than 10 Gb of network traffic. If you really want to use higher NIC bandwidth, the only way is to increase the number of threads pushing the data through the NIC. This is where advanced setting  Migrate.VMotionStreamHelpers  comes in to play. I have been informed about these advanced settings by one VMware customer who saw it on some VMworld presentation. I did not find anything in VMware documen...

Synology Docker network how to bridge Docker container to local network with macvlan network

Docker network how to bridge Docker container to a local network with macvlan network MacVlan network, this will allow the containers to get a dedicated IP on the local network. This will solve: no port clashes with Synology NAS as all ports will run only on dedicated IP. Client IP's visible as we are part of the real network. The container has its own IP we can reach -> almost like a VM but still a container Few items you need for this. You need to install Docker from the Package Center. You need to enable "Open vSwitch" You need to know the ovs switch name of your network interface. You need to know the gateway IP. You need to know the network class. You need assig IP or block for the container. you need assig the name for the new macvlan network interface. 1. Enable Open vSwitch Under Control panel > Network > Network interface > Select LAN interface then click Manage, check Enable Open vSwitch then click OK. 2. Find  ovs switch name, gateway, and network c...

Top 15 Docker commands for beginners

 https://github.com/piwi3910/techtalk/blob/master/Docker_series/06/Top_15_docker_commands_for_beginners.md Top 15 Docker commands for beginners 1) docker --version root@docker01:~# docker --version Docker version 19.03.8, build afacb8b7f0 root@docker01:~# 2) docker pull root@docker01:~# docker pull ubuntu:latest latest: Pulling from library/ubuntu d51af753c3d3: Pull complete fc878cd0a91c: Pull complete 6154df8ff988: Pull complete fee5db0ff82f: Pull complete Digest: sha256:747d2dbbaaee995098c9792d99bd333c6783ce56150d1b11e333bbceed5c54d7 Status: Downloaded newer image for ubuntu:latest docker.io/library/ubuntu:latest 3) docker run root@docker01:~# docker run -it -d ubuntu:latest ece220a53e21d8032ace85c1971cc09de61eccd746a98393133ad88440b7ffb6 4) docker ps root@docker01:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ece220a53e21 ubuntu:latest "/bin/bash" Ab...

How to install Pi-Hole on Docker and Synology with MacVlan + Auto Update

Image
 How to install Pi-Hole on Docker and Synology with MacVlan We can create s special 'MacVlan' network, this will allow the pi-hole container to get a dedicated IP on our network. This will solve: no port clashes with Synology as all ports will run only on dedicated IP Client IP's visible as we are part of the real network pi-hole has its own IP we can reach -> almost like a VM but still a container few items you need for this. You need to install Docker from the Package Center. You need to enable "Open vSwitch" under Control panel > Network > Network interface > Select LAN then click Manage. Networking Login SSH as root and identify the ovs switch name use the following command. ip route |grep default the output will look like this: default via 192.168.1.1 dev  ovs_eth0  src 192.168.1.3 so in my case  ovs_eth0  is what I will use. Next, create the macvlan network name  pi-hole-LAN , you need the know the following items: Gateway of your network...

How To upgrade Pi-hole On a Synology NAS Docker

How To upgrade Pi-hole On a Synology NAS Docker Run this under SSH root, it will update the Pi-hole container on Synology Docker Update the latest image for pi-hole docker pull pihole/pihole  Stop the Pi-hole container docker stop pihole-pihole1  Remove the Pi-hole container docker rm pihole-pihole1 You can run all three command once docker pull pihole/pihole && docker stop pihole-pihole1  && docker rm pihole-pihole1 Add the Pi-hole container with high privilege, auto-start, same docker host network, web password, web port, and default mount paths. https://eric-poon.blogspot.com/2021/03/how-to-setup-pi-hole-on-synology-nas.html docker run --name  pihole-pihole1 -v /volume1/docker/pihole/pihole:/etc/pihole -v /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d --network="host" -e TZ='America/New_York' -e WEBPASSWORD='password' -e DNSMASQ_LISTENING='local' -eWEB_PORT='8080' --privileged --restart always -d pihole/pihole

How To Setup Pi-hole On a Synology NAS Docker

Image
 I found this post " How To Setup Pi-hole On A Synology NAS"  https://kevq.uk/how-to-setup-pi-hole-on-a-synology-nas/ Using a  Pi-hole   on your network is a great way of blocking adverts and protecting you from tracking at a network level. In this post I’m going to take you through setting up Pi-hole on a   Synology NAS   using Docker. I’ve been using Pi-hole on my network for a few weeks now and things are going great. I’m sure you can gather than from the name, Pi-hole was originally designed to run on the Raspberry Pi. But I don’t like the idea of having something as crucial as DNS running on a RPi, so I run Pi-hole on my Synology ( I have a DS218+ ). To get Pi-hole up and running, you  could  download the image, spin a container with the default settings and it  will  work. However, you will end up seeing all the clients on your network bundled under a single  172.x.x.x  IP address, which is the Docker gateway IP.  Th...