Custom Search
No Gravatar

Over the past five years I have built several Highly available microsoft web hosting farms , hosted web apps, and associated database servers and supporting services, each one slight better than the last.

Web farms
No 1. IIS5, NLB base load balancing, every web site usesing same process identity, many sites is shared pool
No 2. IIS6, Cisco CSM load balanced, 2 Node Physcial, unique ID for every site / application
No 3, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site / application
No 4, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site / application, second site
No 5, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site,  Internet facing with SSL
No 6, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site,  Intranet facing with SSL
No 7, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site,  Intranet facing with SSL
No 8, IIS6, Cisco ACE Load Balanced, 4 Node Virutal, unique ID for every site,  Intranet facing with SSL, for UAT use.

FTP, centralise FTP gateway providing a single FTP solution to every windows / Sambe wen server inside the enterprise

WordPress MU, enterprise blog solution

Now Finally I get to build an IIS7 one and FTP7 with FTP over SSL, watch this space

July 1st, 2008WordPress MU on IIS7 POC

No Gravatar

This Blogging Platform is built on WordPress MU, WordPress MU is slightly different to WordPress in that it has support for multiple independent blogs on top of a single user database, when running in folder per blog mode WordPress MU is totally dependent on the apache MOD-ReWrite feature to rebuild URL in the fly. This is a feature that has been missing from IIS until now, Microsoft have released, albeit CTP1 at the moment, a URL rewrite module for IIS7.

WordPress and WordPress MU can also use url-rewrite to create “friendly” permalinks

Well I did it, installed a copy of WordPress MU on IIS7 in folder per blog mode

  • Server 2008 enterprise
  • IIS7 URL-ReWrite CTP1
  •  WordPress MU 1.5.1
  •  mysql-5.1.25-rc-win32
  •  ZendCore-2.5.0-Windows-x86

Using the URL-Write Module and some help from IIS.net, it was fairly straight forward; URL-ReWrite is still in CTP1 and has a few known issues. For instance the import wizard correctly identifies the  [L] parameter in .htaccess and create the correct XML, but the ”stopProcessing” attribute does not get copied to the web.config file and the ReWritecondition flag created a NEW rule with no action , rather than apply the condition to the next rule.

So after a bit of fiddling and some help from IIS.NET I got it all working including CSS and themes for folder based blogs.
The Only issue I did not fix was an issue with ONE of the CSS files which controls the layout of the TOP of the admin pages,

SORTED !!!!!!!!!!

Just so i dont lose it the web.config file is here

And dont forget the rewrite server variable fix too

 

 

June 26th, 2008Windows WMI Dangers

No Gravatar

I have been working on a ZERO touch build script for IIS on and off for a few weeks,

One of the last stepping stone for formating the “data” drive prior to setting everything up

“FORMAT H: /FS:NTFS /V:ASG” will prompt for “do you want to erase all yoiu data”, and again if the disk is in use !

 So enter WMI, after only 20 mins of digging around the the internet I found some code to do a defrag, a few tweaks, and I have some VBS code that will format a DRIVE, NO questions, even if the drive is in use, and it is ONLY 7 lines

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2″)
Set colVolumes = objWMIService.ExecQuery (“Select * from Win32_Volume Where Name = ‘H:\\’”)
For Each objVolume in colVolumes
     errResult  = objvolume.dismount(1,0)
     errResult = objVolume.format(“NTFS”, 1, 4096, “ASG”, 0)
Next

June 13th, 2008Microsoft and I

No Gravatar

After going the full duration, 3 interviews and an assessment day over 3months
I had “the Call” from Microsoft HR consultants this morning

Unfortunately it is a “NO Hire” that makes it the first job (ever) I have applied for that I have not got ! BUM

Got some good feedback, no surprises for me though

Good points

  • General Technical knowledge is good, particularly in web services area
  • Presentation content was well researched and has ALL of the appropriate points

Bad points

  • Technical knowledge not deep enough in some areas AD GPO, and high end security got tripped up in duel vendor firewalls, I may have even been tripped up on SQL log shipping recovery process (I need to check), I also struggled to explain some of the decision points when I have built  HUGE intranet platforms
  • Some of the business stuff is outside my comfort zone , which limits my ability to talk to business people
  • Presentation style. In hind sight (the wonderful tool that it is) I spent too long researching the content, and not enough time rehearsing, end result is I will TOO reliant on my notes and came across as reading a script,

Just not quite what they are looking for at in a consultant at the moment

I can’t help feeling, the presentation delivery is totally my fault , and I KNOW I can do better
It is not my normal style to be dependent on notes, and running out of time to prior to the event rehearse is totally my fault and in excusable

I will now be wondering if I would have been better missing a few points and get the delivery right

No Gravatar

Historically many bespoke application are developed on the same servers the prodcution application runs on. Often this server was built by the developers with little regards for consistancy. After all developers develop applications for a living, not build server infrastructure.

Developing an application on the production server can lead to many problems, particularly if that server build is not quite right or the developer is a little wet behind the ears and does not considure scaling issues and hard coded resource refernces. Then of course it is always possible to cripple the production server by testing rogue application code at the whim a developer. I could witter on for ages about this, bit i want to get on towards what needs to be done to consolidate these applications to central managed infrastructure. Putting to one side the issues of supporting the, often extremely large, consolidation platform, many problems need to be over come to ensure the successful migration / consolidation of bespoke applications in the enterprise.

<UPDATE>
It is worth pointing out that these applications should be consolidated to a well defined, well managed platform, where each appliaction exists in a logical container where ALL interfaces and features are defined and controlled by the infrastructure. Hopeful reducing or even eliminating many of the future gotchas

It should also be noted the technology is only a small part of the battle. Accurate recording of succesfull migration, ownership, and reporting of KPIs also need to be considered. i am not talking a few spreadsheets, it needs to be a fully operation CMDB. spreadsheets are not searchable on MASS, so without a proper CMDB you still only have a huge quantity of unstructure data which is be out of data before you can use it
</UPDATE>

 So this is my list of check points and Gotchas

Read the rest of this entry »

No Gravatar

Guess who has just been had by the date format thing between the Queens English and Microsoft English

Query Error: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
The statement has been terminated. Datasource: PINBACK Native Error Code: 242 Executing SQL:

Data was ’14/05/2008 13:47:30′

the Fix was the Language for the SQL user

English setting in SQL

No Gravatar

Over the past 4 years I have had to work with some of the best web application developers I have ever met, unfortunately I have also had the miss-fortune of working with some of the worst developers on the planet.
With this in mind, while attending the Microsoft 2008 launch event,  I was very impressed to pick up a book entitled “the Developer Highway code : The drive for safer coding!” 
This book is fantastic, and has hundreds of coding guidelines and server configuration recommendations. And absolute MUST read for any ASP, ASP.NET developer and / or web server support staff.

The best bit, it is available as a free ebook, from Microsoft:
http://download.microsoft.com/documents/uk/msdn/devdave/mic472_dev_highway_all.pdf

No Gravatar

some REALLY rough and not very elegent code but this is my website create code for IIS6

Points to note:

  • I centrally manage the W3SVC instance number, so they are unique across all of the platforms in the enterprise, hence the instance number is specified , not generated in the function
  • I use AD based IWAM accounts to connect to CIFS (UNC) based content, so these have to be specified
  • hosts string is a comma separated list of hostheaders,

Read the rest of this entry »

No Gravatar

I am slowing gaining some good experience in coding with visual studio 2008 and VB.NET and some C# for ASP.NET

But I fell into a corker this week

I have a simple form with a dropdown list box, the items in this drop down list box are populated from a data string obtained from an external webservice during the page load, Nice solutions or so I thought

1st problem a page load occurs during a post back, so the dropdown list was getting populated twice, once during the initial page load, and AGAIN during a validation post back on a textbox

So I decided to clear the dropdown list before adding the items

Some hours of frustration later I discovered the clearing and reloading the list items was not such a good plan, Pageload also goes off during a form submission which then nukes the selectedvalue data for the dropdown list

End result, test the dropdown list item count before to see if I have already added any item, of not add them

Sorted
1. My selected values work properly
2. My postbacks are quicker as the webservices call only occurs on initial load

:-)

No Gravatar

I know this is VB.NET but i was in a hurry and my C# sucks
this is mostly cobbled togther from other stuff I found on the net, none of which did EXACTLY what I needed
When I get the time i will publish some of my other functions, including IIS6 site create and IIS6 FTP Profile Create

This is a simple VB.NET function to create and IIS6 Application pool
This function is designed to specify the UserId and Password for the AppPool Identity and was used in an environment where domain credentials were used

Read the rest of this entry »


© 2007 siliconpizza.com | iKon Wordpress Theme by TextNData | Powered by Wordpress | rakCha web directory

siliconpizza.com is using WP-Gravatar