RSSAmplifier

Blog

Costin Ștefan

Recent content on Costin Ștefan

costinstefan.roRSS feed ↗43 posts

Latest posts

Website refresh: new theme, new hosting, same blog

If you’ve visited the site before, you might notice things look a bit different. I did some spring cleaning. New theme, new hosting, and a couple of smaller tweaks under the hood. 
 Here’s what changed and why. 
 New theme 
 The previous theme was fine, but it was starting to feel stale. Instead of spending hours browsing Hugo themes and then customizing one, I’ve…

I joined 512kb.club

My website is now part of 512kb.club - a curated list of sites whose total size is under 512KB.
That’s it. Half a megabyte. Even less, actually, because my blog was reported at 410K. 
 In 2026, when even basic websites are rebuilt as React applications, that almost feels rebellious.

BGP core memory

So recently I had to play with BGP after a very long time. I have a router that connects to external via an eBGP session. It gets default route from there and it advertises the originating prefixes. All worked great until I wanted to advertise a new /24 subnet.

How to improve Wordpress performance

In this one I will show you how I improved the performance of a WordPress site using CloudFlare Caching and PHP FPM pool settings. 
 But a bit of context. I have 2 WP websites running on the same VPS behind nginx, with 2 different conf file. Pretty standard deployment so far. On this VPS I have root access, so I’m able to play a bit more with other stuff, not just standard cPanel…

How to empty a file in Microsoft Windows without deleting it


 As part of my freelancing business, I recently had to fix a space issue on a Windows machine. And the issue was caused by a very large text file. 
 I know the Linux way of emptying a file, which is to redirect STDIN to the file.

RedHat Openshift, container IDs and cgroups


 So I had a really interesting issue recently where one of our app devs was complaining that he can’t get the container ID from within the container in a new environment. 
 For context, there’s a setup with 3 identical environments on the customer side and a local lab that was recently replaced. I’ve deployed a new Openshift cluster (version 4.14. will become important…

Microsoft announced Think Deeper, free access to GPT o1 model

So recently Microsoft announced they’re offering ChatGPT o1 model free to their Copilot program. So I’ve decided to give it a go and see how it goes. 
 First I’ve connected to https://copilot.microsoft.com with both a personal account and a work account. 
 I’ve tested the announcement of this by asking it directly:

How to analyze and fix a pod scheduling issue due to Insufficient Memory on Kubernetes or Openshift.

So it may happen that you have a Kubernetes or Openshift deployment and a pod does not want to start and remains in Pending state. &#xA; First, let&rsquo;s check the events that are causing this: &#xA; [root@server ~]# k get events -n <namespace>&#xA;LAST SEEN TYPE REASON OBJECT MESSAGE&#xA;31m Warning FailedScheduling <namespace>/<pod_name> 0/13 nodes are available: 10 Insufficient memory, 3…

How to get audio notification from CLI when server or service is reachable

If you&rsquo;re working on fixing an issue on a server and want to be notified as soon as this is reachable, you can run an audio alert. Below I have a list of variations of the Bell Character . &#xA; &#xA; Windows / PowerShell: &#xA; &#xA; while ($true) {if (Test-Connection -quiet 1.1.1.1) { [console]::beep() }}&#xA; &#xA; Windows / cmd: &#xA; &#xA; for /L %n in () do @ping -n 1 1.1.1.1 && echo…

How to configure Roundcubemail for iCloud custom domain email address

So I&rsquo;ve tried to configure a self-hosted Roundcube container and set up an iCloud account with a custom domain address. &#xA; Something like what this guy wanted to do a couple of years ago. Unfortunately, there was no tutorial available on the internet, so here I am creating one for you :)

How to automate testing webapps

For today&rsquo;s post I will walk you through the process of setting up a web-app testing environment automatically using ansible. &#xA; I will split this into 2 parts.&#xA;First part will focus on creating the automation needed to deploy the containers on proxmox.&#xA;Second part is about creating the tester tool solution.

How to get display monitor serial number from PowerShell

This is a quick one, I had to get the SN of my external screens recently and I thought I should share the powershell command I used for this task. This works only on your local machine, for AD nodes there are other options out there on the internet .

PostgreSQL performance test script

In case you want to run a quick performance test (in simple terms of access to DB) on a PostgreSQL server, this can be done quickly through a python module called psycopg2. &#xA; This is the python script I&rsquo;ve used: &#xA; 1 #!/usr/bin/python3 &#xA; 2 import psycopg2 &#xA; 3 from psycopg2 import Error &#xA; 4 import time &#xA; 5 &#xA; 6 def create_connection (): &#xA; 7 ''' create a database…

How to fix &#34;Could not connect to one or more vCenter Server&#34;

Recently I had to fix a vCenter Server that was stopped working. The webpage displayed the following error, and the automated backup jobs stopped working. &#xA; Could not connect to one or more vCenter Server systems: https://$VCENTER_FQDN:443/sdk &#xA; The version is rather old and end of life (6.7), so VMware support was out of the question. Which means I had to do it all by myself.…

How to move artefacts in a Jfrog repository

This one will be a quick one. Recently I had to move several hundred artefacts from a Jfrog repo folder up one level. Easy peasy, right? But the problem was that manual work from GUI would take forever and my work time is limited so I had to find a different way.

How to automate your blog posts

Since I&rsquo;ve transformed this website in a Blogging as a Service (BaaS) thing with the help of Github Actions and Github Pages my life was much easier. &#xA; Let me help you do the same. &#xA; First thing you&rsquo;ll need is a domain. For this domain you will need a NS, and for this you can use CloudFlare for free. They offer a great service, btw.

How to restore a Kubernetes cluster after IP change

Recently I had to fix a kubernetes cluster which had its IP addresses changed. The team that changed the IP address on the machines also replaced the hostname in /etc/hosts .&#xA;However, this is not enough. In order to restore the cluster, you also have to change the IP address in kubernetes cluster manifest files.

New year, new changes

After a period on which I focused more on work, I&rsquo;ve decided I need to change a bit the blog. 9 months ago I&rsquo;ve migrated my blog from DigitalOcean to Github Pages. DigitalOcean was great for me when I started my first droplet, but I wanted to experiment with other technologies. So I&rsquo;ve migrated my blog to Github Pages and my email to Apple Mail.

About me

My name is Costin Ștefan and this is my blog. &#xA; I&rsquo;m a Technical consultant with a broad knowledge of network architecture, virtualization, on-prem physical data centers. I&rsquo;ve been a Technical Lead in many projects in the DevOps area. &#xA; Passionate and curious individual with an affinity for exploring new technologies to drive innovative solutions and enhance efficiency.

How to change NTP server on HP 3PAR 7200c

Recently I had to add more NTP servers to a HP 3PAR 7200c storage. Here&rsquo;s how I did it: &#xA; 3PAR_hostname cli% setnet ntp -add 10.90.221.13&#xA;NTP server successfully updated.&#xA; Show current NTP server(s): &#xA; 3PAR_hostname cli% shownet&#xA;IP Address Netmask/PrefixLen Nodes Active Speed Duplex AutoNeg Status&#xA;10.23.155.8 255.255.255.192 01 1 1000 Full Yes Active&#xA;&#xA;Default…

How to bypass Chrome error &#34;Your connection is not private&#34;

If you&rsquo;re an IT professional that has to deal with old systems that have self-signed certificates you most probably had to add exceptions to your browser many times. Maybe even import those self-signed certificates locally. &#xA; Unfortunately when you&rsquo;re working on a customer&rsquo;s jump host this is not an option. And starting with more recent version of Chrome this is not possible…

How to quickly enable a low-resource webserver

Have you ever wanted to just start a Webserver in a second, for a quick and dirty task but didn&rsquo;t want to install a full LAMP/LEMP stack?&#xA;This is possible with the help of a python module and here it is in action:

How to create a SSL profile when you don&#39;t know the key passphrase

On F5 BigIP LTM you can create a SSL profile even if you don&rsquo;t know the private key passphrase &#xA; This workaround can be applied only if you&rsquo;ve used the private key on the same F5 BigIP node already. In my case, I had to reuse the same cert+key from a server-ssl profile on a client-ssl profile.&#xA;And because business was in a hurry and they didn&rsquo;t have the private key…

How to fix do-agent exited with a return code 100

So recently I&rsquo;ve encountered the error in the subject. This came after 2 major changes (OS upgrade and PHP upgrade). So definitely it had to do with one of them. My money were on the first one.&#xA;I&rsquo;ve looked around on the internet and the only thing I could see was this old article that had no solution:…

How to CTRL&#43;ALT&#43;DEL in RDP

ctrl+alt+end

How to fix Microsoft Lync/Outlook has stopped working

Recently I had this issue that ate a big part of my day. Here&rsquo;s how I fixed it. &#xA; Firstly, some background info &#xA; I&rsquo;m using a Win 10 (Version 10.0.14393) OS with Office 2013 [15.0.4569.1503]. The previous day I&rsquo;ve been prompted to restart my laptop to complete the new updates. I&rsquo;ve left in a hurry and just closed the lid. The laptop didn&rsquo;t close and I had to…

Networking training materials

I&rsquo;ve stumbled upon this great list of materials you can use to get started on IT, and Networking in particular. I have to admit that some are new for me, even after being in this field for over 12 years.

Udemy offline

Here&rsquo;s another cool and helpful thing I just discovered that might help you stranger of the internet. &#xA; Recently I joined a class on Udemy.com, and because I have other tasks at the moment and can&rsquo;t dedicate 100% to it, I wanted to download the videos so I started looking for ways how to do it.&#xA;The official answer is that they don&rsquo;t have anything against it, but it…

Quagga

After having some interviews where I&rsquo;ve been asked about routing on linux solutions, I&rsquo;ve decided to playaround with Quagga.&#xA;As always, you can find all the info already on the internet. And in my case Brian Kletter had all the necessary info to setup the environment.&#xA;Here&rsquo;s the link on how to setup a linux server with quagga software. And here the initial setup for…

How to create text files on Cisco routers

In case you will need it, here&rsquo;s a thing that helped me out once. In case you want to append some config lines that you have stored in a file and if you can&rsquo;t copy it through SFTP, you can make it locally.&#xA;To do this you need to start tclsh and create the file puts [open "flash:filename" w+] { now don&rsquo;t press enter but just paste in your config lines and then } and ENTER.…

Password recovery procedure on Cisco Catalyst 3500-XL

Just got a used Catalyst 3500-XL switch and don&rsquo;t have credentials? Did you forget your auth credentials or you just want to have fun? &#xA; Accessing a Cisco switch when you don&rsquo;t have the right credentials is hard but not impossible. &#xA; If you have issues connecting the console cable, try to install the drivers first.

Cisco guest shell

So, it seems that finally Cisco decided to introduce a shell for their routers. I know this already exists for their FirePower plaform, but from my knowledge, they just made it available for routers. &#xA; Enabling the shell &#xA; To enable the feature we simply have to enable iox and then we can enter linux land with guestshell

Life tip

I&rsquo;ve recently stumbled upon a great course on coursera which can teach you how to learn in today&rsquo;s world. With all the distractions that interrupts us everyday.&#xA;I wish I&rsquo;d find it sooner.

How to configure Cisco devices remotely

So, let&rsquo;s assume you are a network engineer that has to configure something on a new Cisco switch/router. You don&rsquo;t have console access and just connect to the box via ssh. You either have a typo in your commands or don&rsquo;t copy the whole line of your pre-tested commands and after you press enter BANG, you&rsquo;ve lost connection and start sweating. You know the feeling, right? Me…

New website - powered by Jekyll

I&rsquo;ve recently moved my website from AnchorCMS to Jekyll . I didn&rsquo;t think it was necessary to have a WordPress solution only for a personal blog that has less than 10 visits/month so I went for a static website that is not tied to mysql and php. With this change I&rsquo;ve also switched from Apache2 to Nginx. I hope that with this change my tiny VPS is not going to need much resources…

About

Infrastructure has layers, and I&rsquo;ve worked in most of them. Over 15+ years I&rsquo;ve gone from building and operating networks at ISP scale to designing Kubernetes platforms, with plenty of virtualization, storage, and automation work in between. That end-to-end perspective shapes how I approach problems, understanding what&rsquo;s happening at the bottom makes you a better engineer at the…

Archives

Automated deployments

this is just a placeholder for automated deployments

Consultancy

this is just a placeholder for consultancy page

Contact

Whether you are looking for IT consultancy, have a project in mind, want to discuss Kubernetes, DevOps, or networking challenges, or simply want to say hi, drop me a message and I will get back to you. &#xA; &#xA; &#xA; Name &#xA; &#xA; &#xA; &#xA; Email &#xA; &#xA; &#xA; &#xA; Message &#xA; &#xA; &#xA; &#xA; Send message &#xA;

Project implementation

this is just a placeholder for project implementation

Search

Technical screening

this is just a placeholder for technical screening