Performance analysis of [Linux operating system series]

3, Performance analysis 1. Process query: ps The man ps manual is very large and not easy to refer to, so I mainly remember several commands Example #1. List the processes that are only related to their own environment. The parent process at the top layer is the bash that allows the ps command, but does not extend to the init process ps ...

Posted by titaniumtommy on Mon, 06 Sep 2021 12:30:02 -0700

Build Linux+Ansible+K8S Learning Environment Notes from scratch under Win10 (1*Master/controller+3*Node)

Write before I always want to learn K8s, but without environment, K8s is a bit heavy.Before going to school, I rented an ESC from Aliyun, with a single core of 2G and a single machine version of K8s, which can be installed barely. It can't be done with multiple nodes, nor can Demo in the book.Since you need more than one node, because it in ...

Posted by sifix on Sun, 05 Sep 2021 09:42:28 -0700

Access other nodes through a jumper using the JSCH framework

A set of code for remotely accessing ssh has been developed. Recently, there is a need for a jumper to access the target service.After searching the web for half a day, I didn't find a good example, so I browsed the API of JSCH myself.But look in the clouds.Imagine if port forwarding works by mapping the target node ip:port to localhost:port an ...

Posted by Spoiler on Sun, 05 Jul 2020 08:04:33 -0700

Deploying a hadoop cluster on Centos7

Hadoop's Trample Notes (1) Deploying a hadoop cluster on Centos7 Environmental Science Machine 1(hadoop1-ali) Ali Cloud (CentOS 7.3) 120.26.173.104 Machine 2(hadoop2-hw) Huawei Cloud (CentOS 7.4) 114.116.233.156 Where the first server serves as a namenode and the second serves as a datanode Modify hostname and hostfile Execute on two machines ...

Posted by maxxx on Sun, 28 Jun 2020 17:21:11 -0700

Enterprise level automation code release -- Git foundation and introduction

About Git Git is a distributed version control system git vs SVN project GIT SVN operation Complex concept, many orders, not easy to use Easy to operate Branch price Cheap branch Expensive branches Code management Distributed management Centralized management preservation Save the full f ...

Posted by trixiesirisheyes on Tue, 16 Jun 2020 19:42:56 -0700

MySQL build master slave high availability

Title: Article content output source: Lago education Java high salary training camp. This article is part of the notes in the MySQL learning course. This post explains in detail how to build MySQL with high availability and provides a solution to solve the problem that the common master-slave replicat ...

Posted by sgtbash on Sun, 14 Jun 2020 21:38:57 -0700

rsync+crond for scheduled backup

rsync introduction rsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bet ...

Posted by vivianp79 on Fri, 12 Jun 2020 22:03:41 -0700

CentOS (rsync+crond for scheduled backup)

1, rsync introductionrsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bett ...

Posted by christine75 on Fri, 12 Jun 2020 21:00:24 -0700

corosync v1 + pacemaker high availability cluster deployment

corosync v1 + pacemaker Corosync: an open cluster engine project derived from the development of OpenAIS to Wilson, which provides heartbeat message detection and member management. Pacemaker: cluster explorer. It uses the message and member management capabilities provided by the cluster infrastructure (OpenAIS, heartbeat or corosync) to dete ...

Posted by ryanpaul on Tue, 26 May 2020 22:53:30 -0700

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