Category Archives: DataCenter

#Jboss: Data source connection optimizations

By | June 21, 2023

In a high load system deployed on Jboss Application Server the following optimizations for data source pool resources may be needed. 1. Change the minimum and maximum pool size of a data source (MyDS). This will ensure that we always have a minimum number of allocated connections and also we set a threshold to the… Read More »

#windows #powershell how to kill zombie Edge session

By | October 31, 2022

Often times I find trying to start Edge on an old data-center jump station and I just click and nothing happens. This is the direct result of an Edge process that went zombie. A quick way to kill an Edge session that is acting as a zombie and will not allow you to start a… Read More »

#Linux #Fedora #Java defaults and jasper reports compile issues

By | September 28, 2022

A common mistake is to set the alternatives just for java sdk. This can lead to issues when several java versions are present. Jasper Reports a well knows Java library used to generate ad-hoc pdf reports compiles the report templates and the temporary classes using the default system javac not the javac of the java… Read More »

Bash one liners: Detailed information about your battery and power under Linux command line

By | August 16, 2022

The magic command is upower, a command that gives you detailed information about the power devices in your laptop/desktop. Enumerate all the power devices Check the details of a power device (battery in this case)

#RabbitMQ crashing at restart with “badmatch, error, not_a_dets_file”

By | May 10, 2022

RabbitMQ is a nice message queue server used in lot of networking monitoring appliances and other services. It has a very small footprint and can be integrated with lots of languages and resources. All works well until you get the famous recovery log corrupted error. Usually the issue is caused by disk full or in… Read More »

How to fix a failing disk in #Linux using #smartctl and #hdparm

By | February 14, 2022

We all hate that time when we start to have a disk failure. In one of my RAID10 one disk was at some point in the failed status. That should be an immediate concern for you. A 4 disks RAID10 setup can deal with 1 disk failure and even with 2 disk failures if they… Read More »

How to make #JBoss 7.4+ a cluster ready service using #bash scripts and #API calls

By | May 23, 2022

JBoss applications server is a very nice and powerful Java application server from RedHat. To make it really useful in a modern architecture of a complex software product we must prepare JBoss to be very easily deployed in a cluster environment. The simplest way to do it is to write some basic Bash scripts that… Read More »

How to make #ActiveMq a cluster ready service using #bash scripts and #API calls

By | May 23, 2022

ActiveMQ is a very nice and powerful open source, multi-protocol, Java-based message broker. It is a very popular software used to bridge between loose components of an environment that consists of several services. To make it really useful in a modern architecture of a complex software product we must prepare ActiveMQ to be very easily… Read More »

Simple #backup using #cron #tar and #LTFS on a #LTO tape drive

By | February 21, 2022

We all know back-up is important and a must have in case of critical systems. Making a backup on tape is one of the best industry standards that is still unmatched. In the following I am presenting a simple way to make tape back-ups using tar and LTFS on LTO5 and up tapes. Why LTFS… Read More »

How to run with multiple PHP versions on Fedora 35 using Apache and PHP-FPM

By | August 17, 2023

I am self hosting my own services on my home server and sometimes issues occur due to incompatible prerequisites and because I try to always use the latest version of everything. After updating from Fedora 34 to Fedora 35 again I hit one issue I already had: PHP prerequisites. The issue after update was caused… Read More »