<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for haohtml&#039;s blog</title>
	<atom:link href="http://blog.haohtml.com/index.php/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.haohtml.com</link>
	<description>haohtml&#039;s life and works blog</description>
	<lastBuildDate>Fri, 30 Jul 2010 02:34:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on 用cacti来监控windows 服务器,snmp服务在windows的配置 by cacti for windows 安装 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4880/comment-page-1#comment-41</link>
		<dc:creator>cacti for windows 安装 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Fri, 30 Jul 2010 02:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4880#comment-41</guid>
		<description>[...] 如果要监控其它windows服务器的话，请参考：http://blog.haohtml.com/index.php/archives/4880        0&#160;Comments  tagged CACTI [...]</description>
		<content:encoded><![CDATA[<p>[...] 如果要监控其它windows服务器的话，请参考：http://blog.haohtml.com/index.php/archives/4880        0&nbsp;Comments  tagged CACTI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on [教程]使用cacti监控windows主机 by 用linux上的cacti去监控windows服务器 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4850/comment-page-1#comment-40</link>
		<dc:creator>用linux上的cacti去监控windows服务器 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4850#comment-40</guid>
		<description>[...] 27 Jul, 2010 in 服务器类 by admin              另篇相同的教程:http://blog.haohtml.com/index.php/archives/4850 [...]</description>
		<content:encoded><![CDATA[<p>[...] 27 Jul, 2010 in 服务器类 by admin              另篇相同的教程:http://blog.haohtml.com/index.php/archives/4850 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Apache ab 介绍及实例说明 by apache ab压力测试 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4631/comment-page-1#comment-39</link>
		<dc:creator>apache ab压力测试 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Wed, 14 Jul 2010 01:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4631#comment-39</guid>
		<description>[...] -c 和 -n 参数就可以了.(实例请见这里) [...]</description>
		<content:encoded><![CDATA[<p>[...] -c 和 -n 参数就可以了.(实例请见这里) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux命令：ifconfig by [教程]ubuntu server 10.4下LVS-DR实验 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4545/comment-page-1#comment-38</link>
		<dc:creator>[教程]ubuntu server 10.4下LVS-DR实验 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Thu, 08 Jul 2010 08:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4545#comment-38</guid>
		<description>[...] so the brd addr is the VIP, not x.x.x.255.) 对于ifconfig这个命令不熟悉的话,可以参考:http://blog.haohtml.com/index.php/archives/4545  修改/etc/sysctl.conf    net.ipv4.ip_forward=0 net.ipv4.conf.all.send_redirects=1 [...]</description>
		<content:encoded><![CDATA[<p>[...] so the brd addr is the VIP, not x.x.x.255.) 对于ifconfig这个命令不熟悉的话,可以参考:http://blog.haohtml.com/index.php/archives/4545  修改/etc/sysctl.conf    net.ipv4.ip_forward=0 net.ipv4.conf.all.send_redirects=1 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ubuntu下安装apache+php+mysql+phpmyadmin by ubuntu server 10.4下LVS-DR实验 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4522/comment-page-1#comment-37</link>
		<dc:creator>ubuntu server 10.4下LVS-DR实验 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Thu, 08 Jul 2010 06:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4522#comment-37</guid>
		<description>[...] 目标：负载均衡器LVS(ip为：192.168.3.10，虚拟IP为：192.168.3.100），实机两台分别为rs２（ip为：192.168.3.20）,rs３（ip为192.168.3.30），这三台机器都安装一块网块，实机上安装apache。在一客户端cs(ip为：192.168.3.1）上访问http://192.168.3.100,会轮流访问两台实机，则实验成功。 １，配置LVS机器： 在ubuntu server 10.4 默认安装是没有安装ipvsadm软件包的，在网上看了很多教程，都要编辑内核，但现在2.6.32内核已经不需要再编辑了。 #sudo apt-get install ipvsadm 会提示 please run dpkg –reconfigure ipvsadm #sudo dpkg–reconfigure ipvsadm (dpkg与-reconfigure是连到一起中间没空格）     #sudo ifconfig eth0:0 192.168.3.100 netmask 255.255.255.255 broadcast 192.168.3.100 #sudo route add –host 192.168.3.100 dev eth0:0 #sudo ipvsadm –A –t 192.168.3.100:80 –s rr #sudo ipvsadm –a –t 192.168.3.100:80 –r 192.168.3.20 –g #sudo ipvsadm –a –t 192.168.3.100:80  -r 192.168.3.30 –g #sudo ipvsadm –save *:这里rr表示ipvsadm的8种算法中的轮询，做实验选这个算法，效果比较明显。-g,就是lvs的三种模式中的LVS-DR模式。-i 就是遂道LVS-TUN.为什么eth0:0的broadcast就是它的IP，因为他的netmask为/32.(the VIP is a /32 addr, so the brd addr is the VIP, not x.x.x.255.) 修改/etc/sysctl.conf net.ipv4.ip_forward=0 net.ipv4.conf.all.send_redirects=1 net.ipv4.conf.default.send_redirects=1 net.ipv4.conf.eth0.send_redirects=1 #sudo sysctl -p 2,配置实机rs2,rs3为如下 #sudo ifconfig lo:0 192.168.3.100 netmask 255.255.255.255 broadcast 192.168.3.100 #sudo route add –host 192.168.3.100 dev lo:0 修改/etc/sysctl.conf net.ipv4.ip_forward=0 net.ipv4.conf.lo.arp_ignore=1 net.ipv4.conf.lo.arp_announce=2 net.ipv4.conf.all.arp_ignore=1 net.ipv4.conf.all.arp_announce=2 #sudo sysctl –p 把rs2，rs3的/var/www下的index.html的内容修改为“this is rs2”,”this is rs3”,当访问时区别访问的是那台机器，查看实验是否成功(如果没有安装apache,安装教程请参考这里:http://blog.haohtml.com/index.php/archives/4522)。 在实验过程中：刚开始没有修改实机rs2,rs3下的/etc/sysctl.conf,在访问http://192.168.3.100时，有时能轮流的访问rs2,rs3，有时不能，修改后，发现效果很好，达到实验目标。为什么要修改可以参考以下http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html的内容，专门讲解了关于LVS的 ARP ，也有专门讲解了在LVS-DR模式中ARP问题及如何去解决ARP问题，也有arp_ingnore,arp_announce具体的意思。要想深入学习LVS，必须要看这个LVS-HOWTO 以下这个博客也很好的讲解了LVS,可以参考。 http://hi.baidu.com/fengyezhidu/blog/item/08338050e94a345a1138c278.html *: 用firefox浏览器，在地址栏中输入：about:config,找到network.http.keep-alive 把值修改为false,利于查看实验结果。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 目标：负载均衡器LVS(ip为：192.168.3.10，虚拟IP为：192.168.3.100），实机两台分别为rs２（ip为：192.168.3.20）,rs３（ip为192.168.3.30），这三台机器都安装一块网块，实机上安装apache。在一客户端cs(ip为：192.168.3.1）上访问http://192.168.3.100,会轮流访问两台实机，则实验成功。 １，配置LVS机器： 在ubuntu server 10.4 默认安装是没有安装ipvsadm软件包的，在网上看了很多教程，都要编辑内核，但现在2.6.32内核已经不需要再编辑了。 #sudo apt-get install ipvsadm 会提示 please run dpkg –reconfigure ipvsadm #sudo dpkg–reconfigure ipvsadm (dpkg与-reconfigure是连到一起中间没空格）     #sudo ifconfig eth0:0 192.168.3.100 netmask 255.255.255.255 broadcast 192.168.3.100 #sudo route add –host 192.168.3.100 dev eth0:0 #sudo ipvsadm –A –t 192.168.3.100:80 –s rr #sudo ipvsadm –a –t 192.168.3.100:80 –r 192.168.3.20 –g #sudo ipvsadm –a –t 192.168.3.100:80  -r 192.168.3.30 –g #sudo ipvsadm –save *:这里rr表示ipvsadm的8种算法中的轮询，做实验选这个算法，效果比较明显。-g,就是lvs的三种模式中的LVS-DR模式。-i 就是遂道LVS-TUN.为什么eth0:0的broadcast就是它的IP，因为他的netmask为/32.(the VIP is a /32 addr, so the brd addr is the VIP, not x.x.x.255.) 修改/etc/sysctl.conf net.ipv4.ip_forward=0 net.ipv4.conf.all.send_redirects=1 net.ipv4.conf.default.send_redirects=1 net.ipv4.conf.eth0.send_redirects=1 #sudo sysctl -p 2,配置实机rs2,rs3为如下 #sudo ifconfig lo:0 192.168.3.100 netmask 255.255.255.255 broadcast 192.168.3.100 #sudo route add –host 192.168.3.100 dev lo:0 修改/etc/sysctl.conf net.ipv4.ip_forward=0 net.ipv4.conf.lo.arp_ignore=1 net.ipv4.conf.lo.arp_announce=2 net.ipv4.conf.all.arp_ignore=1 net.ipv4.conf.all.arp_announce=2 #sudo sysctl –p 把rs2，rs3的/var/www下的index.html的内容修改为“this is rs2”,”this is rs3”,当访问时区别访问的是那台机器，查看实验是否成功(如果没有安装apache,安装教程请参考这里:http://blog.haohtml.com/index.php/archives/4522)。 在实验过程中：刚开始没有修改实机rs2,rs3下的/etc/sysctl.conf,在访问http://192.168.3.100时，有时能轮流的访问rs2,rs3，有时不能，修改后，发现效果很好，达到实验目标。为什么要修改可以参考以下http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html的内容，专门讲解了关于LVS的 ARP ，也有专门讲解了在LVS-DR模式中ARP问题及如何去解决ARP问题，也有arp_ingnore,arp_announce具体的意思。要想深入学习LVS，必须要看这个LVS-HOWTO 以下这个博客也很好的讲解了LVS,可以参考。 <a href="http://hi.baidu.com/fengyezhidu/blog/item/08338050e94a345a1138c278.html" rel="nofollow">http://hi.baidu.com/fengyezhidu/blog/item/08338050e94a345a1138c278.html</a> *: 用firefox浏览器，在地址栏中输入：about:config,找到network.http.keep-alive 把值修改为false,利于查看实验结果。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 如何修改mysql的一些变量 by 根据status信息对MySQL服务器进行优化 &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4284/comment-page-1#comment-36</link>
		<dc:creator>根据status信息对MySQL服务器进行优化 &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Wed, 07 Jul 2010 06:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4284#comment-36</guid>
		<description>[...] 修改mysql全局变量的一些变量见:http://blog.haohtml.com/index.php/archives/4284 [...]</description>
		<content:encoded><![CDATA[<p>[...] 修改mysql全局变量的一些变量见:http://blog.haohtml.com/index.php/archives/4284 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP array_product() 函数 by 计算100以内的乘积.. &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4345/comment-page-1#comment-34</link>
		<dc:creator>计算100以内的乘积.. &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Mon, 05 Jul 2010 03:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4345#comment-34</guid>
		<description>[...] echo $time.&quot;n&quot;;  array_product函数见:http://blog.haohtml.com/index.php/archives/4345 [...]</description>
		<content:encoded><![CDATA[<p>[...] echo $time.&quot;n&quot;;  array_product函数见:http://blog.haohtml.com/index.php/archives/4345 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL之Handler_read_* by 根据status信息对MySQL服务器进行优化（一） &#124; haohtml&#039;s blog</title>
		<link>http://blog.haohtml.com/index.php/archives/4262/comment-page-1#comment-33</link>
		<dc:creator>根据status信息对MySQL服务器进行优化（一） &#124; haohtml&#039;s blog</dc:creator>
		<pubDate>Fri, 02 Jul 2010 01:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.haohtml.com/?p=4262#comment-33</guid>
		<description>[...] 各字段解释参见http://blog.haohtml.com/index.php/archives/4262，调出服务器完成的查询请求次数： [...]</description>
		<content:encoded><![CDATA[<p>[...] 各字段解释参见http://blog.haohtml.com/index.php/archives/4262，调出服务器完成的查询请求次数： [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
