<?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>Your wish is my command</title>
	<atom:link href="http://blog.woosum.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.woosum.net</link>
	<description>whitekid&#039;s blog</description>
	<lastBuildDate>Mon, 30 Jan 2012 02:55:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu 11.10에 ganglia가 설치 실패한다.</title>
		<link>http://blog.woosum.net/2012/01/ubuntu-11-10%ec%97%90-ganglia%ea%b0%80-%ec%84%a4%ec%b9%98-%ec%8b%a4%ed%8c%a8%ed%95%9c%eb%8b%a4/</link>
		<comments>http://blog.woosum.net/2012/01/ubuntu-11-10%ec%97%90-ganglia%ea%b0%80-%ec%84%a4%ec%b9%98-%ec%8b%a4%ed%8c%a8%ed%95%9c%eb%8b%a4/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 02:55:53 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=840</guid>
		<description><![CDATA[munin 대신 ganglia를 검토해보려고 ganglia를 설치하려는데 아래 메시지를 내뿜으며 설치가 제대로 안된다. Adding group: ganglia. Adding system user: ganglia. useradd: group ganglia exists - if you want to add this user to that group, use -g. dpkg: error processing gmetad (--configure): subprocess installed post-installation script returned error exit status 9 Processing triggers for libc-bin ... [...]]]></description>
			<content:encoded><![CDATA[<p>munin 대신 ganglia를 검토해보려고 ganglia를 설치하려는데 아래 메시지를 내뿜으며 설치가 제대로 안된다.<br />
<code>Adding group: ganglia.<br />
Adding system user: ganglia.<br />
useradd: group ganglia exists - if you want to add this user to that group, use -g.<br />
dpkg: error processing gmetad (--configure):<br />
 subprocess installed post-installation script returned error exit status 9<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Errors were encountered while processing:<br />
 gmetad<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)</code></p>
<p><a href="https://bugs.launchpad.net/ubuntu/">https://bugs.launchpad.net/ubuntu/</a>+source/ganglia/+bug/854866/comments/20 에 있는데로 하고 다시 설치하면 된다.<br />
<code>sudo useradd ganglia -g ganglia</code></p>
<p>음.. 우분투 실망일세~~</p>
<div id="tweetbutton840" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Fubuntu-11-10%25ec%2597%2590-ganglia%25ea%25b0%2580-%25ec%2584%25a4%25ec%25b9%2598-%25ec%258b%25a4%25ed%258c%25a8%25ed%2595%259c%25eb%258b%25a4%2F&amp;text=Ubuntu%2011.10%EC%97%90%20ganglia%EA%B0%80%20%EC%84%A4%EC%B9%98%20%EC%8B%A4%ED%8C%A8%ED%95%9C%EB%8B%A4.&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Fubuntu-11-10%25ec%2597%2590-ganglia%25ea%25b0%2580-%25ec%2584%25a4%25ec%25b9%2598-%25ec%258b%25a4%25ed%258c%25a8%25ed%2595%259c%25eb%258b%25a4%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2012/01/ubuntu-11-10%ec%97%90-ganglia%ea%b0%80-%ec%84%a4%ec%b9%98-%ec%8b%a4%ed%8c%a8%ed%95%9c%eb%8b%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS bootstraping in Ubuntu</title>
		<link>http://blog.woosum.net/2012/01/centos-bootstraping-in-ubuntu/</link>
		<comments>http://blog.woosum.net/2012/01/centos-bootstraping-in-ubuntu/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 05:26:37 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=835</guid>
		<description><![CDATA[$ apt-get install yum rpm python-m2crypto $ mkdir -p /tmp/centos/var/lib/rpm $ rpm &#8211;root /tmp/centos &#8211;initdb $HOME/.rpmdb 가 만들어지는데 그거는 마지막 삭제한다. rpmfind.net에서 원하는 버전의 rpm 찾아서 다운로드 $ wget ftp://195.220.108.108/linux/centos/5.7/os/x86_64/CentOS/centos-release-5-7.el5.centos.x86_64.rpm $ rpm -ivh &#8211;force-debian &#8211;nodeps &#8211;root /tmp/centos centos-release-5-7.el5.centos.x86_64.rpm $ ln -s /tmp/centos/etc/pki /etc/pki $ yum &#8211;installroot /tmp/centos install yum $ mount -t proc foo /tmp/centos/proc [...]]]></description>
			<content:encoded><![CDATA[<p>$ apt-get install yum rpm python-m2crypto<br />
$ mkdir -p /tmp/centos/var/lib/rpm<br />
$ rpm &#8211;root /tmp/centos &#8211;initdb<br />
$HOME/.rpmdb 가 만들어지는데 그거는 마지막 삭제한다.</p>
<p>rpmfind.net에서 원하는 버전의 rpm 찾아서 다운로드<br />
$ wget <a href="ftp://195.220.108.108/linux/centos/5.7/os/x86_64/CentOS/centos-release-5-7.el5.centos.x86_64.rpm">ftp://195.220.108.108/linux/centos/5.7/os/x86_64/CentOS/centos-release-5-7.el5.centos.x86_64.rpm</a><br />
$ rpm -ivh &#8211;force-debian &#8211;nodeps &#8211;root /tmp/centos centos-release-5-7.el5.centos.x86_64.rpm<br />
$ ln -s /tmp/centos/etc/pki /etc/pki<br />
$ yum &#8211;installroot /tmp/centos install yum<br />
$ mount -t proc foo /tmp/centos/proc<br />
$ mount -t sysfs foo /tmp/centos/sys</p>
<p>$ chroot /tmp/centos /bin/bash &#8211;login<br />
$ rm -rf /home/choe/.rpmdb # 위에서 initdb한것 지우기<br />
$ rpm &#8211;initdb<br />
$ echo nameserver 168.126.63.1 &gt; /etc/resolv.conf<br />
$ yum install yum<br />
$ yum install vim-minimal less</p>
<p>참고: <a href="http://www.lucas-nussbaum.net/blog/?p=385">http://www.lucas-nussbaum.net/blog/?p=385</a></p>
<div id="tweetbutton835" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Fcentos-bootstraping-in-ubuntu%2F&amp;text=CentOS%20bootstraping%20in%20Ubuntu&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Fcentos-bootstraping-in-ubuntu%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2012/01/centos-bootstraping-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>클라우드 컴퓨팅의 장점</title>
		<link>http://blog.woosum.net/2012/01/%ed%81%b4%eb%9d%bc%ec%9a%b0%eb%93%9c-%ec%bb%b4%ed%93%a8%ed%8c%85%ec%9d%98-%ec%9e%a5%ec%a0%90/</link>
		<comments>http://blog.woosum.net/2012/01/%ed%81%b4%eb%9d%bc%ec%9a%b0%eb%93%9c-%ec%bb%b4%ed%93%a8%ed%8c%85%ec%9d%98-%ec%9e%a5%ec%a0%90/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 06:19:53 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=831</guid>
		<description><![CDATA[Naver Platform Day 2011을 훑어보다 정리합니다. 구체적으로 사용자 측면에서 클라우드 서비스의 장점 자본 비용과 운용, 유지의 부담 없이 저렴하게 고기능의 정보 처리 기능을 이용할 수 있다. 시스템 구축, 개발 기간이 단축되고 수요 변동에 유연하고 즉각적으로 대응할 수 있다. 네트워크를 통해 협업, 데이터 수집, 제어가 용이하다. 장비 분실 등에 따른 정보 유출 위험을 감소시킨다. 클라우드 기반의 [...]]]></description>
			<content:encoded><![CDATA[<p>Naver Platform Day 2011을 훑어보다 정리합니다.</p>
<p>구체적으로 사용자 측면에서 클라우드 서비스의 장점</p>
<ul>
<li>자본 비용과 운용, 유지의 부담 없이 저렴하게 고기능의 정보 처리 기능을 이용할 수 있다.</li>
<li>시스템 구축, 개발 기간이 단축되고 수요 변동에 유연하고 즉각적으로 대응할 수 있다.</li>
<li>네트워크를 통해 협업, 데이터 수집, 제어가 용이하다.</li>
<li>장비 분실 등에 따른 정보 유출 위험을 감소시킨다.</li>
<li>클라우드 기반의 지속성에 의해 사업의 연속성이 향상된다.</li>
<li>사용한 비용만 청구받고 지불하면 된다.</li>
</ul>
<p>사업자 측면에서의 장점</p>
<ul>
<li>가상화, 분산 처리 기술을 활용함으로써 다양한 정보 처리 수요에 대해 자원을 효율적으로 제공할 수 있다.</li>
<li>애플리케이션 표준화를 통해 소프트웨어 자원을 효율적으로 활용할 수 있다.</li>
<li>서비스 자동화 및 지속성을 통해 운용, 보수, 갱신을 합리화할 수 있다</li>
<li>다른 클라우드 서비스를 사업자 측에 결합해 저렴한 가격으로 다양한 서비스를 제공할 수 있다.</li>
<li>사용자의 수와 상관없이 서비스를 공급할 수 있는 분산, 가상화의 특징이 있다.</li>
</ul>
<p>결국 합리화, 최적화, 비용 절감!</p>
<p>쓸데없이 자원 관리하는데 노력을 들이지 말고 클라우드에 맞기고, 남는 시간에 당신의 비지니스에 집중하라~</p>
<p>클라우드 호스팅과 클라우드 IaaS의 차이는</p>
<ul>
<li>on-demand self-service로 사용할 수 있느냐?</li>
<li>사용랑 기반으로 과금하느냐?</li>
</ul>
<div id="tweetbutton831" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2F%25ed%2581%25b4%25eb%259d%25bc%25ec%259a%25b0%25eb%2593%259c-%25ec%25bb%25b4%25ed%2593%25a8%25ed%258c%2585%25ec%259d%2598-%25ec%259e%25a5%25ec%25a0%2590%2F&amp;text=%ED%81%B4%EB%9D%BC%EC%9A%B0%EB%93%9C%20%EC%BB%B4%ED%93%A8%ED%8C%85%EC%9D%98%20%EC%9E%A5%EC%A0%90&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2F%25ed%2581%25b4%25eb%259d%25bc%25ec%259a%25b0%25eb%2593%259c-%25ec%25bb%25b4%25ed%2593%25a8%25ed%258c%2585%25ec%259d%2598-%25ec%259e%25a5%25ec%25a0%2590%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2012/01/%ed%81%b4%eb%9d%bc%ec%9a%b0%eb%93%9c-%ec%bb%b4%ed%93%a8%ed%8c%85%ec%9d%98-%ec%9e%a5%ec%a0%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>쓸데없는 트래픽 유발하기&#8230; ㅋㅋ</title>
		<link>http://blog.woosum.net/2012/01/%ec%93%b8%eb%8d%b0%ec%97%86%eb%8a%94-%ed%8a%b8%eb%9e%98%ed%94%bd-%ec%9c%a0%eb%b0%9c%ed%95%98%ea%b8%b0-%e3%85%8b%e3%85%8b/</link>
		<comments>http://blog.woosum.net/2012/01/%ec%93%b8%eb%8d%b0%ec%97%86%eb%8a%94-%ed%8a%b8%eb%9e%98%ed%94%bd-%ec%9c%a0%eb%b0%9c%ed%95%98%ea%b8%b0-%e3%85%8b%e3%85%8b/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 06:24:11 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=829</guid>
		<description><![CDATA[ssh 192.168.0.24 cat /dev/zero > /dev/null Tweet]]></description>
			<content:encoded><![CDATA[<p><code>ssh 192.168.0.24 cat /dev/zero > /dev/null</code></p>
<div id="tweetbutton829" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2F%25ec%2593%25b8%25eb%258d%25b0%25ec%2597%2586%25eb%258a%2594-%25ed%258a%25b8%25eb%259e%2598%25ed%2594%25bd-%25ec%259c%25a0%25eb%25b0%259c%25ed%2595%2598%25ea%25b8%25b0-%25e3%2585%258b%25e3%2585%258b%2F&amp;text=%EC%93%B8%EB%8D%B0%EC%97%86%EB%8A%94%20%ED%8A%B8%EB%9E%98%ED%94%BD%20%EC%9C%A0%EB%B0%9C%ED%95%98%EA%B8%B0%26%238230%3B%20%E3%85%8B%E3%85%8B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2F%25ec%2593%25b8%25eb%258d%25b0%25ec%2597%2586%25eb%258a%2594-%25ed%258a%25b8%25eb%259e%2598%25ed%2594%25bd-%25ec%259c%25a0%25eb%25b0%259c%25ed%2595%2598%25ea%25b8%25b0-%25e3%2585%258b%25e3%2585%258b%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2012/01/%ec%93%b8%eb%8d%b0%ec%97%86%eb%8a%94-%ed%8a%b8%eb%9e%98%ed%94%bd-%ec%9c%a0%eb%b0%9c%ed%95%98%ea%b8%b0-%e3%85%8b%e3%85%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsyslog가 CPU를 100%먹는 증상</title>
		<link>http://blog.woosum.net/2012/01/rsyslog%ea%b0%80-cpu%eb%a5%bc-100%eb%a8%b9%eb%8a%94-%ec%a6%9d%ec%83%81/</link>
		<comments>http://blog.woosum.net/2012/01/rsyslog%ea%b0%80-cpu%eb%a5%bc-100%eb%a8%b9%eb%8a%94-%ec%a6%9d%ec%83%81/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 03:24:07 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rsyslog]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=823</guid>
		<description><![CDATA[Ubuntu 11.04 natty 서버가 있는데, 여기서 rsyslog가 CPU를 100% 먹는 증상이 발생한다. syslog에 아래 메시지가 지속적으로 쌓이면서 생기는 현상이다. Cannot read proc file system: 1 - Operation not permitted. 특정 커널과 rsyslog의 특정 버전의 조합이면 이러한 문제가 발생한다고.. 결론은 커널을 업그레이드 하단거, 아니면 rsyslog를 업그레이드 하던가&#8230; 그런데 커널을 업그레이드하면 리부팅해야하고&#8230; 돌아가는 서비스는 중단할 수 없고.. [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 11.04 natty 서버가 있는데, 여기서 rsyslog가 CPU를 100% 먹는 증상이 발생한다. syslog에 아래 메시지가 지속적으로 쌓이면서 생기는 현상이다.</p>
<pre>
Cannot read proc file system: 1 - Operation not permitted.
</pre>
<p>특정 커널과 rsyslog의 특정 버전의 조합이면 이러한 문제가 발생한다고.. 결론은 커널을 업그레이드 하단거, 아니면 rsyslog를 업그레이드 하던가&#8230;</p>
<p>그런데 커널을 업그레이드하면 리부팅해야하고&#8230; 돌아가는 서비스는 중단할 수 없고.. 결국은 rsyslog를 downgrade하기로 했다.</p>
<p>조사해보니 natty에 있는 버전은 모두 같은 버전이라 maverick으로 가기로 했다. 그래서 sources.list를 아예 maverick으로 이동..</p>
<pre class="brush: plain; title: ; notranslate">
$ perl -p -i -e &quot;s/natty/maverick/g&quot; /etc/apt/sources.list
$ apt-get update
</pre>
<p>그리고 어떤 버전이 있는지 확인해보고..</p>
<pre class="brush: plain; title: ; notranslate">
$ apt-cache show rsyslog | grep Version
Version: 4.6.4-2ubuntu4
Version: 4.6.4-2ubuntu4.1
Version: 4.2.0-2ubuntu8
</pre>
<p>그 버전으로 다운그레이드한다.</p>
<pre class="brush: plain; title: ; notranslate">
$ apt-get install rsyslog=4.2.0-2ubuntu8
</pre>
<p>그리고 나중에 혹시나 자동으로 업그레이드 될 지 모르니 업그레이드 금지</p>
<pre class="brush: plain; title: ; notranslate">
$ echo 'rsyslog hold' | dpkg --set-selections
</pre>
<p>스크립트로 한방</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
release=`lsb_release -c | awk '{print $2}'`
if [ &quot;$release&quot; != 'natty' ]; then
        echo 'rsyslog download only apply to natty!'
        exit
fi

if [ `grep -c 'natty' /etc/apt/sources.list` == 0 ]; then
        echo 'something wrong in sources.list'
        exit
fi

perl -p -i -e 's/natty/maverick/g' /etc/apt/sources.list
apt-get update
apt-get install -y --force-yes rsyslog=4.2.0-2ubuntu8
perl -p -i -e 's/maverick/natty/g' /etc/apt/sources.list
echo 'rsyslog hold' | dpkg --set-selections
</pre>
<div id="tweetbutton823" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Frsyslog%25ea%25b0%2580-cpu%25eb%25a5%25bc-100%25eb%25a8%25b9%25eb%258a%2594-%25ec%25a6%259d%25ec%2583%2581%2F&amp;text=rsyslog%EA%B0%80%20CPU%EB%A5%BC%20100%25%EB%A8%B9%EB%8A%94%20%EC%A6%9D%EC%83%81&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2012%2F01%2Frsyslog%25ea%25b0%2580-cpu%25eb%25a5%25bc-100%25eb%25a8%25b9%25eb%258a%2594-%25ec%25a6%259d%25ec%2583%2581%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2012/01/rsyslog%ea%b0%80-cpu%eb%a5%bc-100%eb%a8%b9%eb%8a%94-%ec%a6%9d%ec%83%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>munin: Call to accept timed out</title>
		<link>http://blog.woosum.net/2011/12/munin-call-to-accept-timed-out/</link>
		<comments>http://blog.woosum.net/2011/12/munin-call-to-accept-timed-out/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 17:26:20 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[munin]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=818</guid>
		<description><![CDATA[munin을 돌리고 있는데, 뭔가 이상한게 보인다. 그래프가 중간중간 끊기는거다&#8230; 그래 점검하는 호스트가 좀 많기로서니&#8230; 좀 힘들어한다는 느낌이 들었다. 여기저기 둘러봤지만 .. 글쎄 확실한 해결책이 없다. 결국은 perl 소스를 조금 보기로했지.. ProcessManager.pm에서 accept를 기다리는 timeout이 아래처럼 10으로 되어있는데, 간딘히 360으로 해놨다. 우선 로그보니 timeout 메시지는 안나온다. Tweet]]></description>
			<content:encoded><![CDATA[<p>munin을 돌리고 있는데, 뭔가 이상한게 보인다. 그래프가 중간중간 끊기는거다&#8230; 그래 점검하는 호스트가 좀 많기로서니&#8230; 좀 힘들어한다는 느낌이 들었다.</p>
<p>여기저기 둘러봤지만 .. 글쎄 확실한 해결책이 없다. 결국은 perl 소스를 조금 보기로했지..</p>
<p>ProcessManager.pm에서 accept를 기다리는 timeout이 아래처럼 10으로 되어있는데, 간딘히 360으로 해놨다. 우선 로그보니 timeout 메시지는 안나온다.</p>
<pre class="brush: plain; title: ; notranslate">
#accept_timeout  =&gt; 10,
accept_timeout  =&gt; 360,
</pre>
<div id="tweetbutton818" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fmunin-call-to-accept-timed-out%2F&amp;text=munin%3A%20Call%20to%20accept%20timed%20out&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fmunin-call-to-accept-timed-out%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2011/12/munin-call-to-accept-timed-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conceptual Architecture Checklist</title>
		<link>http://blog.woosum.net/2011/12/conceptual-architecture-checklist/</link>
		<comments>http://blog.woosum.net/2011/12/conceptual-architecture-checklist/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 05:30:25 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[architecture]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=811</guid>
		<description><![CDATA[Just bookmark http://it.toolbox.com/blogs/enterprise-solutions/conceptual-architecture-checklist-22364 Tweet]]></description>
			<content:encoded><![CDATA[<p>Just bookmark</p>
<p><a href="http://it.toolbox.com/blogs/enterprise-solutions/conceptual-architecture-checklist-22364">http://it.toolbox.com/blogs/enterprise-solutions/conceptual-architecture-checklist-22364</a></p>
<div id="tweetbutton811" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fconceptual-architecture-checklist%2F&amp;text=Conceptual%20Architecture%20Checklist&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fconceptual-architecture-checklist%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2011/12/conceptual-architecture-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>su 명령을 wheel 그룹만 허용하기..</title>
		<link>http://blog.woosum.net/2011/12/su-%eb%aa%85%eb%a0%b9%ec%9d%84-wheel-%ea%b7%b8%eb%a3%b9%eb%a7%8c-%ed%97%88%ec%9a%a9%ed%95%98%ea%b8%b0/</link>
		<comments>http://blog.woosum.net/2011/12/su-%eb%aa%85%eb%a0%b9%ec%9d%84-wheel-%ea%b7%b8%eb%a3%b9%eb%a7%8c-%ed%97%88%ec%9a%a9%ed%95%98%ea%b8%b0/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:48:56 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=807</guid>
		<description><![CDATA[근데 말이다.. su 명령은 아예 막고, sudo만 사용하게 하는건 어떨까? Tweet]]></description>
			<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">
$ chown root.wheel /bin/su
$ chmod 4750 /bin/su
$ chattr +i /bin/su
</pre>
<p>근데 말이다.. su 명령은 아예 막고, sudo만 사용하게 하는건 어떨까?</p>
<div id="tweetbutton807" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fsu-%25eb%25aa%2585%25eb%25a0%25b9%25ec%259d%2584-wheel-%25ea%25b7%25b8%25eb%25a3%25b9%25eb%25a7%258c-%25ed%2597%2588%25ec%259a%25a9%25ed%2595%2598%25ea%25b8%25b0%2F&amp;text=su%20%EB%AA%85%EB%A0%B9%EC%9D%84%20wheel%20%EA%B7%B8%EB%A3%B9%EB%A7%8C%20%ED%97%88%EC%9A%A9%ED%95%98%EA%B8%B0..&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fsu-%25eb%25aa%2585%25eb%25a0%25b9%25ec%259d%2584-wheel-%25ea%25b7%25b8%25eb%25a3%25b9%25eb%25a7%258c-%25ed%2597%2588%25ec%259a%25a9%25ed%2595%2598%25ea%25b8%25b0%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2011/12/su-%eb%aa%85%eb%a0%b9%ec%9d%84-wheel-%ea%b7%b8%eb%a3%b9%eb%a7%8c-%ed%97%88%ec%9a%a9%ed%95%98%ea%b8%b0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>keepalived를 설정하는데&#8230; vrid가 중복이네??</title>
		<link>http://blog.woosum.net/2011/12/keepalived%eb%a5%bc-%ec%84%a4%ec%a0%95%ed%95%98%eb%8a%94%eb%8d%b0-vrid%ea%b0%80-%ec%a4%91%eb%b3%b5%ec%9d%b4%eb%84%a4/</link>
		<comments>http://blog.woosum.net/2011/12/keepalived%eb%a5%bc-%ec%84%a4%ec%a0%95%ed%95%98%eb%8a%94%eb%8d%b0-vrid%ea%b0%80-%ec%a4%91%eb%b3%b5%ec%9d%b4%eb%84%a4/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 10:50:44 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[keepalived]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=802</guid>
		<description><![CDATA[keepalived를 설정하는데 receive an invalid ip number count associated with VRID! 라는 로그가 계속 나온다. 말그대로 VRID로 받은 패킷의 IP 갯수와 설정된 IP 갯수가 다르다는데, 엇뜬 이해하기가 힘들다. 고민해보니깐.. VRID가 중복된 것 아닐까? 이 네트웍에 다른 vrrp가 동작하는 것이 아닐까하고 VRID를 바꾸니까 동작한다. 금방 바꿔서 문제를 해결했지만, 이런 문제를 사전에 인지하려면 뭔가 방법이 필요했다. 현제 [...]]]></description>
			<content:encoded><![CDATA[<p>keepalived를 설정하는데 receive an invalid ip number count associated with VRID! 라는 로그가 계속 나온다. 말그대로 VRID로 받은 패킷의 IP 갯수와 설정된 IP 갯수가 다르다는데, 엇뜬 이해하기가 힘들다.</p>
<p>고민해보니깐.. VRID가 중복된 것 아닐까? 이 네트웍에 다른 vrrp가 동작하는 것이 아닐까하고 VRID를 바꾸니까 동작한다.</p>
<p>금방 바꿔서 문제를 해결했지만, 이런 문제를 사전에 인지하려면 뭔가 방법이 필요했다. 현제 네트웍에서 사용중인 VRID를 모두 알 수 없을까??? 여기저기 자료를 찾아봤지만, 이런 문제에 대한 직접적인 해결 방법은 찾을 수 없었다.</p>
<p>그러다가 눈에 띈게 <a href="http://en.wikipedia.org/wiki/Multicast_address#IPv4">vrrp 프로토콜은 224.0.0.18로 boradcasting한다</a>는 사실.  그리고 keepalived에서 vrrp는 기본 설정상 1초에 1번 vrrp advertising을 한다는 것.. 라서 해당 224.0.0.18와 통신하는 것을 패킷을 보면 vrid가 나오겠구나 생각하고 해봤는데..</p>
<pre class="brush: plain; title: ; notranslate">
$ sudo tcpdump -i eth0 host 224.0.0.18
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
19:17:30.574665 IP 192.168.0.199 &gt; vrrp.mcast.net: VRRPv2, Advertisement, vrid 1, prio 101, authtype simple, intvl 1s, length 28
19:17:30.574676 IP 192.168.0.199 &gt; vrrp.mcast.net: VRRPv2, Advertisement, vrid 1, prio 101, authtype simple, intvl 1s, length 28
19:17:30.574770 IP 192.168.0.199 &gt; vrrp.mcast.net: VRRPv2, Advertisement, vrid 2, prio 101, authtype simple, intvl 1s, length 24
19:17:30.574773 IP 192.168.0.199 &gt; vrrp.mcast.net: VRRPv2, Advertisement, vrid 2, prio 101, authtype simple, intvl 1s, length 24
</pre>
<p>다행이도 생각했던 것 처럼 나온다. 그래서 아래처럼 5초 동안 VRIP를 감사하면 현재 네트웍의 VRIP가 다 나오고 여기서 없는 것으로 피해가면 된다!!</p>
<pre class="brush: plain; title: ; notranslate">
sudo timeout 5 tcpdump -i eth0 host 224.0.0.18 2&gt;&amp;1 | grep vrid | awk '{print $9}' | sort | uniq
</pre>
<div id="tweetbutton802" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fkeepalived%25eb%25a5%25bc-%25ec%2584%25a4%25ec%25a0%2595%25ed%2595%2598%25eb%258a%2594%25eb%258d%25b0-vrid%25ea%25b0%2580-%25ec%25a4%2591%25eb%25b3%25b5%25ec%259d%25b4%25eb%2584%25a4%2F&amp;text=keepalived%EB%A5%BC%20%EC%84%A4%EC%A0%95%ED%95%98%EB%8A%94%EB%8D%B0%26%238230%3B%20vrid%EA%B0%80%20%EC%A4%91%EB%B3%B5%EC%9D%B4%EB%84%A4%3F%3F&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fkeepalived%25eb%25a5%25bc-%25ec%2584%25a4%25ec%25a0%2595%25ed%2595%2598%25eb%258a%2594%25eb%258d%25b0-vrid%25ea%25b0%2580-%25ec%25a4%2591%25eb%25b3%25b5%25ec%259d%25b4%25eb%2584%25a4%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2011/12/keepalived%eb%a5%bc-%ec%84%a4%ec%a0%95%ed%95%98%eb%8a%94%eb%8d%b0-vrid%ea%b0%80-%ec%a4%91%eb%b3%b5%ec%9d%b4%eb%84%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare에서 Xen설치할때 vmnet 어쩌구저쩌구..</title>
		<link>http://blog.woosum.net/2011/12/vmware%ec%97%90%ec%84%9c-xen%ec%84%a4%ec%b9%98%ed%95%a0%eb%95%8c-vmnet-%ec%96%b4%ec%a9%8c%ea%b5%ac%ec%a0%80%ec%a9%8c%ea%b5%ac/</link>
		<comments>http://blog.woosum.net/2011/12/vmware%ec%97%90%ec%84%9c-xen%ec%84%a4%ec%b9%98%ed%95%a0%eb%95%8c-vmnet-%ec%96%b4%ec%a9%8c%ea%b5%ac%ec%a0%80%ec%a9%8c%ea%b5%ac/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 03:02:14 +0000</pubDate>
		<dc:creator>whitekid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.woosum.net/?p=800</guid>
		<description><![CDATA[Ubuntu에서 VMWare를 사용하고 있었습니다. 원래는 VirtualBox를 사용했었지만, 그녀석이 안의 가상머신에서는 가상화 기술(vmx or svm)을 지원해주지 않아서 말이죠.. 그런데 VMware에 Xen을 설치하고 재부팅하면 네트웍 카드를 promiscuous로 허용하지 않는다고 메시지가 뜹니다. 보안때문이라나.. 간단히 아래처럼 하면 됩니다. $ chmod a+rw /dev/vmnet* 이렇게하면 되기는 하는데, 시스템을 리부팅하면 /dev/vmnet*의 권한이 다시 재설정됩니다. ㅡㅡ 그래서 또 권한을 주고 udev에 등록을.~ $ [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu에서 VMWare를 사용하고 있었습니다. 원래는 VirtualBox를 사용했었지만, 그녀석이 안의 가상머신에서는 가상화 기술(vmx or svm)을 지원해주지 않아서 말이죠..</p>
<p>그런데 VMware에 Xen을 설치하고 재부팅하면 네트웍 카드를 promiscuous로 허용하지 않는다고 메시지가 뜹니다. 보안때문이라나.. 간단히 아래처럼 하면 됩니다.</p>
<pre>$ chmod a+rw /dev/vmnet*</pre>
<p>이렇게하면 되기는 하는데, 시스템을 리부팅하면 /dev/vmnet*의 권한이 다시 재설정됩니다. ㅡㅡ 그래서 또 권한을 주고 udev에 등록을.~</p>
<pre>$ cp -a /dev/vmnet* /lib/udev/devices</pre>
<p>삽질 끝~</p>
<div id="tweetbutton800" class="tw_button" style="padding: 1em;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fvmware%25ec%2597%2590%25ec%2584%259c-xen%25ec%2584%25a4%25ec%25b9%2598%25ed%2595%25a0%25eb%2595%258c-vmnet-%25ec%2596%25b4%25ec%25a9%258c%25ea%25b5%25ac%25ec%25a0%2580%25ec%25a9%258c%25ea%25b5%25ac%2F&amp;text=VMWare%EC%97%90%EC%84%9C%20Xen%EC%84%A4%EC%B9%98%ED%95%A0%EB%95%8C%20vmnet%20%EC%96%B4%EC%A9%8C%EA%B5%AC%EC%A0%80%EC%A9%8C%EA%B5%AC..&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fblog.woosum.net%2F2011%2F12%2Fvmware%25ec%2597%2590%25ec%2584%259c-xen%25ec%2584%25a4%25ec%25b9%2598%25ed%2595%25a0%25eb%2595%258c-vmnet-%25ec%2596%25b4%25ec%25a9%258c%25ea%25b5%25ac%25ec%25a0%2580%25ec%25a9%258c%25ea%25b5%25ac%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.woosum.net/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.woosum.net/2011/12/vmware%ec%97%90%ec%84%9c-xen%ec%84%a4%ec%b9%98%ed%95%a0%eb%95%8c-vmnet-%ec%96%b4%ec%a9%8c%ea%b5%ac%ec%a0%80%ec%a9%8c%ea%b5%ac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

