<?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>Mokona Modoki &#187; Linux</title>
	<atom:link href="http://www.mokonamodoki.com/mokidoki/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mokonamodoki.com</link>
	<description>It is what it is, at the time of the time</description>
	<lastBuildDate>Tue, 10 Aug 2010 13:36:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Copying files from one linux server to another via SSH</title>
		<link>http://www.mokonamodoki.com/copying-files-from-one-linux-server-to-another-via-ssh</link>
		<comments>http://www.mokonamodoki.com/copying-files-from-one-linux-server-to-another-via-ssh#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:30:03 +0000</pubDate>
		<dc:creator>Quin Rose</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[copying]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[scruity]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[specify]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.mokonamodoki.com/?p=632</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to copy files from one linux server to another, via SSH? Here&#8217;s the command:</p>
<p><code>scp -P 22 -r /home/username/local-directory ip-or-hostname-of-remote-server:/home/username/remote-directory.</code></p>
<p><code>scp</code> = Secure Copy.</p>
<p><code>-r</code> = Tecursive (copy the contents of the directory and the contents of any directories inside that directory).</p>
<p><code>-P</code> = (specifying the port number).</p>
<p><code>22</code> = The port number SSH is running on, on the remote server. (That&#8217;s right, some of us who are little security conscious, don&#8217;t leave SSH running on port 22).</p>
<p><code>/home/username/local-directory</code> = The local directory on the &#8217;source&#8217; server, containing the files you want to copy to the remote servers</p>
<p><code>/home/username/remote-directory</code> = The directory on the &#8216;destination&#8217; server, where you want to copy the files to.</p>
<p><code>ip-or-hostname-of-remote-server</code> = The example says it all. Replace this section with the remote <a href="http://www.google.com.au/url?ei=B1VhTOHQI4aSuQP9w4WJCQ&amp;sig2=ZExD5FCIW16Qggpv3qPO7A&amp;q=http://en.wikipedia.org/wiki/IP_address&amp;sa=X&amp;ved=0CBoQpAMoAA&amp;usg=AFQjCNHhfe6xSnGInZvQ_fquaBP1flUD_Q" target="_blank">IP Address</a> or <a href="http://www.google.com.au/url?ei=GlVhTJnSHIa4uAO3oaWHCQ&amp;sig2=MFFYyN5RwiDajDUBu6S6eA&amp;q=http://en.wikipedia.org/wiki/Hostname&amp;sa=X&amp;ved=0CA0QpAMoAA&amp;usg=AFQjCNG1eG8aearcvHyqJMUzQnc9yNhNjA" target="_blank">Hostname</a> of the destination server.</p>
<p>Easy enough? If not, or you would like further examples or assistance, please feel free to ask you questions in the comments.</p>



Share This:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh&amp;title=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH&amp;bodytext=Ever%20wanted%20to%20copy%20files%20from%20one%20linux%20server%20to%20another%2C%20via%20SSH%3F%20Here%27s%20the%20command%3A%0D%0A%0D%0Ascp%20-P%2022%20-r%20%2Fhome%2Fusername%2Flocal-directory%20ip-or-hostname-of-remote-server%3A%2Fhome%2Fusername%2Fremote-directory.%0D%0A%0D%0Ascp%20%3D%20Secure%20Copy.%0D%0A%0D%0A-r%20%3D%20Tecursive%20%28copy%20the" title="Digg"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh" title="Sphinn"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh&amp;title=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH&amp;notes=Ever%20wanted%20to%20copy%20files%20from%20one%20linux%20server%20to%20another%2C%20via%20SSH%3F%20Here%27s%20the%20command%3A%0D%0A%0D%0Ascp%20-P%2022%20-r%20%2Fhome%2Fusername%2Flocal-directory%20ip-or-hostname-of-remote-server%3A%2Fhome%2Fusername%2Fremote-directory.%0D%0A%0D%0Ascp%20%3D%20Secure%20Copy.%0D%0A%0D%0A-r%20%3D%20Tecursive%20%28copy%20the" title="del.icio.us"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh&amp;t=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH" title="Facebook"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh&amp;title=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH" title="Mixx"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh&amp;title=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH&amp;annotation=Ever%20wanted%20to%20copy%20files%20from%20one%20linux%20server%20to%20another%2C%20via%20SSH%3F%20Here%27s%20the%20command%3A%0D%0A%0D%0Ascp%20-P%2022%20-r%20%2Fhome%2Fusername%2Flocal-directory%20ip-or-hostname-of-remote-server%3A%2Fhome%2Fusername%2Fremote-directory.%0D%0A%0D%0Ascp%20%3D%20Secure%20Copy.%0D%0A%0D%0A-r%20%3D%20Tecursive%20%28copy%20the" title="Google Bookmarks"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH&amp;body=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh" title="email"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Copying%20files%20from%20one%20linux%20server%20to%20another%20via%20SSH&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcopying-files-from-one-linux-server-to-another-via-ssh" title="Slashdot"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.mokonamodoki.com/copying-files-from-one-linux-server-to-another-via-ssh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check for a Process and Start It if It&#8217;s Not Started (Linux/Unix)</title>
		<link>http://www.mokonamodoki.com/check-for-a-process-and-start-it-if-its-not-started-linux-unix</link>
		<comments>http://www.mokonamodoki.com/check-for-a-process-and-start-it-if-its-not-started-linux-unix#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:15:08 +0000</pubDate>
		<dc:creator>Quin Rose</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[daemons]]></category>
		<category><![CDATA[helpful]]></category>
		<category><![CDATA[ircbot]]></category>
		<category><![CDATA[ircservices]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[ngircd]]></category>
		<category><![CDATA[openfire]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sc_serv]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shoutcast]]></category>
		<category><![CDATA[StreamTranscoder]]></category>
		<category><![CDATA[uncommon]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.mokonamodoki.com/?p=628</guid>
		<description><![CDATA[I came across a conundrum some time ago. I have a CentOS Linux based VPS running a few various different &#8216;processes&#8217; for different purposes. My problem was that from time to time, these processes would stop or die, for whatever reason. Given that I require absolute uptime from these processes (or at least as close [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a conundrum some time ago. I have a CentOS Linux based VPS running a few various different &#8216;processes&#8217; for different purposes. My problem was that from time to time, these processes would stop or die, for whatever reason. Given that I require absolute uptime from these processes (or at least as close as I can get) I needed a script, a way to check if the process was running, and if not, to start it, all without my manual help. Now, Before you read any further, I just want to make it clear, <strong>I am talking about uncommon processes (not system services or daemons)</strong>. To name a few:</p>
<ul>
<li><a href="http://www.shoutirc.com" target="_blank">IRCBot (ircbot)</a></li>
<li><a href="http://ngircd.barton.de/" target="_blank">ngIRCd (ngircd)</a></li>
<li><a href="http://www.ircservices.za.net/" target="_blank">Services for IRC (ircservces)</a></li>
<li><a href="http://www.shoutcast.com/download" target="_blank">Shoutcast (sc_serv)</a></li>
<li><a href="http://www.oddsock.org/tools/streamTranscoderV3/" target="_blank">StreamTranscoder (transcoderv3)</a></li>
<li><a href="http://www.igniterealtime.org/projects/openfire/" target="_blank">Openfire</a></li>
</ul>
<p>Initially, I searched and searched the internet and found all sorts of solutions dating back to the 1990&#8217;s all the way through to 2010. I even managed to cobble something together, but it was pretty terrible and failed sometimes (more often than not actually).</p>
<p>Some readers may have noticed that one of my examples above, already contains an almost perfectly good solution!</p>
<p><a href="http://www.ircservices.za.net/" target="_blank">Services for IRC</a> (developed primarily by Andrew Church), contains an additional script (once compiled and installed) under the file name of ircservces-chk (located here: /usr/local/sbin/ircservices-chk on most linux distributions). The contents of this file looks like this:<br />
<code><br />
#!/bin/sh<br />
#<br />
# Script to check whether IRC Services is running, and restart it if not.<br />
# Usage: ircservices-chk [-q] [ircservices-options]<br />
#        -q: don't write any output<br />
#        ircservices-options: options to pass to ircservices executable<br />
# If you change PIDFile in ircservices.conf, also change PIDFILE below.<br />
#<br />
# IRC Services is copyright (c) 1996-2009 Andrew Church.<br />
#     E-mail:<br />
# Parts written by Andrew Kempe and others.<br />
# This program is free but copyrighted software; see the file GPL.txt for<br />
# details.</code></p>
<p><code>PIDFILE=ircservices.pid</code></p>
<p><code>if [ "X$1" = "X-q" ] ; then<br />
exec 1&gt;/dev/null<br />
exec 2&gt;/dev/null<br />
shift<br />
fi</code></p>
<p><code>ok=<br />
if [ -f "/usr/local/lib/ircservices/$PIDFILE" ] ; then<br />
pid=`cat "/usr/local/lib/ircservices/$PIDFILE"`<br />
if echo "0$pid" | grep -q '[^0-9]' ; then<br />
rm -f "/usr/local/lib/ircservices/$PIDFILE"<br />
elif kill -0 $pid ; then<br />
ok=1<br />
fi<br />
fi</code></p>
<p><code> </code></p>
<p><code>if [ ! "$ok" ] ; then<br />
"/usr/local/sbin/ircservices" "$@"<br />
fi<br />
</code><br />
This script is almost perfect for my use (it does an exactly perfect job for ircservices), but not quite. This script uses the process id (PID) of ircservices to check if it is running or not. That&#8217;s ok, but not all programs output their current process ID to a file based location on the system or in any way that&#8217;s useful to the end user. I added a line to the beginning of the script, using the pgrep command to output the PID of my selected process to a file.<br />
<code><br />
pgrep process-name &gt; /home/username/a-directory-of-your-choosing/a-file-name-of-your-choosing.pid<br />
</code></p>
<p>Obviously you would replace <em>process-name</em> with the name of the process you want to monitor and <em>username </em>with your actual username.</p>
<p>You can use the command <code>ps aux</code> to list all the processes currently running on your system and locate the process you want to monitor.</p>
<p>The &#8216;.pid&#8217; file extension isn&#8217;t really necessary, however it might be handy for identifying what the file is, should you come across it later on down the track. Here&#8217;s my example for checking that ircbot is running:</p>
<p><code>#!/bin/sh<br />
#<br />
# Script to check whether IRC Services is running, and restart it if not.<br />
# Usage: ircservices-chk [-q] [ircservices-options]<br />
#        -q: don't write any output<br />
#        ircservices-options: options to pass to ircservices executable<br />
# If you change PIDFile in ircservices.conf, also change PIDFILE below.<br />
#<br />
# IRC Services is copyright (c) 1996-2009 Andrew Church.<br />
#     E-mail:<br />
# Parts written by Andrew Kempe and others.<br />
# This program is free but copyrighted software; see the file GPL.txt for<br />
# details.<br />
pgrep ircbot &gt; /home/username/ircbot/ircbot.pid<br />
PIDFILE=ircbot.pid</code></p>
<p><code>if [ "X$1" = "X-q" ] ; then<br />
exec 1&gt;/dev/null<br />
exec 2&gt;/dev/null<br />
shift<br />
fi</code></p>
<p><code> </code></p>
<p><code>ok=<br />
if [ -f "/home/username/ircbot/$PIDFILE" ] ; then<br />
pid=`cat "/home/username/ircbot/$PIDFILE"`<br />
if echo "0$pid" | grep -q '[^0-9]' ; then<br />
rm -f "/home/username/ircbot/$PIDFILE"<br />
elif kill -0 $pid ; then<br />
ok=1<br />
fi<br />
fi</code></p>
<p><code> </code></p>
<p><span style="font-family: monospace;">if [ ! "$ok" ] ; then</span></p>
<p><code> "/home/username/ircbot/ircbot" "$@"<br />
fi<br />
</code></p>
<p>Here&#8217;s my final version.</p>
<p><code>#!/bin/sh<br />
#<br />
# Script to check whether a process is running, and restart it if not.<br />
# Usage: running [-q]<br />
#        -q: don't write any output<br />
# Props to Andrew Church (http://www.ircservices.za.net) for creating<br />
# the original script ircservices-chk of which this script you are using<br />
# now is a slight modification by Quin Rose of Mokona Modoki<br />
# http://www.mokonamodoki.com/</code></p>
<p><code>pgrep ircbot &gt; /home/username/ircbot/ircbot.pid</code></p>
<p><code>PIDFILE=ircbot.pid</code></p>
<p><code>if [ "X$1" = "X-q" ] ; then<br />
exec 1&gt;/dev/null<br />
exec 2&gt;/dev/null<br />
shift<br />
fi</code></p>
<p><code> </code></p>
<p><code>ok=<br />
if [ -f "/home/username/ircbot/$PIDFILE" ] ; then<br />
pid=`cat "/home/username/ircbot/$PIDFILE"`<br />
if echo "0$pid" | grep -q '[^0-9]' ; then<br />
rm -f "/home/username/ircbot/$PIDFILE"<br />
elif kill -0 $pid ; then<br />
ok=1<br />
fi<br />
fi</p>
<p></code></p>
<p><code>if [ ! "$ok" ] ; then<br />
"/home/username/ircbot/ircbot" "$@"<br />
fi<br />
</code><br />
To use this script, just copy and past the code above into your favourite editor and be sure to save the script, and make it executable with: <code> chmod +x filename</code></p>
<p>Last but not least, you don&#8217;t want to have to run this script all the time, and manually by yourself do you? Wondering if you can just get put it in a cron job and let it rip? Well, Yes! You can! Add the following line to cron for automatic (once a minute) process checking goodness:<br />
<code><br />
* * * * * /home/andrew/ircbot/ircbot-chk -q</code></p>
<p>There are plenty of resources on the web relating to cron, so if you would rather have cron execute the script less often, you&#8217;ll need to do a little <a href="http://www.google.com.au/search?hl=en&amp;safe=off&amp;rlz=1C1GPCK_enAU346&amp;q=cron&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=" target="_blank">googling</a>.</p>
<p>Adding the -q sends all output from the script to /dev/null (a black hole of sorts) thus not showing any output on the screen. You can test it with or without the -q.</p>
<p>If you have any questions or would like for information or examples, please do let me know in the comments, and I will be only too happy to be of assistance! This certainly helped me, so I thought I would share, so that it could help you too!</p>



Share This:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix&amp;title=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29&amp;bodytext=I%20came%20across%20a%20conundrum%20some%20time%20ago.%20I%20have%20a%20CentOS%20Linux%20based%20VPS%20running%20a%20few%20various%20different%20%27processes%27%20for%20different%20purposes.%20My%20problem%20was%20that%20from%20time%20to%20time%2C%20these%20processes%20would%20stop%20or%20die%2C%20for%20whatever%20reason.%20Given%20that%20I%20r" title="Digg"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix" title="Sphinn"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix&amp;title=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29&amp;notes=I%20came%20across%20a%20conundrum%20some%20time%20ago.%20I%20have%20a%20CentOS%20Linux%20based%20VPS%20running%20a%20few%20various%20different%20%27processes%27%20for%20different%20purposes.%20My%20problem%20was%20that%20from%20time%20to%20time%2C%20these%20processes%20would%20stop%20or%20die%2C%20for%20whatever%20reason.%20Given%20that%20I%20r" title="del.icio.us"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix&amp;t=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29" title="Facebook"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix&amp;title=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29" title="Mixx"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix&amp;title=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29&amp;annotation=I%20came%20across%20a%20conundrum%20some%20time%20ago.%20I%20have%20a%20CentOS%20Linux%20based%20VPS%20running%20a%20few%20various%20different%20%27processes%27%20for%20different%20purposes.%20My%20problem%20was%20that%20from%20time%20to%20time%2C%20these%20processes%20would%20stop%20or%20die%2C%20for%20whatever%20reason.%20Given%20that%20I%20r" title="Google Bookmarks"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29&amp;body=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix" title="email"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Check%20for%20a%20Process%20and%20Start%20It%20if%20It%27s%20Not%20Started%20%28Linux%2FUnix%29&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fcheck-for-a-process-and-start-it-if-its-not-started-linux-unix" title="Slashdot"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.mokonamodoki.com/check-for-a-process-and-start-it-if-its-not-started-linux-unix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Server 1.0.9 on CentOS 5.3</title>
		<link>http://www.mokonamodoki.com/vmware-server-1-0-9-on-centos-5-3</link>
		<comments>http://www.mokonamodoki.com/vmware-server-1-0-9-on-centos-5-3#comments</comments>
		<pubDate>Thu, 24 Sep 2009 11:00:10 +0000</pubDate>
		<dc:creator>Quin Rose</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Time of the Time]]></category>
		<category><![CDATA[1.0.9]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.mokonamodoki.com/?p=609</guid>
		<description><![CDATA[The contents of this guide should work perfectly fine on a base (yes that&#8217;s base, not bare bones) only installation of either CentOS 32/64 bit or RHEL 5.3 32/64 bit. If you have any troubles, please do leave a comment and I&#8217;ll do my best to assist you. This guide assumes you are setting up [...]]]></description>
			<content:encoded><![CDATA[<p>The contents of this guide should work perfectly fine on a base (yes that&#8217;s base, not bare bones) only installation of either CentOS 32/64 bit or RHEL 5.3 32/64 bit. If you have any troubles, please do leave a comment and I&#8217;ll do my best to assist you. This guide assumes you are setting up your machine to be a server, although the steps will work just fine on a machine configured to be a desktop.</p>
<p><strong>Install CentOS 5.3 32/64 Bit<br />
</strong></p>
<p>If you haven&#8217;t installed CentOS 5.3 already, you should do so. Kinda hard to use VMware Server 1.0.9 without an operating system. Most people want the host OS to have as little additional crap as possible. In regards to that, during the installation, make a point of not installing any additional packages, or package groups except the &#8216;Base&#8217; group (oh and leave the base group in it&#8217;s default state, don&#8217;t go ticking on any extras, you&#8217;ll make the installation install more dependancies thus more crap). So in other words, only the &#8216;Base&#8217; group should be ticked, untick the rest!</p>
<p>Nope, you won&#8217;t have any GUI, and even if you did, you still have to do the rest of the configuration at the command line anyway. VMware Server 1.0.9 host with GUI = bad idea, unless of course your host is also your desktop.</p>
<p>Once installed, configure your host as you like it from the &#8216;firstboot&#8217; screen and than login as root. Here&#8217;s a few tips.</p>
<ul>
<li>Disable any services you aren&#8217;t using.</li>
<li>Disable SE Linux</li>
<li>Unless you&#8217;re going to configure and use it with VMware Server 1.0.9 machines, disable ip6tables</li>
<li>Don&#8217;t go configuring special firewall rules just yet, leave that until later.</li>
</ul>
<p>Even though it&#8217;s the host, its&#8217; software should still be up to date. Issue the following command and download any updates.</p>
<p><code>yum update</code></p>
<p>Updates finished? Awesome! Lets reboot the server and start the next step afresh.</p>
<p><code>shutdown -r now</code></p>
<p><strong>Install VMware Server 1.0.9 Required Components.</strong></p>
<p>Plenty of you will argue about what you do and don&#8217;t need to complete the install. Well, I&#8217;ve completed this configuration of server with VMware Server more times than I care to remember now, and sometimes I needed all of these packages and sometimes I didn&#8217;t. No, I didn&#8217;t bother to find out why. Do you know why? Great! Put it in the comments!</p>
<p>Login in as root and issue the following commands one after the other. Yes, you can issue them all at once if you&#8217;re clever, I like to take my time, in case the worlds explodes.</p>
<p><code>yum install kernel-devel</code><br />
<code>yum install kernel-headers</code><br />
<code>yum install libXtst*</code><br />
<code>yum install xinetd</code><br />
<code>yum install gcc*</code></p>
<p>On a couple of occasions, I needed the following package &#8211; It could have been when I was using CentOS 5.3 64Bit</p>
<p><code>yum install libXdmcp-devel</code><br />
<code>yum install libXrender*</code></p>
<p>What does the &#8216;*&#8217; mean? It means grab any packages that start with &#8216;anytextbeforethe*&#8217;</p>
<p>Installed all the packages? Fantastic! Lets reboot the server and start the next step afresh.</p>
<p><code>shutdown -r now</code></p>
<p><strong>Install VMware Server 1.0.9</strong></p>
<p>How you get the installation package of VMware Server 1.0.9 onto your server is up to you. Here are a few tips.</p>
<ul>
<li>Download VMware Server 1.0.9 <a href="http://register.vmware.com/content/download-109.html" target="_blank">Here</a> or <a title="Yes, it's the RPM file!" href="http://download3.vmware.com/software/vmserver/VMware-server-1.0.9-156507.i386.rpm" target="_blank">Here</a></li>
<li>Make sure you register for a VMware Server  serial number or numbers. It&#8217;s free.</li>
<li>You can use WinSCP to transfer VMware Server 1.0.9. to your server (it uses SSH). Get it <a href="http://winscp.net/eng/download.php#download2" target="_blank">Here</a> or<a title="Yes, it's the windows installation package!" href="http://winscp.net/download/winscp423setup.exe" target="_blank"> Here</a>.</li>
<li>You could use the wget command with the direct link above, directly on your server, like this:
<ul>
<li><code>wget -c http://download3.vmware.com/software/vmserver/VMware-server-1.0.9-156507.i386.rpm</code></li>
</ul>
</li>
<li>Burn it to a CD</li>
<li>Burn it to a DVD</li>
<li>Transfer it to a USB Drive</li>
</ul>
<p>Once you have the VMware Server 1.0.9 installation file on your server, installing is pretty straight forward. If you&#8217;ve never installed a RPM file before, pay attention, people go to university for this stuff. Make sure you are logged in as root, and issue the following:</p>
<p><code>rpm -ivh VMware-server-1.0.9-156507.i386.rpm</code></p>
<p>Easy, no?</p>
<p>Depending on the power of your server, it may take a few minutes to install. Once installed, we have one last final step. No need to reboot this time!</p>
<p><strong>Configuring VMware Server 1.0.9</strong></p>
<p>Issue the following command. If some or none of the required packages are not installed, this will tell you straight away.</p>
<p><code>vmware-config.pl</code></p>
<p>or if you are so inclined:</p>
<p><code>/usr/bin/vmware-config.pl</code></p>
<p>Both do the exact same thing. Don&#8217;t run both (either by concatenating them both together or one after the other), that would just be silly and make you leave a comment about how you ran both and got an error message.</p>
<p><strong>NB: </strong>If you are told that some packages or components are missing, I suggest going back and re-issuing the &#8216;yum&#8217; commands above in the section &#8216;<em>Install VMware Server 1.0.9 Required Components</em>&#8216;. Before you issue any commands, press <strong>ctrl-c</strong> to quit the setup program and return to the command prompt.</p>
<p>If you see something like the following, you are good to go:</p>
<pre>Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]

You must read and accept the End User License Agreement to continue.
Press enter to display it.</pre>
<p>The configuration settings of VMware Server 1.0.9 is now up to you. Here are a few tips:</p>
<ul>
<li>Accept the agreement, type Y or Yes and press the enter key.</li>
<li>The defaults are all fine.</li>
<li>In most cases, Bridged networking is what you are after, so say &#8216;No&#8217; to host only and NAT (unless you know what they are and you are going to use them)</li>
<li>Sometimes the installation would tell me that port 902 is unavailable. This is not true. Override by typing in 902, otherwise you&#8217;ll need to remember 904 (or whatever other number you select) and type it in every time when you use the VMware Server 1.0.9 client. Not cool.</li>
<li>At the very least, choose your own location for the storage of VMware Server 1.0.9 servers. I always put mine in /home/vmware (because I have /home on a separate partition)</li>
<li>Put your Serial Key in now, rather than later.</li>
</ul>
<p>Installation and Configuration is now complete! If you need any further help / assistance, please, feel free to leave a comment</p>



Share This:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3&amp;title=VMware%20Server%201.0.9%20on%20CentOS%205.3&amp;bodytext=The%20contents%20of%20this%20guide%20should%20work%20perfectly%20fine%20on%20a%20base%20%28yes%20that%27s%20base%2C%20not%20bare%20bones%29%20only%20installation%20of%20either%20CentOS%2032%2F64%20bit%20or%20RHEL%205.3%2032%2F64%20bit.%20If%20you%20have%20any%20troubles%2C%20please%20do%20leave%20a%20comment%20and%20I%27ll%20do%20my%20best%20to%20assist%20yo" title="Digg"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3" title="Sphinn"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3&amp;title=VMware%20Server%201.0.9%20on%20CentOS%205.3&amp;notes=The%20contents%20of%20this%20guide%20should%20work%20perfectly%20fine%20on%20a%20base%20%28yes%20that%27s%20base%2C%20not%20bare%20bones%29%20only%20installation%20of%20either%20CentOS%2032%2F64%20bit%20or%20RHEL%205.3%2032%2F64%20bit.%20If%20you%20have%20any%20troubles%2C%20please%20do%20leave%20a%20comment%20and%20I%27ll%20do%20my%20best%20to%20assist%20yo" title="del.icio.us"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3&amp;t=VMware%20Server%201.0.9%20on%20CentOS%205.3" title="Facebook"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3&amp;title=VMware%20Server%201.0.9%20on%20CentOS%205.3" title="Mixx"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3&amp;title=VMware%20Server%201.0.9%20on%20CentOS%205.3&amp;annotation=The%20contents%20of%20this%20guide%20should%20work%20perfectly%20fine%20on%20a%20base%20%28yes%20that%27s%20base%2C%20not%20bare%20bones%29%20only%20installation%20of%20either%20CentOS%2032%2F64%20bit%20or%20RHEL%205.3%2032%2F64%20bit.%20If%20you%20have%20any%20troubles%2C%20please%20do%20leave%20a%20comment%20and%20I%27ll%20do%20my%20best%20to%20assist%20yo" title="Google Bookmarks"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=VMware%20Server%201.0.9%20on%20CentOS%205.3&amp;body=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3" title="email"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=VMware%20Server%201.0.9%20on%20CentOS%205.3&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fvmware-server-1-0-9-on-centos-5-3" title="Slashdot"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.mokonamodoki.com/vmware-server-1-0-9-on-centos-5-3/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Proxmox OpenVZ Server 2 NICs 2 Gateways</title>
		<link>http://www.mokonamodoki.com/proxmox-openvz-server-2-nics-2-gateways</link>
		<comments>http://www.mokonamodoki.com/proxmox-openvz-server-2-nics-2-gateways#comments</comments>
		<pubDate>Tue, 22 Sep 2009 04:00:35 +0000</pubDate>
		<dc:creator>Quin Rose</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Time of the Time]]></category>
		<category><![CDATA[Gateways]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[Promox]]></category>

		<guid isPermaLink="false">http://www.mokonamodoki.com/?p=605</guid>
		<description><![CDATA[These are two solutions that worked for me. They are by no means the only solutions.
My Predicament.
A server (a Dell SC440), with two physical network interfaces. Our office has two ISP connections (DSL broadband). We have the one internal network range (192.168.1.0/24) with two gateways (1.254 and 1.221).
I have installed Promox on the server. I [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>These are two solutions that worked for me. They are by no means the only solutions.</strong></em></p>
<p><strong>My Predicament.</strong><br />
A server (a Dell SC440), with two physical network interfaces. Our office has two ISP connections (DSL broadband). We have the one internal network range (192.168.1.0/24) with two gateways (1.254 and 1.221).</p>
<p>I have installed Promox on the server. I wanted to be able to choose which gateway the guest containers used, instead of them being locked into using the same gateway as the host server. Some of the guest OS containers will host services via the first ISP, and the others will host services via the second ISP. (obviously with firewall rules etc configured in our gateways). So the container gateway entries need to point to their respective ISP/Gateway.</p>
<p><strong>Note: </strong>While the security advantage of venet over veth is certainly worthwhile in a hosting environment (and others as well), in my case, we have two hardware firewalls that haven&#8217;t let us down yet, and there is little to no concern for the possibility of an internal hacker (there are only three of us!)</p>
<p><span id="more-605"></span></p>
<p><strong>Solution 1. Requires the most effort, but gives the most flexibility. </strong></p>
<p>I decided to configure the host with a vmbr0 device that contains a bond0 device, that contains devices eth0 and eth1 (you can look at the video tutorials on <a href="pve.proxmox.com" target="_blank">pve.proxmox.com</a> for anyone unsure of how to create a bond0) &#8211; I configured the bond0 with an IP address that matches our office network (this address doesn&#8217;t matter in regards to the containers, just makes the host easy to access if it&#8217;s on the same network).</p>
<p>Creating the network bond is meaningless (except for redundancy reasons), so long as you end up with an accessible vmbrX device, that contains either ethX or bondX, you&#8217;re good to go. Bonding network devices in linux is close to using the &#8216;join to network bridge&#8217; feature available in Windows 2000/XP/Vista/7 when you have two similiar Ethernet network devices.</p>
<p>When creating a new container in the web interface, instead of choosing Virtual Network (venet) choose Bridged Ethernet (veth) instead.</p>
<p>It has been pointed out to me, that veth is not as secure as venet (which is true), however veth does give your guest container OS direct access to the network, in a smiliar fashion to the way VMware server can give a guest OS direct access to a physical network using Bridged Ethernet.</p>
<p>Once your guest OS container is up and running, you&#8217;ll need to use the &#8220;Open VNC Console&#8221; link on the container&#8217;s General page, in the proxmox web interface, to get console access to the container, so that you can manually configure your network interfaces. Instead of configuring venet0:0 or similiar devices, you&#8217;ll be back to configuring eth0 or similiar devices. In CentOS, these turn out to be ifcfg-eth0 and ifcfg-lo. If you are unsure of how to do this manually, I suggest googling for some answers, or in CentOS, you can use a tool (if it&#8217;s available in your guest OS template) called system-config-network-tui. It&#8217;s available via Yum if you don&#8217;t have it.</p>
<p>Easy way to get it<br />
1. Create a container with CentOS<br />
2. Assigned it an IP Address using Virtual Network (venet)<br />
3. Login via the VNC console or SSH and issue: <code>yum install system-config-network-tui</code><br />
4. Logout<br />
5. Use the Proxmox web interface to shutdown the container<br />
6. Remove the Virtual Network Adapter (venet) by deleting the IP Address and clicking Save.<br />
7. The page will refresh and you can now select vmbr0 from the Bridged Ethernet Devices section. Click Save.<br />
8. Start your container<br />
9. Login via VNC Console and issue:<code> system-config-network-tui</code><br />
10. You&#8217;re on your own from here. Remember, you need to configure eth0 not venet0 and venet0:0 &#8211; you may want to remove these. Don&#8217;t forget to set your gateway and edit your DNS<br />
11. Restart your network with<code> /etc/init.d/network restart</code></p>
<p><strong>Solution 2. Requires less effort, doesn&#8217;t necassarily give as much flexibility, but increases security.</strong></p>
<p>You can edit your /etc/network/interfaces file on the host (the server with Proxmox installed). It&#8217;s actually kinda easy. This option also lets you avoid having to edit the network settings inside your guest container OS. So you can create plenty of containers, without have to edit each one! Neat!</p>
<p><strong>Remember:</strong> I have two Gateways. 1.254 and 1.221 and my server has two network interfaces.</p>
<p>I could configure each of the network interfaces with two different networks. For example: NIC1: 192.168.1.0/24 with a gateway of 192.168.1.254 and NIC2: 192.168.4.0/24 with a gateway of 192.168.4.254.</p>
<p>There is no point in configuring both interfaces with the same network, for example: NIC1: 192.168.1.200 with a gateway of 192.168.1.254 and NIC2: 192.168.1.205 with a gateway of 192.168.1.221. The host (and consequently any guest container OS) will always use the gateway configured in eth0). If there is a way around this, I wasn&#8217;t able to figure it out.</p>
<p>By configuring each NIC with a separate network (192.168.1.0/24 and 192.168.4.0/24), I can make a guest container OS use the gateway of the 192.168.4.0/24 network, by giving it an IP Address like: 192.168.4.54, or make a guest container OS use the gateway of the 192.168.1.0/24 network, by giving it an IP Address like: 192.168.1.54.</p>
<p>However, we&#8217;re not done yet. Here&#8217;s how you do it. In the Web Interface, I again configured my network as follows. This could be done in a variety of ways, so long as you end up with a vmbr0.</p>
<p>I created a bond0, that contained eth0 and eth1. I then created a vmbr0 that contained bond0. I set the IP address of vmbr0 to 192.168.1.230 &#8211; so I could access it again after reboot. I didn&#8217;t configure IP Addresses anywhere else.</p>
<p>After rebooting, I edited my /etc/network/interfaces file</p>
<p>On the host I issused:<code> nano /etc/network/interfaces</code> (I love nano, I know it&#8217;s for noobs but I can&#8217;t get my head around vi, I&#8217;ve used nano for too long!)</p>
<p>At the bottom of my /etc/network/interfaces file I added</p>
<p><code>auto vmbr0:0<br />
iface vmbr0:0 inet static<br />
address 192.168.4.100<br />
netmask 255.255.255.0<br />
gateway 192.168.4.254</code></p>
<p><code>auto vmbr0:1<br />
iface vmbr0:0 inet static<br />
address 192.168.1.100<br />
netmask 255.255.255.0<br />
gateway 192.168.1.254</code></p>
<p>DNS can be configured individually for each container using the proxmox web interface, or in my case of using CentOS, by editing the resov.conf file inside my guest container OS. Do what is easiest for you. You can also use system-config-network-tui.</p>
<p>Once I had modified by /etc/network/interfaces file, I saved and than restarted the network service by issuing: /etc/init.d/networking restart</p>
<p>I next created guest OS containers, with IP addresses that matched the network of the gateway that I wanted to use. In this situation, the guest container OS&#8217;s can also commuinicate with each other, even though they may be using different networks, thanks to the host. Handy, no?</p>
<p>In the end for me, I am using <strong>Solution 1</strong>. Mainly because we are not running a hosting company, rather just running services on our network and migrating away from VMware, so configuring network settings manually in this case, isn&#8217;t a big issue. In the proxmox web interface, I added the IP Address of each container, into the comments section for future reference.</p>
<p>If I was to use <strong>Solution 2</strong>, in our case we would have to change the IP Address of not only the gateway, but also many other devices also currently using the 192.168.1.0/24 network. We would inevitibly have to implement a routing solution to allow nodes on each network (1.0 and 4.0), to communicate with devices on either network, as is the case with most devices communicating with each other now.</p>
<p>As I said above, this is not necassarily the best or only solution, it is however what I was able to come up with. Comments, suggestions and improvements are welcome.</p>
<p>If someone can help me get the security of using venet instead of veth (and manually configuring the containers) and be able to get each of my containers to use one gateway or the other, all on the one network, without having to edit the container network settings, well then that would be awesome!</p>



Share This:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways&amp;title=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways&amp;bodytext=These%20are%20two%20solutions%20that%20worked%20for%20me.%20They%20are%20by%20no%20means%20the%20only%20solutions.%0D%0A%0D%0AMy%20Predicament.%0D%0AA%20server%20%28a%20Dell%20SC440%29%2C%20with%20two%20physical%20network%20interfaces.%20Our%20office%20has%20two%20ISP%20connections%20%28DSL%20broadband%29.%20We%20have%20the%20one%20internal%20netwo" title="Digg"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways" title="Sphinn"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways&amp;title=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways&amp;notes=These%20are%20two%20solutions%20that%20worked%20for%20me.%20They%20are%20by%20no%20means%20the%20only%20solutions.%0D%0A%0D%0AMy%20Predicament.%0D%0AA%20server%20%28a%20Dell%20SC440%29%2C%20with%20two%20physical%20network%20interfaces.%20Our%20office%20has%20two%20ISP%20connections%20%28DSL%20broadband%29.%20We%20have%20the%20one%20internal%20netwo" title="del.icio.us"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways&amp;t=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways" title="Facebook"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways&amp;title=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways" title="Mixx"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways&amp;title=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways&amp;annotation=These%20are%20two%20solutions%20that%20worked%20for%20me.%20They%20are%20by%20no%20means%20the%20only%20solutions.%0D%0A%0D%0AMy%20Predicament.%0D%0AA%20server%20%28a%20Dell%20SC440%29%2C%20with%20two%20physical%20network%20interfaces.%20Our%20office%20has%20two%20ISP%20connections%20%28DSL%20broadband%29.%20We%20have%20the%20one%20internal%20netwo" title="Google Bookmarks"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways&amp;body=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways" title="email"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Proxmox%20OpenVZ%20Server%202%20NICs%202%20Gateways&amp;url=http%3A%2F%2Fwww.mokonamodoki.com%2Fproxmox-openvz-server-2-nics-2-gateways" title="Slashdot"><img src="http://www.mokonamodoki.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.mokonamodoki.com/proxmox-openvz-server-2-nics-2-gateways/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
