<?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>Jay&#039;s Blog</title>
	<atom:link href="http://www.jayakumar.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jayakumar.org</link>
	<description>Open Mind ~ Open Road ~ Open Source</description>
	<lastBuildDate>Wed, 27 Apr 2011 22:49:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Nexus 1000v SNMP</title>
		<link>http://www.jayakumar.org/cisco/nexus-1000v-snmp/</link>
		<comments>http://www.jayakumar.org/cisco/nexus-1000v-snmp/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 02:12:24 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[1000v]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Nexus]]></category>

		<guid isPermaLink="false">http://www.jayakumar.org/?p=135</guid>
		<description><![CDATA[I had a few of folks ask me about snmp configuration on 1000v last so am reusing the content I sent them for this post. This is basically a 5 minute configuration of Nexus 1000v SNMP monitoring with SolarWinds NPM. Software Versions used: Nexus 1000v version 4.0(4)SV1(3b) Nexus 1000v version 4.0(4)SV1(4) SolarWinds Orion NPM 10.2 [...]]]></description>
			<content:encoded><![CDATA[<p>I had a few of folks ask me about snmp configuration on 1000v last so am reusing the content I sent them for this post. This is basically a 5 minute configuration of Nexus 1000v SNMP monitoring with SolarWinds NPM.</p>
<p><strong>Software Versions used:</strong></p>
<p><em>Nexus 1000v version 4.0(4)SV1(3b) </em></p>
<p><em></em><em>Nexus 1000v version 4.0(4)SV1(4) </em></p>
<p><em>SolarWinds Orion NPM 10.2</em></p>
<p><strong>Network Topology:</strong><br />
SolarWinds NPM was running in a VM on the same cluster as the VSM. Basically they were connected to the same physical Nexus 5020 and on the same vlan. So a very flat backend network topology and no firewall in between. before you begin make sure you can ping from Nexus 1000v to the NMS.</p>
<p><strong>Configuration Steps:</strong></p>
<p>Step 1.<br />
Configure Nexus 1000v SNMP to send traps to the NMS.</p>
<p style="text-align: center;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Nexus-1000v-show-run-snmp-1.png"><img class="size-full wp-image-136 aligncenter" title="Nexus 1000v show run snmp 1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Nexus-1000v-show-run-snmp-1.png" alt="" width="605" height="282" /></a></p>
<p>Here we are using user xxxxxx to send traps to the NMS using management interface.</p>
<p>snmp-server contact xxxxxx@cisco.com<br />
snmp-server location SJSV-iLAB<br />
snmp-server user admin network-admin auth md5 Cisco123 priv aes-128 Cisco123<br />
snmp-server user admin enforcePriv<br />
snmp-server user xxxxxx network-admin auth md5 Cisco123 priv aes-128 Cisco123<br />
snmp-server user xxxxxx enforcePriv<br />
snmp-server host 172.16.165.134 traps version 3 priv xxxxxx<br />
snmp-server host 172.16.165.134 use-vrf management</p>
<p>Step 2. Configuration On SolarWinds<br />
Step 2(a).<br />
Select Add Node and Type in the Nexus 1000v VSM IP Address</p>
<p style="text-align: center;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-1.1.png"><img class="aligncenter size-full wp-image-137" title="Add Node 1.1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-1.1.png" alt="" width="669" height="241" /></a></p>
<p>Step 2(b).<br />
Type in the user authorized to send snmp trap on the VSM</p>
<p style="text-align: left;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-2.1.png"><img class="aligncenter size-full wp-image-140" title="Add Node 2.1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-2.1.png" alt="" width="682" height="356" /></a><br />
The SNMPv3 Password can be either just the password you configured (“Cisco123”)or its localized key (“0x81558f44c057276fca90f3b757465c7c”)  from show run snmp. If you are using the localized key make sure you check “Password is a key”, as shown in the following screen shot.<br />
For example:snmp-server user xxxxxx network-admin auth md5 Cisco123 priv aes-128 Cisco123<br />
Becomes:<br />
snmp-server user xxxxxx network-admin auth md5 0x81558f44c057276fca90f3b757465<br />
c7c priv aes-128 0x81558f44c057276fca90f3b757465c7c localizedkey</p>
<p>Step 2(c).<br />
Repeat the same steps, same username and password.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-138" title="Add Node 3.1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-3.1.png" alt="" width="689" height="307" /></p>
<p>Step 2(d).</p>
<p>Now Click “Test” and it should be successful.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-139" title="Add Node 3.2" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-3.2.png" alt="" width="689" height="330" /></p>
<p>Step 2(e).Now go through the steps and add the interfaces to monitors, I went with all <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-Pollers.1.png"><img class="aligncenter size-full wp-image-141" title="Add Node Pollers.1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-Pollers.1.png" alt="" width="684" height="402" /></a></p>
<p>Step 2(f).<br />
Select what pollers to add to the node, here some like power supply, temp are not relevant for a VSM running on a ESX host, so pick and choose the ones you want to poll.</p>
<p style="text-align: center;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-Pollers.2.png"><img class="aligncenter size-full wp-image-142" title="Add Node Pollers.2" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-Pollers.2.png" alt="" width="688" height="330" /></a></p>
<p>Click Next.</p>
<p>Step 2(g).</p>
<p style="text-align: left;"><a href="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-sucess.1.png"><img class="aligncenter size-full wp-image-143" title="Add Node sucess.1" src="http://www.jayakumar.org/wp-content/uploads/2011/04/Add-Node-sucess.1.png" alt="" width="682" height="407" /></a><br />
Now Click on “OK, ADD NODE” and voila “Node was successfully added”.</p>
<fb:like href='http://www.jayakumar.org/cisco/nexus-1000v-snmp/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/cisco/nexus-1000v-snmp/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/cisco/nexus-1000v-snmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Nexus 1000v manual VEM upgrade to Release 4.2(1) SV1(4)</title>
		<link>http://www.jayakumar.org/cisco/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/</link>
		<comments>http://www.jayakumar.org/cisco/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 23:53:39 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[1000v]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Nexus]]></category>

		<guid isPermaLink="false">http://www.jayakumar.org/?p=132</guid>
		<description><![CDATA[Note 1: Even though Cisco fully supports VUM based upgrades we generally recommend the CLI for VEM upgrades as it provides more granular control on what gets upgraded when. Note 2: If you plan on manually upgrading the VEM modules make sure you have disabled VMware Update Manager (VUM) service so that it does not automatically roll [...]]]></description>
			<content:encoded><![CDATA[<p><em>Note 1: Even though Cisco fully supports VUM based upgrades we generally recommend the CLI for VEM upgrades as it provides more granular control on what gets upgraded when. </em></p>
<p><em> Note 2: If you plan on manually upgrading the VEM modules make sure you have disabled VMware Update Manager (VUM) service so that it does not automatically roll back changes we make. Once the vem upgrade is complete we can start it back up. </em></p>
<p><strong>Step 0 </strong>Run a &#8220;show mod&#8221; to check the status of the modules</p>
<pre>switch#  show mod
Mod  Ports  Module-Type                       Model               Status
---  -----  --------------------------------  ------------------  ------------
1    0      Virtual Supervisor Module         Nexus1000V          active *
3    248    Virtual Ethernet Module           NA                  ok
4    248    Virtual Ethernet Module           NA                  ok
5    248    Virtual Ethernet Module           NA                  ok
6    248    Virtual Ethernet Module           NA                  ok

Mod  Sw               Hw
---  ---------------  ------
1    4.0(4)SV1(3b)     0.0
3    4.0(4)SV1(3b)     1.11
4    4.0(4)SV1(3b)     1.11
5    4.0(4)SV1(3b)     1.11
6    4.0(4)SV1(3b)     1.11 

Mod  MAC-Address(es)                         Serial-Num
---  --------------------------------------  ----------
1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
3    02-00-0c-00-03-00 to 02-00-0c-00-03-80  NA
4    02-00-0c-00-04-00 to 02-00-0c-00-04-80  NA
5    02-00-0c-00-05-00 to 02-00-0c-00-05-80  NA
6    02-00-0c-00-06-00 to 02-00-0c-00-06-80  NA

Mod  Server-IP        Server-UUID                           Server-Name
---  ---------------  ------------------------------------  --------------------
1    172.16.165.55    NA                                    NA
3    172.16.165.91    dcedbaac-1dc0-11df-0000-00000000000e  172.16.165.91
4    172.16.165.92    dcedbaac-1dc0-11df-0000-00000000000d  172.16.165.92
5    172.16.165.93    dcedbaac-1dc0-11df-0000-00000000000c  172.16.165.93
6    172.16.165.94    dcedbaac-1dc0-11df-0000-00000000000b  172.16.165.94
* this terminal session</pre>
<p>This is looking good, with one active VSM and multiple VEM modules and all running the same version.</p>
<p><strong>Step 1</strong> Download the Nexus1000v.4.2.1.SV1.4.zip file from Cisco.com and unzip it and you will find the new 4.2(1) SV1(4) vem images bundle <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;">vem-release_final.tar.gz </span>under the VEM folder. Copy this file to the VSM bootflash.</p>
<pre>switch# copy scp://root@172.16.165.51/srv/Cisco/Nexus1000v.4.2.1.SV1.4/VEM/vem-release_final.tar.gz bootflash:</pre>
<p><strong>Step 2</strong> Update the VSM with the latest VEM modules</p>
<pre>switch# vmware vem upgrade update-vibs bootflash:vem-release_final.tar.gz</pre>
<p><strong>Step 3</strong> Notify vCenter Server/VUM that a latter version of VEM is available for upgrade.</p>
<pre>switch# vmware vem upgrade notify</pre>
<pre>switch# show vmware vem upgrade status</pre>
<p><strong>Step 4</strong> Confirm that VMware Update Manager is disabled (note 2) and then Go the vCenter Server, Home -&gt; Inventory -&gt; Networking and Select the Nexus 1000v swtich and Click the DVS Summary tab to check for the availability of a software upgrade and accept it. Now come back to VSM and check the status. And since we are planning to upgrade the VEM modules manually you can ahead and do &#8220;vmware vem upgrade proceed&#8221; and then complete the process.</p>
<pre>switch# show vmware vem upgrade proceed</pre>
<pre>switch# show vmware vem upgrade status</pre>
<pre>switch# vmware vem upgrade complete</pre>
<pre>switch# show vmware vem upgrade staus</pre>
<p>So far we let VSM, vCenter Server and by extension VMware update manager know that there is an VEM update available. Now we have to go ahead and actually install the VEM modules on the ESX hosts.</p>
<p><strong>Step 5 </strong>Copy the VEM bundle to the ESX hosts /tmp folder or to a shared vmfs volume . Which VEM bundle to copy and install will depend on the build number of your ESX host, see the <a href="http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/compatibility/information/n1000v_compatibility.html" target="_blank">VEM compatibility table here</a><a href="http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/compatibility/information/n1000v_compatibility.html" target="_blank"> </a>for more details. Then depending on whether you are using the .vib or .zip files, you run either of the following command to install the VEM modules on the ESX hosts.</p>
<pre>esx-host-2# esxupdate -b ./cross_cisco-vem-v130-4.2.1.1.3.9.0-1.9.1.vib update</pre>
<pre>esx-host-2# esxupdate --bundle VEM410-201101108-BG.zip update</pre>
<p><strong>Step 6 </strong>Now repeat the same steps on all the ESX hosts until you have, this on show mod.</p>
<pre>switch#show mod
Mod  Ports  Module-Type                       Model               Status
---  -----  --------------------------------  ------------------  ------------
1    0      Virtual Supervisor Module         Nexus1000V          active *
3    248    Virtual Ethernet Module           NA                  ok
4    248    Virtual Ethernet Module           NA                  ok
5    248    Virtual Ethernet Module           NA                  ok
6    248    Virtual Ethernet Module           NA                  ok

Mod  Sw                Hw
---  ----------------  ------------------------------------------------
1    <strong>4.0(4)SV1(3b) </strong>     0.0
3    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
4    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
5    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
6    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)

Mod  MAC-Address(es)                         Serial-Num
---  --------------------------------------  ----------
1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
3    02-00-0c-00-03-00 to 02-00-0c-00-03-80  NA
4    02-00-0c-00-04-00 to 02-00-0c-00-04-80  NA
5    02-00-0c-00-05-00 to 02-00-0c-00-05-80  NA
6    02-00-0c-00-06-00 to 02-00-0c-00-06-80  NA

Mod  Server-IP        Server-UUID                           Server-Name
---  ---------------  ------------------------------------  --------------------
1    172.16.165.55    NA                                    NA
3    172.16.165.91    dcedbaac-1dc0-11df-0000-00000000000e  172.16.165.91
4    172.16.165.92    dcedbaac-1dc0-11df-0000-00000000000d  172.16.165.92
5    172.16.165.93    dcedbaac-1dc0-11df-0000-00000000000c  172.16.165.93
6    172.16.165.94    dcedbaac-1dc0-11df-0000-00000000000b  172.16.165.94</pre>
<p><strong>Step 7 </strong>Once you confirm that all your ESX hosts have the latest VEM modules, Go ahead and start your <a href="http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/">VSM upgrade</a> <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<fb:like href='http://www.jayakumar.org/cisco/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/cisco/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/cisco/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Cisco Nexus 1000v Standalone VSM upgrade to Release 4.2(1) SV1(4)</title>
		<link>http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/</link>
		<comments>http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 01:35:35 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[1000v]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.jayakumar.org/?p=129</guid>
		<description><![CDATA[Cisco Nexus team released the update to the Nexus 1000v product taking it to release 4.2(1) SV1(4). They did a great job of documenting the entire upgrade process both in docs and in a series of screencasts. Check it out it&#8217;s really worth your time. However one obvious thing that they have missed so far is how to upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco Nexus team released the update to the Nexus 1000v product taking it to release 4.2(1) SV1(4). They did a great job of documenting the entire upgrade process both in docs and in a series of <a href="http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/upgrade/screencast/guide/n1000v_upgrade_screencasts.html">screencasts</a>. Check it out it&#8217;s really worth your time.</p>
<p>However one obvious thing that they have missed so far is how to upgrade if your VSM is in standalone mode. Part of the problem is the Upgrade application (GUI) does not support standalone mode and the upgrade document does not address the manual upgrade (CLI) method for standalone VSM.</p>
<p>Here is a quick guide on how to upgrade your standalone VSM from 4.0(4) SV1(3, 3a, or 3b) to 4.2(1) SV1(4).</p>
<p>Before you start make sure you have run the <a href="http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/upgrade/software/guide/n1000v_upgrade_software.html#wp387120  ">pre-upgrade check scrip</a>t against your 1000v configuration to make sure you don&#8217;t run into the 7 configurations that are incompatible with Nexus 4.0.x to 4.2.x code.</p>
<p>Now the actual steps:</p>
<p><strong>Step 0</strong> Do a show mod and make sure you have already upgraded all the VEM modules. Remember this has changed from earlier releases. You HAVE to <a href="http://www.jayakumar.org/uncategorized/cisco-nexus-1000v-vem-upgrade-to-release-4-21-sv14-via-cli/">upgrade the VEM</a> first and VSM second to upgrade to release 4.2(1) SV1(4).</p>
<pre>show mod
Mod  Ports  Module-Type                       Model               Status
---  -----  --------------------------------  ------------------  ------------
1    0      Virtual Supervisor Module         Nexus1000V          active *
3    248    Virtual Ethernet Module           NA                  ok
4    248    Virtual Ethernet Module           NA                  ok
5    248    Virtual Ethernet Module           NA                  ok
6    248    Virtual Ethernet Module           NA                  ok

Mod  Sw                Hw
---  ----------------  ------------------------------------------------
1    <strong>4.0(4)SV1(3b) </strong>     0.0
3    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
4    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
5    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
6    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)

Mod  MAC-Address(es)                         Serial-Num
---  --------------------------------------  ----------
1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
3    02-00-0c-00-03-00 to 02-00-0c-00-03-80  NA
4    02-00-0c-00-04-00 to 02-00-0c-00-04-80  NA
5    02-00-0c-00-05-00 to 02-00-0c-00-05-80  NA
6    02-00-0c-00-06-00 to 02-00-0c-00-06-80  NA

Mod  Server-IP        Server-UUID                           Server-Name
---  ---------------  ------------------------------------  --------------------
1    172.16.165.55    NA                                    NA
3    172.16.165.91    dcedbaac-1dc0-11df-0000-00000000000e  172.16.165.91
4    172.16.165.92    dcedbaac-1dc0-11df-0000-00000000000d  172.16.165.92
5    172.16.165.93    dcedbaac-1dc0-11df-0000-00000000000c  172.16.165.93
6    172.16.165.94    dcedbaac-1dc0-11df-0000-00000000000b  172.16.165.94</pre>
<p><strong>Step 1</strong> Copy the new software release system image and kickstart image files to the bootflash file system of the VSM.</p>
<pre>switch# copy scp:root@172.16.165.51/srv/n1kv-images/nexus-1000v-mz.4.2.1.SV1.4.bin bootflash:
switch# copy scp:root@172.16.165.51/srv/n1kv-imagess/nexus-1000v-kickstart.mz.4.2.1.SV1.4.bin bootflash:</pre>
<p><strong>Step 2</strong> Use the install all command to update the boot variables to release 4.2(1)SV1(4) images.</p>
<pre>switch# install all system bootflash: nexus-1000v-mz.4.2.1.SV1.4.bin kickstart bootflash:nexus-1000v-kickstart-mz.4.2.1.SV1.4.bin
Boot variables are updated to running configuration.</pre>
<p><strong>Step 3</strong> Save your configuration by copying the running configuration to the startup configuration.</p>
<pre>switch# copy running-config startup-config
[########################################] 100%</pre>
<p><strong>Step 4</strong> Reload VSM.</p>
<pre>switch# reload
This command will reboot the system. (y/n)? [n] y</pre>
<pre>switch#show mod
Mod  Ports  Module-Type                       Model               Status
---  -----  --------------------------------  ------------------  ------------
1    0      Virtual Supervisor Module         Nexus1000V          active *
3    248    Virtual Ethernet Module           NA                  ok
4    248    Virtual Ethernet Module           NA                  ok
5    248    Virtual Ethernet Module           NA                  ok
6    248    Virtual Ethernet Module           NA                  ok

Mod  Sw                Hw
---  ----------------  ------------------------------------------------
1    <strong>4.2(1)SV1(4)</strong>      0.0
3    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
4    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
5    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)
6    4.2(1)SV1(4)      VMware ESXi 4.1.0 Releasebuild-320137 (2.0)

Mod  MAC-Address(es)                         Serial-Num
---  --------------------------------------  ----------
1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
3    02-00-0c-00-03-00 to 02-00-0c-00-03-80  NA
4    02-00-0c-00-04-00 to 02-00-0c-00-04-80  NA
5    02-00-0c-00-05-00 to 02-00-0c-00-05-80  NA
6    02-00-0c-00-06-00 to 02-00-0c-00-06-80  NA

Mod  Server-IP        Server-UUID                           Server-Name
---  ---------------  ------------------------------------  --------------------
1    172.16.165.55    NA                                    NA
3    172.16.165.91    dcedbaac-1dc0-11df-0000-00000000000e  172.16.165.91
4    172.16.165.92    dcedbaac-1dc0-11df-0000-00000000000d  172.16.165.92
5    172.16.165.93    dcedbaac-1dc0-11df-0000-00000000000c  172.16.165.93
6    172.16.165.94    dcedbaac-1dc0-11df-0000-00000000000b  172.16.165.94</pre>
<p>That&#8217;s it the VSM upgrade is complete to 4.2(1)SV1(4).</p>
<p><em>As an aside. These steps compare extremely well when contrasted with the HA based VSM manual upgrade which is 22+ steps. I actually had the VSMs in a HA pair and deleted the secondary, upgraded the primary as a standalone and deployed a new 4.2(1)SV1(4) VSM VM using the OVF files and powered it up and called it secondary and it happily synced with the primary and the upgrade is complete. </em></p>
<fb:like href='http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/esx/cisco-nexus-1000v-standalone-vsm-upgrade-to-sv14/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Slackware Virtual Machine v13.1</title>
		<link>http://www.jayakumar.org/general/slackware-virtual-machine-v13-1/</link>
		<comments>http://www.jayakumar.org/general/slackware-virtual-machine-v13-1/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 04:41:38 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[virtual images]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jayakumar.org/?p=123</guid>
		<description><![CDATA[I have been meaning to update the linux virtual machine images with newer versions but have been too busy so far, however managed to get a breather at work thanks to the post Holidays slump So here is an vm with the latest version of Slackware 64bit v13.1. Slackware Linux VM Configuration Distribution: 13.1 Linux [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>I have been meaning to update the linux virtual machine images with newer versions but have been too busy so far, however managed to get a breather at work thanks to the post Holidays slump <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So here is an vm with the latest version of Slackware 64bit v13.1.</p>
<p>Slackware Linux VM Configuration<br />
Distribution: 13.1<br />
Linux Kernel: 2.6.33<br />
Installation Type: Base+X+XFCE<br />
Desktop Environment: XFCE<br />
Networking: DHCP<br />
Root Password: vmware</p>
<p><span id="more-123"></span></p>
<p>Virtual Machine Configuration<br />
RAM: 1GB (configurable by editing the Slackware64.13.1.vmx file)<br />
Disk: 8.0 GB<br />
Networking: Bridged<br />
VMware Tools: Not Loaded<br />
Monitor Resolution: 1024×768</p>
<p>Download Information<br />
Available in the <a href="http://www.jayakumar.org/downloads/">Downloads</a> page.</p>
<p>File Size: 458 MB<br />
Compression: RAR<br />
MD5SUM a2b61d506c20a966e7c4d1b84a2794e4 * Slackware64.13.1.rar</p>
<p>Hope ya have fun and find the vm useful. Also if there is a specific Linux/Unix distribution vm that you are looking for let me know in the comments and I will see if I can spin one.</p>
<p>Cheers!</p>
</div>
<fb:like href='http://www.jayakumar.org/general/slackware-virtual-machine-v13-1/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/slackware-virtual-machine-v13-1/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/slackware-virtual-machine-v13-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Consolidating my blogs</title>
		<link>http://www.jayakumar.org/general/consolidating-my-blogs/</link>
		<comments>http://www.jayakumar.org/general/consolidating-my-blogs/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 03:57:59 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.jayakumar.org/?p=105</guid>
		<description><![CDATA[After a lot of thinking I have decided to merge my two blogs previously at www.vmwhere.net and jayakumar.co.in into a single site/blog here at www.jayakumar.org. The reason was simple, am lazy and do not want to maintain two sites. Plus after I moved out of VMware late last year I don&#8217;t feel the need maintain [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of thinking <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I have decided to merge my two blogs previously at <a href="http://www.vmwhere.net">www.vmwhere.net</a> and <a href="http://jayakumar.co.in/">jayakumar.co.in</a> into a single site/blog here at www.jayakumar.org.</p>
<p>The reason was simple, am lazy and do not want to maintain two sites. Plus after I moved out of VMware late last year I don&#8217;t feel the need maintain a separate blog for VMware so as maintain that thin distinction between work (VMware) and personal (linux/networking) stuff. Also since I have joined Cisco I wanted to blog bout Nexus 1000v and Cisco UCS products, but the mere thought of setting up and maintaining another blog kept that idea far. So theoretically I have merged 3 blogs into one.</p>
<p><span id="more-105"></span>Hopefully this will spur me into writing some good content, to make all that multi-re-directs that I have set up worthwhile <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers!</p>
<fb:like href='http://www.jayakumar.org/general/consolidating-my-blogs/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/consolidating-my-blogs/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/consolidating-my-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All downloads are gone :(</title>
		<link>http://www.jayakumar.org/general/all-downloads-are-gone/</link>
		<comments>http://www.jayakumar.org/general/all-downloads-are-gone/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 21:17:49 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[virtual images]]></category>

		<guid isPermaLink="false">http://www.vmwhere.net/?p=35</guid>
		<description><![CDATA[Thanks to a catastrophic failure during migration from a private server to a shared server, all the site downloads are gone the blogs posts, comments etc basically everything that was on the database we were able to recover from a db backup, but anything on the filesystem is gone. So all the virtual machine images [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to a catastrophic failure during migration from a private  server to a shared server, all the site downloads are gone <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  the blogs  posts, comments etc basically everything that was on the database we  were able to recover from a db backup, but anything on the filesystem is  gone. So all the virtual machine images are gone as well so no more  virtual machine downloads <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I will try to spin up a few of the latest gentoo and slackware  versions that I have skipped earlier on  in the next few weeks and  hopefully we will have some downloads then.</p>
<p>Sorry for the inconvenience, if you came here looking for quick access to some linux virtual images .</p>
<fb:like href='http://www.jayakumar.org/general/all-downloads-are-gone/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/all-downloads-are-gone/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/all-downloads-are-gone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve linux raid rebuild/resync speed</title>
		<link>http://www.jayakumar.org/general/improve-linux-raid-rebuildresync-speed/</link>
		<comments>http://www.jayakumar.org/general/improve-linux-raid-rebuildresync-speed/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 19:45:24 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://jayakumar.co.in/?p=74</guid>
		<description><![CDATA[I have a small NAS box with 6 x 1TB HDD in RAID 6 and 4 x 500GB HDD in RAID 5. Recently thanks to the arrival of my baby girl and a HD handy cam, I was running out of space fast on the array and so when when I saw a decent deal [...]]]></description>
			<content:encoded><![CDATA[<p>I have a small <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  NAS box with 6 x 1TB HDD in RAID 6 and 4 x 500GB HDD in RAID 5. Recently thanks to the arrival of my baby girl and a HD handy cam, I was running out of space fast on the array and so when when I saw a decent deal for 1TB drives in NewEgg I picked up couple to add to the RAID 6 volume.</p>
<p>Growing a raid array in linux using mdadm is easy. I made sure I used fdisk to create single large partition on the drive and mark the partition type fd (Linux raid autodetect) prior to adding it to the array.</p>
<p><code> Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdm1               1      121601   976760001   fd  Linux raid autodetect</code></p>
<p>Adding the drives to the raid is straightforward<br />
<code>mdadm --add /dev/md1 /dev/sdl1<br />
mdadm --add /dev/md1 /dev/sdm1</code><br />
<span id="more-74"></span><br />
the device gets added as spares in the array, now grow the array to include the spares. Remember earlier I had 6 drives in it, now am increasing it to 8.<br />
<code>mdadm --grow /dev/md1 --raid-devices=8</code></p>
<p>Now I have to wait for RAID to resync with the new drives. You can watch the progress by running<br />
watch cat /proc/mdstat</p>
<p>Except I was pissed to see when it said<br />
<code>[&gt;......................]  reshape = 0.0% (7892/976759936) finish=2804.9min speed=5463K/sec</code></p>
<p>This meant the array will take about 47hrs to rebuild at 5MBPS speed, I was pissed but did not worried because I had run into this issue before and all I have to do is increase the minimum and maximum speed limits for the raid device from seriously conservative limits to reasonable limits.</p>
<p>So I went ahead and did the following</p>
<p><code>echo 50000 &gt; /proc/sys/dev/raid/speed_limit_min<br />
echo 200000 &gt; /proc/sys/dev/raid/speed_limit_max<br />
</code><br />
See <a href="http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html">here </a> for some additional details on these commands.</p>
<p>Now I opened /proc/mdstat, imagine my surprise when the speed improved from 5463K/sec to 5863K/sec and settled there. Now I got aggressive and doubled the numbers to 100000 for min and 400000 for max. Now the speed moved from 5863K/sec to 6028K/sec and settled around there. Now am worried if there was some sort of bus contention or <a href="https://bugzilla.redhat.com/show_bug.cgi?id=462425">other drivers issues</a> am running into.</p>
<p>And after about 30mins for furious googling, I found clues that increasing the strip_cache_size improves the resync build speed as well, mine was set to default 256</p>
<p><code>cat /sys/block/md1/md/stripe_cache_size<br />
256</code></p>
<p>Changed that to 1024<br />
<code>echo 1024 &gt; /sys/block/md1/md/stripe_cache_size</code></p>
<p>Now the speed increased from 6028K/sec to a nice 15763K/sec</p>
<p>Setting the cache size to 4096 brings it up to a cool 22844K/sec. Bumping it up to 8192 takes it a 27169K/sec, at this point am sensing am reaching point diminishing returns. So as any tech guy would do, I plow through to 16384 and the speed increased to 30029K/sec for a few secs, but came down and settled at 29100K/sec. Now on to 32768, now that made it worse it went down to 27970K/sec. Here is quick table of the improvement per cache size</p>
<p><code>stripe_cache_size -&gt; speed K/sec -&gt; finish min<br />
256 -&gt; 6028 -&gt; 2581.8<br />
1024 -&gt; 15763 -&gt; 1003.3<br />
4096 -&gt; 22844 -&gt; 703.7<br />
8192 -&gt; 27169 -&gt; 604.5<br />
16384 -&gt; 30029 -&gt; 553.5<br />
32768 -&gt; 27970 -&gt; 601.6<br />
</code></p>
<p>In the end it moved back to 16384 and the speed settled into a range between 28000-30000K/sec and a rebuild finish time of just under 570mins.<br />
<code>[&gt;......................]  reshape = 0.1% (70372/976759936) finish=569.3min speed=28773K/sec</code><br />
An improvement from 47hrs to 9.5hrs, I think I can live that <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<fb:like href='http://www.jayakumar.org/general/improve-linux-raid-rebuildresync-speed/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/improve-linux-raid-rebuildresync-speed/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/improve-linux-raid-rebuildresync-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXE boot VMware ESXi 4.1 and Manual Install</title>
		<link>http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/</link>
		<comments>http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 20:11:44 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[netwoork boot]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://jayakumar.co.in/?p=55</guid>
		<description><![CDATA[an awesome new feature in the just released ESXi 4.1 is the ability to do PXE boot and script the install using a kick-start script. If you looking for information on how to do this see here at billhill&#8217;s post. http://communities.vmware.com/blogs/vmwareinsmb/2010/07/13/esxi-41-scripted-installation-via-pxe-and-kickstart However while adding that feature VMware seems have slightly broken the PXE boot, but [...]]]></description>
			<content:encoded><![CDATA[<p>an awesome new feature in the just released ESXi 4.1 is the ability to do PXE boot and script the install using a kick-start script. If you looking for information on how to do this see here at billhill&#8217;s post.</p>
<p><a href="http://communities.vmware.com/blogs/vmwareinsmb/2010/07/13/esxi-41-scripted-installation-via-pxe-and-kickstart">http://communities.vmware.com/blogs/vmwareinsmb/2010/07/13/esxi-41-scripted-installation-via-pxe-and-kickstart</a></p>
<p>However while adding that feature VMware seems have slightly broken the PXE boot, but manual install ability of ESXi. This is useful if you have lights-out lab and want to use the local pxe server instead of those virtual media options but also want to customize the install options as the lab servers do not have standardized components and hardware and may other issues.</p>
<p>Refer to the above link for overall PXE/dhcp/tftp install steps. I plan only to document what&#8217;s different for a manual install.<br />
<span id="more-55"></span></p>
<p>Here are the steps to do it. By the way,  the key is in the weird named file imagedd.bz2 on the ESXi install cd.<br />
<code><br />
-r--r--r-- 5 root root     13320 2010-05-18 16:48 a.z<br />
-r--r--r-- 1 root root      2048 2010-05-18 17:21 boot.cat<br />
-r--r--r-- 6 root root   1164618 2010-05-18 16:49 cimstg.tgz<br />
-r--r--r-- 6 root root  16101197 2010-05-18 16:50 cim.vgz<br />
-r--r--r-- 3 root root   7364186 2010-05-18 17:21 ienviron.vgz<br />
-r--r--r-- 3 root root 212380054 2010-05-18 17:19 imagedd.bz2<br />
-r--r--r-- 3 root root        74 2010-05-18 17:19 imagedd.md5<br />
-r--r--r-- 2 root root     22887 2010-05-18 17:15 install.vgz<br />
-r-xr-xr-x 1 root root     12241 2010-05-18 17:15 isolinux.bin<br />
-r--r--r-- 1 root root       298 2010-05-18 17:15 isolinux.cfg<br />
-r-xr-xr-x 1 root root     47404 2010-05-18 17:15 mboot.c32<br />
-r-xr-xr-x 1 root root     51020 2010-05-18 17:15 menu.c32<br />
-r--r--r-- 1 root root   1831459 2010-05-18 17:15 open_source_licenses.txt<br />
-r--r--r-- 1 root root      2889 2010-05-18 17:15 README.txt<br />
-r--r--r-- 5 root root  72206398 2010-05-18 17:15 sys.vgz<br />
-r--r--r-- 5 root root     40876 2010-05-18 17:15 tboot.gz<br />
-r--r--r-- 6 root root     48285 2010-05-18 17:15 vmkboot.gz<br />
-r--r--r-- 5 root root   2469813 2010-05-18 17:15 vmkernel.gz<br />
</code></p>
<p>For the sake for posterity, just go ahead and copy all the above files to your tftp/pxeboot folder.</p>
<p>then rename the imagedd.bz file to VMware-VMvisor-big-260247-x86_64.dd.bz2<br />
<code>mv imagedd.bz2 VMware-VMvisor-big-260247-x86_64.dd.bz2</code></p>
<p>Create a folder structure that ESXi installer looks for the system file in<br />
<code>mkdir –p usr/lib/vmware/installer/</code></p>
<p>Move the file to the correct location<br />
<code>mv VMware-VMvisor-big-260247-x86_64.dd.bz2 usr/lib/vmware/installer/</code></p>
<p>The installer is looking for a tar fgz file named image.tgz, so lets create one.<br />
<code>tar cvzf image.tgz usr/</code></p>
<p>Now that we have the file in the correct format and folder structure lets add it to the pxe append command.<br />
<code>append vmware/esx4.1/vmkboot.gz ks=http://192.168.163.48/ks.cfg --- vmware/esx4.1/vmkernel.gz --- vmware/esx4.1/sys.vgz --- vmware/esx4.1/cim.vgz --- vmware/esx4.1/ienviron.vgz --- vmware/esx4.1/install.vgz</code></p>
<p>From the above line remove the ks command and add the image.tgz at the end.<br />
<code>append vmware/esx4.1/vmkboot.gz --- vmware/esx4.1/vmkernel.gz --- vmware/esx4.1/sys.vgz --- vmware/esx4.1/cim.vgz --- vmware/esx4.1/ienviron.vgz --- vmware/esx4.1/install.vgz --- vmware/esx4.1/image.tgz</code></p>
<p>That&#8217;s it.  Now bootup your server and enjoy the pxe boot bliss.</p>
<p>Update: Also its safe to delete the usr folder tree you created after creating the image.tgz, it is just sitting there taking up space,  thanks raph <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<fb:like href='http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>setting up http proxy for cli</title>
		<link>http://www.jayakumar.org/general/setting-up-http-proxy-for-cli/</link>
		<comments>http://www.jayakumar.org/general/setting-up-http-proxy-for-cli/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 22:14:46 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jayakumar.co.in/?p=49</guid>
		<description><![CDATA[Okay, I have to google this information every-time I need it, to so am going to blog it, so that I know exactly where to look for it Setting up a proxy from the GUI on you browser or system does not always work for command line utilities like apt-get, yum, wget or customer bash [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I have to google this information every-time I need it, to so am going to blog it, so that I know exactly where to look for it <img src='http://www.jayakumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Setting up a proxy from the GUI on you browser or system does not always work for command line utilities like apt-get, yum, wget or customer bash scripts etc&#8230;</p>
<p>So here is how to setup proxy for CLI from CLI, assuming your proxy server is proxy.example.com (IP 192.168.2.252) and port 3128.<br />
<code>export http_proxy='http://proxy.example.com:port/'</code></p>
<p>OR<br />
<code>export http_proxy='http://192.168.2.252:3128/'</code><br />
<span id="more-49"></span><br />
If you need authentication:<br />
<code>export http_proxy=http://username:password@proxy.example.com:port</code></p>
<p>If you need to unset it:<br />
<code>echo $http_proxy=''</code></p>
<p>If need to check if there is already proxy configured:<br />
<code>echo $http_proxy</code></p>
<p>This change is non-persistent, meaning you will have to redo it after reboot. If you need the configuration to be persistent across reboots. Add the above command to your system /etc/bash.bashrc.<br />
<code>export http_proxy=http://username:password@proxy.example.com:port</code></p>
<p>You can also add a ftp proxy using a similar entry. Ofcourse check with your admin if the proxy supports ftp.<br />
<code>export ftp_proxy=http://username:password@proxy.example.com:port</code></p>
<p>Hope this helps someone. Cheers!</p>
<fb:like href='http://www.jayakumar.org/general/setting-up-http-proxy-for-cli/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/setting-up-http-proxy-for-cli/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/setting-up-http-proxy-for-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Silverlight 3 on Hackintosh</title>
		<link>http://www.jayakumar.org/general/installing-silverlight-3-on-hackintosh/</link>
		<comments>http://www.jayakumar.org/general/installing-silverlight-3-on-hackintosh/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 07:27:02 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[dell inspiron 530s]]></category>

		<guid isPermaLink="false">http://jayakumar.co.in/?p=42</guid>
		<description><![CDATA[Okay I have always wanted to own a Mac Pro and that wish only grew more after I bought my Mac Book and the Mini for HTPC duties. I like the OS X interface and recently bought Snow Leopard Family pack to upgrade my laptop and mini and was wondering what to do with my [...]]]></description>
			<content:encoded><![CDATA[<p>Okay I have always wanted to own a Mac Pro and that wish only grew more after I bought my Mac Book and the Mini for HTPC duties. I like the OS X interface and recently bought Snow Leopard Family pack to upgrade my laptop and mini and was wondering what to do with my Dell Inspiron 530s (the only windows box in the house, ohh btw I do like Windows 7 and is really the best Windows OS Yet ) and decided to dual boot it with OS X.</p>
<p>The hackintosh installation was a bit round about as I had install Leopard first and then use that install Snow Leopard and then update the boot loader to Chameleon rc3 and fix the boot order from the windows with easybcd 2.0 beta. That story is for latter.</p>
<p>Now coming back to the title of this post after I got the setup up and running, I was trying out all my usual apps and when I tried Instant Watch from Netflix, i trt wanted to install Silverlight 3.0. I download the dmg ran the install it said I was running a Power PC and the install failed. I &#8220;googled it&#8221; and found that the installer is checking for the PC type and is parsing it wrong. So here is the fix.<br />
<span id="more-42"></span><br />
1. Download the Silverlight DMG file from Microsoft</p>
<p>2. Mount the DMG file (double click it)</p>
<p>3. Copy the pkg file ( Silverlight.3.0.pkg ) to your desktop.</p>
<p>4. Right-click (or ctrl+click) on the .pkg file on your desktop and choose “Show Package Contents”</p>
<p>5. Browse to: Contents &gt; Resources and then Select the file “InstallationCheck”.</p>
<p>6. Now you can do either of the following steps:</p>
<p>6a. Right-click the file &#8220;InstallationCheck&#8221; and choose to “Move to Trash” This removes the CPU check that prevents the install. OR</p>
<p>6b. Right-click the file&#8221;InstallationCheck&#8221; and Open it &#8220;Other&#8221; and Select &#8220;TextEdit&#8221; App. Then Find and Replace two places where the installer checks for EXIT_VALUE and change the &#8220;96+xx&#8221; number to zero &#8220;0&#8243;.  Save the File and Exit TextEdit. This will result the install check always returning success.</p>
<p>7. Now close that Finder window and run the .pkg file we just edited. Silverlight should now install without any problems!</p>
<p>The above steps are originally from this <a title="tech recipe" href="http://www.tech-recipes.com/rx/3707/mac-os-x-install-silverlight-2-on-non-intel-systems-ie-powerpc-or-osx86-installs/" target="_blank">tech recipe</a> modified with my suggestions. Hope this helps.</p>
<fb:like href='http://www.jayakumar.org/general/installing-silverlight-3-on-hackintosh/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><span class="fb_share"><fb:like href="http://www.jayakumar.org/general/installing-silverlight-3-on-hackintosh/" layout="button_count"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://www.jayakumar.org/general/installing-silverlight-3-on-hackintosh/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

