RHEL7
How to do tape device discovery for NetBackup device configuration from RHEL Linux command line
How-To Steps: Scan and discover SCSI devices in Linux cli: scsi-rescan OR: ls -l /sys/class/scsi_host/echo “- – -” > /sys/class/scsi_host/host0/scanecho “- – -” > /sys/class/scsi_host/host1/scanecho “- – -” > /sys/class/scsi_host/host2/scanecho “- – -” > /sys/class/scsi_host/host3/scanecho “- – -” > /sys/class/scsi_host/host4/scanecho “- – -” > /sys/class/scsi_host/host5/scanecho “- – -” > /sys/class/scsi_host/host6/scan The commands to scan and … Read more
Recovering rebooted or crashed GlusterFS
checking glusterfs configurations: [root@glustertest1 ~]# gluster volume info Volume Name: test_volType: DisperseVolume ID: b23f6c11-8dfe-4d51-919d-35a30dd75100Status: StoppedSnapshot Count: 0Number of Bricks: 1 x (4 + 2) = 6Transport-type: tcpBricks:Brick1: glustertest1:/glusterfs/brick1Brick2: glustertest2:/glusterfs/brick1Brick3: glustertest3:/glusterfs/brick1Brick4: glustertest4:/glusterfs/brick1Brick5: glustertest5:/glusterfs/brick1Brick6: glustertest6:/glusterfs/brick1Options Reconfigured:transport.address-family: inetnfs.disable: on[root@glustertest1 ~]# [root@glustertest1 ~]# gluster volume statusVolume test_vol is not started if its not started: mount glusterFS: [root@glustertest1 ~]# mount … Read more
Rename a GlusterFS Peer in RHEL
Here are the steps:FYI, its not required to detach the peer. WARNING: Before proceed be sure of backup your data, and proceed with caution. Do not execute any command without understanding what it do exactly, be sure that you are in the correct path, make the correct names replacements in each command if apply (indicated … Read more
Create a Custom or Disable DST(daylight-saving time) in RHEL/CentOS Linux
A few weeks ago, it is announced (by The Energy and Natural Resources Ministry of Iran) that DST will be permanent and GMT+3:30(IRST) will be used forever in the country. From 2023, Iran will not set their clocks forward for Daylight Saving Time (DST) but remain on standard time permanently. Based on following manual, we … Read more
Package Management in RHEL/CentOS 7,8 Linux
RPM is a command-line utility for managing packages on Unix/Linux systems. It allows you to install, query, update, verify and remove RPM packages.It is the default package manager for Red Hat based systems and only works with the .rpm format. You can install such packages using the rpm or the yum command.The package management tool … Read more
Setup & Setting up GlusterFS Volumes in RHEL
A volume is a logical collection of bricks where each brick is an export directory on a server in the trusted storage pool. To create a new volume in your storage environment, specify the bricks that comprise the volume. After you have created a new volume, you must start it before attempting to mount it. … Read more
CIS Security Benchmark for Red Hat Enterprise Linux
CIS Benchmarks are the only consensus-based, best-practice security configuration guides both developed and accepted by government, business, industry, and academia. Its an objective, consensus-driven security guideline for the Red Hat Enterprise Linux Operating Systems. CIS_Red_Hat_Enterprise_Linux_8_Benchmark_v2.0.0.pdf https://mega.nz/file/fR5TjDBS#AwdrCAqC_ojX10SMXVlraKRPAD5pfPgaiG88WYi0OO8 CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v3.1.1.pdf https://mega.nz/file/OBhWVYCJ#hn_iFyrxuTevh7AZ7fjEk_s8OlS2iKQbKn7LAwLU9IM