Showing posts with label live. Show all posts
Showing posts with label live. Show all posts

Thursday, March 22, 2012

Deployment on load balanced servers.

Hi, I'm trying to solve the problem with deploying sql code on load-balanced application server.
Normally when we put new feature\fix live we take one server out of the loop, than we put new app code, we test it and then we bring it back to the loop. But we've started to have a problem when we had to change stored procedures at the same time to run the new app code, becouse either 'test' server won't work either production application won't work. I wonder is there any good solution for this problem.

Regards
Piotr.
P.S. Sorry for the forum topic but I didn't know where to put it.

what I understand is that your stored procedure signature is still the same but its implementation is changed in such a way that only the new application code can work with it. Your configuration is mulitple application servers talking to 1 SQL Server. In that case, let us say you have 10 application servers. I will take 5 (let us call them group-A) of those out of the loop, install new app code. Note, your app is still up and running though at 1/2 the capacity. you can test your group-A with another SQL Server (say the test SQL Server that has new stored procs). Once it is done, you can take other group of app servers offline (this will cause short term unavailability of your application), change the stored proc on the production SQL Server, and then bring group-A online. Now you can do the same with other set of application servers.

|||That was very helpful, but I'm more after stored procedure versioning solution. Sometimes we need old and new code running (part of requests are hitting old and other new code). Thanks in advance.|||http://weblogs.asp.net/fmarguerie/archive/2003/02/24/2880.aspx fyi.sql

Wednesday, March 21, 2012

Deployment from SQL 2000 to SQL 2005

I will be moving my website from my local dev server to the live environment soon. I've been using SQL 2000 to develop, but the live DB is SQL 2005. My app uses exclusively stored procedures for all data access.

What suprises are in store for me when I migrate the site?!

Thanks, Jamie

If you don't have any DTS, scheduled tasks to worry about. Then the migration is very straight forward, personally, I have not encounter any problems. What I did is to script the entire DB's table def, indexes, sp, udf. Then run it once on 2005.

This article contains step-by-step process:http://www.aspfree.com/c/a/MS-SQL-Server/Moving-Data-from-SQL-Server-2000-to-SQL-Server-2005/

Wednesday, March 7, 2012

Deploying Analysis Services 2000 without data

Hi there :-)

I want to deploy a complete Analysis Services database from our development server to the live server, but without archiving it and having to send a couple of gig in data!

I can't see anywhere in the Analysis Manager to just script the whole thing as i would with a SQL Server database?

The live server is on a different network maintained by a thrid party and it will be a real pain if we have to send the whole thing on disk every time we want to make a change. I am working from a local copy of the source SQL Server database.

I'm a bit of a newby so please forgive me if it's completely obvious and i have just missed it. All i want to do is get an empty copy of the whole thing with all it's (empty) cubes, change the connection to the true live source SQL Server database and then build the data there.

Please help!

Regards,

Richard

For AS2000, in Analysis Manager:

- copy-paste the database (that will only copy the object definitions, but not the data)

- archive the copy (there is a right click menu on the database item, a .cab file will be generated)

- restore on the other server (right click menu on the server item)

Adrian Dumitrascu

|||

Thanks Adrian

Wow! I had assumed the data was copied when you copy the database. This is perfect!

Thanks for the information!!

Richard

Tuesday, February 14, 2012

Deny PC Access

I would like to restrict access to our live database by the computer
name. Is this possible in SQL 2000? If so, does anyone have a
recommendation on how to do this?
Thank you!
AngieHi
You could restrict using IP address with a firewall, but it could be easily
bypassed. Using multiple subnets may be difficult to implement if you needed
some interaction between the two.
John
"angela.y.austin@.gmail.com" wrote:
> I would like to restrict access to our live database by the computer
> name. Is this possible in SQL 2000? If so, does anyone have a
> recommendation on how to do this?
> Thank you!
> Angie
>