Category: Knowledgebase

Linux, Windows, Virtualization based technical articles, reviews, and How-TOs.

How Anisble Manage Configuration Files

This article will discuss, where the Ansible configuration files are located and how Ansible selects them and how we can edit default settings. Configuring Ansible: The Ansible behavior can be customized by modifying settings in the Ansible configuration files. Ansible chooses its configuration file from one of many locations on the control node.  /etc/ansible/ansible.cfg This …

Read more

How to configure a bonding device in a Linux server

Multiple bonding modes in a Linux operating system are given below: balance-alb (fault tolerance and load balancing) balance-tlb (fault tolerance and load balancing) active-backup (fault tolerance) broadcast (fault tolerance) balance-rr (fault tolerance and load balancing) 802.3ad (fault tolerance and load balancing) balance-xor (fault tolerance and load balancing) We will use Network Manager CLI to add …

Read more

Kickstart fails to form boot partition [Not enough space in filesystems for the current software selection]

The kickstart automatic installation of the Linux operating system fails but the normal install is successful. To resolve this issue follow the steps given below: Add clearpart --all --drives=${devname} --initlabel in kickstart disk section. This will delete partition table of disk. If the above option does not resolve the issue add zerombr option above clearpart …

Read more

How to enable audit for file on nfs server?

Add -w /NFS-MOUNT/ -p wa -k NFS-MOUNT line at the end of file /etc/audit/audit.rules [root@COMPUTE ~]# cat /etc/audit/audit.rules ## This file is automatically generated from /etc/audit/rules.d -D -b 8192 -f 1 -w /NFS-MOUNT/ -p wa -k NFS-MOUNT Execute the following command to restart auditd service service auditd restart

Read more

SELinux prevents /usr/lib/cups/daemon/cups-lpd from read access on the sock_file cups.sock in Linux server

In spite of /usr/lib/cups/daemon/cups-lpd denial to read access sock_file cups.sock, cups-lpd will successfully migrate print jobs received via LPD to the local CUPS server. You can either ignore this issue or create a custom SELinux policy module. The steps to create a custom SELinux policy module are listed below: yum -y install setools-console yum-utils policycoreutils-devel …

Read more

IPv6 communication do not occur while interface is in firewalld drop zone

IPv6 requires ICMPv6 neighbour solicitation and neighbour advertisement packets to create IPv6 connectivity. These packets are used to resolve IPv6 addresses to link-layer (ethernet). Add new icmptypes for neighbour solicitation and neighbour advertisement firewall-cmd --permanent --new-icmptype=neighbour-solicitation firewall-cmd --permanent --new-icmptype=neighbour-advertisement Remove destination IPv4 firewall-cmd --permanent --icmptype=neighbour-solicitation --remove-destination=ipv4 firewall-cmd --permanent --icmptype=neighbour-advertisement --remove-destination=ipv4 Attach icmptypes to the –zone=drop …

Read more

How to copy an instance between two Openstack environments

Turn off the instance, and then using the nova image-create command, create a snapshot of the nova instance. openstack server list openstack server image create server2 --name server2-snapshot After the snapshot is created, it will be visible at a glance. Confirm snapshot in a glance with; openstack image list Download snapshot image openstack image save …

Read more

How to clear ceilometer in OpenStack

To clean up old ceilometer data in OpenStack, perform the following steps: First of all, stop the Telemetry service. systemctl stop openstack-ceilometer-collector openstack-ceilometer-notification openstack-gnocchi-metricd openstack-gnocchi-statsd openstack-aodh-evaluator openstack-aodh-listener openstack-aodh-notifier openstack-ceilometer-central Stop MongoDB service by entering the following on shell prompt. systemctl stop mongod Delete all files in /var/lib/mongodb and then restart MongoDB. cd /var/lib/mongodb rm -r …

Read more