473,378 Members | 1,555 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Working with live data..danger

Hi,
Not sure I am in the right place here but thought I would ask an open
question. We have an IIS website, mainly ASP files, .NET 1 & 2, this
is located in our DMZ. It connects back into the LAN using using port
1433 to our SQL 2000 server.

As the Sysadmin I try to ensure our development team only work on the
development SQL & IIS boxes but this is becoming more difficult by the
day. Very soon I am moving the production servers to a data center so
obviously any problems would cause extensive downtiume due to
distances I have to travel..

How do you all deal with the developer idea that you must work on live
servers during working hours? My view is that any bugfixes or software
release's should be carried out out of business hours, but I seem to
be hiting a brick wall as I am on my own..

Cheers

Oct 17 '07 #1
9 1712
You can setup a test site that will run a copy of the production code
connected to a copy of the production database. Once changes are tested
there, they can be deployed to production in after hours.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"gstar" <ga********@gmail.comwrote in message
news:11**********************@e9g2000prf.googlegro ups.com...
Hi,
Not sure I am in the right place here but thought I would ask an open
question. We have an IIS website, mainly ASP files, .NET 1 & 2, this
is located in our DMZ. It connects back into the LAN using using port
1433 to our SQL 2000 server.

As the Sysadmin I try to ensure our development team only work on the
development SQL & IIS boxes but this is becoming more difficult by the
day. Very soon I am moving the production servers to a data center so
obviously any problems would cause extensive downtiume due to
distances I have to travel..

How do you all deal with the developer idea that you must work on live
servers during working hours? My view is that any bugfixes or software
release's should be carried out out of business hours, but I seem to
be hiting a brick wall as I am on my own..

Cheers

Oct 17 '07 #2
"gstar" <ga********@gmail.comwrote in message
news:11**********************@e9g2000prf.googlegro ups.com...
How do you all deal with the developer idea that you must work on live
servers during working hours? My view is that any bugfixes or software
release's should be carried out out of business hours, but I seem to
be hiting a brick wall as I am on my own..
I have three environments: dev, test and live.

Developers don't need to work on live servers - they may, however, need to
work on real data, in which case synchronise the live database(s) with the
dev and/or test database(s) at the beginning of the working day.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 17 '07 #3
I have three environments: dev, test and live.

Developers don't need to work on live servers - they may, however, need to
work on real data, in which case synchronise the live database(s) with the
dev and/or test database(s) at the beginning of the working day.

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
Thankyou for you replies.
I too have dev, staging & live enviroment, thats what makes it so
annoying! They say if the MD needs a report in the middle of the day
or a customer rings in with a bug, it needs fixing on live right then!

I like the idea of synchronising the live data to the staging server,
is it easy to achieve, is that possible over the WAN? As you can see
we dont have a DBA so I am trying to firefight here! I also dont want
to sync the structure, just the data?

Again thankyou for your time, I know you must have answered questions
like this before..
Oct 17 '07 #4
"gstar" <ga********@gmail.comwrote in message
news:11********************@y27g2000pre.googlegrou ps.com...
They say if the MD needs a report in the middle of the day
That's not a bug, though! Why can't the MD use the live system...?
or a customer rings in with a bug, it needs fixing on live right then!
No! Staging and live must be running the same code, right? Otherwise there's
no point.

You really need to stand your ground here, and say the following:

If a customer rings in with a bug, it needs fixing on dev, testing on
staging and then deploying to live. If you can't deploy to your live system
during business hours, then you most certainly can't bug fix on your live
system either...

If your management is unable to see the rationale for this, then I strongly
suggest you look for another job. Hacking about with live systems is a sure
recipe for disaster - and when the disaster inevitably happens, who do you
think will get the blame...?
I like the idea of synchronising the live data to the staging server,
is it easy to achieve, is that possible over the WAN?
Sure - why not? You just need a tool which can connect to both your live
database(s) and your staging database(s). I use this:
http://www.teratrax.com/. This is also very popular:
http://www.red-gate.com/index.htm?gc...FRoGEgodyUi6eg, but it's
a bit more expensive. You can even write your own tool in raw T-SQL if
you're really strapped for cash, but why reinvent the wheel...?
As you can see we dont have a DBA so I am trying to firefight here!
In the words of Tom Jones, it's not unusual... :-)
I also dont want to sync the structure, just the data?
Both the products I mention above will do that.
Again thankyou for your time, I know you must have answered questions
like this before..
All part of the service... :-)
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 17 '07 #5
As Mark indicated, I wish I had a dollar for every time a disaster happened
because some developer was "fixing" something on a production web site and
they blew it because their fix didn't go through a sane testing process.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"gstar" wrote:
Hi,
Not sure I am in the right place here but thought I would ask an open
question. We have an IIS website, mainly ASP files, .NET 1 & 2, this
is located in our DMZ. It connects back into the LAN using using port
1433 to our SQL 2000 server.

As the Sysadmin I try to ensure our development team only work on the
development SQL & IIS boxes but this is becoming more difficult by the
day. Very soon I am moving the production servers to a data center so
obviously any problems would cause extensive downtiume due to
distances I have to travel..

How do you all deal with the developer idea that you must work on live
servers during working hours? My view is that any bugfixes or software
release's should be carried out out of business hours, but I seem to
be hiting a brick wall as I am on my own..

Cheers

Oct 17 '07 #6
All comments taken on board and appreciated, it has helped me to
decide our approach and given me some much needed confidence that I am
doing the right thing!!

I really like the Teratrax product, have tested and it does the job
brilliantly. I cant see a method to automate this to occur each day at
a certain time and sync the servers without any input, will look
further into it later, but do you know if thats possible?

Ta

Oct 17 '07 #7
"gstar" <ga********@gmail.comwrote in message
news:11**********************@q5g2000prf.googlegro ups.com...
I really like the Teratrax product, have tested and it does the job
brilliantly. I cant see a method to automate this to occur each day at
a certain time and sync the servers without any input, will look
further into it later, but do you know if thats possible?
Ah, no - I don't think so...

This type of tool really is really aimed at ad-hoc development tasks rather
than regular and scheduled production tasks.

Luckily, though, if you need regular replication between production and
staging, then SQL Server already has this built-in:
http://www.google.co.uk/search?sourc...22+replication
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 17 '07 #8
Ah, no - I don't think so...
>
This type of tool really is really aimed at ad-hoc development tasks rather
than regular and scheduled production tasks.

Luckily, though, if you need regular replication between production and
staging, then SQL Server already has this built-in:http://www.google.co.uk/search?sourc...-GB&ie=UTF-8&r...

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
OK, I guess I could run it manually each week to uopdate the data
locally. I have however run into a few problems so I may also try Red-
Gate, on the first DB I attempted to synch it reported that out of 47
tables 23 had no primary key so could do anything with it!. I have
asked the dev team why, but they shrugged their shoulders.. Helpful
eh?

Cheers

Gary
Oct 18 '07 #9
"gstar" <ga********@gmail.comwrote in message
news:11**********************@i13g2000prf.googlegr oups.com...
OK, I guess I could run it manually each week to uopdate the data
locally.
As mentioned, these are very much tools for ad-hoc work. Once I've set up
the various tasks (TeraTrax calls them "projects"), I only ever run them on
a need basis... For regular synchronisation, I use replication - that's what
it's for...
I have however run into a few problems so I may also try Red-
Gate, on the first DB I attempted to synch it reported that out of 47
tables 23 had no primary key so could do anything with it!. I have
asked the dev team why, but they shrugged their shoulders.. Helpful
eh?
You're wasting your time with this company...

I suggest you show your boss this thread...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 18 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Guy Hocking | last post by:
Hi there, I am having trouble with an ASP login that uses sessions to control access to certain pages. However the sessions are not being carried accross upon using response.redirect. I realise...
1
by: ifmusic | last post by:
I have This Code. Token.c: typedef struct { unsigned char orden; char ciudad; unsigned char ip; //que son del router Asociado a la ciudad unsigned int puerto; // """ //int socket; }Ciudad;
2
by: Tim Haughton | last post by:
The F Keys have stopped working in Visual Studio 2005 after installing SP1. Anyone else seen this? Any know of a resolution? Cheers, Tim
2
by: Asif | last post by:
Hi all, Can any one help me out about how to do live video streaming in asp.net page similar to YouTube.com? Thanks a lot Asif
2
by: Vijay | last post by:
Hi, I am working on an Asp.net 2.0 web application that uses master pages, according to our application architecture we should not use Viewstate. Is there a work around to raise the events fired...
1
by: =?Utf-8?B?Qm9yaXM=?= | last post by:
I am running Win 2003 Server with IIS 6.0. I have installed .Net Frameworks 1.1, 2.0 and 3.5. However, if I create a new ASP.Net Web App using Visual Studio 2008 and specify Framework 3.5 to be...
3
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm unable to debug websites. For some reason my visual studio is not stopping on break points. Has this happened to anyone else. I'm on vista and vs2k5 -- (i''ll be asking a lot of these, but I...
2
by: Erik Lautier | last post by:
I've got Page_Error emailing me the message and stack trace when a server error is generated, but it doesn't always work. My Page_Error code: Sub Page_Error(ByVal src As Object, ByVal args As...
2
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
Have a complex process where I need to Import a large amount of data then run some transformations on this data then import into DataBase. The transformation involves multiple fields and multiple...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.