<?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>Wesley Levels&#039;s Blog</title>
	<atom:link href="http://wordpress.wlevels.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://wordpress.wlevels.nl</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 09 Oct 2011 17:41:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Mikrotik Serial settings</title>
		<link>http://wordpress.wlevels.nl/mikrotik-serial-settings/</link>
		<comments>http://wordpress.wlevels.nl/mikrotik-serial-settings/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 17:41:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[RouterBoard]]></category>
		<category><![CDATA[RouterOS]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=209</guid>
		<description><![CDATA[Settings for connecting through the serial port with your Mikrotik: All RouterBOARD models except 230: 115200bit/s, 8 data bits, 1 stop bit, no parity, flow control=none by default. RouterBOARD 230 parameters are: 9600bit/s, 8 data bits, 1 stop bit, no parity, hardware (RTS/CTS) flow control by default.]]></description>
			<content:encoded><![CDATA[<p>Settings for connecting through the serial port with your Mikrotik:</p>
<p>All RouterBOARD models except 230:</p>
<blockquote><p>115200bit/s, 8 data bits, 1 stop bit, no parity, flow control=none by default.</p></blockquote>
<p>RouterBOARD 230 parameters are:</p>
<blockquote><p>9600bit/s, 8 data bits, 1 stop bit, no parity, hardware (RTS/CTS) flow control by default.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/mikrotik-serial-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing up CUCM using FreeFTPd</title>
		<link>http://wordpress.wlevels.nl/backing-up-cucm-using-freeftpd/</link>
		<comments>http://wordpress.wlevels.nl/backing-up-cucm-using-freeftpd/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 16:54:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Unified Communications Manager]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=206</guid>
		<description><![CDATA[Backing up CUCM using FreeFTPd Install FreeFTPd on a server or workstation. Run FreeFTPd and create a user through the users tab. Change it’s home directory to a directory where you want the back-ups tob e placed. Go to the SFTP tab, check the Listen address, and change the SFTP root directory to the firectory [...]]]></description>
			<content:encoded><![CDATA[<p>Backing up CUCM using FreeFTPd</p>
<p>Install FreeFTPd on a server or workstation. Run FreeFTPd and create a user through the users tab. Change it’s home directory to a directory where you want the back-ups tob e placed.</p>
<p>Go to the SFTP tab, check the Listen address, and change the SFTP root directory to the firectory where you want the back-ups to be placed.</p>
<p>Click the Start button on the SFTP tab.</p>
<p>Go to your CUCM. Navigate to the Cisco Disaster Recovery System, and log in.</p>
<p>Navigate to Backup – Backup device.</p>
<p>Add New. Choose a Backup device name, choose Network Directory, and fill in the server name (IP) of the SFTP server, path = /, username and password of the newly created SFTP user. Choose the number of backups to store on the Network Directory, and click Save. If the backup location is valid the status at the top of the page will tell you it could access the network directory succesful.</p>
<p>Navigate to Backup – Scheduler</p>
<p>Add new.</p>
<p>Choose a Schedule Name, the features you want to include in the back-up, the starting date and time, and the frequency. Press Save and then Press Enable Schedule.</p>
<p>Just for sure you can test your back-up configuration by manually creating a back-up.</p>
<p>Navigate to Backup – Manual Backup.</p>
<p>Choose a Schedule Name, the features you want to include in the back-up, and press Start Backup. Your manual back-up will begin, check back in a couple of minutes if your back-up job went succesful.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/backing-up-cucm-using-freeftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Recycle bin functionality to Samba</title>
		<link>http://wordpress.wlevels.nl/add-recycle-bin-functionality-to-samba/</link>
		<comments>http://wordpress.wlevels.nl/add-recycle-bin-functionality-to-samba/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 14:11:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Back-up]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=201</guid>
		<description><![CDATA[It’s possible to add a recycle bin to your Samba shares. This way you won’t be bothered with restoring back-ups for a deleted file. What you need to do to enable the recycle bin functionality on your samba shares: -          Create a config file in /etc/samba for the recycle bin config. (I created /etc/samba/rb.conf) -          [...]]]></description>
			<content:encoded><![CDATA[<p>It’s possible to add a recycle bin to your Samba shares. This way you won’t be bothered with restoring back-ups for a deleted file. What you need to do to enable the recycle bin functionality on your samba shares:</p>
<p>-          Create a config file in /etc/samba for the recycle bin config. (I created /etc/samba/rb.conf)<br />
-          Place the following config into the file:                       </p>
<blockquote><p>##Recycle Bin Configuration File##</p>
<p>name = Recycle Bin<br />
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH<br />
maxsize = 0<br />
exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace<br />
excludedir = /tmp|/temp|/cache<br />
noversions = *.doc|*.ppt|*.dat|*.ini</p></blockquote>
<p>-          Edit your Samba configuration file (/etc/samba.smb.conf).<br />
-          Add the following lines to the share(s) you want to have the recycle bin functionality: </p>
<blockquote><p>vfs object = recycle<br />
config-file = /etc/samba/recycle.conf<br />
recycle:repository = Recycle Bin<br />
recycle:keeptree = Yes<br />
recycle:versions = Yes </p></blockquote>
<p>-          Restart Samba (“/etc/init.d/samba restart” or “service samba restart”)<br />
-          It could be that you first need to delete a file before the recycle bin folder will show up.</p>
<p>There are lots of options to fine tune to your needs!<span id="_marker"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/add-recycle-bin-functionality-to-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Exchange 2010</title>
		<link>http://wordpress.wlevels.nl/installing-exchange-2010/</link>
		<comments>http://wordpress.wlevels.nl/installing-exchange-2010/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 19:53:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=191</guid>
		<description><![CDATA[Currently I’m running Microsoft Exchange 2007. I’m really happy with it, however, there’s a new version, Microsoft Exchange 2010. I wouldn’t be me if I won’t check out Microsoft Exchange 2010. And what would be a better possibility to check it out and get to know it than to install it for my own! I [...]]]></description>
			<content:encoded><![CDATA[<p>Currently I’m running Microsoft Exchange 2007. I’m really happy with it, however, there’s a new version, Microsoft Exchange 2010. I wouldn’t be me if I won’t check out Microsoft Exchange 2010. And what would be a better possibility to check it out and get to know it than to install it for my own!</p>
<p>I will be making sort of a todo-list that I can look back at when installing a Microsoft Exchange 2010 server in the future:</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/installing-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rooting and using custom ROMs on your HTC Hero</title>
		<link>http://wordpress.wlevels.nl/rooting-and-using-custom-roms-on-your-htc-hero/</link>
		<comments>http://wordpress.wlevels.nl/rooting-and-using-custom-roms-on-your-htc-hero/#comments</comments>
		<pubDate>Sat, 22 May 2010 20:14:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[HTC]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=188</guid>
		<description><![CDATA[Since last year I have a HTC Hero. Since somewhere end of last year/beginning of this year HTC promised an Android 2.1 update for the HTC Hero. The update still isn&#8217;t released. It took me to long, so I just rooted the HTC Hero and put a Custom Android 2.1 ROM (VillainROM) on it. It [...]]]></description>
			<content:encoded><![CDATA[<p>Since last year I have a HTC Hero. Since somewhere end of last year/beginning of this year HTC promised an Android 2.1 update for the HTC Hero. The update still isn&#8217;t released. It took me to long, so I just rooted the HTC Hero and put a Custom Android 2.1 ROM (VillainROM) on it. It works like a charm!</p>
<p>This website helped me rooting my HTC and applying a custom ROM on it:</p>
<p><a title="TheUnlockr" href="http://theunlockr.com/" target="_blank">TheUnlockr.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/rooting-and-using-custom-roms-on-your-htc-hero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 send as permissions</title>
		<link>http://wordpress.wlevels.nl/exchange-2007-send-as-permissions/</link>
		<comments>http://wordpress.wlevels.nl/exchange-2007-send-as-permissions/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 19:08:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=184</guid>
		<description><![CDATA[Noticed some strange behaviour with &#8220;Send As Permissions&#8221; on my Exchange 2007 server. I couldn&#8217;t get the send as permissions to work. After doing some research, I found some known problems, that I will list in this post: - To apply a user &#8220;Send As&#8221; permissions, the user also needs to have &#8220;Send on behalf&#8221; permissions on [...]]]></description>
			<content:encoded><![CDATA[<p>Noticed some strange behaviour with &#8220;Send As Permissions&#8221; on my Exchange 2007 server. I couldn&#8217;t get the send as permissions to work. After doing some research, I found some known problems, that I will list in this post:</p>
<p>- To apply a user &#8220;Send As&#8221; permissions, the user also needs to have &#8220;Send on behalf&#8221; permissions on the mailbox.<br />
- A mailbox that is hidden from the Exchange Address List can&#8217;t be used for a user to &#8220;Send As&#8221;.<br />
- Exchange updates its permissions like &#8220;Send As&#8221; permissions every 120 minutes only. This means it could take 2 hours before your &#8220;Send As&#8221; permissions are configured. There are people saying that an Information Store restart would force the update of permissions, however there is no proof that this works.</p>
<p>Because most people today use Outlook 2007 with cached RPC over HTTP, the &#8220;Exchange Address List&#8221; won&#8217;t be updated directly when creating new users. This also means it&#8217;s not directly possible to use the newly created mailbox to send as this mailbox. Turning of caching will show up the newly created mailbox and enable the functionality to send as this mailbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/exchange-2007-send-as-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using downloaded/custom created logos in Nagios</title>
		<link>http://wordpress.wlevels.nl/using-downloadedcustom-created-logos-in-nagios/</link>
		<comments>http://wordpress.wlevels.nl/using-downloadedcustom-created-logos-in-nagios/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 13:11:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=157</guid>
		<description><![CDATA[When implementing a Nagios Monitoring solution and looking at the default map output, It&#8217;s really boring. I like to give the eye something to, so I decided to find out how to use downloaded icons and/or custom created icons you made yourself.  I will explain how to configure icons for your nagios map: By default [...]]]></description>
			<content:encoded><![CDATA[<p>When implementing a Nagios Monitoring solution and looking at the default map output, It&#8217;s really boring. I like to give the eye something to, so I decided to find out how to use downloaded icons and/or custom created icons you made yourself. </p>
<p>I will explain how to configure icons for your nagios map:<br />
<span id="more-157"></span><br />
By default Nagios will show any icons as a question mark logo, known as unknown.gif and unknown.gd2 in your filesystem.<br />
You can define your own icons by downloading icon packs for Nagios or just creating your own icons.<br />
I don&#8217;t need to explain how to create .png files and how to crop images to the best size on your Nagios map (40*40 pixels), however creating .gd2 files will be a little bit different (pretty easy however).</p>
<p>Icons used by Nagios will be put into the following directory:</p>
<p>/usr/local/nagios/share/images/logos </p>
<p>You have to create a config file for configuring icons on specified hosts or you can just add the icon info in your host definitions. When using a specific config file for your icons, it&#8217;s best to create a hostextinfo.cfg file in /usr/local/nagios/etc/objects (where all your monitored host config files resign) and add a line specifying the path of the hostextinfo.cfg file in your nagios.cfg file (nagios.cfg will tell nagios what config files to load at startup/reload).<br />
When you have created the hostextinfo.cfg file (depends on how you named it ofcourse) open hostextinfo.cfg with your favorite editor and use the following config to configure the icons for your hosts:</p>
<p>define hostextinfo{<br />
                host_name                        [one or multiple hosts, separated by a ',']<br />
                # notes_url                        <a href="http://webserver/hostinfo.pl?host=you_can_edit_this">http://webserver/hostinfo.pl?host=you_can_edit_this</a><br />
                icon_image                        hosts.png<br />
                icon_image_alt 0             hosts<br />
                vrml_image                       hosts.png<br />
                statusmap_image           hosts.gd2<br />
                # 2d_coords                      100,250<br />
                # 3d_coords                      100.0,50.0,75.0<br />
                }</p>
<p>You could also just add the following info in your host definitions, so you would get an entry like this: </p>
<p>define host{<br />
                use                                        linux-server<br />
                host_name                        [hostname]<br />
                parents                                [parent name]<br />
                alias                                       [alias]<br />
                address                                192.168.*.*<br />
                hostgroups                        linux-servers<br />
                icon_image                        [image.png]<br />
                icon_image_alt                [image]<br />
                vrml_image                       [image.png]<br />
                statusmap_image           [image.gd2]<br />
}</p>
<p>When you want to create your own icons you need the pngtogd2 utility, that is distributed as part of the libgd-tools package in Debian and Ubuntu.</p>
<blockquote><p>apt-get install libgd-tools</p></blockquote>
<p>when you created some custom .png files, upload them to your server, and use the following command to make a copy of the specified .png file and automatically create a .gd2 file: </p>
<blockquote><p>pngtogd2 [.png file] [use the same name and just put .gd2 at the end] cs 1</p></blockquote>
<p>When using this command, you will notice you just created a .gd2 file for your custom .png file.<br />
Afterwards you will get something like this:</p>
<p><a href="http://wordpress.wlevels.nl/wp-content/uploads/nagiosmap.png"></a><a href="http://wordpress.wlevels.nl/wp-content/uploads/nagios-map.jpg"></a><a href="http://wordpress.wlevels.nl/wp-content/uploads/nagiosmap.jpg"></a><a href="http://wordpress.wlevels.nl/wp-content/uploads/nagiosmap.jpg"><img title="nagiosmap" src="http://wordpress.wlevels.nl/wp-content/uploads/nagiosmap.jpg" alt="" width="628" height="591" /></a><a href="http://wordpress.wlevels.nl/wp-content/uploads/nagios-map.jpg"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/using-downloadedcustom-created-logos-in-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi VM Backup Solution &#8211; GhettoVCB script</title>
		<link>http://wordpress.wlevels.nl/esxi-vm-backup-solution-ghettovcb-script/</link>
		<comments>http://wordpress.wlevels.nl/esxi-vm-backup-solution-ghettovcb-script/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:46:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Back-up]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=6</guid>
		<description><![CDATA[I was checking for a good back-up solution for my ESXi VM&#8217;s, because of the lacking Exchange-aware back-up solution in Windows Server 2008. I checked some 3rd party solutions, but wasn&#8217;t exactly convinced. I then came by a VMWare thread with a back-up solution using a script on your ESX(i) server, automatically creating a live [...]]]></description>
			<content:encoded><![CDATA[<p>I was checking for a good back-up solution for my ESXi VM&#8217;s, because of the lacking Exchange-aware back-up solution in Windows Server 2008. I checked some 3rd party solutions, but wasn&#8217;t exactly convinced.<br />
I then came by a VMWare thread with a back-up solution using a script on your ESX(i) server, automatically creating a live (or offline) back-up of one or more VMs.<br />
<span id="more-6"></span>The script has it&#8217;s pros and cons, like:</p>
<p>Pros:</p>
<ul>
<li>Free.</li>
<li>Back-up at the top layer, you can restore a back-up to another ESX(i) server without any problems and without the need to manually creating a second VM or anything.</li>
</ul>
<p>Cons:</p>
<ul>
<li>If using the script for exchange, it&#8217;s not possible to restore specific e-mails or users. You could restore a back-up next to the &#8220;original&#8221; VM, and restore e-mail or users, however that won&#8217;t be an efficient way of a restore.</li>
<li>Had some problems with using compression. It&#8217;s no problem using compression with the script, worked like a charm. However I wasn&#8217;t able to restore the VM. I&#8217;m sure I&#8217;m doing something wrong. Couldn&#8217;t figure it out in the spare time I had. Will get into it, and update this post with my findings.</li>
<li>Using compression will use pretty some CPU resources. I personally don&#8217;t mind this, because my experience with Virtualization servers are that the CPU isn&#8217;t used that much. Most of the time the limit of a Virtualization Server is reached by the amount of memory in the Virtualization Server.</li>
<li>When using compression to save space on your back-up volume, you will need enough space for the script to store the uncompressed back-up. The script will clone the VM(s) and put them on the back-up volume. When cloning is complete the script will compress the newly created uncompressed clone. When a second clone (compressed) is created from the first (uncompressed) clone, the uncompressed clone will be removed and the compressed clone will stay at your given back-up location.</li>
</ul>
<p>I won&#8217;t get into the installation or anything of the back-up script, because there&#8217;s a great how-to at the VMWare thread from the actual owner of the script.</p>
<p><a href="http://communities.vmware.com/docs/DOC-8760">Check this link for the script itself and some FAQs and how-to for using the script</a></p>
<p>There&#8217;s also a thread with a restore script for restoring back-ups made with the back-up script. This is just a script to automate things. You could also just restore manually.</p>
<p><a href="http://communities.vmware.com/docs/DOC-10595">Check this link for the restore script</a></p>
<p>Something the thread lacked (or I didn&#8217;t saw this) was some performance data. I did some testing with offline and live back-ups and the following were the results:<br />
(Just for the record, I will state my ESXi config because the performance data can be different on ESX(i) configurations with different hardware)</p>
<ul>
<li>ASUS P5Q-VM Mainboard</li>
<li>Intel Q6600 Core 2 Quad</li>
<li>8GB PC6400 DDR2 Kingston memory</li>
<li>Intel PRO 1000PT Network adapter</li>
<li>3WARE 9650SE-2LP</li>
<li>2x 1TB Samsung Spinpoint F1 HD103UJ drives for the 3WARE RAID</li>
<li>1x 1TB Samsung Spinpoint F1 HD103UJ drive</li>
<li>1x old SATA1 drive for testing purposes</li>
</ul>
<p>I made back-ups from VMs on the third SATA2 drive (no raid) to the fourth drive (SATA1 no raid), and restored back to the SATA2 (no raid) drive because of space limitation on the RAID configuration.</p>
<p>ESXi CPU usage; (7 VMs running) +/- 350 Mhz = 5%<br />
ESXi CPU usage; during backup/restore +/- 800 Mhz = 10%<br />
ESXi CPU usage; during backup compressing/restore uncompressing +/- 2600 Mhz = 30%</p>
<p>I tested the scripts only with one VM for now. It was an Ubuntu Nagios VM with one VHDD (+/-10GB)</p>
<p>ESXi backup uncompressed; 2,9 mins cloning disk, 4 mins total<br />
ESXi backup compressed; 2,9 mins cloning, 19 mins compressing, 22 mins total.</p>
<p>The compression was nice, the back-up was 1 GB after compression. 10% of the original size. However this can differ for each VM.</p>
<p>ESXi restore uncompressed; 3 mins total<br />
ESXi restore compressed; Couldn&#8217;t get it to work for now, however, I timed uncompression, it was 6 mins, and the move from the SATA1 &#8220;backup&#8221; drive to the SATA2 &#8220;operational&#8221; drive was about 1 min.</p>
<p>If you could do some guessing, you could say:</p>
<ul>
<li>10GB VM = 4 minutes</li>
<li>50GB VM = 20 minutes</li>
<li>100GB VM = 40 minutes</li>
<li>200 GB VM = 80 minutes (1 hour and 20 minutes)</li>
<li>250 GB VM = 100 minutes (1 hour and 40 minutes)</li>
</ul>
<p><em>Note: between offline back-up and live back-up is no difference in performance or anything. Your VM can stay on while processing the live back-up. I did not notice any delays on the VM while doing a live back-up, however, my testserver is just a Nagios Monitoring server <img src='http://wordpress.wlevels.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
When making a live back-up, your ESX(i) server will create a live snapshot and the script will use the snapshot to create the back-up. Afterwards the snapshot will be deleted by the script.</em></p>
<p>The tests I made are pretty basic. This is the first part of this post. I will check the problems I had while manually restoring compressed back-ups. I will update this post when I have the time to test scripts some more!</p>
<p><strong>UPDATE</strong>:</p>
<p>I found out that the default config isn&#8217;t good enough for (most) Exchange servers. The ghettoVCB script will attempt to shutdown your VM(s) using the installed VMWare Tools. It will then check for 5 minutes (5 times every 60 seconds) if the VM is shut down, and perform the back-up. If the server isn&#8217;t offline after 5 minutes (5 checks), the script will ignore the specific VM.<br />
My exchange server (and pretty much every Exchange server I think) won&#8217;t make it to shutdown in 5 minutes. My exchange takes about 10 minutes to shutdown.</p>
<p>I changed  the &#8220;POWER_DOWN_TIMEOUT=*&#8221; value from it&#8217;s default (5) to 15, allowing every VM to have a shutdown time of 15 minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/esxi-vm-backup-solution-ghettovcb-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring RouterOS as PPTP Server</title>
		<link>http://wordpress.wlevels.nl/configuring-routeros-as-pptp-server/</link>
		<comments>http://wordpress.wlevels.nl/configuring-routeros-as-pptp-server/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 11:05:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[RouterBoard]]></category>
		<category><![CDATA[RouterOS]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=121</guid>
		<description><![CDATA[I wanted to configure my MikroTik Router so I can remotely connect to my home network. I configured my MikroTik to be a PPTP Server. This is what was needed to configure a RouterOS based router to accept a PPTP Client session: 1. Add a user CLI: # /ppp secret # add name=[testuser] password=[testpassword] service=pptp  [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to configure my MikroTik Router so I can remotely connect to my home network.<br />
I configured my MikroTik to be a PPTP Server.</p>
<p>This is what was needed to configure a RouterOS based router to accept a PPTP Client session:<br />
<span id="more-121"></span></p>
<p><strong><strong>1. Add a user</strong></strong></p>
<p><strong><em>CLI:</em></strong></p>
<blockquote><p># /ppp secret<br />
# add name=[testuser] password=[testpassword] service=pptp </p></blockquote>
<p><strong><em>GUI:</em></strong></p>
<ul>
<li>Login using Winbox.</li>
<li>Go to PPP &#8211; Secrets</li>
<li>Press &#8220;+&#8221; to add a user.</li>
<li>Configure a &#8220;Name&#8221; and a &#8220;Password&#8221;.</li>
<li>Use the Service Dropdown to select &#8220;PPTP&#8221;.</li>
</ul>
<p><strong><strong><br />
2. Enable the PPTP Server</strong></strong></p>
<p><strong><em>CLI:</em></strong></p>
<blockquote><p># /interface pptp-server server<br />
# set enabled=yes</p></blockquote>
<p><strong><em>GUI:</em></strong></p>
<ul>
<li>Go to PPP &#8211; Interface</li>
<li>Press &#8220;PPTP Server&#8221; button.</li>
<li>Enable the PPTP Server.</li>
</ul>
<p>The part where you select that the user is only for the PPTP service is optional, however it is slightly more secure to enable it only for PPTP.</p>
<p><strong>3. Make sure your firewall accepts TCP 1723/GRE<br />
</strong><br />
<strong><em>CLI:</em></strong></p>
<blockquote><p>/ip firewall filter<br />
add chain=input protocol=tcp dst-port=1723 action=accept<br />
add chain=input protocol=gre action=accept</p></blockquote>
<p><strong><em>GUI:</em></strong></p>
<ul>
<li>Go to IP &#8211; Firewall</li>
<li>Check you filter rules for accepting TCP 1723 and GRE protocol</li>
<li>If your mikrotik has no specific entries for accepting the above, create two rules:
<ul>
<li>Chain: input, Protocol: tcp, Dst. Port: 1723, Action: accept</li>
<li>Chain: input, Protocol:gre, Action: accept</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/configuring-routeros-as-pptp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring server using your Nagios Server as PPTP Client</title>
		<link>http://wordpress.wlevels.nl/monitoring-server-using-your-nagios-server-as-pptp-client/</link>
		<comments>http://wordpress.wlevels.nl/monitoring-server-using-your-nagios-server-as-pptp-client/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 19:09:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://wordpress.wlevels.nl/?p=91</guid>
		<description><![CDATA[I have a customer who has a Windows SBS2K3 server behind a pretty crappy router (installed by ISP). It&#8217;s not possible to create a Site-to-Site VPN between the location where my Nagios Server is located and the location where the SBS2K3 is located. Because I insist throwing all monitoring traffic over an Encrypted Tunnel, I [...]]]></description>
			<content:encoded><![CDATA[<p>I have a customer who has a Windows SBS2K3 server behind a pretty crappy router (installed by ISP). It&#8217;s not possible to create a Site-to-Site VPN between the location where my Nagios Server is located and the location where the SBS2K3 is located.</p>
<p>Because I insist throwing all monitoring traffic over an Encrypted Tunnel, I thought about letting the Nagios Server log in as a PPTP Client onto the WSBS2K3.</p>
<p>I did the following the configure everything for the above:<br />
<span id="more-91"></span></p>
<ul>
<li>Created a Service account on the SBS2K3 with VPN login permissions.</li>
<li>Installed PPPd on the Nagios Server.</li>
<li>Created a new PPTP VPN Tunnel using Webmin (PPTP VPN Client module will be available after installing PPPd and refreshing the modules in Webmin).</li>
<li>Created a route for my Nagios Server that it can access the SBS2K3 server for monitoring.</li>
</ul>
<p>I will give you an example to make it more clear to understand:</p>
<p>Let&#8217;s say your Remote Server has public ip 1.1.1.1 and it&#8217;s internal IP is 192.168.2.10.</p>
<p>You will have to do the following on your Nagios Server:</p>
<ul>
<li>Open a SSH session.</li>
<li>Execute the following command to install PPPd: </li>
</ul>
<blockquote>
<pre># apt-get install pppd</pre>
</blockquote>
<ul>
<li>Make sure you have webmin installed on your Linux (Nagios) server. If you don&#8217;t have Webmin installed, check <a href="http://www.webmin.com/deb.html">http://www.webmin.com/deb.html</a> for a tutorial how to install Webmin (Webmin will always come in handy, so don&#8217;t hesitate to install Webmin).</li>
<li>Open the webmin console of your Nagios Server (https://<strong>[Local Nagios IP]</strong>:10000)</li>
<li>Go to &#8220;Networking&#8221; &#8211; &#8220;PPTP VPN Client&#8221;</li>
<li>Add a new PPTP VPN Tunnel</li>
<li>Make sure the PPTP Tunnel is configured like beneath.</li>
</ul>
<p> <span style="line-height: 115%; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ansi-language: NL; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: NL; mso-no-proof: yes; mso-bidi-language: AR-SA;"> <img class="alignnone size-full wp-image-97" title="PPTP VPN Client add tunnel" src="http://wordpress.wlevels.nl/wp-content/uploads/PPTP-VPN-Client-add-tunnel.jpg" alt="PPTP VPN Client add tunnel" width="592" height="465" /></span></p>
<ul>
<li>Create the tunnel</li>
</ul>
<p>You can test if the tunnel will be created successful by choosing your newly created Tunnel and pressing &#8220;Connect to:&#8221; on the left side of the PPTP VPN Client screen.</p>
<p>When the PPTP VPN session is enabled successfully, you only need to add a route so Nagios knows how to reach the Remote Server. The command for adding a route to use in this example is:</p>
<blockquote>
<pre># route add -net 192.168.2.0 netmask 255.255.255.0 dev ppp0</pre>
</blockquote>
<p>This command will make sure that the whole 2.* range is available through the PPP0 interface.</p>
<p>You can also automate the establishment of the tunnel and the route. To let the Nagios Server establish the PPTP Tunnel at boot you can configure the option in your Nagios Webmin PPTP Client Console to connect at boot.<br />
For the route you can edit the Defined Tunnel, and add the above line into the &#8220;Other route commands&#8221; field of your PPTP VPN tunnel options.</p>
<p>This way your PPTP Tunnel will automatically be established on a boot of the Nagios Server and the route will automatically be added after establishing the PPTP Tunnel.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.wlevels.nl/monitoring-server-using-your-nagios-server-as-pptp-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

