RH358 accessing block based networked storage - automated configuration of iSCSI initiator

RH358 accessing block based networked storage – automated configuration of iSCSI initiator This section describes how to use Ansible to connect iSCSI storage and management. 1. Use Ansible to connect iSCSI Targets Use ansible open_ The iSCSI module discovers and logs in to the remote iSCSI target. This module relies on the iSC ...

Added by OLG on Sun, 23 Jan 2022 11:28:56 +0200

Consistency hash of Dubbo load balancing policy

Consistency hash of Dubbo load balancing policy 1 load balancing Here is a quote from dubbo's official website—— LoadBalance means load balancing in Chinese. It is responsible for "sharing" network requests or other forms of load to different machines. Avoid excessive pressure on some servers in the cluster while others ...

Added by egg82 on Sat, 22 Jan 2022 16:44:20 +0200

[MySQL] how do you understand lnnoDB storage engine?

InnoDB logical storage unit is mainly divided into table space, segment, area and page 1. Tablespace All data of InnoDB is stored in table space, which is divided into system table space and independent table space MySQL5. After 7, there are temporary table spaces and general table spaces 1) SYSTEM tablespace The system table space is main ...

Added by valerie19 on Sat, 22 Jan 2022 01:11:45 +0200

Zabbix 5.0 deployment and configuration

1, What is Zabbix? https://www.zabbix.com/cn/ Zabbix is an enterprise class solution that supports real-time monitoring of thousands of servers, virtual machines and network devices and collects millions of monitoring indicators. Zabbix is completely open source and free. Operation and maintenance system 2, Zabbix5 0 installatio ...

Added by whitepony6767 on Fri, 21 Jan 2022 22:59:02 +0200

Is database batch insertion so particular?

First, insert multiple pieces of data. Options: foreach loop insertSplicing sql, one executionInsert using batch function 1. foreach insertion First obtain the list, and then perform a database operation for each piece of data to insert data: @SpringBootTest @MapperScan("com.aphysia.springdemo.mapper") class SpringdemoApplicationTests { ...

Added by NathanLedet on Fri, 21 Jan 2022 18:03:40 +0200

File rights management I

File rights management I File rights management ##1, Linux user permission analysis Our linux server has strict permission levels. If the permission is too high, misoperation will increase the risk of the server. Therefore, it is very important to understand various permissions in linux system and allocate reasonable permissions to users ...

Added by dragon_sa on Fri, 21 Jan 2022 10:43:19 +0200

Squid proxy server application (traditional proxy, transparent proxy)

I Squid proxy server Squid mainly provides cache acceleration and application layer filtering control functions 1. Working mechanism of the agency Instead of the client requesting data from the website, you can hide the user's real IP address. Save the obtained Web page data (static Web elements) to the cache and send it to the client ...

Added by fusionxn1 on Fri, 21 Jan 2022 08:20:53 +0200

Tomcat multi instance and load balancing

Tomcat multi instance Install the jdk jdk must be installed before deploying tomcat, because jdk is the necessary environment for Tomcat to run. 1. # turn off the firewall   systemctl stop firewalld systemctl disable firewalld setenforce 0   2. # transfer the software package required to install Tomcat to the / opt directory apache-tomcat ...

Added by alimadzi on Thu, 20 Jan 2022 19:11:58 +0200

The k8s construction of high availability and load balancing

1. Environmental description This method is used in production environments Highly available tool: kept Load balancing: haproxy (or nginx, lvs) The versions of docker, kubedm and kubelet programs are shown in the figure below: Virtual machine: 2. Main process steps System environment configuration - kernel upgrade to above 4.19 - docker i ...

Added by traffic on Thu, 20 Jan 2022 15:28:06 +0200

Learning notes on Linux C application development -- Socket socket

Network socket Basic skills: two languages, one scripting language. Implement the function first. Discussion: problems needing attention in cross host transmission. 1. Byte order problem: large end storage: high byte at low address Small end storage: lower byte at X86 low address 0x00 00 00 05 Da 05 00 00 00 Small 00 00 05 Distinguish between ...

Added by rlalande on Thu, 20 Jan 2022 02:42:11 +0200