n-tier deployment

Eduardo Lorenzo
12-05-2006, 12:48 AM
hi everyone

my issue is this:
The web application I am developing now is scheduled to be deployed following the n-tier architecture where the webpages shall reside in a webserver, the business and DAL shall be in an application server and of course the data in a database server.

I have adjusted my architecture to the best of my abilities to "fit" the n-tier architecture by:
1) Creating each layer as a separate project. I created a Solution with all of these projects inside.
2) One of the projects(Datalayer) is the datalayer/business layer, the other project is the webservice(OBPWebService) and the third project is the web layer (Interphase)
3) Interphase goes to the datalayer through the webservice (web referenced)

I believe this is as far as I can go.

Now the project is at about 85% of completion, my boss gave me three more desktops and asked me to simulate the n-tier architecture by installing the projects on each machine. and use my machine as the "client".

My first Idea, which I am going to attempt right after posting this, is to build deployment packages (one for each project) and installing them on each of the three "servers"

I really am in the dark as to how to do this and most resources I have found point to single-server deployment.

All help shall be extremely apprecieated.

Thank you in advance.

BTW.
I am using asp.net 2003, framework 1.1

wayneph
12-05-2006, 07:20 AM
I never really "deployed" a .NET 1.1 web app. I normally did all the work by hand, so I don't know how much help I can be. I just felt better knowing that I had done the configuration and knew what was going on.

As far as "deploying" the database, you basically just need to script out your objects, and run that on the database server. If you have budget, SQL Diff from Apex SQL (http://www.apexsql.com) is a really nice tool for scripting database changes.

On the other two, I'd personally just go and configure IIS on each machine, and Copy the necessary files to the server. It's not the most glorious method, but it has yet to fail me. If you want to at least partially automate it, you can create a batch file or .vbs script and tell it which files you need to copy. That may also provide you with the abilty to script something that will automatically update the config files with paths to the next components.

Eduardo Lorenzo
12-05-2006, 04:19 PM
I just got in this morning..

Yesterday I made deployment packages for each of the three projects and will try to run them on each machine.. (fingers crossed) I hope this works..

Things I am wondering about are:
1) Which port to use?
2) What do I have to change in the existing code
3) My conenction string, references, dlls..

Anyway i will keep this thread updated and wish it can help others ont he same track..

-going through my mind right now.. XCopy... Copy Folder.. XCopy.. WebSetup...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum