Think about the following situation. You need to modify the address of your internal DNS server and therefore you need to change /etc/resolv.conf on all your Linux boxes. It might be that this change will not be recognized by every service running on your Linux box. Oracle for instance is a good example where you have to restart your database after such change because Oracle loads the DNS information once the database is started. So Oracle would querry your old DNS server IP unless you restart the database.
There are several ways to find out which process requests your old DNS server. Here I will explain how to utilize auditd on Red Hat derivatives to find out short living DNS requests via UDP. Continue reading
One of the interesting features in RHEL 7 is the fact that it supports online disk re-sizing even if there is an active partitioning table on the disk. This feature is interesting in case you want to re-size your virtual disk. You can do this online for example in VMWare. If you have a LVM partition on the disk you want to resize then you need to perform the steps described in this article from Red Hat.
In order to resize online a partition which is in use please observe the following steps:
A lot of colleagues are blogging about RHEL at http://rhelblog.redhat.com/. Take your time to read some interesting posts.
Unfortunately Puppet is not able to handle the installation of Yum package groups like “Base” or “compat-libraries” and so forth. This is due to the fact that Puppet is currently not able to verify if all packages in a package group are installed after a Puppet run. Continue reading
This article describes very well above mentioned topic. Afterwards you should be able to manage sudo rules centrally in LDAP or Active Directory and access them through sssd for example. Have fun while reading.
If you configure multiple network cards in your RHEL machine with more than one gateway then you can use “policy based routing” to configure the network traffic in a way where the traffic will leave the same interface where the traffic came from.
This procedure is described in this Red Hat KCS article.
I also created a Puppet module to configure policy based routing on RHEL 6 / 7. Currently this module does not handle Bond or VLAN tagged interfaces. You can find my module here.
Satellite 6 offers the possibility to provision a host with multiple network cards, however an issue is faced when using VMWare in conjuction with Satellite 6 and you want to provision multiple network interfaces with static IP addresses.
What happens is that after the provisioning of a virtual machine is complete, multiple network cards are added, but only the primary interface (which is used for PXE / DHCP during installation) is configured correctly.
I created a workaround to get this working. I described this solution in an official Red Hat KCS article which is now verified by Red Hat Engineering and published to the public. You can find this article here.
You will find a good overview of common administrative commands in RHEL 5, 6 and 7 on the following link.
If you want to learn interesting stuff about journalctl please visit this page: link.
Scenario: You want to create a custom CentOS 7 / RHEL 7 boot CD with custom kickstart files located on the CD. Furthermore you want to perform some post installation tasks like running some Puppet manifests. In this post I describe the process based on CentOS 7.1.