Configuring LVM Volumes in a Cluster
Configuring LVM Volumes in a Cluster HA-LVM Volumes RHEL 7.8 - lvm2-2.02.186-7.el7.x86_64 # Enable HA-LVM.lvmconf --enable-halvm --services --startstopservicessystemctl mask lvm2-lvmetad.socket # A known issue, starts on boot even after it's disabled.# Configure a volume_list that only contains local volume groups, like volume_list = [ "rhel" ]vim /etc/lvm/lvm.conf# Rebuild initramfs.dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)reboot# Create the HA-LVM resources.pcs resource...
Overview of Pacemaker Corosync Cluster
Overview of Pacemaker Corosync Cluster STONITH Triggering Condition Under what circumstances will the cluster activate the isolation mechanism STONITH to prevent brain split? If the heartbeat network between cluster nodes fails, to prevent nodes from competing for cluster resources, the node with fewer votes will be STONITH. If a certain node fails and the cluster resources cannot be released normally, in order to forcibly release the cluster resources, this failed node will be STONITH. ...
Using lsof to Restore MySQL Deleted Data Files
Using lsof to Restore MySQL Deleted Data Files MySQL 8.0.36 - RHEL 8.10 If you accidentally delete files, DO NOT RESTART OR SHUTDOWN the server. The MySQL database info: mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || mysql || performance_schema || sys || zabbix |+--------------------+5 rows in set (0.00 sec)mysql> SHOW VARIABLES LIKE 'datadir';+---------------+-----------------+| ...
p14503359_193000DBRU_Linux-x86-64
p14503359_193000DBRU_Linux-x86-64 Oracle Database 19.3.0.0.0 - RHEL 8.10 Unzipping the Patch. ~]# unzip -d /soft /soft/SCN_p14503359_193000DBRU_Linux-x86-64.zip~]# chown -R oracle:oinstall /soft/14503359 See the README.txt file prerequisites before install the patch. For a Non-RAC environment, shut down all databases and listeners. ~]$ lsnrctl stop LI_ORCL~]$ sqlplus / as sysdbaSQL> shutdown immediate Install the Opatch for Non-RAC Environments (Standalone Databases). ~]$ cd /soft/14503...
Installing Zabbix 7.4 on RHEL 8
Installing Zabbix 7.4 on RHEL 8 Zabbix 7.4 Agent 2 - RHEL 8.10 Install Zabbix. # a. Install Zabbix repositoryrpm -Uvh https://repo.zabbix.com/zabbix/7.4/release/rhel/8/noarch/zabbix-release-latest-7.4.el8.noarch.rpmdnf clean all# b. Switch DNF module version for PHPdnf module switch-to php:8.2# c. Install Zabbix server, frontend, agent2dnf install zabbix-server-mysql zabbix-web-mysql zabbix-nginx-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent2# d. Install Zabbix agent 2 plugins...
Prevent Human Error on Linux
Prevent Human Error on Linux Put the following content into /etc/profile.d/PHE_function.sh. cat > /etc/profile.d/PHE_function.sh << "EOF"function rm { echo "" echo "Your current host is : $(hostname)" echo "Your current directory is : $PWD" echo "You are abount to do the following: $(/usr/bin/which rm) $@" echo "Are you sure (enter HOSTNAME to proceed)?" read sure if [ $sure == "$(uname -n)" ]; then $(/usr/bin/which rm) "$@" else echo "Cancelled." ...
DellEMC PowerVault ME4 Service Manual
DellEMC PowerVault ME4 Service Manual PowerVault ME4084 Documentation ・ powervault-me4-ag.pdf | ・ powervault-me4-cli.pdf | ・ powervault-me4-om.pdf | ・ powervault-me4-om_zh.pdf | Replacement Hard Drive ・ PowerVault_4084 Replacement-Replacing a DDIC in a 5U enclosure.pdf | ・ PowerVault_4084-5U_DDIC.pdf |
Priority of shell environment configuration file on linux
Priority of shell environment configuration file on linux Interactive: As the term implies: Interactive means that the commands are run with user-interaction from keyboard. E.g. the shell can prompt the user to enter input. Non-interactive: the shell is probably run from an automated process so it can't assume it can request input or that someone will see the output. E.g., maybe it is best to write output to a log file. Login: Means that the shell is run as part of the login of the user to t...
Huawei OceanStor 5300 V5 Service Manual
Huawei OceanStor 5300 V5 Service Manual controller A and controller B are 192.168.128.101 and 192.168.128.102 System Configuration Restore the system to factory settings. WARNING: You have accessed the system.You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. System Name : Huawei.Storage Health Status : Normal Running Status : Normal Total Capacity : 42.714...
Using Logrotate to Manage Oracle Database Alert and Listener Log Files
Using Logrotate to Manage Oracle Database Alert and Listener Log Files As root, manually create a configuration file /etc/logrotate.d/oracle-database as below: # alert log/u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.log/u01/app/oracle/diag/rdbms/coco/coco/trace/alert_coco.log { daily rotate 7 compress copytruncate delaycompress create 0640 oracle oinstall notifempty missingok}# listener log/u01/app/oracle/diag/tnslsnr/oracle19c/li_orcl/trace/li_orcl.log/u01/a...














