Categories
Mastering Development System & Network

Is there a practical limit to the number of files in a Swift container?

(Copied over from StackOverflow as I was told it is more appropriate here) A solution I work on stores files in OpenStack’s Swift but the files are spread out into multiple containers. I have been told this is because the performance is awful after about a million files in a container. The only reference I […]

Categories
Mastering Development System & Network

Active Directory 2016 trust issues

I am trying to set up a forest trust and use ADMT to migrate users using this set of instructions; ADMT Instructions . I am having issues getting the two-way trust to work. Domain A (testad.domain.org) is not allowing me to add users to the builtin/Administrators group on domain B (target.migrate.org). I can select domain […]

Categories
Mastering Development System & Network

Can connect via smbclient but not mount CIFS

I have a weird problem: I can connect to a samba server (on a Mac) from a Linux machine using smbclient but do not manage to mount the samba share using CIFS The smbclient command which works is: smbclient -U MYUSERNAME -W X.YYY.ZZ -m SMB2 -d 3 //SERVER/LEEF lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: […]

Categories
Mastering Development System & Network

Running kubectl commands as cronjobs in the Kubernetes cluster results in a connection refused error

When running a kubectl command using the bitnami/kubectl image from inside a kubernetes (EKS based) cluster I am expecting the command to pick up the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT environment variables and connect to the local cluster to run commands. Specifically I am using this to run some housekeeping kubernetes cronjobs on the cluster but the […]

Categories
Mastering Development System & Network

Do the tld name servers cache the authoritative name servers? For how long?

When I specify the nameserver for a domain in the registrar console I use the nameserver name. Let’s say I change the ip of the nameserver. How long would that change take to propagate?

Categories
Mastering Development System & Network

Why directories mounted with autofs are not visible in filesystem, but are accessible once full path is provided?

This is my first nfs / autofs configuration, so I probably configured something wrong. When I navigate to directory, which I added to /etc/auto.master I can’t see any mount points, but when I issue cd with full path to expected mount point, than it tunes out, that I can access it. I think, that outputs […]

Categories
Mastering Development System & Network

using a dynamic dns as a name server

I’m playing with hosting my own website on a residential internet connection. I have a dynamic ip assigned but the isp also gives me a dynamic dns domain name, something like xxx.go.ro . I bought a domain name from a registrar and i want to host my own dns server and configure the nameserver of […]

Categories
Mastering Development System & Network

http/1 and http/2 parallel delivery using nginx

Is it possible to have both http/1 and http/2 enabled for a vhost in nginx? The idea is to broaden the supported browsers by serving http/2 if supported, and, if not, fall back to http/1.

Categories
Mastering Development System & Network

How to make .NET secure sockets default to TLS 1.2 rather than TLS 1.0

Does anyone know how to force an application using .NET 4.7 to use TLS 1.2 for a secure https request? I know the client supports TLS 1.2, as I can access the destination https URL fine with Chrome. But the .NET app, using a Microsoft library for talking to an Azure notification hub, is negotiating […]

Categories
Mastering Development System & Network

ZFS slow scrub on two HDDs

The pool consist of two HDDs (WD Red 3 TB, 5200 RPM?, max transfer rate 147 MB/s & Verbatim (Toshiba) 3 TB, 7200 RPM) in raidz1-0 configuration. It has 2.25 TB of data, duplicated to two disks so the total amount is 4.5 TB. When I created the pool I did not specify an ashift […]