<?xml version="1.0"?><rss
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 version="2.0"
 >

<channel>
   <title>CommsCentral</title>
   <link>http://www.commscentral.net</link>
   <description>Technology, The Outdoors and Adventures Through a Technocrats Eyes</description>

<item>
         <guid>http://www.commscentral.net/tech/?post=46</guid>
         <title>Installing Web Farm Framework 2.0 with Web Platform installer 4.0 results in error Web Platform Installer is a pre-requisite for installing Web Farm Framework 2.0</title>
         <pubDate>Wed, 29 Aug 2012 15:41:08 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=46</link>
         <description>I’ve recently being building a proof of concept for a customer of Web Farm Framework 2.0 and found an interesting problem that doesn’t seem to have been greatly noticed yet. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Issue&lt;/b&gt;&lt;br /&gt;
Web farm framework 2.0 requires the web platform installer to already be installed on the system, nothing greatly new here. &lt;br /&gt;
However the way that the web farm framework 2 installer checks for web platform installer (webpi) doesn’t work with the version 4 of web platform framework (4.0) and will result in the web farm frame work throwing the following error: Web Platform Installer is a pre-requisite for installing Web Farm Framework 2.0 &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Cause&lt;/b&gt;&lt;br /&gt;
The web farm framework installer checks for web platform installer by checking the registry key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller\3&lt;br /&gt;
&lt;br /&gt;
However, somewhat unsurprisingly, web platform installer 4 ( which seems to be the only version one can now download) only puts keys into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller\4 &lt;br /&gt;
&lt;br /&gt;
In a nutshell, MS have written a bad installer for web farm framework.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Solution&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Export registry hive HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller\4&lt;br /&gt;
&lt;br /&gt;
Edit the exported key and change any reference to 4 back to 3 &lt;br /&gt;
&lt;br /&gt;
Reimport back into the registry.&lt;br /&gt;
------------&lt;br /&gt;
&lt;br /&gt;
I’ve included a the registry file I ended up with, this does assume that you have installed web platform into the default directory location:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Windows Registry Editor Version 5.00&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller\3]&lt;br /&gt;
&amp;quot;Install&amp;quot;=dword:00000001&lt;br /&gt;
&amp;quot;InstallPath&amp;quot;=&amp;quot;C:\\Program Files\\Microsoft\\Web Platform Installer\\&amp;quot;&lt;br /&gt;
&amp;quot;Version&amp;quot;=&amp;quot;7.1.1622.0&amp;quot;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://www.commscentral.net/tech/?post=45</guid>
         <title>Resizing the disks of a linux virtual machine</title>
         <pubDate>Sun, 27 Feb 2011 17:11:36 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=45</link>
         <description>So recently I had the situation where I needed to resize (or grow a linux partition)&lt;br /&gt;
&lt;br /&gt;
If your using an EXT2 EXT3 or EXT4 partition in native mode without LVM. &lt;br /&gt;
&lt;br /&gt;
1.	Allocate the additional space (normally done in a virtual server)&lt;br /&gt;
&lt;br /&gt;
2.	Work out which partition needs to be grown. This can be done with fdisk –l, although you MAY need to rescan the scsi disks prior to seeing the full space (see &lt;a target=&quot;_blank&quot; href=&quot; http://commscentral.net/tech/?post=44&quot;&gt; http://commscentral.net/tech/?post=44&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	One you know the volume, run resize2fs  -p /dev/sda2&lt;br /&gt;
&lt;br /&gt;
4.	Run df –h to confirm the disks have resized&lt;br /&gt;
&lt;br /&gt;
This can all be done without a reboot of the VM.&lt;br /&gt;
&lt;br /&gt;
Caveman&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://www.commscentral.net/tech/?post=44</guid>
         <title>Rescanning disks in linux</title>
         <pubDate>Sun, 27 Feb 2011 16:57:13 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=44</link>
         <description>So in windows disk, rescanning disks is as simple as going to disk management, right clicking and hitting rescan.&lt;br /&gt;
Linux its not so simple. &lt;br /&gt;
&lt;br /&gt;
How to rescan disks in linux&lt;br /&gt;
&lt;br /&gt;
first you have to find the scsi folders, for that search&lt;br /&gt;
find /sys -name scan&lt;br /&gt;
&lt;br /&gt;
In my case this gave me the following results&lt;br /&gt;
&lt;br /&gt;
root@xxxx:/# find /sys -name scan&lt;br /&gt;
/sys/devices/pci0000:00/0000:00:07.1/host0/scsi_host/host0/scan&lt;br /&gt;
/sys/devices/pci0000:00/0000:00:07.1/host1/scsi_host/host1/scan&lt;br /&gt;
/sys/devices/pci0000:00/0000:00:10.0/host2/scsi_host/host2/scan&lt;br /&gt;
/sys/module/scsi_mod/parameters/scan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first 3 look like devices, the last one looks like a module so we'll ignore that.&lt;br /&gt;
&lt;br /&gt;
Now run the following three lines, this forces each scsi device to rescan&lt;br /&gt;
&lt;br /&gt;
echo - - -&amp;gt;/sys/devices/pci0000:00/0000:00:07.1/host0/scsi_host/host0/scan&lt;br /&gt;
&lt;br /&gt;
echo - - -&amp;gt;/sys/devices/pci0000:00/0000:00:07.1/host1/scsi_host/host1/scan&lt;br /&gt;
&lt;br /&gt;
echo - - -&amp;gt;/sys/devices/pci0000:00/0000:00:10.0/host2/scsi_host/host2/scan&lt;br /&gt;
&lt;br /&gt;
with the echo - - -&amp;gt; note the spaces. so its echoSPACE-SPACE-SPACE-&amp;gt;/sys.....&lt;br /&gt;
&lt;br /&gt;
fdisk -l will now show the additional device!&lt;br /&gt;
&lt;br /&gt;
Phew, really should be easier than that ...</description>
      </item><item>
         <guid>http://www.commscentral.net/tech/?post=40</guid>
         <title>Direct Access using UAG - ipv6 to ipv4 and dns routing notes</title>
         <pubDate>Mon, 17 May 2010 17:25:22 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=40</link>
         <description>A good article came on on technet the other day. &lt;br /&gt;
It explains clearly the ins and outs of Direct Access and how the NAT64 works when doing the NAT of a 64bit packet.&lt;br /&gt;
&lt;br /&gt;
There is also a good tip about fixing a DNS issue for users on wireless cards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://blogs.technet.com/edgeaccessblog/archive/2010/04/30/directaccess-mobile-connections-dns-records-and-more.aspx&lt;br /&gt;
&lt;br /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
Caveman&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://www.commscentral.net/tech/?post=33</guid>
         <title>Advanced setting preference pane add-in for OS X</title>
         <pubDate>Thu, 17 Dec 2009 21:48:09 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=33</link>
         <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
So a few weeks back I found a really useful application for mac OS X that allows setting of some advanced settings in OS X.&lt;br /&gt;
Now I can already hear the hardcore command line guys, saying, but you can do this at a command line level. yes I know! However this makes it easy, knows what the default was (incase you want to go back) but also tells you what advanced settings there are!&lt;br /&gt;
&lt;br /&gt;
The program is called Secrets and its a preferences plugin. The site is &lt;a target=&quot;_blank&quot; href=&quot; http://secrets.blacktree.com/ &quot;&gt; http://secrets.blacktree.com/ &lt;/a&gt; and they also have a really handly list of all the secrets, plus the command line commands to set them! Which is almost as handy as the program!&lt;br /&gt;
&lt;br /&gt;
I've certainly found it useful for a few bits and pieces!&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
Caveman...</description>
      </item><item>
         <guid>http://www.commscentral.net/tech/?post=32</guid>
         <title>Changing ESX virtual centre server when original virtual host no longer available</title>
         <pubDate>Tue, 14 Jul 2009 16:53:04 +1000</pubDate>
         <link>http://www.commscentral.net/tech/?post=32</link>
         <description>Just a quick post today but I wanted to share something useful I discovered.&lt;br /&gt;
&lt;br /&gt;
I've got a vmware esx server that is setup and is managed using virtual centre. Due to hardware limitations we have virtual centre running inside a vmware on the esx server.&lt;br /&gt;
&lt;br /&gt;
I know this isn't best practice, however it is a supported configuration by vmware. &lt;br /&gt;
Recently we had a power outage that rebooted the server and the vm running virtual centre wasn't setup to start automatically so the virtual centre server didn't come back up.&lt;br /&gt;
This virtual centre server also handles the licensing for the esx host. Due to there being no licensing server available, after the 14 day grace period, esx wouldn't allow any new vm's to be started as it didn't have a license.&lt;br /&gt;
This presented me with a problem, I needed to start up the virtual centre server to fix the licensing issue, however esx didn't have any licenses to start the vm up........ URHHHHHHHHHHHHH!!!!!!!!!!!&lt;br /&gt;
&lt;br /&gt;
I figured the only solution would be to bring up another server with virtual centre installed and point the esx server at that so it would have a license and then allow me to boot up the vm before repointing the esx host back to its vm virtual centre. &lt;br /&gt;
&lt;br /&gt;
However there is a problem a I quickly discovered, ESX won't let you remove a virtual centre from managing it, unless it can contact that virtual centre server to say &amp;quot;goodbye&amp;quot;. &lt;br /&gt;
You can add the ESX host into the other virtual centre however it quickly disconnects and you can't manage it at all. &lt;br /&gt;
&lt;br /&gt;
After a bit of head scratching I found a solution. &lt;br /&gt;
1. ssh to your esx host.&lt;br /&gt;
&lt;br /&gt;
2. Edit your license.cfg file in &lt;b&gt;/etc/vmware/license.cfg&lt;/b&gt; (&lt;b&gt;vi /etc/vmware/license.cfg&lt;/b&gt; as root will do it)&lt;br /&gt;
&lt;br /&gt;
3. Here we have 2 possible solutions. 1, empty the file or 2, modify the line that reads like SERVER=27000@192.168.1.10 to something else.&lt;br /&gt;
I've found that solution 2 doesn't seem to work, I found solution 1 worked for me, but from the vmware docs option 2 should work.&lt;br /&gt;
&lt;br /&gt;
4. Then run &lt;b&gt;/sbin/service mgmt-vmware restart&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Your ESX host will now reboot and if you went option 1 at step three you will be able to add the ESX host back into another virtual centre server. &lt;br /&gt;
&lt;br /&gt;
Problem solved!...</description>
      </item></channel>
</rss>
