<?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>bitbud.com</title>
	<atom:link href="http://bitbud.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bitbud.com</link>
	<description>IT and other musings</description>
	<lastBuildDate>Wed, 19 Jan 2011 20:23:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Cisco AnyConnect VPN and Ubuntu 64-bit</title>
		<link>http://bitbud.com/2011/01/19/cisco-anyconnect-vpn-and-ubuntu-64-bit/</link>
		<comments>http://bitbud.com/2011/01/19/cisco-anyconnect-vpn-and-ubuntu-64-bit/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 20:20:19 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=376</guid>
		<description><![CDATA[I recently did some work on an HA Cisco ASA for VPN using the AnyConnect clients.  It is a cross platform system that works very well.  This system was unique in that it used the very excellent two factor solution from SecureAuth.  Using client installed certificates with the AnyConnect client provides a two factor solution [...]]]></description>
			<content:encoded><![CDATA[<p>I recently did some work on an HA Cisco ASA for VPN using the AnyConnect clients.  It is a cross platform system that works very well.  This system was unique in that it used the very excellent two factor solution from SecureAuth.  Using client installed certificates with the AnyConnect client provides a two factor solution that was easy to roll out.  Windows, Linux and Mac are supported.  I personally use Ubuntu as my desktop of choice, and found that the AnyConnect client installed easily on the 32bit systems.  However, on 64-bit Ubuntu there were a few problems that had to be worked around.  There are a few sources online for fixes, this is what worked for me. YMMV:<br />
OS: Ubuntu 10.04.1 64bit (also worked on 10.10 64bit):</p>
<p>VPN: Cisco ASA with AnyConnect Essentials</p>
<p>Certificate provider: SecureAuth</p>
<p>I skipping the setup of these two systems, assuming you currently have a working two-factor AnyConnect VPN.  SecureAuth and Cisco Anyconnect both provide a web based (ActiveX, FF Plugin, or Java) installation process for your clients.  Depending on your setup, you will first install a certificate, and then install the VPN client.  Once completed, launching the VPN client will locate your certificate, and prompt you for your password to complete authentication.</p>
<p>However, on Ubuntu 64-bit you will receive a certificate error.  The truth is, the certificate is fine, we just need to install some additional packages.  The are located in the 32bit version of Firefox though.  It is a few technical hoops to jump through, but you are already using Linux as your desktop, so it&#8217;s easy:</p>
<p>- Go to firefox.com.<br />
- Download Firefox.  The version you want should be a tar.bz file<br />
- Extract it to /usr/local/firefox</p>
<p>Time for the CLI, of course:</p>
<p>sudo apt-get install ia32-libs lib32nss-mdns<br />
cd /usr/local/firefox</p>
<p>sudo ln -s libnss3.so /opt/cisco/vpn/lib/nss3.so<br />
sudo ln -s libplc4.so /opt/cisco/vpn/lib/libplc4.so<br />
sudo ln -s libnspr4.so /opt/cisco/vpn/lib/libnspr4.so<br />
sudo ln -s libsmime3.so /opt/cisco/vpn/lib/libsmime3.so<br />
sudo ln -s libsoftokn3.so /opt/cisco/vpn/lib/libsoftokn3.so<br />
sudo ln -s libnssdbm3.so /opt/cisco/vpn/lib/libnssdbm3.so<br />
sudo ln -s libfreebl3.so /opt/cisco/vpn/lib/libfreebl3.so<br />
sudo ln -s libnssutil3.so /opt/cisco/vpn/lib/libnssutil3.so<br />
sudo ln -s libplds4.so /opt/cisco/vpn/lib/libplds4.so<br />
sudo ln -s libsqlite3.so /opt/cisco/vpn/lib/libsqlite3.so</p>
<p>Go back to Firefox, and browse to your VPN&#8217;s URL.  The install should connect right away.  You will also now have a working client in the Gnome GUI now too.</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2011/01/19/cisco-anyconnect-vpn-and-ubuntu-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Network Drivers on VMWare ESXi</title>
		<link>http://bitbud.com/2010/05/12/updating-network-drivers-on-vmware-esxi/</link>
		<comments>http://bitbud.com/2010/05/12/updating-network-drivers-on-vmware-esxi/#comments</comments>
		<pubDate>Wed, 12 May 2010 20:00:45 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=369</guid>
		<description><![CDATA[I couldn&#8217;t find a step-by-step how to, so here goes: My new Dell R710 has 4 on-board Broadcom NICs, and an add-on Intel Quad Port NIC.  After installing ESXi 4 Update 1 (customized ISO for Dell) I saw the Broadcoms, but not Intels.  The solution is a driver CD that is available from VMWare, but [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t find a step-by-step how to, so here goes:</p>
<p>My new Dell R710 has 4 on-board Broadcom NICs, and an add-on Intel Quad Port NIC.  After installing ESXi 4 Update 1 (customized ISO for Dell) I saw the Broadcoms, but not Intels.  The solution is a driver CD that is available from VMWare, but the installation process is a couple of hoops.</p>
<p>- Download the CLI (command line interface) and the drivers you are looking to install:</p>
<p><a href="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4#drivers_tools">http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4#drivers_tools</a></p>
<p>I download the VMWare vSphere CLI 4.0 U1   (I ran it from Windows 7 64bit).  It is under the &#8216;Drivers and Tools&#8221; tab,  &#8221;Automation Tools and SDK&#8221; branch.  I also needed the &#8220;VMware ESX/ESXi 4.0 Driver CD for Intel 82575 and 82576 Gigabit Ethernet Controller&#8221;, which was also under the &#8220;Drivers and Tools&#8221; tab, within the &#8220;Driver CDs&#8221; branch.</p>
<p>2 &#8211; Install the CLI tool (on Windows)</p>
<p>3 &#8211; You will need to burn the driver ISO to CD and put it in the drive of the same machine where the CLI tool is installed (or mount the ISO on that machine).</p>
<p>4 &#8211; In Windows, Start &#8211; All Programs &#8211; VMWare &#8211; VMWare vSphere CLI.  This will open a familiar looking Windows command prompt window.  You should default into the installation directory of the CLI tool</p>
<p>5 &#8211; type &#8220;cd bin&#8221; then press Enter in that command prompt window</p>
<p style="padding-left: 30px">C:\Program Files (x86)\VMware\VMware vSphere CLI&gt;cd bin</p>
<p>6 &#8211; type &#8220;d:&#8221; then press Enter (assuming d: is the drive where your driver CD in mounted)</p>
<p style="padding-left: 30px">C:\Program Files (x86)\VMware\VMware vSphere CLI\bin&gt;d:</p>
<div>7 &#8211; type &#8220;cd\offline-bundle&#8221;</div>
<div></div>
<div>8 &#8211; type &#8220;dir&#8221;.  You will need to figure out what file is your driver file.  For me, it was &#8220;INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip&#8221;</div>
<div></div>
<div>9 &#8211; then type the command to install the drivers:</div>
<div style="padding-left: 30px">D:\offline-bundle&gt;c:vihostupdate.pl &#8211;server 10.5.100.101 &#8211;install &#8211;bundle INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip</div>
<div></div>
<div>This command connects to ESXi server 10.5.100.101 to install the Intel NIC drivers.  Substitue the IP address of the server you want to update.  You will be prompted for a login and password, and the server will be put into maintenance mode, and rebooted at the end &#8211; so MAKE SURE you have no running VMs on this system.</div>
<div></div>
<div>You will see something like this:</div>
<div></div>
<div>Enter username: root</div>
<div>Enter password:*********************</div>
<div>Please wait patch installation is in progress &#8230;</div>
<div>The update completed successfully, but the system needs to be rebooted for the changes to be effective.</div>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2010/05/12/updating-network-drivers-on-vmware-esxi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing Windows VSS (Volume Shadow Service)</title>
		<link>http://bitbud.com/2010/03/11/fixing-windows-vss-volume-shadow-service/</link>
		<comments>http://bitbud.com/2010/03/11/fixing-windows-vss-volume-shadow-service/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 15:16:45 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=366</guid>
		<description><![CDATA[Performing a backup on a MS Windows operating system have been greatly improved with the introduction of the Volume Shadow Service.  On the server side, Windows 2003 introduced this new functionality for Microsoft.  There are several layers of features and services, but in summary, the VSS service allows for consistent, point-in-time access to files on [...]]]></description>
			<content:encoded><![CDATA[<p>Performing a backup on a MS Windows operating system have been greatly improved with the introduction of the Volume Shadow Service.  On the server side, Windows 2003 introduced this new functionality for Microsoft.  There are several layers of features and services, but in summary, the VSS service allows for consistent, point-in-time access to files on disk.  For example, it allows access to a MS SQL database, Exchange database, or other &#8220;open&#8221; files on disk in a manner that allow for consistent backup and restore of those files (<a title="How VSS works" href="http://technet.microsoft.com/en-us/library/cc785914%28WS.10%29.aspx?ppud=4" target="_blank">for more details on VSS, click</a>)</p>
<p>Occasionally the VSS service will cause a problem.  I have a new VSS integrated backup system (<a href="http://www.r1soft.com/" target="_blank">R1Soft &#8211; best backup solution I have ever used</a>) that works flawlessly on almost 40 systems, but there are 3 servers in particular that occasionally have problems.  These systems are being deprecated as their are multiple issues on these platforms (and they&#8217;ve been in service for 7 years).  There are several articles floating around online on how to address issues with VSS.  I have distilled the steps I perform into a quick process that works in getting the backups going again.</p>
<p>One common issue appears to be with removing and then installing competing VSS based backup agents.  We recently removed Backup Exec to switch to R1Soft, and some of the behaviors we experienced seemed to indicate a less than graceful uninstall process in Backup Exec caused issues with the VSS service.  From this our procedure going forward is to remove Backup Exec and reboot, then run through this process, and then install our new VSS backup agent, R1Soft.  I&#8217;d recommend exploring this process as an option nytime you are switching between VSS backup systems.</p>
<p>On to the steps&#8230; on the server where the VSS service is throwing errors to our backup agent, we perform the following (BTW &#8211; we have only seen this on 2003 Operating System).</p>
<p>- Click Start, click Run, type Regedit, and then click OK.<br />
- Locate and then click the following registry subkey:<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions<br />
- On the Edit menu, click Delete, and then click Yes to confirm that you want to delete the subkey (you are deleting the &#8220;Subscriptions&#8221; subkey)<br />
- Close Registry Editor.</p>
<p>- Click Start, click Run, type cmd, and then click OK. (this opens a command prompt).  Type each of the following commands (easiest to cut and paste, and put into a batch file):</p>
<p>net stop &#8220;System Event Notification&#8221;<br />
net stop &#8220;COM+ System Application&#8221;<br />
net stop &#8220;Background Intelligent Transfer Service&#8221;<br />
net stop &#8220;COM+ Event System&#8221;<br />
net start &#8220;COM+ Event System&#8221;<br />
net start &#8220;Background Intelligent Transfer Service&#8221;<br />
net start &#8220;COM+ System Application&#8221;<br />
net start &#8220;System Event Notification&#8221;<br />
net stop &#8220;Microsoft Software Shadow Copy Provider&#8221;<br />
net start &#8220;Microsoft Software Shadow Copy Provider&#8221;<br />
net stop &#8220;Volume Shadow Copy&#8221;</p>
<p>- the Volume Shadow Copy service will likely NOT stop.  The command will return with &#8220;The Volume Shadow Copy service could not be stopped&#8221;.  You can verify this by opening the Services Control Panel applet.  It will be listed as &#8220;Stopping&#8221;.</p>
<p>- Press Ctrl-Alt-Del, and open Task Manager.  Select the &#8220;Processes&#8221; tab, check the &#8220;Show processes from all users&#8221; box (lower left corner).  Locate the vssvc.exe process.  Right click it, and select &#8220;End Process Tree&#8221;.</p>
<p>- You will now need to restart the Volume Shadow Copy service.  Go back to the command prompt window are type:</p>
<p>net start &#8220;Volume Shadow Copy&#8221;<br />
You are done.</p>
<p>This has fixed our VSS issues 100% of the time.  Test it first for yourself to make sure it gives you the result you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2010/03/11/fixing-windows-vss-volume-shadow-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trunks, Bonds, Bridges, and vLANs in Proxmox</title>
		<link>http://bitbud.com/2010/01/07/trunks-bonds-bridges-and-vlans-in-proxmox/</link>
		<comments>http://bitbud.com/2010/01/07/trunks-bonds-bridges-and-vlans-in-proxmox/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 19:01:55 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[bond]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[port-channel]]></category>
		<category><![CDATA[Proxmox]]></category>
		<category><![CDATA[trunk]]></category>
		<category><![CDATA[vLAN]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=359</guid>
		<description><![CDATA[I&#8217;m going to skip the explanations of these things, and jump right to the how to set them up in Proxmox.  I am working with Proxmox 1.4, and a Cisco 4506 switch.  The Cisco has several vLANs configured, and the Proxmox host has dual Intel NICs on eth0 and eth1. On the Cisco switch, we [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to skip the explanations of these things, and jump right to the how to set them up in Proxmox.  I am working with Proxmox 1.4, and a Cisco 4506 switch.  The Cisco has several vLANs configured, and the Proxmox host has dual Intel NICs on eth0 and eth1.</p>
<p>On the Cisco switch, we need to configure a trunk, and then add ports to that trunk.  In my example, there are no existing Port-channels, so the trunk will be Port-channel1.</p>
<p style="padding-left: 30px">interface Port-channel1<br />
description *** Proxmox Host PRX01 bitbud.2009.10.10 ***<br />
switchport<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
duplex full<br />
spanning-tree portfast trunk</p>
<p>I will be using ports 1 and 2 on Gigabit slot 2 for the network ports:</p>
<p style="padding-left: 30px">interface GigabitEthernet2/1<br />
description *** Proxmox Host PRX01 bitbud.2009.10.10 ***<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
speed 1000<br />
duplex full<br />
spanning-tree portfast trunk<br />
channel-group 1 mode desirable</p>
<p style="padding-left: 30px">interface GigabitEthernet2/2<br />
description *** Proxmox Host PRX01 bitbud.2009.10.10 ***<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
speed 1000<br />
duplex full<br />
spanning-tree portfast trunk<br />
channel-group 1 mode desirable</p>
<p>That takes care of the port configuration on the switch.</p>
<p>Now, in Proxmox, I need to edit the trunk information.  In Linux, this is called a network bond.  We will also configure vLANs and bridges as well.  In Proxmox 1.4, you can have an unlimited number of bridges (bridges are what your virtual NICs connect to), so I like to use a bridge per vLAN (makes sense).  In my example, my primary vLAN that most systems use is vlan10, and I&#8217;ll also configure vlan20, and vlan30.  I&#8217;ve included some extra information as an example as well.</p>
<p>All of this configuration is stored in /etc/network/interfaces.  This is my complete interfaces file:</p>
<p style="padding-left: 30px"># standard net config DW 2009.11.12<br />
#<br />
# update ethx cards available<br />
# update bond0 config (which ethx cards to use)<br />
# update each bond0.x per vlan<br />
#   and its associated auto vmbrx per vlan<br />
#   exception ___ that vmbr0 should use the bond.x vlan<br />
#   that you want to use as the admin interface</p>
<p># network interface settings<br />
auto lo<br />
iface lo inet loopback</p>
<p>auto eth0<br />
iface eth0 inet manual</p>
<p>auto eth1<br />
iface eth1 inet manual</p>
<p>auto bond0<br />
iface bond0 inet manual<br />
slaves eth0 eth1<br />
bond_miimon 100<br />
#    bond_mode active-backup<br />
bond_mode 4</p>
<p>auto bond0.10<br />
iface bond0.4 inet manual<br />
vlan-raw-device bond0</p>
<p>auto bond0.20<br />
iface bond0.5 inet manual<br />
vlan-raw-device bond0</p>
<p>auto bond0.30<br />
iface bond0.11 inet manual<br />
vlan-raw-device bond0</p>
<p>auto vmbr0<br />
iface vmbr0 inet static<br />
address 10.5.56.71<br />
netmask 255.255.254.0<br />
gateway 10.5.57.4<br />
bridge_ports bond0.10<br />
bridge_stp off<br />
bridge_fd 0</p>
<p>auto vmbr20<br />
iface vmbr20 inet manual<br />
bridge_ports bond0.20<br />
bridge_stp off<br />
bridge_fd 0</p>
<p>auto vmbr30<br />
iface vmbr30 inet static<br />
address 10.101.7.1<br />
netmask 255.255.0.0<br />
bridge_ports bond0.30<br />
bridge_stp off<br />
bridge_fd 0</p>
<p style="padding-left: 30px">
<p>Let me point out a few things in that example:</p>
<ul>
<li>If you have additional interfaces, such as eth2, eth3, etc that you want to add to the bond, simply copy the example with the new interface id.
<ul>
<li>Add:<br />
auto eth2<br />
iface eth2 inet manual</li>
<li>Change:<br />
slaves eth0 eth1<br />
To:<br />
slaves eth0 eth1 eth2</li>
<li>You&#8217;ll also need to configure your switch port as well</li>
</ul>
</li>
<li>I have a separate vLAN and IP scheme for my SAN.  Using Proxmox&#8217;s storage management layer, I connect to these from the Hypervisor.  You&#8217;ll see this on the bridge configuration vmbr30.  Note the additional IP and netmask, but no gateway.</li>
<li>Proxmox likes to see a vmbr0 as the &#8216;default&#8217; bridge.  Since vLAN10 is my &#8216;main&#8217; vLAN, I set this to the bridge vmbr0, rather than vmbr10.  All other bridges are named after the vLAN they represent (vLAN20 is on bridge vmbr20).</li>
</ul>
<p>On my production systems, I have over 20 vLANs configured, and they work great.  Once you have setup the vLANs in the interfaces file, selecting them from the web interface is easy.</p>
<p>Questions?</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2010/01/07/trunks-bonds-bridges-and-vlans-in-proxmox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Detailed, Historical Performance Monitoring for Proxmox</title>
		<link>http://bitbud.com/2009/11/27/detailed-historical-performance-monitoring-for-proxmox/</link>
		<comments>http://bitbud.com/2009/11/27/detailed-historical-performance-monitoring-for-proxmox/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 19:40:17 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Linux 101]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Rock Solid IT]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=345</guid>
		<description><![CDATA[When it comes to virtualization systems, Proxmox is my hypervisor distribution of choice.  While it has an excellent web interface, it only provides real-time resource usage information.  While useful, being able to look at resource usage over time can be an added benefit when troubleshooting a system problem.  Thankfully, since Proxmox is Linux, there are [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to virtualization systems, Proxmox is my hypervisor distribution of choice.  While it has an excellent web interface, it only provides real-time resource usage information.  While useful, being able to look at resource usage over time can be an added benefit when troubleshooting a system problem.  Thankfully, since Proxmox is Linux, there are a plethora of easy to use, freely available applications that can be easily added to provide just that information.</p>
<p>One of the simpler application for this purpose is<a href="http://munin.projects.linpro.no/" target="_blank"> Munin </a>.  Munin is easy to install and get going on Proxmox, and in 5 minutes you can have detailed, historical reports for your Virtual Host.  There are other solutions available, but this is very lightweight, and keeps Proxmox as an &#8220;all-in-one&#8221; solution.  Hopefully, we may see the maintainers include Munin in the future as a part of the base install.  Until then, here&#8217;s how to do it yourself:</p>
<p>Login to the Proxmox console, either locally or via SSH, then run this command:<span style="color: #000000"> </span></p>
<p style="padding-left: 30px"><span style="color: #000000">apt-get -y install munin munin-node</span></p>
<p>Right away, your system performance is being tracked, but it isn&#8217;t yet available via the web, and it doesn&#8217;t have all the information we want to see.  So lets customize it, by editing this file:</p>
<p style="padding-left: 30px">nano /etc/apache2/sites-enabled/pve.conf</p>
<p>search for this in the file editor:<em> </em></p>
<p style="padding-left: 30px"><em>Alias /images/  /usr/share/pve-manager/images/<br />
Alias /css/ /usr/share/pve-manager/css/<br />
Alias /javascript/ /usr/share/javascript/<br />
Alias /vncterm/ /usr/share/vncterm/</em></p>
<p>And add this line below the last &#8220;Alias&#8221; line:</p>
<p style="padding-left: 30px">Alias /munin /var/www/munin</p>
<p>Now we&#8217;ll edit another file:</p>
<p style="padding-left: 30px">nano /etc/munin/munin.conf</p>
<p>search for this in the file editor:</p>
<p style="padding-left: 30px"><em>[localhost.localdomain]<br />
address 127.0.0.1<br />
use_node_name yes</em></p>
<p>and change it to:</p>
<p style="padding-left: 30px"><em>[yourserver.yourdomain.com]<br />
address 127.0.0.1<br />
use_node_name yes</em></p>
<p>Substitute <em>yourserver.yourdomain.com</em> with the fully qualified hostname of your server.</p>
<p>Now we will need to add any additional network interfaces that need to be monitored.  On my servers I have a single trunk into the switch using all of my available physical network adapters (<em>ethX</em>).  The trunk interface is a bond called <em>bond0</em>.  I then have the bond0 broken down into  several vLANs, and those interfaces are titled by vLAN ID.  For example bond0.56, bond0.28 for vLANs 56 and 28.  Each virtual guest connects to a bridge interface, which is titled by the bond interface it uses, one for each vLAN as well: vmbr56, vmbr28.  When installing munin, the ethX interfaces are added automatically, so I will need to add these additional interfaces with these commands (since the bond.vLAN and vmbrvLAN interfaces are 1-to-1, I&#8217;ll just add the bridge interface).  On some systems, I&#8217;ll have more than 30 interfaces:</p>
<p style="padding-left: 30px"><em>(just copy and past, changing the interface name at the end to whatever you are using)<br />
ln -s /usr/share/munin/plugins/if_ /etc/munin/plugins/if_bond0<br />
ln -s /usr/share/munin/plugins/if_ /etc/munin/plugins/if_vmbr0<br />
ln -s /usr/share/munin/plugins/if_ /etc/munin/plugins/if_vmbr56<br />
ln -s /usr/share/munin/plugins/if_ /etc/munin/plugins/if_vmbr28</em></p>
<p>To make it pretty, add a link to your web interface:</p>
<p style="padding-left: 30px">(will add link soon)</p>
<p>Now restart your services:</p>
<p style="padding-left: 30px"><em>/etc/init.d/apache2 reload<br />
/etc/init.d/munin-node stop<br />
/etc/init.d/munin-node start</em></p>
<p>Now you can browse to your Proxmox server at https://servername/munin and view detailed information on Disk, Network, Process, and other system information.  This gives good, basic  historical information on your systems.  It will take some time for the graphs to populate, but I am sure you will find this a useful troubleshooting tool.</p>
<p>Later, I&#8217;ll show how you can aggregate all of this information onto one page, which is especially useful if you are using Proxmox with Clustered nodes, and have many systems to manage.</p>
<p>Some samples:</p>
<p>bond0.56 &#8211; shows the in/out traffic on this particular vLAN</p>
<p>CPU Usage &#8211; shows that the system isn&#8217;t very busy (user), has a lot of capacity to spare (idle), and lets me know the disks are fast enough for the current work load (io wait).</p>
<p><img class="alignleft size-full wp-image-348" src="http://bitbud.com/wp-content/uploads/2009/11/perf1.png" alt="Network Traffic Example" width="563" height="167" /></p>
<div id="attachment_349" class="wp-caption alignleft" style="width: 568px"><img class="size-full wp-image-349  " src="http://bitbud.com/wp-content/uploads/2009/11/perf2.png" alt="CPU Usage" width="558" height="198" /><p class="wp-caption-text">CPU Usage</p></div>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/11/27/detailed-historical-performance-monitoring-for-proxmox/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The last 50 days &#8211; A Watershed for Virtualization</title>
		<link>http://bitbud.com/2009/10/22/the-last-50-days-a-watershed-for-virtualization/</link>
		<comments>http://bitbud.com/2009/10/22/the-last-50-days-a-watershed-for-virtualization/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:06:00 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Proxmox]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=327</guid>
		<description><![CDATA[Linux w/ KVM.  I&#8217;ve been waiting a long time (almost 3 years) for it to mature both in technical capability and in corporate viability.  I started using it in limited production use about 2 years ago, and in the past 12 months have migrated all physical and virtual systems over to it.  In one location [...]]]></description>
			<content:encoded><![CDATA[<p>Linux w/ KVM.  I&#8217;ve been waiting a long time (almost 3 years) for it to mature both in technical capability and in corporate viability.  I started using it in limited production use about 2 years ago, and in the past 12 months have migrated all physical and virtual systems over to it.  In one location to date, that includes 12 Virtual Hosts with 79 Virtual Guests &#8211; 47 Windows, 32 Linux &#8211; including several heavy SQL and Exchange Guests.  And it works well.</p>
<p>Virtualization is a key management tool for IT, and especially useful for Church&#8217;s and other non-profit organizations.  It can can simply day-to-day administration, enable easy business continuity planning, but it allows you to get more value for your limited financial resources.  Unfortunately, for many years the entry point has been at too high a cost.  Even for larger organizations that can justify the expense, it is money that could usually be better spent elsewhere.</p>
<p>Virtualization in the sense we understand it today has been made practical and useful, not by the software companies, but by the hardware manufacturers, specifically Intel and AMD.  Looking back, when Connectix released the first desktop virtualization product, Virtual PC, in 1997 the available hardware at the time made for an interesting experiment, but nothing more.  Even when 2 years later VMWare release its first product, VMWare Workstation, the state of computing power at the time was nothing like today.  In 1999, if you had a powerful x86 system it was a PIII or K7, running at 500mhz, with 100Mhz memory bus.  Not exactly an ideal machine for virtualization.  Fast forward to today where multi-core, hyper-threaded processors run at 3Ghz w/ on-die memory controllers and more memory and storage than you could imagine a few years ago.  Virtualization is now not only feasible, but warranted, as most bare-metal systems are being utilized at less than 10% of their full capacity.</p>
<p>Over the last few years, I have been a strong advocate of Linux w/ KVM, seeing the potential I knew it would eventually realize.  Over that time I have heard many valid concerns from those in the IT field about virtualization, and using Linux as a solution.  I think the events over the past 50 days have addressed those concerns, and make it a viable solution for <strong>any</strong> IT organization, but especially useful in the Church, and other non-profits.</p>
<p><a href="https://www.redhat.com/about/news/prarchive/2009/rhel_5_4.html" target="_blank"><strong>Sept 2 &#8211; Red Hat releases RHEL 5.4</strong></a>, the first Red Hat Linux distribution with full support for the KVM Hypervisor. It also includes SAN Storage capabilities, via the iSCSI Target Framework, and an easy to use Virtual Systems management console, Virt-Manager.</p>
<p><a href="http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers" target="_blank"><strong>September 24 &#8211; Red Hat releases Virtio drivers for Windows</strong></a>, providing fast and stable block and network drivers for Windows.</p>
<p><a href="https://www.redhat.com/about/news/prarchive/2009/rh-ms-virtualization-interoperability.html" target="_blank"><strong>October 7 &#8211; Microsoft Certifies Red Hat&#8217;s KVM Hypervisor</strong> </a>as a supported hardware platform.  This is important to IT shops that require a fully supported systems stack.</p>
<p><a href="http://pve.proxmox.com/" target="_blank"><strong>October 19 &#8211; Proxmox releases PVE 1.4</strong></a>.  I&#8217;ve just started playing with the new release, and it&#8217;s new storage model is nothing short of sweet.  This is a <strong>full featured</strong>, <strong>easy to install</strong>, <strong>easy to manage</strong> solution.  Included in this release is a new, flexible storage model allowing for virtual and storage Live Migration, and clustering <strong>without</strong> requiring a SAN.  Expect more information from me on this soon, as I dive into upgrading my systems (most of my Virtual Host systems are running Proxmox 1.3)</p>
<p><strong><a href="http://centos.org" target="_blank">October 21 &#8211; CEntOS 5.4 is released</a>.</strong> CEntOS is the binary compatible community support version of Red Hat 5.4.  You basically get Red Hat (including updates) for free, but without support from Red Hat.</p>
<p><strong><br />
</strong><span style="color: #003366">For anyone who works in the IT field, you really owe it to yourself to at least <a href="http://pve.proxmox.com/" target="_blank">look at Proxmox now.</a> It is free, stable, and takes only a few minutes to install.  Even if you are already in deep with another virtualization vendor, you never know when you&#8217;ll need one more virtual host that you didn&#8217;t budget for, and you may be surprised by the powerful features packed into that open source solution.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/10/22/the-last-50-days-a-watershed-for-virtualization/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Red Hat virtualization set to launch on September 1st</title>
		<link>http://bitbud.com/2009/06/26/red-hat-virtualization-set-to-launch-on-september-1st/</link>
		<comments>http://bitbud.com/2009/06/26/red-hat-virtualization-set-to-launch-on-september-1st/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 19:12:14 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Bitbud Blog]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=312</guid>
		<description><![CDATA[For those of you that haven&#8217;t yet implemented virtualization, I&#8217;d recommend waiting a few more weeks to see RedHat&#8217;s implementation. Reported by LeMagIT, a Red Hat executive confirmed that September 1st will be the launch date for General Availability of Red Hat&#8217;s virtualization portfolio. As I blogged about last week, there is already a private [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that haven&#8217;t yet implemented virtualization, I&#8217;d recommend waiting a few more weeks to see RedHat&#8217;s implementation. <a href="http://blogs.lemagit.fr/2009/06/25/red-had-virtualization-portfolio-will-launch-on-september-1/" target="_blank">Reported by LeMagIT, a Red Hat executive confirmed that September 1st will be the launch date for General Availability of Red Hat&#8217;s virtualization portfolio.</a> As I <a href="http://bitbud.com/2009/06/18/red-hats-virtualization-platform-goes-beta/" target="_self">blogged about last week</a>, there is already a private Beta going on (unfortunately, I was not invited).</p>
<p>If you want a sneak peak at what the new RH Enterprise Hypervisor management system might look like, take a look over at <a href="http://ovirt.org/screenshots.html" target="_blank">ovirt.org.</a></p>
<p>To get a taste of what is possible with the Linux/KVM based hypervisor, there is an easy to install distribution from <a href="http://pve.proxmox.com" target="_blank">Proxmox (which works exceedingly well).</a> I am currently using Proxmox in many production workloads and am excited about what RedHat is going to bring to the table.</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/06/26/red-hat-virtualization-set-to-launch-on-september-1st/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Red Hat&#039;s Virtualization Platform goes Beta</title>
		<link>http://bitbud.com/2009/06/18/red-hats-virtualization-platform-goes-beta/</link>
		<comments>http://bitbud.com/2009/06/18/red-hats-virtualization-platform-goes-beta/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:22:42 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Bitbud Blog]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Rock Solid IT]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=301</guid>
		<description><![CDATA[Red Hat goes to Beta with it&#8217;s KVM based Virtualization platform.  KVM is a module for Linux that turns the Linux kernel into a Hypervisor.  It is already used in many deployments around the world.  I am currently a heavy implementer of it, utilizing the Proxmox Linux distribution, which is a complete Linux installation customized [...]]]></description>
			<content:encoded><![CDATA[<p>Red Hat goes to Beta with it&#8217;s KVM based Virtualization platform.  KVM is a module for Linux that turns the Linux kernel into a Hypervisor.  It is already used in many deployments around the world.  I am currently a heavy implementer of it, utilizing the <a href="http://pve.proxmox.com" target="_blank">Proxmox Linux distribution</a>, which is a complete Linux installation customized for virtualization.</p>
<p>Red Hat&#8217;s move to KVM will bring Linux based virtualization into the mainstream, and further the march towards a commodity hypervisor.  The management tools will be the difference maker, and Red Hat&#8217;s new platform will include all the capabilities you would expect from an Enterprise grade virtualization infrastructure, including, among other things,  live migration, snapshots, system scheduler, power and image managers, comprehensive monitoring, reporting.  But the difference here, it&#8217;s all open source.</p>
<p><a href="http://www.h-online.com/open/Red-Hat-tests-new-virtualisation-products--/news/113565" target="_blank">An article about it</a> and <a href="http://www.redhat.com/about/news/prarchive/2009/virtualization_beta.html" target="_blank">Red Hat&#8217;s official press release</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/06/18/red-hats-virtualization-platform-goes-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel&#039;s latest aquistion to affect Sony, BMW, and Dell/ Equalogic</title>
		<link>http://bitbud.com/2009/06/08/intels-latest-aquistion-to-affect-sony-bmw-and-dell-equalogic/</link>
		<comments>http://bitbud.com/2009/06/08/intels-latest-aquistion-to-affect-sony-bmw-and-dell-equalogic/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 13:27:26 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Bitbud Blog]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=293</guid>
		<description><![CDATA[I always find industry aquisitions interesting, especially when you consider how they can impact the products we use on a regular basis. Last week it was annonced that Intel would be aquiring Wind River for nearly $900 million.  In case you didn&#8217;t know Wind River is an embedded application/ OS provider for a long list [...]]]></description>
			<content:encoded><![CDATA[<p>I always find industry aquisitions interesting, especially when you consider how they can impact the products we use on a regular basis.</p>
<p>Last week it was annonced that Intel would be aquiring Wind River for nearly $900 million.  In case you didn&#8217;t know Wind River is an embedded application/ OS provider for a long list of companies, including Sony, BMW, and NASA.  They provide BSD and Linux based distributions/ applications for various embedded systems. What I find paticularly interesting is how it may affect companies in the IT field, such as is Dell/ Equalogic.  The Equalogic SANs are a mid-market leader in iSCSI storage, and use WindRiver Technology (w/ NetBSD) in their SANs (along with LSI controllers, which leverage Wind River).  As Dell is one of the largest buyers of Intel chips, I am sure that this will only help to advance the technologies Equallogic is able to integrate with it&#8217;s SANs down the road.  With the full backing of Intel behind Wind River now, it will be interesting to see what new technologies it can help bring to the table.  Intel is looking to improve it&#8217;s access to the embedded systems space,and Wind River provides a wide customer base for that purpose.</p>
<p>Intel has been a good steward of creating new technologies, and has a good history with supporting Linux and Open technologies, so I am sure this will be a win for all involved.</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/06/08/intels-latest-aquistion-to-affect-sony-bmw-and-dell-equalogic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAN for All &#8211; Installing the iSCSI Target Framework (tgt)</title>
		<link>http://bitbud.com/2009/05/27/installing-the-iscsi-target-framework-tgt/</link>
		<comments>http://bitbud.com/2009/05/27/installing-the-iscsi-target-framework-tgt/#comments</comments>
		<pubDate>Wed, 27 May 2009 11:03:44 +0000</pubDate>
		<dc:creator>bitbud</dc:creator>
				<category><![CDATA[Bitbud Blog]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://bitbud.com/?p=269</guid>
		<description><![CDATA[I previously blogged about using the iSCSI Enterprise Target on Ubuntu.  However, the IET isn&#8217;t the only iSCSI Target service available on Linux.  There are several others, including the SCSI Target Framework, which is now my iSCSI target of choice.  The tgt is a &#8216;framework&#8217;.  It was designed to work with multiple SCSI type devices [...]]]></description>
			<content:encoded><![CDATA[<p>I previously blogged about using the iSCSI Enterprise Target on Ubuntu.  However, the IET isn&#8217;t the only iSCSI Target service available on Linux.  There are several others, including the SCSI Target Framework, which is now my iSCSI target of choice.  The tgt is a &#8216;framework&#8217;.  It was designed to work with multiple SCSI type devices and integrate them into the Linux kernel in a standard way.  My focus is on the iSCSI software target implementation.  Of particular interest to me is it&#8217;s integration into the mainline kernel (since 2.6.20), supported development by the original creator of the IET, and most recently, Red Hat moved it into it&#8217;s latest version of RHEL (5.3) as a supported feature.  That is particularly useful to organizations that don&#8217;t feel comfortable supporting it themselves.</p>
<p>Installation and use is fairly straight forward.  I would recommend using a RedHat based distribution at this time.  That could be Fedora, RedHat, CentOS, or one of the other derivatives.  The tgt that is available on Debian based distributions is old (ancient) and not stable enough (IMO).  I would stick with the IET if you are required to use a Debian based system (like Ubuntu).  However, if you are serious about virtualizing your storage, use the tgt on a RH system.</p>
<p>I am using CentOS 5.3 here.  Fedora 10 will work just as well.  After you have installed your OS, installation is straightforward:</p>
<p>yum install scsi-target-utils<br />
chkconfig tgtd on<br />
service tgtd start</p>
<p>That was easy.  Installs the app, enables service on restarts, and starts the service now.  All configuration is handled from the &#8216;tgtadm&#8217; command.  <strong>An excellent resource for information is to simply type &#8216;<span style="color: #ff0000">man tgtadm</span>&#8216; from the CLI</strong>.  I&#8217;ll highlight some basics here:<br />
First note that all commands for our purposes will start with &#8216;tgtadm &#8211;lld iscsi&#8217;.  &#8211;lld iscsi specifies that we are working with an iscsi target (recall that this framework is for managing many types of SCSI devices).</p>
<p>Lets assume you have a partition on your SAN that you would like to share as an iSCSI target.  For example, I have created an LV (Logical Volume) on my server named /<strong>dev/vg1san06/lvSERVER02dbs</strong>.  By my naming convention, you can see my SAN is named is SAN06, and the volume is lvSERVER02dbs &#8211; in this case I am setting up a target for my SQL server to store it&#8217;s databases.</p>
<p><strong>- tgtadm &#8211;lld iscsi <span style="color: #ff0000">&#8211;op show &#8211;mode target</span></strong><br />
This command will display any existing targets<br />
If you have already created targets, note the next largest target number</p>
<p>To create a new Target, select the next available Target #:</p>
<p><strong>- tgtadm &#8211;lld iscsi <span style="color: #ff0000">&#8211;op new &#8211;mode target &#8211;tid 4 -T iqn.2009-03.com.bitbud:san06.tgt.server02</span></strong><br />
I like to name the target by the systems(s) that may use it, in this case the server is ts02</p>
<p><strong>- tgtadm &#8211;lld iscsi <span style="color: #ff0000">&#8211;op bind &#8211;mode target &#8211;tid 4 -I 10.5.56.52</span></strong><br />
After creating the target (above), you may now want to restrict it to just connections from one system.  In this case IP 10.5.56.52</p>
<p>That is nice and all, but the target doesn&#8217;t point to anything on disk yet.  Let&#8217;s create a LU(logical unit) for the LV you created, and assign a LUN to it, starting with 1:<br />
<strong>- tgtadm &#8211;lld iscsi <span style="color: #ff0000">&#8211;op new &#8211;mode logicalunit &#8211;tid 4 &#8211;lun 1 -b /dev/vg1san06/lvSERVER02dbs</span></strong></p>
<p>add additional LU(s) to this target as needed, incrementing the LUN by 1 each time.  My SQL server needs a target for it&#8217;s logs, so I&#8217;ll add that now too:<br />
<strong>tgtadm &#8211;lld iscsi <span style="color: #ff0000">&#8211;op new &#8211;mode logicalunit &#8211;tid 4 &#8211;lun 2 -b /dev/vg1san06/lvSERVER02logs</span><br />
</strong></p>
<p>(note in the example above, I&#8217;ve would have already created the Logical Volume lvSERVER02logs)</p>
<p>On reboot, the commands are lost, so lets make it permanent by adding it to the config file:<br />
<strong>nano /etc/rc.local</strong></p>
<p>In the editor, simply paste each tgtadm command you typed above.  Put the commands in the same logical order that we did here, create the target, assign properties, then create each LU.<strong><br />
</strong></p>
<p>Those are the basics with the tgt framework.  There are many other features to consider, such as clustering, multipathing, and volume management.  Most of those functions occur in other components of your Free and Open Source SAN software stack, which I&#8217;ll cover in upcoming posts.</p>
<p>NOTE:<br />
If you are considering building a standalone iSCSI SAN using Linux, I would highly recommend using either the 64-bit CentOS 5.3, or opt for RedHat if support is your requirement.  If/ when Ubuntu pulls an updated tgt into it&#8217;s kernel and moves it to it&#8217;s main repository (ie &#8211; supported) then I will recommend it again.  The IET in Ubuntu works well, and I have it running in production on several large SANs.  However, any future SAN installations for me will be built as detailed here.</p>
<p>Some extra tips:<br />
- Don’t forget to open port 3260 on the firewall, to allow traffic for iSCSI connections:</p>
<p style="padding-left: 30px">iptables -I INPUT -p tcp &#8211;dport 3260 -j ACCEPT<br />
iptables -I INPUT -p udp &#8211;dport 3260 -j ACCEPT<br />
iptables -I INPUT -p tcp &#8211;dport 3260 -j ACCEPT</p>
<p>- Don’t use a capital letter for the iqn</p>
]]></content:encoded>
			<wfw:commentRss>http://bitbud.com/2009/05/27/installing-the-iscsi-target-framework-tgt/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

