<?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>Daz's bits and bobs &#187; Networking</title>
	<atom:link href="http://sigtar.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://sigtar.com</link>
	<description>…bytes bits</description>
	<lastBuildDate>Mon, 26 Jul 2010 07:25:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>vyatta as a virtual router</title>
		<link>http://sigtar.com/2010/07/25/vyatta-as-a-virtual-router/</link>
		<comments>http://sigtar.com/2010/07/25/vyatta-as-a-virtual-router/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 07:30:46 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[virtual router]]></category>
		<category><![CDATA[vyatta]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1178</guid>
		<description><![CDATA[Some very nice examples by Gene on how to setup vyatta as a router on this page;
http://www.sonoracomm.com/support/19-inet-support/233-vyatta-cable
Masquerade Natting;
set service nat rule 10 source address 192.168.77.0/24
set service nat rule 10 outbound-interface eth0
set service nat rule 10 type masquerade
 
set service nat rule 20 source address 10.200.88.0/24
set service nat rule 20 outbound-interface eth0
set service nat rule 20 [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Some very nice examples by Gene on how to setup vyatta as a router on this page;</p>
<p><a href="http://www.sonoracomm.com/support/19-inet-support/233-vyatta-cable" target="_blank">http://www.sonoracomm.com/support/19-inet-support/233-vyatta-cable</a></p>
<p>Masquerade Natting;</p>
<p><strong>set service nat rule 10 source address 192.168.77.0/24<br />
set service nat rule 10 outbound-interface eth0<br />
set service nat rule 10 type masquerade</strong></p>
<p><strong> </strong></p>
<p><strong>set service nat rule 20 source address 10.200.88.0/24<br />
set service nat rule 20 outbound-interface eth0<br />
set service nat rule 20 type masquerade</strong></p>
<p>Essentially every thing leaving from these two networks will be natted via the eth0 interface. i.e. they will be using the same IP as eth0 for their requests.</p>
<p>Static Nat Route (pinhole);</p>
<p><strong>set service nat rule 2 inbound-interface eth0<br />
set service nat rule 2 protocol tcp<br />
set service nat rule 2 type destination<br />
set service nat rule 2 description &#8220;Web Server1&#8243;<br />
set service nat rule 2 destination address 192.168.109.254<br />
set service nat rule 2 destination port 81<br />
set service nat rule 2 inside-address address 10.200.88.45<br />
set service nat rule 2 inside-address port 80</strong></p>
<p>This rule takes everything that hits port 81 on 192.168.109.254 and sends it through to 10.200.88.45 (which is another routeable network) &#8212; in this case a directly attached network on eth1.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/07/25/vyatta-as-a-virtual-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opensolaris &#8211; default route</title>
		<link>http://sigtar.com/2010/05/11/opensolaris-default-route/</link>
		<comments>http://sigtar.com/2010/05/11/opensolaris-default-route/#comments</comments>
		<pubDate>Tue, 11 May 2010 10:28:46 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[default route]]></category>
		<category><![CDATA[netstat]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1132</guid>
		<description><![CDATA[type the following to check your default routes&#8230;
netstat -rn


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>type the following to check your default routes&#8230;</p>
<p><strong>netstat -rn</strong></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/05/11/opensolaris-default-route/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jumbo Frames on your vSphere ESXi box</title>
		<link>http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/</link>
		<comments>http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 07:44:25 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[9000]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[frames]]></category>
		<category><![CDATA[jumbo]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/</guid>
		<description><![CDATA[Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/
you may want to implement jumbo frames to your iSCSI backend&#8230;
Enable jumbo frames on your iSCSI target and switches then complete the following on the ESXi hosts (iSCSI initiators)&#8230;
This to list your current switch details and port group names&#8230;
esxcfg-vswitch -l 
The follownig to allow jumbo frames onto your vswtich (insert your vSwich in [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2009/12/20/create-usb-install-for-esx-esxi/' rel='bookmark' title='Permanent Link: create usb install for esx / esxi'>create usb install for esx / esxi</a> <small>First format your usb / flash drive with FAT. Then...</small></li>
<li><a href='http://sigtar.com/2009/08/22/esx-network-utilization/' rel='bookmark' title='Permanent Link: ESX &#8211; network utilization'>ESX &#8211; network utilization</a> <small>One of the best articles i have found on this...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/</p>
<p>you may want to implement jumbo frames to your iSCSI backend&#8230;</p>
<p>Enable jumbo frames on your iSCSI target and switches then complete the following on the ESXi hosts (iSCSI initiators)&#8230;</p>
<p>This to list your current switch details and port group names&#8230;</p>
<p><strong>esxcfg-vswitch -l </strong></p>
<p>The follownig to allow jumbo frames onto your vswtich (insert your vSwich in following)</p>
<p><strong>esxcfg-vswtich -m 9000 vSwitch0 </strong></p>
<p>Then delete and recreate your kernel port groups that you setup for iscsi, my commands looked like this&#8230; (repeat for each iscsi kernel port you have)</p>
<p><strong>esxcfg-vmknic -d iSCSI-1</strong></p>
<p><strong>esxcfg-vmknic -i 10.0.0.101 -n 255.255.0.0 -m 9000 iSCSI-1</strong></p>
<p>to confirm you have set the MTU (frame size) correctely, run the following&#8230;.</p>
<p><strong>esxcfg-vmknic -l </strong></p>
<p>you should see your iSCSI kernel ports with a MTU of 9000 all going well.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2009/12/20/create-usb-install-for-esx-esxi/' rel='bookmark' title='Permanent Link: create usb install for esx / esxi'>create usb install for esx / esxi</a> <small>First format your usb / flash drive with FAT. Then...</small></li>
<li><a href='http://sigtar.com/2009/08/22/esx-network-utilization/' rel='bookmark' title='Permanent Link: ESX &#8211; network utilization'>ESX &#8211; network utilization</a> <small>One of the best articles i have found on this...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere and Multipathing iSCSI</title>
		<link>http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/</link>
		<comments>http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 08:19:54 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[lefthand]]></category>
		<category><![CDATA[LUN]]></category>
		<category><![CDATA[MPIO]]></category>
		<category><![CDATA[nic]]></category>
		<category><![CDATA[swiscsi]]></category>
		<category><![CDATA[team]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1084</guid>
		<description><![CDATA[This is just a quick reference to create a multiplathing iSCSI setup&#8230;
Create two virtual kernel switches, one called &#8220;iSCSI-1&#8243; and the other called &#8220;iSCSI-2&#8243; (and so on if you have more nics)
Then per kernel portgroup ensure that only one of the nics is active. For the &#8220;iSCSI-1&#8243; portgroup configure it to override the virtual switch [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This is just a quick reference to create a multiplathing iSCSI setup&#8230;</p>
<p>Create two virtual kernel switches, one called &#8220;iSCSI-1&#8243; and the other called &#8220;iSCSI-2&#8243; (and so on if you have more nics)</p>
<p>Then per kernel portgroup ensure that only one of the nics is active. For the &#8220;iSCSI-1&#8243; portgroup configure it to override the virtual switch settings and move nic 0 to active and nic 1 to <strong>unused</strong>. For the &#8220;iSCSI-2&#8243; portgroup configure it to override the virtual switch settings and move nic 1 to active and nic 0 to <strong>unused</strong>.</p>
<p>Now you have to run some esxcli commands to gel things together&#8230;. alt-f1 on the esxi console and type &#8220;unsupported&#8221; followed by your root password. The following is the command i have to run to get both my portgroups to work together on the iscsi hba&#8230;.  (you can check your vmk number from the networking config screen)</p>
<p><strong>esxcli swiscsi nic add -n vmk1 -d vmhba33<br />
esxcli swiscsi nic add -n vmk2 -d vmhba33</strong></p>
<p>For each target then change the path selection method to &#8220;round-robin&#8221;.</p>
<p>Go back to storage adapters and click &#8220;rescan&#8221;</p>
<p>If you want all future iSCSI targets to automatically use round-robin you must also run the following from commandline&#8230;   (this is for our HP Lefthand, your &#8220;storage array type&#8221; may be different. Its listed under your target details). Basically sets round robin as a default for this type of array. In general you should do this <em>first</em> before presenting any LUNs etc, else you may have to bounce your box.</p>
<p><strong>esxcli nmp satp setdefaultpsp &#8211;satp VMW_SATP_DEFAULT_AA &#8211;psp VMW_PSP_RR</strong></p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris &#8211; iSCSI</title>
		<link>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/</link>
		<comments>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 07:25:49 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1021</guid>
		<description><![CDATA[Want iSCSI in opensolaris?
Grab SUNWiscsitgt via package manager.
enable the server via svcadm;
svcadm enable iscsitgt
create your zfs iscsi pool;  (this command will limit iscsi drive to 500GB in size)
zfs create -V 500G tank/iscsi
set isci on via zfs command;
zfs set shareiscsi=on tank/iscsi
check that target is up and running;
iscsitadm list target -v 
Done. Should be able to connect [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Want iSCSI in opensolaris?</p>
<p>Grab SUNWiscsitgt via package manager.</p>
<p>enable the server via svcadm;</p>
<p><strong>svcadm enable iscsitgt</strong></p>
<p>create your zfs iscsi pool;  (this command will limit iscsi drive to 500GB in size)</p>
<p><strong>zfs create -V 500G tank/iscsi</strong></p>
<p>set isci on via zfs command;</p>
<p><strong>zfs set shareiscsi=on tank/iscsi</strong></p>
<p>check that target is up and running;</p>
<p><strong>iscsitadm list target -v </strong></p>
<p>Done. Should be able to connect via ip from another machine. I have not covered CHAP or any client side configuration. Assumed isolated LAN.</p>
<p><a href="http://sigtar.com/wp-content/uploads/2009/11/HDTune_Benchmark_SUN_____SOLARIS.png"><img class="alignnone size-full wp-image-1027" title="HDTune_Benchmark_SUN_____SOLARIS" src="http://sigtar.com/wp-content/uploads/2009/11/HDTune_Benchmark_SUN_____SOLARIS.png" alt="HDTune_Benchmark_SUN_____SOLARIS" width="570" height="460" /></a></p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Opensolaris &#8211; Samba and Network browsing</title>
		<link>http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/</link>
		<comments>http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 07:21:32 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[browsable]]></category>
		<category><![CDATA[master broswer]]></category>
		<category><![CDATA[netbios]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[nmbd]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[workgroup]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=960</guid>
		<description><![CDATA[If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances are that you can only browse to your samba shares directly on IP only.
If you want your box &#8220;network browseable&#8221; you&#8217;ll need to load nmbd.
You can find a really good write up on modifiying the SMF for samba to autostart the required service here : [...]


Related posts:<ol><li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
<li><a href='http://sigtar.com/2009/08/03/opensolaris-network-teaming/' rel='bookmark' title='Permanent Link: opensolaris &#8211; network teaming'>opensolaris &#8211; network teaming</a> <small>Otherwise known as trunking or link aggregation. I believe it...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances are that you can only browse to your samba shares directly on IP only.</p>
<p>If you want your box &#8220;network browseable&#8221; you&#8217;ll need to load nmbd.</p>
<p>You can find a really good write up on modifiying the SMF for samba to autostart the required service here : <a href="http://wikis.sun.com/display/BigAdmin/Enabling+Browsing+with+Samba+in+Solaris+10+Update+4">http://wikis.sun.com/display/BigAdmin/Enabling+Browsing+with+Samba+in+Solaris+10+Update+4</a></p>
<p>import this file <a href="http://sigtar.com/wp-content/uploads/2009/09/samba.xml">samba.xml</a></p>
<p>run these commands;</p>
<pre style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: visible; overflow-y: visible; font-family: 'Courier New', Courier, monospace; line-height: 1.3; padding: 0px;"># svcadm disable samba
# svccfg import samba.xml
# svccfg delete svc:/network/samba:default
# svcadm refresh samba:smbd
# svcadm refresh samba:nmbd
# svcadm enable samba:smbd
# svcadm enable samba:nmbd</pre>


<p>Related posts:<ol><li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
<li><a href='http://sigtar.com/2009/08/03/opensolaris-network-teaming/' rel='bookmark' title='Permanent Link: opensolaris &#8211; network teaming'>opensolaris &#8211; network teaming</a> <small>Otherwise known as trunking or link aggregation. I believe it...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESX &#8211; network utilization</title>
		<link>http://sigtar.com/2009/08/22/esx-network-utilization/</link>
		<comments>http://sigtar.com/2009/08/22/esx-network-utilization/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 10:31:33 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[etherchannel]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[multiple paths]]></category>
		<category><![CDATA[port-channel]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=918</guid>
		<description><![CDATA[One of the best articles i have found on this subject is here : http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/
There is some additional information here on setting up an etherchannel on the cisco side : http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/
This can be handy if you need a single VM to use both physical nics in a load-balanced manner &#8211; both outbound and inbound. Of [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>One of the best articles i have found on this subject is here : <a href="http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/">http://blog.scottlowe.org/2008/07/16/understanding-nic-utilization-in-vmware-esx/</a></p>
<p>There is some additional information here on setting up an etherchannel on the cisco side : <a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/">http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/</a></p>
<p>This can be handy if you need a single VM to use both physical nics in a load-balanced manner &#8211; both outbound and <strong>inbound</strong>. Of course its not really that simple though. This will really only add a benefit if the VM is communicating to <em>multiple </em>destinations (using ip hash &#8211; a single destination from a single VM with one IP will always be limited to the same physical nic).</p>
<p><strong>switch(config)#int port-channel 1<br />
switch(config-if)#description NIC team for ESX server<br />
switch(config-if)#int gi0/1<br />
switch(config-if)#channel-group 1 mode on<br />
switch(config-if)#int gi0/2<br />
switch(config-if)#channel-group 1 mode on</strong></p>
<p>As per the article ensure you are using the same etherchannel method. The first command shows your current load-blance method, the 2nd command changes it to ip hash.</p>
<p><strong>show etherchannel load-balance<br />
port-channel load-balance src-dst-ip</strong></p>
<p>Another solution is to use multiple iSCSI paths. This is newly supported within vSphere, see this post on setting up multiple paths : <a href="http://goingvirtual.wordpress.com/2009/07/17/vsphere-4-0-with-software-iscsi-and-2-paths/">http://goingvirtual.wordpress.com/2009/07/17/vsphere-4-0-with-software-iscsi-and-2-paths/</a></p>
<p>Here is another good article on iSCSI within vSphere : <a href="http://www.delltechcenter.com/page/A+%E2%80%9CMultivendor+Post%E2%80%9D+on+using+iSCSI+with+VMware+vSphere">http://www.delltechcenter.com/page/A+“Multivendor+Post”+on+using+iSCSI+with+VMware+vSphere</a></p>
<p>Some important points on using EMC Clariion with vSphere : <a href="http://virtualgeek.typepad.com/virtual_geek/2009/08/important-note-for-all-emc-clariion-customers-using-iscsi-and-vsphere.html">http://virtualgeek.typepad.com/virtual_geek/2009/08/important-note-for-all-emc-clariion-customers-using-iscsi-and-vsphere.html</a></p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/08/22/esx-network-utilization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zfs compression and latency</title>
		<link>http://sigtar.com/2009/08/19/zfs-compression-and-latency/</link>
		<comments>http://sigtar.com/2009/08/19/zfs-compression-and-latency/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 04:13:28 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[iometer]]></category>
		<category><![CDATA[latency]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[virtual machines]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=913</guid>
		<description><![CDATA[Since im using ZFS as storage via NFS for my some of my vmware environments i need to ensure that latency on my disk is reduced where ever possible.
There is alot of talk about ZFS compression being &#8220;faster&#8221; than a non-compressed pool due to less physical data being pulled off the drives. This of course [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/03/26/iometer-testing/' rel='bookmark' title='Permanent Link: iometer testing'>iometer testing</a> <small>The following is some notes i have around the parameters...</small></li>
<li><a href='http://sigtar.com/2009/12/18/vma-using-hp-power-protector-agent-to-shutdown-virtual-hosts/' rel='bookmark' title='Permanent Link: vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts'>vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts</a> <small>Goal was to create a vMA which would send a...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Since im using ZFS as storage via NFS for my some of my vmware environments i need to ensure that latency on my disk is reduced where ever possible.</p>
<p>There is alot of talk about ZFS compression being &#8220;faster&#8221; than a non-compressed pool due to less physical data being pulled off the drives. This of course depends on the system powering ZFS, but i wanted to run some tests specifically on latency. Throughput is fine in some situations, but latency is a killer when it comes to lots of small reads and writes (in the case of hosting virtual machines)</p>
<p>I recently completed some basic tests focusing on the differences in latency when ZFS compression (lzjb) is enabled or disabled. IOMeter was my tool of choice and i hit my ZFS box via a mapped drive.</p>
<p>I&#8217;m not concerned with the actual figures, but the <em>difference </em>between the figures</p>
<p>I have run the test multiple times (to eliminate caching as a factor) and can validate that compression (on my system anyhow) increases latency</p>
<p>Basic Results from a &#8220;All in one&#8221; test suite&#8230;  (similar results across all my tests)</p>
<p><strong>ZFS uncompressed:</strong></p>
<p>IOps : 2376.68<br />
Read MBps : 15.14<br />
Write MBps : 15.36<br />
Average Response Time : 0.42<br />
Average Read Response Time : 0.42<br />
Average Write Response Time : 0.43<br />
Average Transaction Time : 0.42</p>
<p><strong>ZFS compressed:  (lzjb) </strong></p>
<p>IOps : 1901.82<br />
Read MBps : 12.09<br />
Write MBps : 12.28<br />
Average Response Time : 0.53<br />
Average Read Response Time : 0.44<br />
Average Write Response Time : 0.61<br />
Average Transaction Time : 0.53</p>
<p>As you can see from the results, the AWRT especially is much higher due to compression. I wouldn&#8217;t recommend using zfs compression where latency is a large factor (virtual machines)</p>
<p>Note: Under all the tests performed the CPU (dual core) on the zfs box was never 100% &#8211; eliminating that as a bottleneck.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/03/26/iometer-testing/' rel='bookmark' title='Permanent Link: iometer testing'>iometer testing</a> <small>The following is some notes i have around the parameters...</small></li>
<li><a href='http://sigtar.com/2009/12/18/vma-using-hp-power-protector-agent-to-shutdown-virtual-hosts/' rel='bookmark' title='Permanent Link: vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts'>vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts</a> <small>Goal was to create a vMA which would send a...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/08/19/zfs-compression-and-latency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opensolaris &#8211; network teaming</title>
		<link>http://sigtar.com/2009/08/03/opensolaris-network-teaming/</link>
		<comments>http://sigtar.com/2009/08/03/opensolaris-network-teaming/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 07:34:10 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[e1000g]]></category>
		<category><![CDATA[link aggregation]]></category>
		<category><![CDATA[network teaming]]></category>
		<category><![CDATA[rge]]></category>
		<category><![CDATA[teaming]]></category>
		<category><![CDATA[trunking]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=822</guid>
		<description><![CDATA[Otherwise known as trunking or link aggregation. I believe it is the best way to get that additional boost out of your network server while providing a bit of redundancy on link failure. here is how to do it&#8230;
Official docs on the process here&#8230; http://docs.sun.com/app/docs/doc/819-6990/gdysn?a=view and some good bits here http://blogs.sun.com/nickyv/entry/link_aggregation_jumpstart_post_install
dladm (data link admin) is [...]


Related posts:<ol><li><a href='http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; Samba and Network browsing'>Opensolaris &#8211; Samba and Network browsing</a> <small>If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances...</small></li>
<li><a href='http://sigtar.com/2009/08/22/esx-network-utilization/' rel='bookmark' title='Permanent Link: ESX &#8211; network utilization'>ESX &#8211; network utilization</a> <small>One of the best articles i have found on this...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Otherwise known as trunking or link aggregation. I believe it is the best way to get that additional boost out of your network server while providing a bit of redundancy on link failure. here is how to do it&#8230;</p>
<p>Official docs on the process here&#8230; <a href="http://docs.sun.com/app/docs/doc/819-6990/gdysn?a=view">http://docs.sun.com/app/docs/doc/819-6990/gdysn?a=view</a> and some good bits here <a href="http://blogs.sun.com/nickyv/entry/link_aggregation_jumpstart_post_install">http://blogs.sun.com/nickyv/entry/link_aggregation_jumpstart_post_install</a></p>
<p><strong>dladm </strong>(data link admin) is the tool for the job. List the links you currently have&#8230;</p>
<p><strong>dladm show-link</strong></p>
<p>First shut down the links you are currently using..  (you will have to do this on the console)</p>
<p><strong>ifconfig e1000g1 unplumb</strong></p>
<p>Now join the two nics into one aggregate connection via&#8230;.</p>
<p><strong>dladm create-aggr -l e1000g1 -l rge0 aggr1</strong></p>
<p>then bring up the new aggregate link</p>
<p><strong>ifconfig aggr1 plumb IP-address up</strong></p>
<p>Show link</p>
<p><strong>dladm show-aggr</strong></p>
<blockquote>
<p style="color: #333333;">(Optional) Make the IP configuration of the link aggregation persist across reboots.</p>
<ol style="margin-left: 13px; padding-left: 0px;" type="a"><a style="text-decoration: none;"></a></p>
<li style="margin-left: 13px; padding-left: 0px;">
<p style="color: #333333;">Create the <kbd style="font-family: Monaco, Courier, 'Courier New', monospace; color: #666666;">/etc/hostname</kbd> file for the aggregation&#8217;s interface.</p>
<p style="color: #333333;">If the aggregation contains IPv4 addresses, the corresponding hostname file is<kbd style="font-family: Monaco, Courier, 'Courier New', monospace; color: #666666;">/etc/hostname.<var>aggr</var></kbd>1. For IPv6–based link aggregations, the corresponding hostname file is<kbd style="font-family: Monaco, Courier, 'Courier New', monospace; color: #666666;">/etc/hostname6.<var>aggr1</var></kbd>.</p>
</li>
<p><a style="text-decoration: none;"></a></p>
<li style="margin-left: 13px; padding-left: 0px;">
<p style="color: #333333;">Type the IPv4 or IPv6 address of the link aggregation into the file.</p>
</li>
<p><a style="text-decoration: none;"></a></p>
<li style="margin-left: 13px; padding-left: 0px;">
<p style="color: #333333;">Perform a reconfiguration boot.</p>
</li>
</ol>
</blockquote>
<p style="color: #333333;">I have teamed an intel nic (e1000g) and a (rge) together without any issues&#8230;  the rge drive by itself had issues, but i have not come across them again since i trunked both interfaces together. Perhaps the e1000g takes the load while the other nic dies off..</p>
<p style="color: #333333;"><em><strong>Updated : 4/08/2009</strong></em></p>
<p style="color: #333333;">To test the throughput / load balancing run these commands (in two terminal sesssions);</p>
<p style="color: #333333;"><strong>dladm show-link -s -i 5 rge0</strong></p>
<p style="color: #333333;"><strong>dladm show-link -s -i 5 e1000g1</strong></p>
<p style="color: #333333;">It will return the packets going over each nic. Copy some files back and forth over the interface and watch the numbers. RBYTES and OBYTES are the fields to watch (received and out bytes)</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; Samba and Network browsing'>Opensolaris &#8211; Samba and Network browsing</a> <small>If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances...</small></li>
<li><a href='http://sigtar.com/2009/08/22/esx-network-utilization/' rel='bookmark' title='Permanent Link: ESX &#8211; network utilization'>ESX &#8211; network utilization</a> <small>One of the best articles i have found on this...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/08/03/opensolaris-network-teaming/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>selinux &#8211; opening additional ports / or disabling</title>
		<link>http://sigtar.com/2009/07/28/selinux-opening-additional-ports/</link>
		<comments>http://sigtar.com/2009/07/28/selinux-opening-additional-ports/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 10:20:06 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=856</guid>
		<description><![CDATA[If you are having problems starting apache on a non-standard port you might find that the problem is related to selinux.
Type this command to check to see what http ports are currently allowed;  (remove filter to show all rules)
semanage port -l&#124;grep http
To add another port type the following (with the port you wish to add [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you are having problems starting apache on a non-standard port you might find that the problem is related to selinux.</p>
<p>Type this command to check to see what http ports are currently allowed;  (remove filter to show all rules)</p>
<p><strong>semanage port -l|grep http</strong></p>
<p>To add another port type the following (with the port you wish to add etc);</p>
<p><strong>semanage port -a -t http_port_t -p tcp 81</strong></p>
<p>If you want to disable selinux completely then go into <strong>/etc/selinux/config</strong> and set selinux=disabled. Save then reboot.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/07/28/selinux-opening-additional-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
