Posts

Showing posts from February, 2019

Puppet

Puppet :          It is a configuration management tool.          Server-client architecture.          In Puppet we need a puppet server and rest all systems are called as Puppet clients.                  Two Editions :          Open Source and Enterprise.                 It is developed by Puppet Labs.                  In puppet server we will write down the configurations and then that will be applied on clients.          This configuration is called a module.                  In puppet,  module  apply to which system is called Manifests.          Puppet is written in Ruby.          Puppet uses its own specific language called Domain Specific Language.                  On puppet server we will install three components.                  1. Puppet server          2. Puppet (agent software)          3. Factor.                  Factor is a program that  runs on the system, which provide the complete platform and networking of the system.          On all the clients we will install two

Linux Fundamentals

Single partition - good idea - create - atleast - separate for boot and swap. Good idea to put boot on separate partition It is better to use GPT instead of MBR especially you are working with Large Drives. Don't write directly to the block device files, bad things can happen. /dev/sda /dev/sdb. It doesn't understand partitions exist on this device. Device files - accessed via file interfaces. Character files - teminal Filesystems :         XFS is a Journaled filesystem that uses inodes support direct I/O and has a 64-bit address space.     it also supports delayed allocations, it's really worth using for big data database, as it is really scalable.         ext4 we can customize the inode size between 128 to 4096 bytes.     mke2fs -t ext4 /dev/sdc1     if you want to specify the size of inode then use     mke2fs -t ext4 -I 4096 /dev/sdc1         Note : The defaults of mke2fs command will be defined in /etc/mke2fs.conf file.         ext3 has journal