<?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>Tech Media Consulting</title>
	<atom:link href="http://www.techmediaconsulting.com/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techmediaconsulting.com</link>
	<description>A journey of a thousand miles begins with a single step   -- Confucius</description>
	<lastBuildDate>Mon, 13 Feb 2012 00:44:44 +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>Reclaim Disk Space from Deleted XenServer Snapshots and Clones</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/reclaim-disk-space-from-deleted-xenserver-snapshots-and-clones</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/reclaim-disk-space-from-deleted-xenserver-snapshots-and-clones#comments</comments>
		<pubDate>Mon, 13 Feb 2012 00:39:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=581</guid>
		<description><![CDATA[According to Citrix KB article, after deleting all snapshots or clones of a Vm, some disk space still remains allocated. In time this may become an issue, so here is a way to recover that disk space. Note: The VM will need to be shutdown or suspended (actually, running the following command will suspend the [...]]]></description>
			<content:encoded><![CDATA[<p>According to Citrix KB <a title="Reclaim Disk Space from Deleted XenServer Snapshots and Clones" href="http://support.citrix.com/article/CTX123400" target="_blank">article</a>, after deleting all snapshots or clones of a Vm, some disk space still remains allocated. In time this may become an issue, so here is a way to recover that disk space.</p>
<p>Note: The VM will need to be shutdown or suspended (actually, running the following command will suspend the VM anyway):</p>
<p>For Xen Server 5.5 update 1 and later:</p>
<p><strong>coalesce-leaf –u &lt;uuid of VM&gt;</strong></p>
<p>For Xen Server 5.6 and later:</p>
<p><strong>xe host-call-plugin host-uuid=&lt;host-UUID&gt; plugin=coalesce-leaf fn=leaf-coalesce args:vm_uuid=&lt;VM-UUID&gt;</strong></p>
<p><span style="font-weight: bold; color: #35383d; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal;">A small script (kudos to http://sysadminnotebook.blogspot.com/2011/07/reclaim-disk-space-from-deleted.html) to automate the process if you need:</span></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;">#!/bin/bash</span></span></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;">MASTER=$(xe pool-list params=master | egrep -o &#8220;[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}&#8221;)</span></span></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;">RUNNING_VMS=$(xe vm-list is-control-domain=false power-state=running params=uuid | egrep -o &#8220;[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}&#8221;)</span></span></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;">for VM in $RUNNING_VMS; do</span></span></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;"> xe host-call-plugin host-uuid=$MASTER plugin=coalesce-leaf fn=leaf-coalesce args:vm_uuid=$VM</span></span></p>
<p style="color: #ffffff;"><span style="line-height: normal;"><span style="color: #333300;">done</span></span></p>
<div style="color: #ffffff; line-height: normal;"><span style="color: #000000;"><br />
</span></div>
<p></strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">#!/bin/bash</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">MASTER=$(xe pool-list params=master | egrep -o &#8220;[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}&#8221;)</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">RUNNING_VMS=$(xe vm-list is-control-domain=false power-state=running params=uuid | egrep -o &#8220;[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}&#8221;)</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">for VM in $RUNNING_VMS; do</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">xe host-call-plugin host-uuid=$MASTER plugin=coalesce-leaf fn=leaf-coalesce args:vm_uuid=$VM</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">done</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #000000;">~</span></div>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Freclaim-disk-space-from-deleted-xenserver-snapshots-and-clones&amp;linkname=Reclaim%20Disk%20Space%20from%20Deleted%20XenServer%20Snapshots%20and%20Clones"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/reclaim-disk-space-from-deleted-xenserver-snapshots-and-clones/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; simulate high CPU load</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/linux-simulate-high-cpu-load</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/linux-simulate-high-cpu-load#comments</comments>
		<pubDate>Mon, 07 Mar 2011 17:25:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=547</guid>
		<description><![CDATA[Here is a quick command to create some CPU load (courtesy to http://it.toolbox.com/blogs/david/simulate-load-on-your-linux-server-using-a-oneliner-26150): dd if=/dev/zero bs=100M &#124; gzip &#124; gzip -d &#124; gzip &#124; gzip -d &#124; gzip &#124; gzip -d &#62; /dev/null &#38;]]></description>
			<content:encoded><![CDATA[<p>Here is a quick command to create some CPU load (courtesy to <a href="http://it.toolbox.com/blogs/david/simulate-load-on-your-linux-server-using-a-oneliner-26150">http://it.toolbox.com/blogs/david/simulate-load-on-your-linux-server-using-a-oneliner-26150</a>):</p>
<p>dd <span style="color: #0000ff; font: normal normal normal 12px/normal arial; line-height: 15px; font-family: 'Courier New'; font-size: 12px;">if</span>=<span style="color: #333333; font: normal normal normal 12px/normal arial; line-height: 15px; font-family: 'Courier New'; font-size: 12px;">/dev/</span>zero bs=<span style="color: #333333; font: normal normal normal 12px/normal arial; line-height: 15px; font-family: 'Courier New'; font-size: 12px;">100</span>M | gzip | gzip -d | gzip | gzip -d | gzip | gzip -d &gt; <span style="color: #333333; font: normal normal normal 12px/normal arial; line-height: 15px; font-family: 'Courier New'; font-size: 12px;">/dev/</span><span style="color: #333333; font: normal normal normal 12px/normal arial; line-height: 15px; font-family: 'Courier New'; font-size: 12px;">null</span> &amp;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Flinux-simulate-high-cpu-load&amp;linkname=Linux%20%26%238211%3B%20simulate%20high%20CPU%20load"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/linux-simulate-high-cpu-load/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vmware ESXi 4 and Virtuozzo</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/vmware-esxi-4-and-virtuozzo</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/vmware-esxi-4-and-virtuozzo#comments</comments>
		<pubDate>Mon, 08 Nov 2010 18:06:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=540</guid>
		<description><![CDATA[The situation: Because of the non paged memory pool limit of 256MB on the Windows 32 bit systems, I wasn&#8217;t able to use Virtuozzo for Windows on dedicated systems with more than 8GB. This translated into a large volume of work related to build and deploy the dedicated systems. In addition, around 2GB of memory [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The situation</strong>:</p>
<p style="text-align: justify;">Because of the non paged memory pool limit of 256MB on the Windows 32 bit systems, I wasn&#8217;t able to use Virtuozzo for Windows on dedicated systems with more than 8GB. This translated into a large volume of work related to build and deploy the dedicated systems. In addition, around 2GB of memory was never being use which is a waste.</p>
<p style="text-align: justify;"><span id="more-540"></span></p>
<p style="text-align: justify;"><strong>The solution</strong>:</p>
<p style="text-align: justify;">Being the fact that Virtuozzo is not a hypervisor, working mostly like a patch to the operating system, I&#8217;ve got the idea of running Virtuozzo as a virtual machine under one of the popular hypervisors. First I try Xen opensource for which Virtuozzo installer crashed with an error related to some virtual device, then I wanted to try Citrix XenServer, but I dropped the idea because it&#8217;s still based on Xen opensource and I was in a hurry.</p>
<p style="text-align: justify;">The winner was Vmware with its ESXi 4. This one performed excelent so now I can squeeze four Virtuozzo for Windows 32 bit  in a 24GB RAM system &#8211; easier to manage and better use of resources (disk and memory).</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Fvmware-esxi-4-and-virtuozzo&amp;linkname=Vmware%20ESXi%204%20and%20Virtuozzo"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/vmware-esxi-4-and-virtuozzo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmail queue tool &#8211; QmHandle</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/qmail-queue-tool-qmhandle</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/qmail-queue-tool-qmhandle#comments</comments>
		<pubDate>Tue, 12 Oct 2010 21:10:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=518</guid>
		<description><![CDATA[I was desperately trying to download this tool a few days ago from the project page which is hosted at Sourceforge now and it continuously failed. So, here is a local link for the qmhandle tool.]]></description>
			<content:encoded><![CDATA[<p>I was desperately trying to download this tool a few days ago from the project page which is hosted at Sourceforge now and it continuously failed.</p>
<p>So, here is a local link for the <a title="Qmhandle 1.3.2" href="http://www.techmediaconsulting.com/downloads/qmhandle-1.3.2.tar.gz">qmhandle </a>tool.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Fqmail-queue-tool-qmhandle&amp;linkname=Qmail%20queue%20tool%20%26%238211%3B%20QmHandle"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/qmail-queue-tool-qmhandle/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resize a Citrix XenServer Linux domU LVM disk</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/resize-a-citrix-xenserver-linux-domu-lvm-disk</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/resize-a-citrix-xenserver-linux-domu-lvm-disk#comments</comments>
		<pubDate>Thu, 07 Oct 2010 15:14:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=511</guid>
		<description><![CDATA[Long story short &#8211; we need to increase the disk space on a Linux VM in Citrix XenServer. Here is how it can be done in general steps &#8211; for technical people that know Linux pretty well. If the following steps don&#8217;t ring a bell to you, DO NOT proceed. Check on Google as there [...]]]></description>
			<content:encoded><![CDATA[<p>Long story short &#8211; we need to increase the disk space on a Linux VM in Citrix XenServer. Here is how it can be done in general steps &#8211; for technical people that know Linux pretty well. If the following steps don&#8217;t ring a bell to you, DO NOT proceed. Check on Google as there are plenty of howtos with screenshots and more details. In either case, it&#8217;s indicated to have a backup. Better safe then sorry&#8230;</p>
<p><span id="more-511"></span></p>
<p>Shutdown domU, increase the disk space for domU using XenCenter, insert a rescue CD (Gentoo would do the job), attach it to domU and restart domU in Recovery Mode.</p>
<p>After booting:</p>
<p>- using fdisk, delete the LVM partition from the disk</p>
<p>- recreate the partition. The new partition will use the additional disk space</p>
<p>- change the partition type to Linux LVM, save and quit</p>
<p>- resize the physical volume (pvresize)</p>
<p>- reactivate the volume group (vgchange -a y vol_group_name)</p>
<p>- resize the logical volume (lvresize)</p>
<p>- resize the filesystem (resize2fs)</p>
<p>That&#8217;s all, we&#8217;re back in business.</p>
<p>Of course, if you can&#8217;t afford the downtime, then you can simply add a second virtual disk for this domU and use the LVM tools increase the disk space.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Fresize-a-citrix-xenserver-linux-domu-lvm-disk&amp;linkname=Resize%20a%20Citrix%20XenServer%20Linux%20domU%20LVM%20disk"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/resize-a-citrix-xenserver-linux-domu-lvm-disk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels downloads links</title>
		<link>http://www.techmediaconsulting.com/index.php/web-design/parallels-download-links</link>
		<comments>http://www.techmediaconsulting.com/index.php/web-design/parallels-download-links#comments</comments>
		<pubDate>Wed, 06 Oct 2010 22:11:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=505</guid>
		<description><![CDATA[Parallels fails badly at providing easy access to its free downloads by asking the user to &#8220;register&#8221; every time when it tries to get those downloads. This is really annoying, especially when you&#8217;re in a hurry installing Plesk or Virtuozzo. However, the downloads are still free so here are the direct links: Plesk autoinstaller - [...]]]></description>
			<content:encoded><![CDATA[<p>Parallels fails badly at providing easy access to its free downloads by asking the user to &#8220;register&#8221; every time when it tries to get those downloads. This is really annoying, especially when you&#8217;re in a hurry installing Plesk or Virtuozzo. However, the downloads are still free so here are the direct links:</p>
<p><span id="more-505"></span></p>
<p>Plesk autoinstaller -</p>
<p>CentOS 5 32 bit: <a href="http://download1.parallels.com/Plesk/PPP9/CentOS5/parallels_installer_v3.6.0_build100407.15_os_CentOS_5_i386" target="_blank">http://download1.parallels.com/Plesk/PPP9/CentOS5/parallels_installer_v3.6.0_build100407.15_os_CentOS_5_i386</a></p>
<p>CentOS 5 64 bit: <a href="http://download1.parallels.com/Plesk/PPP9/CentOS5/parallels_installer_v3.6.0_build100407.15_os_CentOS_5_x86_64" target="_blank">http://download1.parallels.com/Plesk/PPP9/CentOS5/parallels_installer_v3.6.0_build100407.15_os_CentOS_5_x86_64</a></p>
<p>Virtuozzo 4.6 for Windows:  <a href="http://www.parallels.com/download/pvc46/win/" target="_blank">http://www.parallels.com/download/pvc46/win/</a></p>
<p>Virtuozzo 4.5 for Windows: <a href="http://www.parallels.com/download/pvc45/win/">http://www.parallels.com/download/pvc45/win/</a></p>
<p>Virtuozzo 4.o link has disappeared from Parallels site, but the installer still work and you can get it from <a title="Virtuozzo for Windows 4.0 autoinstaller" href="http://www.techmediaconsulting.com/downloads/vzinstall40" target="_self">here</a> (add proper exe file extension manually).</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fweb-design%2Fparallels-download-links&amp;linkname=Parallels%20downloads%20links"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/web-design/parallels-download-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading NonPagedMemoryPool through SNMP</title>
		<link>http://www.techmediaconsulting.com/index.php/miscellaneous/reading-nonpagedmemorypool-through-snmp</link>
		<comments>http://www.techmediaconsulting.com/index.php/miscellaneous/reading-nonpagedmemorypool-through-snmp#comments</comments>
		<pubDate>Wed, 25 Aug 2010 14:52:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=495</guid>
		<description><![CDATA[This post is related to running Virtuozzo Windows 2003 32 bit systems. One important parameter on 32 bit version of Windows 2003 (and probably other versions of Windows, but not relevant in this post) is the so called Non Paged Memory Pool.A good understanding of this parameter you can check here. Long story short is [...]]]></description>
			<content:encoded><![CDATA[<p>This post is related to running Virtuozzo Windows 2003 32 bit systems. One important parameter on 32 bit version of Windows 2003 (and probably other versions of Windows, but not relevant in this post) is the so called Non Paged Memory Pool.<span id="more-495"></span>A good understanding of this parameter you can check <a title="Memory Management - Understanding Pool Resources" href="http://blogs.technet.com/b/askperf/archive/2007/03/07/memory-management-understanding-pool-resources.aspx" target="_blank">here</a>. Long story short is that this parameter has a pretty small limit on 32 bit systems. In case of a Virtuozzo system with 8GB RAM (so having the non paged memory pool limit to 256MB) running something between 20-30 containers, once the non paged memory pool reaches the limit of 210MB, the host system will start responding slowly, and one of the first frustrating behavior is that the IIS from some containers will stop working returning an internal error message. Most of the time, in order to temporary solve this issue (a permanent fix would be to remove a few containers from that host) the host system has to be rebooted. From here &#8211; the main idea of this post &#8211; monitoring the Non Paged Memory Pool through SNMP (using Cacti or Zabbix) and sending an alert once a specific limit is being reached.</p>
<p>Google-ing a bit on this matter I came across this post in Cacti forum &#8211; <a href="http://forums.cacti.net/about25600.html">http://forums.cacti.net/about25600.html</a> &#8211; pointing to an open source tool called snmptools. The tool can be downloaded from <a href="http://erwan.l.free.fr/snmptools/">http://erwan.l.free.fr/snmptools/</a> and it works perfect on my Virtuozzo servers. Now I can read the Non Paged Memory Pool value using <a title="Zabbix - Enterprise Class Monitoring Solution" href="http://zabbix.com" target="_blank">Zabbix</a> and get a notification when the system is about to reach the limit. The next step will be to read the value in <a title="RRDtool based graphing solution" href="http://cacti.net" target="_blank">Cacti</a> and send the notification using Thresholds plugin for Cacti.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fmiscellaneous%2Freading-nonpagedmemorypool-through-snmp&amp;linkname=Reading%20NonPagedMemoryPool%20through%20SNMP"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/miscellaneous/reading-nonpagedmemorypool-through-snmp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy LV device between 2 servers</title>
		<link>http://www.techmediaconsulting.com/index.php/miscellaneous/copy-lv-device-between-2-servers</link>
		<comments>http://www.techmediaconsulting.com/index.php/miscellaneous/copy-lv-device-between-2-servers#comments</comments>
		<pubDate>Wed, 17 Mar 2010 21:46:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=481</guid>
		<description><![CDATA[Let&#8217;s assume the following scenario. You have a server running some services and using LVM. Let&#8217;s also assume that you just deployed a second server which will use the same data existing in one LV device on the first server. Assuming again that both servers are connected in the same network (that&#8217;s not mandatory, but [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s assume the following scenario. You have a server running some services and using LVM. Let&#8217;s also assume that you just deployed a second server which will use the same data existing in one LV device on the first server. Assuming again that both servers are connected in the same network (that&#8217;s not mandatory, but if the LV device is big, it will take forever to copy the data), we can use &#8220;nc&#8221; and &#8220;dd&#8221; utilities to dump an LV content through a network tunnel.</p>
<p><span id="more-481"></span></p>
<p>On the second server (the destination, meaning the one that the LV will be copied to):</p>
<p>root@server2 ~# nc -l <em>IP_address</em> <em>port_number</em> | dd of=/dev/VolGroup/LV_name</p>
<p>On the first server (the source, meaning the one that LV will be copied from):</p>
<p>root@server2 ~# lvcreate -L <em>size</em> -n <em>LV_name</em> <em>VolGroup</em></p>
<p>root@server2 ~# dd if=/dev/VolGroup/LV_name |nc <em>IP_address port_number</em></p>
<p>If the source server is in production, you may want to start the copy process with nice (or renice later) in  the order to avoid a high I/O stress on the system.</p>
<p>There is no progress bar, but you can confirm that the copy operation work fine by checking the system activity with &#8220;top&#8221; or by quickly check the network traffic with &#8220;tcpdump&#8221;.  At the end, if no errors are returned, you&#8217;ll have the same LV on both systems. One more thing. In the above example the source LV was not being in use. If your system is using the LV, better creates a snapshot of it and use the snapshot for the copy operation.</p>
<p><em><br />
</em></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fmiscellaneous%2Fcopy-lv-device-between-2-servers&amp;linkname=Copy%20LV%20device%20between%202%20servers"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/miscellaneous/copy-lv-device-between-2-servers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing a dedicated server</title>
		<link>http://www.techmediaconsulting.com/index.php/physical-hosting/choosing-a-dedicated-server</link>
		<comments>http://www.techmediaconsulting.com/index.php/physical-hosting/choosing-a-dedicated-server#comments</comments>
		<pubDate>Sun, 31 Jan 2010 20:21:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Physical Hosting]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=413</guid>
		<description><![CDATA[First of all, this article refers to the hardware aspect of the dedicated server and not to the operating systems or software installed on it. It may sound like a trivial task &#8211; &#8220;What could be so complicated to chose a dedicated server? Just go online, search for some good feedbacks of a few hosting [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">First of all, this article refers to the hardware aspect of the dedicated server and not to the operating systems or software installed on it.</p>
<p style="text-align: justify;">It may sound like a trivial task &#8211; &#8220;What could be so complicated to chose a dedicated server? Just go online, search for some good feedbacks of a few hosting companies, then chose whichever fits your needs.&#8221; The reality is a bit different and is related to the competition in this market.<span id="more-413"></span></p>
<p style="text-align: justify;">The common word is &#8220;price&#8221;. In today&#8217;s global economy situation (and crisis I may add), big companies as well as small companies are affected by their costs related to the hardware used for the dedicated servers they provide to their customers. In order to be competitive, they all have to keep their costs down.  Any hosting company site you&#8217;ll visit advertise the same thing and this is &#8220;server&#8221;.</p>
<p style="text-align: justify;">Wikipedia provides the following definition of the  server computer: &#8220;A <strong>server computer</strong>, sometimes called an <strong>enterprise server</strong>, is a <a style="text-decoration: none; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial;" title="Computer" href="http://en.wikipedia.org/wiki/Computer"><span style="color: #888888;">computer</span></a> system that provides essential services across a network, to private users inside a large organization or to public users in the <a style="text-decoration: none; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial;" title="Internet" href="http://en.wikipedia.org/wiki/Internet"><span style="color: #888888;">internet</span></a>. [...] Enterprise servers are known to be very fault tolerant, for even a short-term failure can cost more than purchasing and installing the system.&#8221;</p>
<p style="text-align: justify;">What the above definition means? That the hosting company are always using an enterprise level server, fault tolerant and so on? That may be the general understanding but I assure you that&#8217;s not the case.  Actually, in the real life, most of the time, for cheap dedicated servers plans, all you get is actually a desktop motherboard packed in the best case in a 1U box so that it will fit nicely in a rack and the company will get a better space utilization in their datacenter. For those who don&#8217;t know the difference between a desktop and a server class hardware, here are some differences.</p>
<p style="text-align: justify;">The server class hardware is designed to run for years without shutting down the computer. A desktop class hardware is designed for home/office use and the average daily usage would be 16 hours. This is reflected in the parts quality used for motherboards, hard drives, memories, power supplies. Server class hardware is being roughly testes and the tests are more comprehensive then for the desktop class hardware. Server class components have a mean time between failures (MTBF) parameter which basically means how much time can you expect to pass between 2 consecutive failures and it represents a guarantee of the quality of the component. Desktop class hardware doesn&#8217;t come with such parameter.</p>
<p style="text-align: justify;">Let&#8217;s talk about some practical examples. From the server class <strong>motherboards</strong> manufacturers we can mention Dell, HP, Intel, Supermicro. I named just a few and I&#8217;m not saying that are not other very good manufacturers of this type of hardware. For example, an Intel SR1530AH is coming with Intel S3000AH motherboard (chipset Intel 3000) and it has a high quality power supply delivering 650W. The case looks very good and it comes with a easy to install pair of rails. Assuming that the box is equipped with an Intel Celeron D440, 1GB of RAM and 80GB SATA drive, the price at an Intel integrator may vary between $600-$800US.  The same configuration except for the motherboard, the case and the power supply may cost $250-$300US (for example a CybertronPC 1U box with Asus P4N-MX motherboard and a 250W power supply with a low cost low quality CPU fan and a few other fans spread in the box to compensate the lack of the air flow because of the components placed on the motherboard.</p>
<p style="text-align: justify;">For some hosting companies, it makes a lot of sense to limit the initial costs so guess what&#8230; they will chose a low cost type of hardware. What will be the differences? The chances that something will brake are higher for a desktop class hardware than for a server class hardware.</p>
<p style="text-align: justify;">The memory technology are actually pretty good these days. You&#8217;ll not see often failures here. It&#8217;s not the same for the motherboard or for the hard drives. Motherboards include <a title="Electrolytic Capacitors" href="http://en.wikipedia.org/wiki/Electrolytic_capacitors" target="_blank">electrolytic capacitors</a>. There are different qualities and, obviously, low cost hardware will always use low cost (read low quality) capacitors. They are mostly used around CPU area and they have a critical influence over the stability of the system. A CPU for which the power supply is not properly filtered or stable will determine random errors which may translate in file systems corruption, sudden death of the system (it just reboots or shutdown without any other warnings). People which held an used, older motherboard may have noticed that some capacitors are slightly &#8220;ballooned&#8221; or ever worse, cracked in the upper are. This is a clear indication of cheap stuff which failed in time because of the electrical and temperature stress.</p>
<p style="text-align: justify;">Another example is the hard drives. There are cheap desktop hard drives on the market that sells for less than $60US for a 80GB SATA drive. There are chances that such drive will fail. It may also work just fine for a few years. You may see the same type of hard drive,  the same manufacturer, but different lots. One lot will fail, one not. The problem is that you can&#8217;t determine before using if it will fail or not and which one.</p>
<p style="text-align: justify;">The next on the list is the power supply. Modern power supplies are <a title="Switched-mode Power Supply" href="http://en.wikipedia.org/wiki/Switched-mode_power_supply" target="_blank">switching-mode power supplies</a>. As most of the electronic devices they use capacitors (see above) as well as switching transistors ((bipolar or MOS-FET) and magnetic cores. A low end power supply will deliver poor performances affecting the system stability and performances.</p>
<p style="text-align: justify;">Now, if you know all these but the downtime or data loss is not an issue for you, then you don&#8217;t have to worry. But if you expect a high uptime then you can gather some information from the hosting company sales people before deciding if it&#8217;s a good system or not. If you&#8217;re not a technical person, you may ask a friend to help here.</p>
<p style="text-align: justify;">So, here are a few questions that you can ask the sales people:</p>
<p style="text-align: justify;">- who is the manufacturer of the server advertised in the hosting company plan and which model it is? Once you have this information, you can simply check on the manufacturer website and see what kind of hardware you&#8217;re about to pay for. There is one more catch here. You can get a real server but one that is not manufactured anymore. A typical warranty these days is 3 years for a server. It may go beyond this limit, but you&#8217;ll pay for the warranty extension. There is a reason for a manufacturer to give a default limited time warranty. It means that it believes that the server will be ok for that period of time and not more. If the server is a &#8220;no name&#8221; one but you are still interested in this hosting company, ask about the manufacturer of the motherboard or at least about the chipset from it. If you can&#8217;t get a proper answer it means that either they are using crap or their technical knowledge is really limited. Personally I find more dangerous a hosting company with non-technical people (yes, they are, you&#8217;ll be amazed) then a low quality hardware. This is because a highly trained technical person will always be able to help you in any situation, including hardware failures, while a non-technical person will only succeed to increase your level of frustration, eventually after spending more money.</p>
<p style="text-align: justify;">- who is the manufacturer of the hard drives and which models are they? There are desktop class hard drives and enterprise class hard drives. Ask about MTBF of the drives. Again, if you can&#8217;t get proper answers, my advice would be to stay away.</p>
<p style="text-align: justify;">- power supply &#8211; if the server is a real server class then the power supply will definitely be a good one. If not, they will probably not be able to give you anything more than the power of the power supply, measured in Watts. Something under350W should raise a brow especially if you have more than one hard drive and the CPU is not a low power one (the last generation of CPUs are using less power than the previous generation, but even in the last generation, there are CPUs using more power than others).</p>
<p style="text-align: justify;">- server case &#8211; the real servers have good cases &#8211; for example, for Intel SR1530 a production engineer from Intel told me they spend 4 million US dollars for the design.  A cheap server box will be affected by the vibrations from the rack &#8211; don&#8217;t forget that your server runs in a rack with another 41 servers (if we&#8217;re talking about the 42U racks) so vibrations are inherent. Vibrations transmitted to cheap fans and hard drives increase the chances of a component failure.</p>
<p style="text-align: justify;">No matter which hosting company you&#8217;ll chose, be sure that you have backups of your data. Don&#8217;t rely on the hosting company backups if you don&#8217;t pay for it. Normally a backup feature &#8220;looks good&#8221; in advertising. If they advertise a backup plan including in your dedicated server plan, ask for details like the backup solution used, the backup policy, the backup size limits, then, after a first month, ask for some data to be restored. Do this from the beginning and you&#8217;ll avoid a lot of trouble later.</p>
<p style="text-align: justify;">Well, that would be all for now. Please feel free to add a comment or to <a title="Contact Us" href="http://www.techmediaconsulting.com/?page_id=17" target="_self">contact us</a> if you have any questions.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Fphysical-hosting%2Fchoosing-a-dedicated-server&amp;linkname=Choosing%20a%20dedicated%20server"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/physical-hosting/choosing-a-dedicated-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending emails from a hosted domain</title>
		<link>http://www.techmediaconsulting.com/index.php/emails/third-and-last-blog-entry-a-little-bit-longer</link>
		<comments>http://www.techmediaconsulting.com/index.php/emails/third-and-last-blog-entry-a-little-bit-longer#comments</comments>
		<pubDate>Wed, 09 Dec 2009 05:40:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Emails]]></category>

		<guid isPermaLink="false">http://www.techmediaconsulting.com/?p=91</guid>
		<description><![CDATA[So we have a domain, is being hosted on a server to some hosting  provider and we want to  send some emails.  It may sound a  simple task, but  these days, with  so many  protections against  spam, we  can easily  found  our messages being delivered directly in other people&#8217;s junk folders. However, there are few [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">So we have a domain, is being hosted on a server to some hosting  provider</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">and we want to  send some emails.  It may sound a  simple task, but  these</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">days, with  so many  protections against  spam, we  can easily  found  our</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">messages being delivered directly in other people&#8217;s junk folders. However,</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">t<code>here</code> are few  things that  can drastically  improve the  chances for  the</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">message to hit the right spot &#8211; the recipient inbox folder. Here they are.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">First, be sure that the IP address of your server has a proper reverse DNS</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">record. Most of the providers will allow you to add your own rDNS  record.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">If noti, you&#8217;ll have to ask their technical support to do it for you.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">For example, if your domain is domain.com and your IP address is</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">123.234.123.234, be sure that the IP address will resolve to some hostname</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">from your domain. It could be just the domain name. Most of the time</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">you&#8217;ll see something like mail.domain.com.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">[root@server ~]# host -t mx domain.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">domain.com mail is handled by 10 mail.domain.com.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">[root@server ~]# host mail.domain.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">mail.domain.com has address 123.234.123.234</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">[root@server ~]# host 123.234.123.234</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">234.123.234.123.in-addr.arpa domain name pointer mail.domain.com.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">Second, give a  name from  your domain to  your email  server. Some  email</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">servers default installations use the generic name &#8220;localhost.localdomain&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">and this is a very  bad idea when it  comes about sending emails.  Sending</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">messages with this identity will determine your messages to be rejected by</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">most of the receiving email servers. Please note that not all the time the</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">system name will be  the email server name  (for example Qmail with  Plesk</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">control panel).</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">You can simply check if your server is properly configured from this point</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">of view by following the few steps described [6]here.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">Third, add a proper SPF record to your domain name zone file. A good  page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">about this can be found [7]here. The information from this page will  help</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: justify;">you to define your SPF record in no time.</div>
<p style="text-align: justify;">So we have a domain, is being hosted on a server to a hosting  provider and we want to  send some emails.  It may sound a  simple task, but these days, with  so many  protections against  spam, we  can easily  found  our messages being delivered directly in other people&#8217;s junk folders. However, there are few  things that  can drastically  improve the  chances for  the message to hit the right spot &#8211; the recipient inbox folder. Here they are.</p>
<p style="text-align: justify;">
<p style="text-align: justify;"><span id="more-91"></span></p>
<p style="text-align: justify;"><strong>First</strong>, be sure that the IP address of your server has a proper reverse DNS record. Most of the providers will allow you to add your own rDNS record. If not, you&#8217;ll have to ask their technical support to do it for you.</p>
<p style="text-align: justify;">For example, if your domain is domain.com and your IP address is 123.234.123.234, be sure that the IP address will resolve to some hostname from your domain. It could be just the domain name. Most of the time you&#8217;ll see something like mail.domain.com.</p>
<p style="text-align: justify;"><em><strong> [root@server ~]# host -t mx domain.com</strong></em></p>
<p style="text-align: justify;"><em><strong> domain.com mail is handled by 10 mail.domain.com.</strong></em></p>
<p style="text-align: justify;"><em><strong> [root@server ~]# host mail.domain.com</strong></em></p>
<p style="text-align: justify;"><em><strong> mail.domain.com has address 123.234.123.234</strong></em></p>
<p style="text-align: justify;"><em><strong> [root@server ~]# host 123.234.123.234</strong></em></p>
<p style="text-align: justify;"><em><strong> 234.123.234.123.in-addr.arpa domain name pointer mail.domain.com.</strong></em></p>
<p style="text-align: justify;"><strong><em><br />
</em></strong>
</p>
<p style="text-align: justify;"><strong>Second</strong>, give a  name from  your domain to  your email  server. Some  email servers default installations use the generic name &#8220;localhost.localdomain&#8221; and this is a very  bad idea when it  comes about sending emails.  Sending messages with this identity will determine your messages to be rejected by most of the receiving email servers. Please note that not all the time the system name will be  the email server name  (for example Qmail with  Plesk control panel). You can simply check if your server is properly configured from this point of view by following the few steps described <strong><span style="color: #008000;"><a title="CBL" href="http://cbl.abuseat.org/helocheck.html" target="_blank">here</a></span></strong>.</p>
<p style="text-align: justify;"><strong>Third</strong>, add a proper SPF record to your domain name zone file. A good  page about this can be found <span style="color: #008000;"><strong><a title="SPF record" href="http://old.openspf.org/dns.html" target="_blank">here</a></strong></span>. The information from this page will  help you to define your SPF record in no time. Also use DomainKeys and DKIM (DomainKeys Identified Mail) in order to identify your email server as the legitimate sender of the emails for your domain.</p>
<div style="text-align: justify;"><strong>Fourth</strong>, be sure that you don&#8217;t get from your provider an IP address  which is already blacklisted. It&#8217;s happening pretty often that someone else used the IP or a block  of IPs which includes your  existing IP(s) in order  to send a lot  of emails,  and, for some  reason that  block is blacklisted, meaning that most of the email servers will reject emails coming from your IP address(es). You don&#8217;t need to despair  though. It may take a few  days to clear the mess, but it&#8217;s doable. You need to imply your hosting company if it&#8217;s about a bigger IP block (most of the time it will be a /24  block, meaning 256 IP addresses,  but I&#8217;ve seen  situations when /23  - 512 IPs  - have been blacklisted) or to contact directly the blacklist administrators and to  ask for  more details  (if they  are not  already clear  from  the blacklist report). You can  check the status of  your IP(s) <span style="color: #008000;"><a title="DNSBL" href="http://www.dnsbl.info/"><strong>here</strong></a></span>.  Now, there is one more thing. There are hundreds of blacklists available on the net, however, there  are only few  that are really  popular and which are being largely used by  the email servers administrators.  Here are few  of the most  popular and  being  listed here  will  determine for  sure your messages  to  be  rejected   by  the  email  servers:   <span style="color: #008000;"><a title="Spamcop" href="http://bl.spamcop.net">bl.spamcop.net</a></span>, <span style="color: #008000;"><a title="Sorbs" href="http://dnsbl.sorbs.net">dnsbl.sorbs.net</a></span> (this one may require you to pay a $50 fee &#8211;  donation to some charitable organization &#8211; in order to unlist your IP address;  it&#8217;s up to you  to convince  them that  it&#8217;s not your  fault for  the IP  being listed there, but they may send  you to your provider; anyways,  sometimes it&#8217;s quicker to  just pay  the fee  and have  your IP  address removed  if you&#8217;re  in   a  hurry),  <span style="color: #008000;"><a title="Spamcanibal" href="http://bl.spamcannibal.org" target="_blank">bl.spamcannibal.org</a></span>, <span style="color: #008000;"><a title="Spamhaus" href="http://zen.spamhaus.org" target="_blank">zen.spamhaus.org</a></span>, <span style="color: #008000;"><a title="CBL" href="http://cbl.abuseat.org" target="_blank">cbl.abuseat.org</a></span>, <span style="color: #008000;"><a title="DSBL" href="http://list.dsbl.org" target="_blank">list.dsbl.org</a></span>. I just picked  up few from a  Perl script that I&#8217;m  using, <span style="color: #008000;"><a title="Net::DNSBL::Monitor" href="http://search.cpan.org/dist/Net-DNSBL-Monitor/" target="_blank">Net::DNSBL::Monitor</a></span>, in  order to check  daily some IP classes against these blacklists.  That is, btw, a very good  idea if you are a little bit  familiar with using some scripting (shell,  Perl) and setting up a cron  job. If not, you may  subscribe for a paid  service that will monitor your IP address for you.</div>
<div style="text-align: justify;"><strong>Fifth</strong> &#8211;  If your  email traffic  volume has  the characteristics  of  bulk emailing (lots of emails to lots of people, based on some sort of  mailing list), then be sure  that the domain  from the reverse  DNS record has  an active web site (not a boilerplate type), that the website includes  valid contact information  and a  visible  unsubscribe link.  Be sure  that  the unsubscribe link works properly as the first sign that someone is  sending unsolicited emails  is the  sender disinterest  to other  people&#8217;s wish  to unsubscribe from whatever it sends.</div>
<div style="text-align: justify;"><strong>Sixth</strong> &#8211; If you&#8217;re sending bulk emails, you may consider white-listing  your IP address(es)  with the  big players  from the  email services  industry:</div>
<div style="text-align: justify;">Yahoo, Microsoft, Google, AOL.  There are specific  steps to be  followed but in the end your emails will reach directly the users Inbox.</div>
<div style="text-align: justify;">
<div><strong><span style="font-weight: normal;"><strong>Seventh</strong> &#8211; Like anyone  else, having a domain  means that you will  receive spam. One  of  the  spammers strategy  to  have  their crap  read  by  the receivers is the so called backscattering. Backscatter represent a message that you  receive  saying that  the  email that  you  never sent  was  not delivered to an email address that you don&#8217;t know. This kind of message is called delivery  status notification.  So,  if your  system is  sending  a bounce back message  for every forged  spam emails that  it receive,  your system will be identified as the spamming system and from here the  entire list of problems  - blacklisting,  your hosting company  jumping in  your head, eventually an SMTP filter, and  so on. The solution is simple.  Just be sure that your system doesn&#8217;t send NDRs (non delivery reports) for  the non existing email accounts, but instead just reject the message.</span></strong></div>
<div><strong>Eighth</strong> &#8211; If you have a relatively small daily amount of email traffic, you may consider using your hosting company so called &#8220;smart relay&#8221;. The smart relay provides a SMTP service, usually limited as access (a maximum number of messages per minute, with a  maximum number of recipients, and so  on). Normally, the hosting company smart relay is pampered, so you&#8217;ll not  find its IP address on a  blacklist and most of  the email servers will  accept the emails sent through  it (well, if you&#8217;ll  start sending spam  probably the spam will be silently discarded as checking for spam and viruses is  a common policy for such smart  relays). You can use  the smart relay for  a specific domain,  for example  for all  emails  that have  to be  sent  to yahoo.com, and keep your own SMTP service  for the rest of the emails,  or you can simply  push all the  email traffic through  the smart relay.  The limits imposed  by  the  smart  relay will  determine,  if  reached,  your messages to be temporary deferred, which means that your system will retry to send the messages later.</div>
<div><strong>Ninth</strong> &#8211; Have more than one IP address on your system. In case that the IP address used as source  IP address in being  blacklisted for some  reason, changing this  source IP  address will  give you  the possibility  to  send emails while you investigate the cause of blacklisting. Some SMTP  servers will natively give  you the option  to use a  different IP address  (like Postfix), while  other SMTP  servers will  need patches.  In any  case, a pretty new  Linux system  which support  ipchains or  iptables can  easily mangle the  source IP  address for  a specific protocol so  the software capabilities  shouldn&#8217;t   be   an   issue  for   an   experienced   system administrator.</div>
<div><strong>Tenth</strong> &#8211; Have a good system  administrator checking you email server  logs. Ideal would be to have  someone watching daily the  logs, but I&#8217;ve seen a lot of people having a server  somewhere for which no administrative  work is being done.  It&#8217;s mandatory  to have  your system  patched and updated regularly if you want to have good running system. A weak system is exposed to all kind of exploits  - and these comes up  on the Internet regularly  - and, coming back to your email server, this can be compromised and  easily transformed into a spam  generator, and  this will create a lot of  trouble for you.</div>
<div>
<div>I presented above a few steps that are meant to keep you safe while sending your emails worldwide. Please feel free to comment or to <span style="color: #008000;"><a title="Contact" href="http://www.techmediaconsulting.com/?page_id=17" target="_blank">contact</a></span> us.</div>
</div>
</div>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.techmediaconsulting.com%2Findex.php%2Femails%2Fthird-and-last-blog-entry-a-little-bit-longer&amp;linkname=Sending%20emails%20from%20a%20hosted%20domain"><img src="http://www.techmediaconsulting.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.techmediaconsulting.com/index.php/emails/third-and-last-blog-entry-a-little-bit-longer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

