Combining VRRP and floating route to configure active and standby routes
1: Experimental environment
1.1 environment:
Huawei ensp software
1.2 equipment
PC, router and switchTwo PC s in initialization state, two routers in initialization state and three switches
2, Experimental requirements
SW1 and SW2 constitute the primary and secondary routes. When one party hangs up, the data will pass through the other party. ...
Added by aufkes on Thu, 28 May 2020 18:40:38 +0300
Rendering host file written by ansible role
The hosts file is usually used when deploying a distributed cluster. We usually write in the ip address and host name. How to implement rendering when writing Ansible?Define the roles first
[root@ansible kubeadm-high-install]# ls
ansible.cfg group_vars hosts roles site-all.yml
The first file takes the default etc/ansible cfg file and remov ...
Added by dutcbhboy83 on Wed, 27 May 2020 18:20:53 +0300
HP ssacli tool use
Under the linux system, the disk is replaced, but for the HP array card, the common MegaCli, storcli and percli can not get the disk information. At this time, the special tool ssacli is needed.rpm package download address: https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/current/
View raid card information (including controller st ...
Added by flumpy on Tue, 26 May 2020 19:04:53 +0300
docker installation and use under CentOS 7
docker start stop
sudo systemctl start docker.service
sudo systemctl stop docker.service
sudo systemctl restart docker.service
sudo systemctl status docker.service
sudo systemctl enable docker
sudo docker ps -a ## <-- List existing images ##
sudo docker stop 17dd4ab4cda2 ##<-- 17dd4ab4cda2 by container id ##
sudo docker rm 17dd4ab4cda ...
Added by Phirus on Thu, 21 May 2020 17:37:51 +0300
elasticsearch 7.7 add user name and password authentication
1. First of all, I do not need to install x-pack separately when the ES version of single instance and single node is 7.7
{
"name" : "node-1",
"cluster_name" : "myes",
"cluster_uuid" : "OGiYluA_Sxynl2bXl1TcbQ",
"version" : {
"number" : "7.7.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "81 ...
Added by bimo on Mon, 18 May 2020 17:24:39 +0300
Installing Docker and Docker compose in CentOS 7
Environmental inspection
Enter root
All of the following are performed as root
sudo -i
View Linux distribution
[root@localhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7 ...
Added by ShaolinF on Thu, 07 May 2020 18:19:26 +0300
Introduction to SLS Machine Learning: Time Series Complement and Version Comparison
This time, we introduce two useful functions: time series complement function and abnormal contrast function.
1. Time Series Complement Point Function
Indicator description in the chart above
Log Event Event T0: The earliest event a log generates
Log Event Event T1: The latest event the log generates
Actual point data: There is definite data ...
Added by puritania on Mon, 20 Apr 2020 06:44:07 +0300
Bramble pie 3B + set up gogs service git service
Project homepage: https://gogs.io
Download page: https://gogs.io/docs/installation/install_from_binary
Download address: https://dl.gogs.io/0.11.91/gogs_0.11.91_raspi_armv7.tar.gz
==Note: I log in with the root account to perform all operations. If pi account is used for operation, please add sudo before all instructions==
install
gogs is ...
Added by exasp on Thu, 09 Jan 2020 12:08:55 +0200
centos7 modify yum source
Modify the default yum source of CentOS to mirrors.163.com
1. First, back up the yum source configuration file / etc/yum.repos.d/CentOS-Base.repo
[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2. Enter the folder where the yum source configuration file is located
[root@localhost ~]# ...
Added by aod on Thu, 26 Dec 2019 16:13:45 +0200
Example using crash to analyze Kdump dump kernel crash kernel
Sometimes, when the system is running, there is a sudden crash, but we have to find out the cause. Although we can solve the current problem through the temporary protection mechanism watchdog, but to find the cause of the crash, we have to rely on the special tool Kdump for kernel analysis. Although I don't understand the Linux kernel, I can f ...
Added by rivasivan on Fri, 20 Dec 2019 15:09:16 +0200