Build Mongodb cluster in detail under centos7

1, Mongodb cluster (no SQL Library) cluster construction 1. For the topology of Mongo cluster, let's have a brief understanding2. Install mongodb to node1, 2, and 3 nodes (the following operations should be performed on node1, 2, and 3 nodes, xshell is recommended) (1) Configure mongo's yum source Com ...

Posted on Mon, 29 Jun 2020 03:12:11 -0400 by madhukar_garg

Centos7 builds frp intranet penetration server

brief introduction The purpose of NAT penetration is to enable packets with a specific source IP address and source port number to be correctly routed to the intranet host without being shielded by the NAT device. When the computer is in the LAN, the computer nodes of the outer network and the inner network need to connect the communication th ...

Posted on Wed, 10 Jun 2020 00:32:57 -0400 by Zetusko

Set up frp intranet penetration server

brief introduction The purpose of NAT penetration is to enable packets with a specific source IP address and source port number to be correctly routed to the intranet host without being shielded by the NAT device. When the computer is in the LAN, the computer nodes of the outer network and the inner n ...

Posted on Tue, 09 Jun 2020 04:41:38 -0400 by richcrack

HeartBeat (NFS file mount for Web service hot standby)

The two hosts are backup to each other, and the Web service displays the resources on the NFS file system. Add a Linux 6.8 system as an NFS file server catalog: 1. Complete the basic configuration of HeartBeat 2. Configure server for NFS 3. Configure HeartBeat resource management server to use NFS resources 4. Result test 1. Complete the b ...

Posted on Tue, 26 May 2020 11:20:35 -0400 by steadyguy

OLAP query engine, ClickHouse cluster management

1, Introduction to column Library ClickHouse is an open-source column storage database (DBMS) of Yandex company in Russia in 2016, which is mainly used for OLAP online analysis and processing queries, and can generate analysis data reports in real time using SQL queries. Columnar storage For row storage and column storage, the organization st ...

Posted on Thu, 21 May 2020 00:54:06 -0400 by skeener

ntp time server

I. Environmental Preparation Two virtual machines 192.168.30.139 #Server 192.168.30.143 #Client 2. Server side configuration: 1. Install ntp service # 192.168.30.139 [root@hadoop1 opt]# yum install -y ntp # 192.168.30.143 [root@hadoop2 opt]# yum install -y ntp 2. Service and Set Up Startup [root@hadoop1 opt]# service nt ...

Posted on Wed, 13 May 2020 12:21:19 -0400 by infratl

Kubedm builds kubernetes cluster environment

demand Kubedm builds kubernetes cluster environment Preparation conditions Three VPS (Alibaba cloud HK - centos7.7 is used in this paper) A local computer capable of SSH connection to VPS Installation procedure Before installation, you need to configure the domestic image source. Alibaba cloud's image source is recommended here cat <<EO ...

Posted on Mon, 11 May 2020 10:28:08 -0400 by iifs044

Deploy private cloud CloudStack

catalog preface 1. Cluster planning 2. Set yum source 3. Turn off the firewall and selinux 4. Install nfs 4.1.192.168.0.232 4.2.192.168.0.233 5. Install and start MySQL server 6. Install and start cloudstack management 7. Browser access preface The infrastructure cloud formed by CloudStack and Data center Operators can quickly and easil ...

Posted on Sun, 10 May 2020 23:56:54 -0400 by johnpaine

Ansible deployment source code nginx

Divide all deployed nginx hosts into nginx groups: vim /etc/ansible/hosts [nginx] 192.168.200.102 • create management directory: mkdir -p nginx/roles/nginx_install/{files,handlers,meta,tasks,templates,vars} cd nginx/ explain: Files: store source files and configuration files that need to be synchronized to remote servers; handlers: the ...

Posted on Sun, 10 May 2020 10:28:18 -0400 by Andy17

Android P HIDL demo code writing (original)

Previous articles have analyzed the registration and invocation of HIDL service, and this article summarizes how to write the next HIDL service. Abbreviated HAL file First of all, you need to confirm the package name of the folder and interface, because this is related to the use of script to generate some code. Generally, it is placed in the h ...

Posted on Thu, 07 May 2020 07:08:55 -0400 by Ph0enix