database server addressStart Amoeba/usr/local/amoeba/bin/amoeba startnetstat -anpt | grep javaTesting the availability of the MySQL client installationyum install -y mysqlLogin test test for normal accessmysql -u amoeba -p123456 -h 192.168.100.130 -P8066 //IP地址为amoeba服务器地址show databases;Test data is synchronizeduse pythoncreate table java (id int,name varchar(10),sorce decimal(5,2)); //在python库中创建java表Log on to each server, the Java tables in the Python library exist, indicating that the dual
For example, buy Alibaba Cloud server and build a cluster on it.
Cluster construction does not mention, many have related articles. Remember two pits that you've stepped on.
Note one:
When data sources are needed for data collection on Ali's platform,
Configure the cluster as far as possible with hostname, and host
using k8s to build spark cluster
These days try to build spark cluster in k8s, trample some pit, share with everybody.
Spark's component introduction can refer to official documentationA brief introduction to the large data biosphere This article is based on the k8s official example
Specific reference GitHub k8s FAQ i
Tags: ext environment variable dos COM file log config Journal blogMongoDB Cluster Build-replica set Conceptual knowledge, you can refer to my blog address: Http://www.cnblogs.com/zlp520/p/8088169.html I. Replica SET scheme (replica set or replica set): 1. There are two ways to build a replica set: One: On a server, through the way the file and the port number of
has been busy in the Android FrameWork, and finally idle a little, using spare time to study the Hadoop, and in their own and colleagues on the computer to build a distributed cluster, now update the blog, share their results.I. Environment1. Operating system:Ubuntu 12.04 LTS 2.Java version: Openjdk-7-jdk3.Hadoop version:2.6.04. Node Information:
Machine name
Ip
Hostname
Role
] ~]# Masterha_manager--conf=/etc/mha_manager/app1.cnf--remove_dead_master_conf--ignore_last_ FailoverView Status: Masterha_check_status[Email protected] ~]# Masterha_check_status--conf=/etc/mha_manager/app1.cnfApp1 (pid:9399) is running (0:PING_OK), master:192.168.4.51Stop service: Masterha_stop[Email protected] bin]# masterha_stop--conf=/etc/mha_manager/app1.cnfStopped App1 successfully.4.4 Test failoverPerform]# shutdown-h now on Main Library 514.5 View the status of the service on the admini
Tags: TOC view perform data usr explain startup tab relationshipMySQL cluster tutorial (iv) A master more from the environment to build: A: Environment configuration (#号后内容记得删除) Configuring the master-slave MySQL profile my.cnf Main (3307) join Log-bin=mysql-bin #表示启用二进制日志 server-id=3307 #表示server编号, the number must be unique Add from (3308) server-id=3308 #表示server编号, the number must be unique Add from
router_id lvs_01 weight 1 Tcp_check {connect_timeout nb_get_retry 3 delay_before_retry 3 Conne Ct_port 80}}}(3) Configuration from keepalived node (LVS2)Copy the configuration file for the master node keepalived.conf, and then modify the following:router_id LV -> router_id LVS_02 #从调度器名称state MASTER -> state BACKUP #从调度器priority 100 -> priority 90 #从调度器优先级(4) Start keepalive#先主后从分别启动keepalivesystemctl start keepalivedThree. Test the HA characteristics of the keepalived(1) Virtual IP address
Tags: priority network str host Linux cluster third-party IP mapping settings BSPCentOS7 Set host Name: Command hostname to view the current host nameVirtual Recruit (Temporary): Restart the machine after the failure: hostname XXXConfess (permanent):Move one: Will /etc/sysconfig/network , the hostname column changes (although effective, but unofficial advice)Move two: Change the median value of /etc/hostname (official recommendation)Moves three: Use t
enterConnection closed by foreign host.Indicates that both the primary cache node and the standby cache node have data.The primary cache node is down.1) Stop the memcached process (or disconnect the network card from the primary cache node),2) Client View[[Email protected] ~]# Telnet 192.168.1.10 12000Trying 192.168.1.10 ...Connected to 192.168.1.10.Escape character is ' ^] '.OK, the experiment finished, refueling, to always insist on you! Hey....This article has only done a simple installation
3.5. Install the ORACLE11GR2 database software with 3.5.1. Install Oracle 11GR2 DBLog on to node one with the Oracle user, switch to the Software installation directory, and perform the installation.
In Oracle user installation, first extract two Oracle installation files in one folder
[[email protected] ~]# su Oracle[Email protected] root]$ cd/home/oracle[Email protected] ~]$ llTotal 4Drwxr-xr-x 8 root root 4096[[email protected] ~]$ CD Database[Email protected] d
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.