Category Archives: Linux

Fedora Linux: Recover a corrupted system with a RAID1 boot partition with a lvm RAID1 root partition

By | February 19, 2016

There are times when even experimented sysadmins do stupid things. One of that moments happened to me when I tried some speed tests on my ssd RAID1. The result was not so satisfactory. Corrupted /boot partition with missing files and orphan inodes. To make things more complicated I have the following constraints that make this… Read More »

A+ Security for WordPress Blog – HTTP Strict Transport Security

By | February 9, 2017

Keeping the installation of your own WordPress blog highly secure is very important. In today’s fast pace discovery of security vulnerabilities you must keep an eye on all the new security threats and update as soon as possible the security to try to cover the new threat. An invaluable tool is the security test from… Read More »

RedHat/Fedora Linux NIC bonding

By | February 9, 2017

Red Hat Enterprise Linux allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. The behaviour of the bonded… Read More »

#DRBD based disk replication of a production cluster to a remote site cluster on RHEL 6

By | May 26, 2017

1 General Considerations Our example enterprise applications run on a Linux Cluster with a shared cluster storage resource. Having this HA setup ensures that we have a high rate of service availability on the production site. To ensure that the disruption time in service of our enterprise application is minimal as possible the best solution… Read More »

iSCSI SAN resources configuration as shared disks in a cluster environment, replicated also with DRBD

By | April 24, 2017

The following configuration was created to use the iSCSI exported resources from a NetApp storage device as shared disk resources in a Linux cluster environment. The same resources are also replicated to a remote cluster using DRBD disk replication. The production environment contains four exported SAN resources which will be used as shared resources in… Read More »

Manipulate PDFs with gostscript

By | June 28, 2015

Basic Usage Convert PostScript to PDF: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fileout.pdf filein.ps Merge/combine PDF and/or PostScript files: gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=fileout.pdf \ filein.ps filein2.pdf Extract a page from a PostScript or a PDF document: gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dFirstPage=3 -dLastPage=3 \ -sOutputFile=fileout.pdf filein.ps Additional Options PDF optimization level selection… Read More »