If you implement a Microservice-Architecture, you will – sooner or later – have to deal with the cross cutting concern of client authentication and general securities questions. In this article I will discuss a few options.Continue reading “Securing Microservices (API-Gateways and Zero-Trust)”
Mount data disks to VM
A short tutorial how to attached a data disk on an Ubuntu 20.04. LTS VM on Microsoft Azure (assuming you already created one in Azure’s Portal).Continue reading “Mount data disks to VM”
This article is a list of recommended recources around software development, architecture and automated testing. It will be updated.Continue reading “Resource recommendations”
Windows 10 & Docker: volumes not working
Make sure you have your firewall settings correct and issues with File/Print-Sharing fixed. Follow the article https://blog.olandese.nl/2017/05/03/solve-docker-for-windows-error-a-firewall-is-blocking-file-sharing-between-windows-and-the-containers/ .
For me following commands is necessary (since some parts are managed by corporate sys-admins and AD). (So that the Docker is moved into the private network category, where the firewall rules can be applied.)
Set-NetConnectionProfile -interfacealias "vEthernet (DockerNAT)" -NetworkCategory Private
LVM: increase size of existing logical volumes without reboot/new partition
Sometimes it is necessary to increase the size of your logical volume but you cannot/want reboot and/or create a new partition.
- Increase the hard disk space by allocating it on the host system to the your virtual machine
- echo 1>/sys/class/block/sdaX/device/rescan so that you VM knows the new hard disk capacity
- use parted (or your personal preference) to increase the partition size
- Tip: run unit kb in parted for a more precise aligning of the partitions
- Tip 2: keep in mind that you have to increase both logical parition and lvm flagged partition. Logical partitions are like containers for the lvm flagged partition.
- Increase LVM Physical device: pvresize /dev/sdX
- Increase LVM Logical Volume: lvextend -l+100%FREE /dev/mapper/XX
- Increase FileSystem: resize2fs /dev/mapper/XX