<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Martin&#039;s Blog &#187; grid</title>
	<atom:link href="http://martinliu.cn/tag/grid/feed" rel="self" type="application/rss+xml" />
	<link>http://martinliu.cn</link>
	<description>如何以服务的视角管理IT？</description>
	<lastBuildDate>Sun, 13 May 2012 16:36:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ganglia install and configure</title>
		<link>http://martinliu.cn/2008/05/ganglia-install-and-configure.html</link>
		<comments>http://martinliu.cn/2008/05/ganglia-install-and-configure.html#comments</comments>
		<pubDate>Sat, 24 May 2008 02:15:27 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[NSM]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[Ganglia]]></category>
		<category><![CDATA[grid]]></category>

		<guid isPermaLink="false">http://www.martinliu.cn/2008/05/24/ganglia-install-and-configure/</guid>
		<description><![CDATA[我准备安装的版本是ganglia-3.0.7 ， 参考的安装文档是http://www.linuxsir.org/bbs/thread309837.html rpm的安装会比较省事。rpm安装都会很正常，不过在Suse下面需要注意一下两点： gmond和gmated的启动脚本不是rpm包中默认装上的那个，那个脚本适用于redhat linux；下载源码编译之后在gmond/ gmated/的文件夹里有后缀为 .SuSE的哪两个文件才对。 rpm吧gmated的web界面默认安装路径是/var/www/http/ ，SuSE下的apache的路径是 /srv/www/htdoc/；安装完后copy或者连接过来 配置： gmond.conf 更具我参考的安装文档产生这个文件的命令是 gmond -t &#62; /etc/gmond.conf；rpm安装包中有这个文件，如果需要恢复到默认状态可以使用这个命令。 gmated.conf 是服务器端的主要配置文件，详细阅读一下源码包中的那个html文件对这个文件的配置会有帮助 安装过程中出现的问题如下：在启动gmond的时候启动失败，debug一下可以看到下面的错误。 sles:~ # gmond &#8211;debug=9 slurpfile() open() error on file /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory udp_recv_channel mcast_join=239.2.11.71 mcast_if=NULL port=8649 bind=239.2.11.71 Error creating multicast server mcast_join=239.2.11.71 port=8649 mcast_if=NULL family=&#8217;inet4&#8242;. Exiting. 在所有虚拟机（host-only 网络设置）上都遇到这个错误。一次一个NAT网络的虚机上正常 至今觉得这是一个网络的问题，还没有想出正确的配置和解决方法。如果您有什么好建议请留言。 Related posts:<p><a href="http://martinliu.cn/2008/05/ganglia-install-and-configure.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2008/04/using-ganglia-for-cluster-and-grid-monitoring.html' rel='bookmark' title='Using Ganglia for cluster and grid monitoring'>Using Ganglia for cluster and grid monitoring</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>我准备安装的版本是ganglia-3.0.7 ， 参考的安装文档是<a title="http://www.linuxsir.org/bbs/thread309837.html" href="http://www.linuxsir.org/bbs/thread309837.html">http://www.linuxsir.org/bbs/thread309837.html</a></p>
<p>rpm的安装会比较省事。rpm安装都会很正常，不过在Suse下面需要注意一下两点：</p>
<ul>
<li>gmond和gmated的启动脚本不是rpm包中默认装上的那个，那个脚本适用于redhat linux；下载源码编译之后在gmond/ gmated/的文件夹里有后缀为 .SuSE的哪两个文件才对。</li>
<li>rpm吧gmated的web界面默认安装路径是/var/www/http/ ，SuSE下的apache的路径是 /srv/www/htdoc/；安装完后copy或者连接过来</li>
</ul>
<p>配置：</p>
<ul>
<li>gmond.conf 更具我参考的安装文档产生这个文件的命令是 gmond -t &gt; /etc/gmond.conf；rpm安装包中有这个文件，如果需要恢复到默认状态可以使用这个命令。</li>
<li>gmated.conf 是服务器端的主要配置文件，详细阅读一下源码包中的那个html文件对这个文件的配置会有帮助</li>
</ul>
<p>安装过程中出现的问题如下：在启动gmond的时候启动失败，debug一下可以看到下面的错误。</p>
<p>sles:~ # gmond &#8211;debug=9<br />
slurpfile() open() error on file /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory<br />
udp_recv_channel mcast_join=239.2.11.71 mcast_if=NULL port=8649 bind=239.2.11.71<br />
Error creating multicast server mcast_join=239.2.11.71 port=8649 mcast_if=NULL family=&#8217;inet4&#8242;. Exiting.</p>
<p>在所有虚拟机（host-only 网络设置）上都遇到这个错误。一次一个NAT网络的虚机上正常</p>
<p>至今觉得这是一个网络的问题，还没有想出正确的配置和解决方法。如果您有什么好建议请留言。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2008/04/using-ganglia-for-cluster-and-grid-monitoring.html' rel='bookmark' title='Using Ganglia for cluster and grid monitoring'>Using Ganglia for cluster and grid monitoring</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2008/05/ganglia-install-and-configure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clouds are coming</title>
		<link>http://martinliu.cn/2008/04/clouds-are-coming.html</link>
		<comments>http://martinliu.cn/2008/04/clouds-are-coming.html#comments</comments>
		<pubDate>Fri, 18 Apr 2008 15:05:23 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.martinliu.cn/?p=78</guid>
		<description><![CDATA[最近两周最吸引我的TAG是这个词“cloud computing”。在我前一个文章中稍微展望了一下云计算的前景“云计算吧电能转化成计算能力，然后向用电一样的来使用，我们甚至不需要使用PC这样的个人信息话设备来管理我们的信息，所有的信息和信息的处理都在云上发生”。在了解了更多的信息之后，这些可能实现，但是这种巨变需要时间，而且可能是很长时间；清醒之后不得不佩服Google在这方面的宣传。 理性认识云计算的简单方式，扫扫盲： 阅读一下wikipedia对‘cloud computing’的解释 听听John Willi的两个Podcast 多看看非google来源的信息：） 读读这个GRIDtoday的文章 &#8212; &#8220;Clouds are Looming and We Love It&#8221; 很多厂商都在参与这个热点，open source也要加油，期待开源在这个领域的发展。 Related posts: 云定义 Open Source and Cloud Computing(开源与云计算) Cloud Computing Infrastructure and Architecture Guide-From SUN
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/11/what-is-cloud.html' rel='bookmark' title='云定义'>云定义</a></li>
<li><a href='http://martinliu.cn/2008/10/open-source-and-cloud-computing%e5%bc%80%e6%ba%90%e4%b8%8e%e4%ba%91%e8%ae%a1%e7%ae%97.html' rel='bookmark' title='Open Source and Cloud Computing(开源与云计算)'>Open Source and Cloud Computing(开源与云计算)</a></li>
<li><a href='http://martinliu.cn/2009/07/cloud-computing-infrastructure-and-architecture-guide-from-sun.html' rel='bookmark' title='Cloud Computing Infrastructure and Architecture Guide-From SUN'>Cloud Computing Infrastructure and Architecture Guide-From SUN</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img style="vertical-align: top" src="http://www.swish-designs.co.uk/images/cloud_fig3.png" alt="" width="444" height="245" /></p>
<p>最近两周最吸引我的TAG是这个词“cloud computing”。在我<a href="http://www.martinliu.cn/2008/04/10/do-you-have-a-google-app-engine/" target="_blank">前一个文章</a>中稍微展望了一下云计算的前景“云计算吧电能转化成计算能力，然后向用电一样的来使用，我们甚至不需要使用PC这样的个人信息话设备来管理我们的信息，所有的信息和信息的处理都在云上发生”。在了解了更多的信息之后，这些可能实现，但是这种巨变需要时间，而且可能是很长时间；清醒之后不得不佩服Google在这方面的宣传。</p>
<p>理性认识云计算的简单方式，扫扫盲：</p>
<ul>
<li>阅读一下wikipedia对<a href="http://en.wikipedia.org/wiki/Cloud_computing" target="_blank">‘cloud computing’</a>的解释</li>
<li>听听John Willi的两个<a href="http://www.johnmwillis.com/best-of/" target="_blank">Podcast</a></li>
<li>多看看非google来源的信息：）</li>
<li>读读这个GRIDtoday的文章 &#8212; <a href="http://www.gridtoday.com/grid/2284608.html" target="_self">&#8220;Clouds are Looming and We Love It&#8221;</a></li>
</ul>
<p>很多厂商都在参与这个热点，open source也要加油，期待开源在这个领域的发展。</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/11/what-is-cloud.html' rel='bookmark' title='云定义'>云定义</a></li>
<li><a href='http://martinliu.cn/2008/10/open-source-and-cloud-computing%e5%bc%80%e6%ba%90%e4%b8%8e%e4%ba%91%e8%ae%a1%e7%ae%97.html' rel='bookmark' title='Open Source and Cloud Computing(开源与云计算)'>Open Source and Cloud Computing(开源与云计算)</a></li>
<li><a href='http://martinliu.cn/2009/07/cloud-computing-infrastructure-and-architecture-guide-from-sun.html' rel='bookmark' title='Cloud Computing Infrastructure and Architecture Guide-From SUN'>Cloud Computing Infrastructure and Architecture Guide-From SUN</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2008/04/clouds-are-coming.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ganglia for cluster and grid monitoring</title>
		<link>http://martinliu.cn/2008/04/using-ganglia-for-cluster-and-grid-monitoring.html</link>
		<comments>http://martinliu.cn/2008/04/using-ganglia-for-cluster-and-grid-monitoring.html#comments</comments>
		<pubDate>Wed, 16 Apr 2008 09:41:06 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[NSM]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[Ganglia]]></category>
		<category><![CDATA[grid]]></category>

		<guid isPermaLink="false">http://www.martinliu.cn/2008/04/16/using-ganglia-for-cluster-and-grid-monitoring/</guid>
		<description><![CDATA[Ganglia是一个用来监控群集和网格计算环境的软件。它是可以扩展的分布式监控系统，它基于多播协议，数据存储和传输的格式都是基于开源的标准：XML/XDR/RRDTool/APR/Apache/php等。 应用Ganglia的几个理由： 在一个点上监控包含很多服务器的群集，单个cluster内服务器的数量比较多，需要从整体看某个cluster的可用性和性能，也要能看到单独某个机器的运行情况。 监控分布式的cluster环境，例如跨网段和地域的灾备的环境。 需要监控系统能分N级的查看方式，以银行为例：北数据中心&#8211;&#62;网络银行业务&#8211;&#62;个人网银系统&#8211;&#62;web server 群集&#8211;&#62; WebSvr001；可以按业务逻辑和系统架构逻辑。 需要7*24*365的监控整个系统，能得到可用性、性能和容量等方面的报表。 应用Ganglia的几个好处： 监控能力的无限扩展，被管理服务器数量达数千个甚至根多。 纯web前端，apache和php的应用页面方便定制 强壮的系统结构，并且具备可以任意扩展采集数据KPI的特点 适合高性能计算或者网格计算环境。 Ganglia应用需要注意的方面： 在每一个节点上需要部署一个代理程序，考虑到对代理配置的变更的工作量，在部署代理之前，需要彻底的分析需求，尽量减少部署过程中配置变更带来的多于调试的工作量。 部署后期的变更工作，如果比较频繁的话将导致后台维护工作量增大，可以考虑使用一些开源的软件分发和自动化配置管理的工具。这些配置的初始化工作可以与OS的安装部署工作一起考虑。 它被很多大学和专业机构研究并使用，所以有非常多的专业文档可以参考，哪行文档多分析了Ganglia的系统架构和特点，多系统的原理介绍的非常细致。下面是我收集的几个关于这个软件的文档请参考。并且在它们的网站上也可以看到很多相关的资源连接，都是非常好的实施方面的详细文档。 If you need more detail please take look those documents below. Related posts: Ganglia install and configure
Related posts:<ol>
<li><a href='http://martinliu.cn/2008/05/ganglia-install-and-configure.html' rel='bookmark' title='Ganglia install and configure'>Ganglia install and configure</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ganglia.info/" target="_blank"><img style="margin: 4px" src="http://www.nowmicro.com/NM_Images/hpc-ganglia-logo.jpg" align="left"></a> Ganglia是一个用来监控群集和网格计算环境的软件。它是可以扩展的分布式监控系统，它基于多播协议，数据存储和传输的格式都是基于开源的标准：XML/XDR/RRDTool/APR/Apache/php等。</p>
<p>应用Ganglia的几个理由：</p>
<ul>
<li>在一个点上监控包含很多服务器的群集，单个cluster内服务器的数量比较多，需要从整体看某个cluster的可用性和性能，也要能看到单独某个机器的运行情况。</li>
<li>监控分布式的cluster环境，例如跨网段和地域的灾备的环境。</li>
<li>需要监控系统能分N级的查看方式，以银行为例：北数据中心&#8211;&gt;网络银行业务&#8211;&gt;个人网银系统&#8211;&gt;web server 群集&#8211;&gt; WebSvr001；可以按业务逻辑和系统架构逻辑。</li>
<li>需要7*24*365的监控整个系统，能得到可用性、性能和容量等方面的报表。</li>
</ul>
<p>应用Ganglia的几个好处：</p>
<ul>
<li>监控能力的无限扩展，被管理服务器数量达数千个甚至根多。</li>
<li>纯web前端，apache和php的应用页面方便定制</li>
<li>强壮的系统结构，并且具备可以任意扩展采集数据KPI的特点</li>
<li>适合高性能计算或者网格计算环境。</li>
</ul>
<p>Ganglia应用需要注意的方面：</p>
<ul>
<li>在每一个节点上需要部署一个代理程序，考虑到对代理配置的变更的工作量，在部署代理之前，需要彻底的分析需求，尽量减少部署过程中配置变更带来的多于调试的工作量。</li>
<li>部署后期的变更工作，如果比较频繁的话将导致后台维护工作量增大，可以考虑使用一些开源的软件分发和自动化配置管理的工具。这些配置的初始化工作可以与OS的安装部署工作一起考虑。</li>
</ul>
<p>它被很多大学和专业机构研究并使用，所以有非常多的专业文档可以参考，哪行文档多分析了Ganglia的系统架构和特点，多系统的原理介绍的非常细致。下面是我收集的几个关于这个软件的文档请参考。并且在它们的网站上也可以看到很多相关的资源连接，都是非常好的实施方面的详细文档。</p>
<p>If you need more detail please take look those documents below.</p>
<p><embed src="http://www.box.net/static/flash/box_explorer.swf?widgetHash=rb2sx5msk8&amp;cl=0" width="460" height="345" type="application/x-shockwave-flash" wmode="transparent"></embed></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2008/05/ganglia-install-and-configure.html' rel='bookmark' title='Ganglia install and configure'>Ganglia install and configure</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2008/04/using-ganglia-for-cluster-and-grid-monitoring.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

