本篇内容主要用三个脚本来实现LVS的配置。脚本1:lvs.sh是配置在负载均衡端,脚本2:realserver.sh是配置后端RealServer服务器上的。脚本3:check_lvs.sh是用在负载均衡端上来测试后端服务器的健康状态的脚本,如有一个RealServer宕机就会自动清除,如果恢复了就再加上,后端所..
分类:
系统相关 时间:
2015-08-12 14:51:12
阅读次数:
154
CREATE?PROCEDURE?`hejin`.`pro_redeem_check`(IN?gpid?int)
BEGIN
SLELECT?SUM(amount)?INTO?@money?FROM?assets?WHERE?gpid?=?gpid;
SLELECT?@money;
END @money 一直是所有的总和而不是gpid的总...
分类:
数据库 时间:
2015-08-11 19:30:16
阅读次数:
224
Export aborted because fatal Lin error were founds. These are listed in the
problems view. Either fix these before running Export Again, or turn off "Run
full error check when exporting app" in the An...
分类:
其他好文 时间:
2015-08-11 14:17:35
阅读次数:
156
shell版的见?http://my.oschina.net/firxiao/blog/349727 本项目地址: ?https://github.com/Firxiao/check_public_ip 使用方法: git?clone?https://github.com/Firxiao/check_public_ip.git
cd?check_publi...
分类:
编程语言 时间:
2015-08-11 12:33:18
阅读次数:
320
1、Runtime Permissions On your apps that target the M Preview release or higher, make sure to check for and request permissions at runtime. To determi....
分类:
移动开发 时间:
2015-08-11 09:52:03
阅读次数:
357
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2015-08-11 07:00:30
阅读次数:
93
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2015-08-11 00:12:30
阅读次数:
158
crsctl check crs发现第二行报错:CRS-4638: Oracle High Availability Services is onlineCRS-4535: Cannot communicate with Cluster Ready ServicesCRS-4529: Cluster...
分类:
其他好文 时间:
2015-08-10 19:21:43
阅读次数:
393
步骤(1):修改Google host文件
可以参考: Mac android studio升级时提示 :Connection failed. Please check your network connection .
步骤(2):修改过之后,再次更新 Android SDK,时会出现如下提示:
即:
Failed to fetch URL https://dl.goog...
分类:
移动开发 时间:
2015-08-10 12:08:22
阅读次数:
349
##检查GCC版本-bash-3.2#gcc--version
gcc(GCC)3.4.3(csl-sol210-3_4-branch+sol_rpath)
Copyright(C)2004FreeSoftwareFoundation,Inc.##下载python编译程序-bash-3.2#wget--no-check-certificate##解压缩Python-bash-3.2#gunzipPython-2.7.10.tgz
-bash-3.2#tarxvfPython-2.7...
分类:
编程语言 时间:
2015-08-10 10:49:34
阅读次数:
352