Implement LVS scheduling and high availability of lvs+keeplive

1. Briefly describe the four cluster characteristics and usage scenarios of lvs LVS has three load balancing modes, VS/NAT (nat mode), VS/DR (routing mode), VS/TUN (tunnel mode), VS/FULLNAT 1. NAT mode (VS-NAT) Principle: The destination address of the IP header of a packet sent by a client is replaced by the IP address of one of the RSs on t ...

Posted by mdemetri2 on Mon, 25 May 2020 13:17:36 -0700

Hyperledger Configure Fabric1.4 Environment with Google Cloud

Google Cloud System Configuration As shown in the following figure: Select the ubuntu system for configuration, choose a new instance, choose any name you like, choose Hong Kong as far as possible, pick up the mirror faster, and choose a vCPU of type 3.75G is sufficient. Select permanent disk 10GB Fabric Environment Configuration Sta ...

Posted by alefort on Thu, 21 May 2020 19:57:47 -0700

K8S deploy stateful application through Statefulset

1, Understanding statefuse 1. Statefuse ensures that pod s retain their identity (container name) and state after rescheduling.2. Statefuse achieves that each pod corresponds to the corresponding PV volume, and each pod can support a set of independent data volumes.3. Provide a stable network identity. Each pod created by a Statefulset has a z ...

Posted by kh411dz on Thu, 21 May 2020 08:38:01 -0700

nginx forward proxy http/https and proxy mail service

nginx forward proxy http/https and proxy mail service Demand background: In the company's Intranet environment, you cannot directly connect to the external network. The intranet service is required to access the Internet through the forward proxy. Installation environment preparation: Nginx itself does not support https protocol request forwa ...

Posted by nats on Thu, 21 May 2020 07:53:45 -0700

An article about TiDB disaster recovery recommendation

An article to play with TiDB disaster recovery 1, Background High availability is another major feature of TiDB. All three components of TiDB/TiKV/PD can tolerate partial instance failure without affecting the availability of the whole cluster. The following describes the availability of these three components, the consequences of a single ...

Posted by misschristina95 on Sun, 10 May 2020 20:43:02 -0700

Elasticsearch cluster installation and configuration

1 environment IP Hostname OS Version Elasticsearch Version 192.168.7.41 es-node1 Ubuntu 18.04.3 7.6.1 192.168.7.42 es-node2 Ubuntu 18.04.3 7.6.1 192.168.7.43 es-node3 Ubuntu 18.04.3 7.6.1 Disable swap and synchronize time. 2 installation steps 2.1 install elasticsearch Download path of installation package: https://mirror.tuna.tsi ...

Posted by Win32 on Sat, 09 May 2020 07:32:22 -0700

Tomcat virtual host configuration based on domain name

Using domain name based virtual host configuration is a popular way. You can configure multiple domain names on the same IP and access them through port 80. 1, Suppose the server has an IP address of 192.168.2.170 [root@localhost ~]# ifconfig ens33:5 192.168.2.170/24 up [root@localhost ~]# ifconfig ens33:5: flags=4163 ...

Posted by karlovac on Tue, 05 May 2020 01:55:34 -0700

Ten of three Linux phases: nginx reverse proxy load balancing

10. nginx reverse proxy load balancing (1) Description of LNMP architecture migration database Migrating databases: Using the database backup command (mysql mysqladmin mysqldump) 1) Back up database information mysqldump -uroot -poldboy123 --all-databases >/tmp/bak.sql ll /tmp/bak.sql -h scp /tmp/bak.sql 172.16.1.51:/tmp/ 2) Restore data ...

Posted by Thundarfoot on Mon, 04 May 2020 18:53:19 -0700

Three ways to configure Nginx virtual host (3) (based on domain name)

3. Nginx domain name based virtual host configuration Using domain name based virtual host configuration is a popular way. You can configure multiple domain names on the same IP and access them through port 80. 3.1 suppose the server has an IP address of 192.168.2.155 [root@localhost ~]# ifconfig ens33:5 192.168.2.155/24 up [root@localh ...

Posted by ginoitalo on Sun, 03 May 2020 22:23:41 -0700

LNMP Architecture - Nginx user authentication

A virtual host in nginx for a profile Create a new virtual host profile [root@dl-001 default]# vim /usr/local/nginx/conf/vhost/test.com.conf / / create a virtual host server { listen 80; server_name test.com; index index.html index.htm index.php; root /data/wwwroot/test.com; location / { ...

Posted by Carlo Gambino on Sun, 03 May 2020 10:04:17 -0700