page access12 1 212Configuring the HTTPD Service[Email protected] ~]# echo "1.1.1.20 Web Server" >/var/www/html/index.html[Email protected] ~]# service httpd restartThe next day the Web server configuration, in order to distinguish whether the RR polling algorithm, we wrote two different content1 :echo"1.1.1.20 Web server" >/var/www/html/2 : Echo " 1.1.1.30 Web Server " >/var/www/html/index.htmlTest the LVS ClusterClient Access:[[email protected] ~]# HTTP://1.1.1.1/#会显示我们写的两个不同的网页, has been ref
Build an Elasticsearch cluster in CentOS 7
Environment Description:Server (System Version CentOS 7)Elasticsearch version: elasticsearch-6.2.2Elasticsearch Directory:/home/soft/
192.168.33.10 master192.168.33.11 master data192.168.33.12 master data
1. Create an elasticsearch account [elasticsearch is used for all three machines]Useradd esPasswd es
2. Create a data directory And a log directory [all three mac
-yarn.shThe results are as follows:At this point, the container can already be accessed from the host, but the host is not a desktop environment, only through the physical machine in the browser to access the Web UI provided by the cluster, but now the physical machine can not ping the container address, nor access the container, because the host is the subnet of the physical machine, the container is a host subnet, The physical machine does not know
The biggest discord between VMware and cluster is that vmware workstation 6 and VMWare ESX 1 do not provide shared SCSI bus simulation. this is a pity, but it is very deceptive. many people finally chose the MS Virtual Server (win2k3 available), but there are still many people still try to build cluster in VMware.
There are manyArticleWe will discuss how each v
Introduction to spark Basics, cluster build and Spark ShellThe main use of spark-based PPT, coupled with practical hands-on to enhance the concept of understanding and practice.Spark Installation DeploymentThe theory is almost there, and then the actual hands-on experiment:Exercise 1 using Spark Shell (native mode) to complete wordcountSpark-shell to Spark-shell native modeFirst step: Import data by file mo
This article shows how to build and configure a distributed Hadoop2.7.4 cluster on a virtual machine.
first, software preparation
Vmware-workstationUbuntu-16.04.2-desktop-amd64.isoHadoop-2.7.4.tar.gzJdk-8u144-linux-x64.tar.gz
second, cluster machine preparation
Install three virtual machines in VMware as follows:
These three machines ensure that the environment a
Build a high-availability and high-concurrency wcf cluster using nginx, nginxwcf
In many cases, zookeeper is the preferred choice for Complex Balance Based on wcf, which can have better control granularity. However, zk is not very friendly to C # And is relatively difficult to implement. In actual situations, if
If your load mechanism is coarse-grained, nginx can be used first to achieve complex balancing
nodes, which facilitates the binding operation of the ip+ port number for node Discovery 3rd, and modifies the following node:
transport.tcp.port:9310
5. Introduce the next troubleshooting process, you can use the tail command to monitor the ES log file after Es startup, after the ES node nodes assigned the identity, the node detection will be done. after assigning the identity, the diagram prints the new_master operation, stating that no clust
Build a Web Cluster Environment Using Nginx and Tomcat
I have been familiar with tomcat for web servers for a long time, but I am still a little unfamiliar with nginx. Once I see nginx configuration, there is an inexplicable rejection. This is a fear of strangers, today we are playing an interesting role. I never know about nginx, but it takes less than an hour to build
Use magent to build a memcached Cluster
Although memcached can use distributed caching to prevent the loss of all cached data when memcached goes down, it is difficult to escape part of the data.
We can use the magent agent memcached to implement master-slave backup to ensure that the cache data is intact, and the magent can continue to be used, but the general working principle is as follows:
1. The magent
-scripts/ifcfg-eth0(4) Restart the virtual machine in effect 4. Using Xshell client to access virtual machine Xshell is a particularly useful Linux remote client, with many quick features that are much more convenient than simply manipulating commands in a virtual machine.(1) Download and install Xshell(2) Click on the menu bar--New, enter the name and IP address of the virtual machine and determine(3) Accept and save(4) Enter user name and password (auto-save)At this point, three virtual machin
In our previous blog, we focused on how to build a MongoDB replica set under the Windows platform. Detailed Blog Address:As space is limited in the previous article did not verify the results, in this blog we mainly test:Through the Rs.status () command we can query to each node to run normally.First, the data synchronization testInsert on port 28011, 28012:View reason: Find the answer onlineFirst of all this is normal, because secondary is not allowe
In the previous article, we've built a cluster of Hadoop, and then we need to build a spark cluster based on this Hadoop cluster. Since a lot of work has already been done, it's much easier to build spark next.First open three virtual machines, now we need to install Scala,
the self-startup script and start the servicecp /opt/haproxy-1.5.19/examples/haproxy.init /etc/init.d/haproxychmod +x haproxychkconfig --add /etc/init.d/haproxyln -s /usr/local/sbin/haproxy /usr/sbin/haproxyservice haproxy start
Windows Client test (can see access to HAProxy server address, polling to access two Nginx servers)
HAProxy Log Definition separation
HAProxy logs are output to system syslog by default, and viewing is very inconvenient. For better management of logs, you ca
Build a Web cluster using Haproxy
Case Overview: Haproxy is currently a popular cluster scheduling tool. In comparison, LVS performance is the best, but the construction of complex, Nginx upstream module support cluster function, but the cluster node health Check funct
When we set up the Docker cluster, we will solve the problem of how to collect the log Elk provides a complete solution this article mainly introduces the use of Docker to build Elk collect Docker cluster log
Elk Introduction
Elk is made up of three open source tools , Elasticsearch, Logstash and kiabana
Elasticsearch is an open source distributed search eng
of the main node, identify whether it is a host point, such as: appears primary represents the primary node See sample examples below To view the status of the entire cluster, you can see that 128 is not up to the state. Mongodb-linux-x86_64-2.0.4/bin/mongo 192.168.216.129:10002 Rs.status (); The output is as follows {"Set": "Application","Date": Isodate ("2015-07-31t09:04:00z"),"MyState": 1,"Syncingto": "192.168.216.128:10001","Members": [{"_id"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.