Installing QEMU-KVM on Linux
Installing QEMU-KVM on Linux Check cpu virtualization was enabled. grep -E 'vmx|svm' /proc/cpuinfolscpu | grep Virtualization Install packages. CentOS 6CentOS 7RHEL 8/9yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-clientchkconfig libvirtd onservice libvirtd startiptables -I INPUT -p tcp --dport 49152:49215 -j ACCEPTiptables -I INPUT -p tcp --dport 16509 -j ACCEPTyum -y install qemu-kvm libvirt virt-install libvirt-python virt-manager virt-instal...
Installing QEMU-KVM Pacemaker Corosync Cluster on RHEL 8
Installing QEMU-KVM Pacemaker Corosync Cluster on RHEL 8 RHEL 8.7 pacemaker-2.1.7-5.2.el8_10.x86_64 corosync-3.1.8-1.el8.x86_64 Object Value Node kvm01, kvm02 Node Public IP 192.168.3.211, 192.168.3.212 Node Private IP 100.100.100.211, 100.100.100.212 Cluster Name vmcluster BusType iSCSI, 192.168.3.112 Shared Disk 1 20GB, data Shared Disk 2 5GB, data Shared Disk 3 1GB, fence_scsi Setting Media ISO YUM Repository ・ Configuring Yum Repositories Enable High Availabil...
Configuring LVM Volumes in a Cluster on RHEL 7
Configuring LVM Volumes in a Cluster on RHEL 7 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.pc...
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...














