Posts

Showing posts with the label Linux Server Topic

step by step extend volume size in openstack

Image
Openstack Extend Volume Step 1: View the current  volume groups by “pvs” command pvs /dev/loop0 is cinder-volumes lvm2, its 20 GB volume   Step 2: Increase the capacity of the volume group by creating a new partition             cd  /var/lib/cinder dd if=/dev/zero of=cinder-volumes1 bs=1 count=0 seek=50G Here: cinder-volumes = file name 50GB        = new volume size Step 3: File is associated to the loop device /dev/loop1 losetup /dev/loop1 cinder-volumes1 Step 4: Create partition using fdisk fdisk /dev/loop1 Create New Partition : Command (m for help): n Partition type:     p   primary (0 primary, 0 extended, 4 free) e   extended Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-104857599, default 2048):      #Enter Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599):  #Enter C...

step by step graylog remote source or client or host configuration

Image
Graylog Remote Source or Client or Host Configuration Step 1: Install rsyslog packages yum install rsyslog Step 2: Configure rsyslog using template : open file and add at the bottom vi /etc/rsyslog.conf ## For FQDN $PreserveFQDN on #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none                /var/log/messages # The authpriv file has restricted access. authpriv.*                                              /var/log/secure # Log all the mail messages in one p...