PXE batch deployment

Deployment of PXE brief introduction What is PXE? 1. PXE is the abbreviation of Preboot Execution Environment, which is called Preboot Execution Environment. 2. A network protocol designed by Intel enables the computer to start the installation system through the network. 3. It is a mechanism to start a computer with network interface, which d ...

Posted by reckdan on Wed, 21 Aug 2019 17:13:38 +0200

logging in python to scroll logs and delete expired logs

From: https://blog.csdn.net/ashi198866/article/details/46725813 The logging library provides two class es for log scrolling (refer to https://docs.python.org/2/library/logging.handlers.html), one is Rotating FileHandler, which scrolls mainly according to the size of the log file, and the other is TimeRotating FileHandler, which scrolls mainly ...

Posted by hyperyoga on Tue, 20 Aug 2019 06:02:15 +0200

Using PXE+Kickstart to Realize Unmanned Batch Deployment System

I. Two nonsense sentences In the cloud data center, when dozens or even hundreds of servers are online at a time, the system installation will become very cumbersome. After the system is installed, many configurations will be involved. If one server is installed, the workload will be very large. (It's a joke, though there's overtime pay)To s ...

Posted by busterbry on Sat, 17 Aug 2019 12:10:29 +0200

Configure inotify+rsync real-time synchronization

If you are not familiar with rsync services and commands, you can refer to the blog post. Remote synchronization through rsyncThere's not much to say here! Linux kernel has provided inotify notification interface since version 2.6.13 to monitor various changes of file system, such as file access, deletion, movement, modification, etc. Using th ...

Posted by skissiks on Thu, 15 Aug 2019 14:11:25 +0200

roles of Ansible Automation Operation and Maintenance

Articles Catalogue Introduction to Ansible roles roles directory structure Create roles Give an example Use roles to install and open httpd services for the host, and add httpd to the firewall list haproxy deployment (load balancing) Implementation of keeping alive + haproxy high availability ...

Posted by zeb on Mon, 12 Aug 2019 11:19:52 +0200

saltstack mini-trial knife

When we have only one server, two servers and several servers, we deploy software tools to log on to the server one by one, but as the number of enterprise servers not only increases, it is obvious that the deployment of logon by one has become unrealistic. At this time, the automated operation and maintenance management tools came on the scen ...

Posted by blui on Sat, 10 Aug 2019 17:32:17 +0200

Week 3, Text Processing Tools, shell Scripting

Text Processing Tools 1,cut -d Specifies the separator.For example, -d: -d'' -f Specifies which column to choose.For example, -f1,3 --output-delimiter specifies the separator to display Tr-s compression-d deletion-c except 2. Percentage of disks fetched using tr and cut [root@glowing-bliss-1 data]# df -h | tr -s ' ' | cut -d' ' -f5 | tr -dc ...

Posted by ozone1 on Sun, 04 Aug 2019 18:29:17 +0200

Construction of Pseudo-Distribution Environment for Configuring Hadoop under Linux

View jps[root@master ~]# jps 7445 Jps If this happens, you can move on to the next step. If not, please refer to jdk environment construction Import the Hadoop package and place it in the / opt directory Check if the Hadoop package is imported [root@master ~]# cd /opt [root@master opt]# ll total 4 ...

Posted by angelssin on Wed, 31 Jul 2019 15:20:34 +0200

Mass deployment of Nginx by ansible-playbook

nginx is deployed by source code compilation through ansible-playbook. All deployed nginx hosts are divided into webserver groups: # vim /etc/ansible/hosts [webserver] 192.168.30.128 192.168.30.129 192.168.30.130   Create a management directory: # mkdir -p nginx/roles/nginx_install/{files,ha ...

Posted by CodeToad on Wed, 31 Jul 2019 14:34:17 +0200

mysql database group replication (full synchronous replication)

1. Basic knowledge: Group replication model: Single master model: automatically elect a master node from many MySQL nodes in the replication group, only the master node can write, and other nodes Automatically set to read only Multi-master model: Any node in the replication group can be ...

Posted by JohnMike on Tue, 30 Jul 2019 11:58:25 +0200