You may need to cut down or split a file into smaller pieces sometimes. This is very useful when you want to cut down a large iso to fit into a DVD or CD. or can also be used to transfer over a network. To split the file into smaller pieces, we can use the […]
Archives for October 2017
CentOS / RHEL 6 : How to disable Transparent Huge pages (THP)
Transparent Huge Pages (THP) are enabled by default in RHEL 6 for all applications. The kernel will always attempt to satisfy a memory allocation using hugepages. If no hugepages are available (due to non availability of physically continuous memory for example) the kernel will fall back to the regular 4KB pages. Explicit Huge Pages V/s […]
Linux OS Service ‘cpuspeed’
Service Name cpuspeed Description This executes a daemon which dynamically adjusts CPU speed and voltage based on demand for CPU and automatically detects available CPU speeds. This is necessary only for Note/Desktop PC, but not for server. This daemon monitors the system’s idle percentage and reduces or raises the CPUs’ clock speeds and voltages accordingly […]
How to disable auto completion (tab completion) in bash shell
Disabling auto-complete feature globally for all the users With bash shell you would usually have the auto completion feature turned on by default. To disable the auto complete feature of the Bash shell for all the users of the system, you can add the following parameter in the file /etc/inputrc: # vi /etc/inputrc set disable-completion […]
VCS (Infoscale Availability) : How to online and offline resources
Resource online basics Resources are brought online automatically when the service group is brought online. They can also be brought online manually after the maintenance task according to the order defined in the dependency tree. The resource agent runs the online entry point which in turn runs the specific startup operations required to bring the […]
VCS (Infoscale Availability) – Difference Between Frozen and TFrozen attributes
These service group attributes are used to indicate that the service group is frozen due to an administrative command. When a service group is frozen, all agent online and offline actions are disabled. Difference between Frozen or TFrozen attributes – If the service group is temporarily frozen using the hagrp –freeze group command, the TFrozen […]
VCS (Infoscale Availability) : How to freeze a Service Group
Why freeze the service group When you freeze the service group in VCS, it will continue to monitor the resources in the cluster. But does not allow service group or the resources to be brought online or offline. Failover is also disabled during the freeze period of the service group. The use case for the […]
VCS (Infoscale Availability) : How to switch a Service Group
You can switch a service group between systems to test failover. This also comes handy also during a maintenance activity to free up a system in the cluster. In order to ensure that failover can occur as expected in the event of a fault, test the failover process by switching the service group between systems […]
VCS (Infoscale Availability) : How to online and offline a Service Group
What happens when you online a SG – When a service group is brought online, all the resources in that service group are brought online one by one starting from the child resource. – Depending on the dependencies defined, when all the resources are brought up, the service group becomes online. – In order to […]
How to Setup SSH keys for “passwordless” ssh login in Linux
The post list out the steps to setup ssh keys to configure passwordless ssh in Linux. ssh-keygen is the command used to generate the public and private keys if you have not done it already. With ssh-copy-id command, we can copy the keys to the destination server to which we want to have a passwordless […]