Custom Search
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

Life is full of tools, tips, tricks and technology. However most people fail on the “When to” and “When NOT to” use a particular piece of technology.

For example you would not use a pair of scissors to cut the lawn, or a lawn mower for a hair cut , yet they are both cutting / triming devices !

So why it is we see some people use a full on SQL database to manage the population of a TEN item drop down box and other use MSAccess (and the MSACCESS GUI not a web app) to run a million pound revneue generating mission critical business application for 100 users over 20 sites

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 »

No Gravatar

Sat in a Server 2008 session at the UK 2008 product launch,

and they have just announced “Hyper-V goes RC0 today”

January 14th, 2008Wordpress on IIS7

No Gravatar

This make an intersting read

HOW TO: wordpress on IIS7 with some extras too

http://mvolo.com/blogs/serverside/archive/2007/08/12/IIS-Authentication-plugin-for-the-Wordpress-PHP-blogging-engine.aspx

No Gravatar

The Last day …. My brain is close to melt down, so i only attened a few sessions today, Stuck some labs in the gaps to practice what we had been learning.so
Session 1, Delivering rich media with server 2008, shame the presenter could not deliver a rich presentation.
at least the new media extensions support MP3s and other file formats, there also seem to be a better level of integration between HTTP and MMS delivery of content, shame there is NO API for automatic creation of play lists in the current beta, so i may just have to pop to http:/iis.net and have a whinge..Session 2,  Q&A with the REAL IIS team, Hard core stuff but i will try to summarise what came out of the session, following many Questions from myself and a few other

IIS is no longer supported with failover clustering, a large debate ensued over why cluster instead of load balance
The ability to initiate a worker process re-cycle still requires admin, and therefore cannot be delegated, like other feature of IIS7, but ops manager may provide a solution there
There is no feature to do logging by folder for micro sites, but the integrated pipeline architecture would make it easier to write a plug in module to achieve that,
Modules can be written in managed code (.net) as well as native code (c++) and thre is a good SDK
Apparently if you install a *.domain SSL Cert you can do host-headered SSL…. ( this was available on IIS6 and something I did not know)
There is a NEW feature on Worker process timeouts, at a server level, you can enable dynamic timeouts, if the server is under stress, it will adjust the idle timeout of a worker process to free up memory. Something I picked up on though, this is a server setting, so in a shared environment where some heavy apps co-exist with lightly used apps, the session stability of the lightly used apps could suffer. Yet another excuse to go to IIS.NET and have a whinge, sorry provide constructive critisism

  

No Gravatar

Just in case anyone thinks a week at TechEd in Barcelona is a jolly, you are sadly mistaken. FIVE days of rapid fire presentations is total DATA overload, which despite the doing apparently nothing is extremely tiring.

So Day 4…..

Session 1. PHP on windows, now don’t laugh. Monday saw the release of fastCGI for windows server 2003, this is a Microsoft bolt on to run supporting CGI apps almost 15 times faster. CGI is traditionally very slow on windows due to the over head involved in creating and destroying a NEW process. CGI creates a NEW process for EVERY request. In fastCGI the process is persisted and re-used offering almost a 15 folder performance improvement. Add to that you can use asp.net forms authentication in front of the zend PHP and obtain the login credentials i may just have to try standing up a copy of Wordpress on windows, Cuz I can !!!

Session 2. IIS7 on Server core, Server core is the NEW low foot print install for windows server 2008, it is not actually a SKU, but an install option you buy standard edition licence and install CORE or Full, (I wonder if they will rebrand ARCADE edition like the XBOX 360) Core will present some interesting challenges for the “right click” boys, as there is NO GUI, it is CMD line (hooray) or remote admin. I have never fully understood why a server needs a GUI, but my first server was novell 2, Shame that server CORE does not support managed code, so you can’t install a .net frame work, which sort of cripples a windows web server

Session 3. SQL Server indexing by Kimberly Tripp, OH MY GOD, a serious session on SQL indexing and tools and scripts., using DMVs on SQL 2005, she demonstrated scripts she had created that woudl recomend index creates and index drops. the most enlightening statement she made (which made so much sense , but i had never though of it before) dont just look at the long runing queries, but run a trace over the a fully daily workload and look for common queries, shaving 50% of a query which is run 5000 times day provides better overall performance gain than looking at the long runing query which only runs a few times a day.
 

No Gravatar

Well it is actually day 5, and nearly time to go home, but i have only just found the time to to write this up
Yet another day of many sessions and information over load

Session 1. Microsoft search server, wow look like that have spent some time on this one, really cool fedarated queries etc , which being based on opensearch technology (which is fundamentally RSS) you could just add a normal RSS feed to the side of your normal search. Picture you corporate search engine has you TOP news article down the side….
I wonder if it could be tweaked into a feedburner type app by republishing RSS feeds

Session 2. missed that one and gave the IIS guys in the exhibition  hard time. Well worth it, deep dive into IIS7 and the IIS& FTP server (which is not part of server 2008, but a separate install for some reason)

Session 3. Interactive session, SQL server best practices, did not realy get much from this session, it would appear my current recommendations for SQL security in a WEB farm are pretty good

Session 4. Far too tired, for more data in take to did a LAB on server 2008


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

siliconpizza.com is using WP-Gravatar