显示标签为“guys”的博文。显示所有博文
显示标签为“guys”的博文。显示所有博文

2012年3月8日星期四

Disaster Recovery

Hi GUYS,
I am having a very mission critical sql server 2000 database with active
passive failover cluster an d logshipping with interval of 2 minutes.
what additional disaster recovery techniques i should implement to have
99.99999 availability and
i can not afford any data loss.
Pls advice.
Rgds
Biju
Hi
Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
possible with a big big budget.
For Production, you need 2 sets of everthing with one set at a distant
location. Everthing must be vendor certified to work together, so Unisys,
IBM, HP and Dell and really your only choices. Data Center editions are
usually only certifiable for something like this.
Then have exacly the same setup for your Test enviroment, and the same again
for a development environment. Power, aircon, access control, at least 3 of
each, at each site.
Document everthing, from setup to operations to the finest detail. Have run
books, and regularly test the validity of them.
Have your architecture reviewed and certified by Microsoft and the Hardware
Vendor.
Have your application reviewed and certified by Microsoft
Have the most restrictive change control in place that, so that you can
nearly do nothing.
http://www.ftponline.com/wss/2004_11...t/default.aspx
http://www.microsoft.com/sql/techinf...ailability.asp
Super high availability is not a piece of equipment that you buy, it a whole
process that everyone has to work towards.
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bijupg@.hotmail.com" wrote:

> Hi GUYS,
> I am having a very mission critical sql server 2000 database with active
> passive failover cluster an d logshipping with interval of 2 minutes.
> what additional disaster recovery techniques i should implement to have
> 99.99999 availability and
> i can not afford any data loss.
> Pls advice.
> Rgds
> Biju
|||No such thing as guaranteed zero data loss. Even with tlog backups
every 2 minutes there is still a 2+ minute window (backup interval +
time to transmit backup file to secondary and restore) during which if
you lost your primary DB you would lose some data.
Basically the cost of the DR solution increases inversely exponentially
with the acceptable data loss window. With SAN to SAN mirroring
technology, which is very expensive in terms of disk space requirements,
bandwidth & $$$, you could probably get the data loss window down to a
second or two. When we evaluated EMC's SAN to SAN
snap/cloning/mirroring on their Clariion SAN range about 2 years ago the
technology wasn't quite ready. I expect it's probably improved a bit
since then but I'm still skeptical about SAN black magic (especially
since DB consistency can be a bit touchy when you don't go through the
approved RDBMS server processes).
The main problem we had with the technology a couple years ago was the
fact that it really needed synchronous comms between the 2 SANs. Since
we were looking at SANs in 2 geographically separated data centres the
latency between SANs over a typical IP network (on UTP for instance)
would mean every write on our primary SAN would be delayed for 10-30ms
while the data committed on the secondary SAN too (that's way too much
for every SAN write). The only solution was fibre between the 2 data
centres and over about 7km that was far too expensive.
DR is all a balance between acceptable data loss, time to recovery & the
amount of money you're willing to spend on the solution. It sounds like
you're already protecting your data pretty well. Five 9s is
theoretically about 5 minutes downtime per year. Half a dozen cluster
failovers over the course of the year in order to apply Windows hotfixes
to your cluster nodes will pretty much blow your five 9s margin. It's a
good target to aim for but one only the richest companies can attain.
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
bijupg@.hotmail.com wrote:

>Hi GUYS,
>I am having a very mission critical sql server 2000 database with active
>passive failover cluster an d logshipping with interval of 2 minutes.
>what additional disaster recovery techniques i should implement to have
>99.99999 availability and
>i can not afford any data loss.
>Pls advice.
>Rgds
>Biju
>
|||is it agood idea to replace harddisks in raid 10 to avoid any possible data
corruption?
"Mike Epprecht (SQL MVP)" wrote:
[vbcol=seagreen]
> Hi
> Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
> possible with a big big budget.
> For Production, you need 2 sets of everthing with one set at a distant
> location. Everthing must be vendor certified to work together, so Unisys,
> IBM, HP and Dell and really your only choices. Data Center editions are
> usually only certifiable for something like this.
> Then have exacly the same setup for your Test enviroment, and the same again
> for a development environment. Power, aircon, access control, at least 3 of
> each, at each site.
> Document everthing, from setup to operations to the finest detail. Have run
> books, and regularly test the validity of them.
> Have your architecture reviewed and certified by Microsoft and the Hardware
> Vendor.
> Have your application reviewed and certified by Microsoft
> Have the most restrictive change control in place that, so that you can
> nearly do nothing.
> http://www.ftponline.com/wss/2004_11...t/default.aspx
> http://www.microsoft.com/sql/techinf...ailability.asp
> Super high availability is not a piece of equipment that you buy, it a whole
> process that everyone has to work towards.
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
>
> "bijupg@.hotmail.com" wrote:
|||RAID 1+0 is a good fit for SQL Server data disks but it will not protect
against all data corruption issues. It will minimize the chance for data
loss due to disk hardware issues but cannot protect against a controller
failure or an Operating System problem. As Mike said; availability is a
process, not an piece of equipment.
Geoff N. Hiten
Microsoft SQL Server MVP
"bijupg@.hotmail.com" <bijupghotmailcom@.discussions.microsoft.com> wrote in
message news:5F2A5F0C-D565-43D6-AB19-64467990E0D9@.microsoft.com...[vbcol=seagreen]
> is it agood idea to replace harddisks in raid 10 to avoid any possible
> data
> corruption?
>
> "Mike Epprecht (SQL MVP)" wrote:

Disaster Recovery

Hi GUYS,
I am having a very mission critical sql server 2000 database with active
passive failover cluster an d logshipping with interval of 2 minutes.
what additional disaster recovery techniques i should implement to have
99.99999 availability and
i can not afford any data loss.
Pls advice.
Rgds
BijuHi
Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
possible with a big big budget.
For Production, you need 2 sets of everthing with one set at a distant
location. Everthing must be vendor certified to work together, so Unisys,
IBM, HP and Dell and really your only choices. Data Center editions are
usually only certifiable for something like this.
Then have exacly the same setup for your Test enviroment, and the same again
for a development environment. Power, aircon, access control, at least 3 of
each, at each site.
Document everthing, from setup to operations to the finest detail. Have run
books, and regularly test the validity of them.
Have your architecture reviewed and certified by Microsoft and the Hardware
Vendor.
Have your application reviewed and certified by Microsoft
Have the most restrictive change control in place that, so that you can
nearly do nothing.
http://www.ftponline.com/wss/2004_1...st/default.aspx
http://www.microsoft.com/sql/techin...vailability.asp
Super high availability is not a piece of equipment that you buy, it a whole
process that everyone has to work towards.
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bijupg@.hotmail.com" wrote:

> Hi GUYS,
> I am having a very mission critical sql server 2000 database with active
> passive failover cluster an d logshipping with interval of 2 minutes.
> what additional disaster recovery techniques i should implement to have
> 99.99999 availability and
> i can not afford any data loss.
> Pls advice.
> Rgds
> Biju|||No such thing as guaranteed zero data loss. Even with tlog backups
every 2 minutes there is still a 2+ minute window (backup interval +
time to transmit backup file to secondary and restore) during which if
you lost your primary DB you would lose some data.
Basically the cost of the DR solution increases inversely exponentially
with the acceptable data loss window. With SAN to SAN mirroring
technology, which is very expensive in terms of disk space requirements,
bandwidth & $$$, you could probably get the data loss window down to a
second or two. When we evaluated EMC's SAN to SAN
snap/cloning/mirroring on their Clariion SAN range about 2 years ago the
technology wasn't quite ready. I expect it's probably improved a bit
since then but I'm still skeptical about SAN black magic (especially
since DB consistency can be a bit touchy when you don't go through the
approved RDBMS server processes).
The main problem we had with the technology a couple years ago was the
fact that it really needed synchronous comms between the 2 SANs. Since
we were looking at SANs in 2 geographically separated data centres the
latency between SANs over a typical IP network (on UTP for instance)
would mean every write on our primary SAN would be delayed for 10-30ms
while the data committed on the secondary SAN too (that's way too much
for every SAN write). The only solution was fibre between the 2 data
centres and over about 7km that was far too expensive.
DR is all a balance between acceptable data loss, time to recovery & the
amount of money you're willing to spend on the solution. It sounds like
you're already protecting your data pretty well. Five 9s is
theoretically about 5 minutes downtime per year. Half a dozen cluster
failovers over the course of the year in order to apply Windows hotfixes
to your cluster nodes will pretty much blow your five 9s margin. It's a
good target to aim for but one only the richest companies can attain.
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
bijupg@.hotmail.com wrote:

>Hi GUYS,
>I am having a very mission critical sql server 2000 database with active
>passive failover cluster an d logshipping with interval of 2 minutes.
>what additional disaster recovery techniques i should implement to have
>99.99999 availability and
>i can not afford any data loss.
>Pls advice.
>Rgds
>Biju
>|||is it agood idea to replace harddisks in raid 10 to avoid any possible data
corruption?
"Mike Epprecht (SQL MVP)" wrote:
[vbcol=seagreen]
> Hi
> Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
> possible with a big big budget.
> For Production, you need 2 sets of everthing with one set at a distant
> location. Everthing must be vendor certified to work together, so Unisys,
> IBM, HP and Dell and really your only choices. Data Center editions are
> usually only certifiable for something like this.
> Then have exacly the same setup for your Test enviroment, and the same aga
in
> for a development environment. Power, aircon, access control, at least 3 o
f
> each, at each site.
> Document everthing, from setup to operations to the finest detail. Have ru
n
> books, and regularly test the validity of them.
> Have your architecture reviewed and certified by Microsoft and the Hardwar
e
> Vendor.
> Have your application reviewed and certified by Microsoft
> Have the most restrictive change control in place that, so that you can
> nearly do nothing.
> http://www.ftponline.com/wss/2004_1...st/default.aspx
> http://www.microsoft.com/sql/techin...vailability.asp
> Super high availability is not a piece of equipment that you buy, it a who
le
> process that everyone has to work towards.
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
>
> "bijupg@.hotmail.com" wrote:
>|||RAID 1+0 is a good fit for SQL Server data disks but it will not protect
against all data corruption issues. It will minimize the chance for data
loss due to disk hardware issues but cannot protect against a controller
failure or an Operating System problem. As Mike said; availability is a
process, not an piece of equipment.
Geoff N. Hiten
Microsoft SQL Server MVP
"bijupg@.hotmail.com" <bijupghotmailcom@.discussions.microsoft.com> wrote in
message news:5F2A5F0C-D565-43D6-AB19-64467990E0D9@.microsoft.com...[vbcol=seagreen]
> is it agood idea to replace harddisks in raid 10 to avoid any possible
> data
> corruption?
>
> "Mike Epprecht (SQL MVP)" wrote:
>

Disaster Recovery

Hi GUYS,
I am having a very mission critical sql server 2000 database with active
passive failover cluster an d logshipping with interval of 2 minutes.
what additional disaster recovery techniques i should implement to have
99.99999 availability and
i can not afford any data loss.
Pls advice.
Rgds
BijuHi
Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
possible with a big big budget.
For Production, you need 2 sets of everthing with one set at a distant
location. Everthing must be vendor certified to work together, so Unisys,
IBM, HP and Dell and really your only choices. Data Center editions are
usually only certifiable for something like this.
Then have exacly the same setup for your Test enviroment, and the same again
for a development environment. Power, aircon, access control, at least 3 of
each, at each site.
Document everthing, from setup to operations to the finest detail. Have run
books, and regularly test the validity of them.
Have your architecture reviewed and certified by Microsoft and the Hardware
Vendor.
Have your application reviewed and certified by Microsoft
Have the most restrictive change control in place that, so that you can
nearly do nothing.
http://www.ftponline.com/wss/2004_11/magazine/features/nruest/default.aspx
http://www.microsoft.com/sql/techinfo/administration/2000/availability.asp
Super high availability is not a piece of equipment that you buy, it a whole
process that everyone has to work towards.
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bijupg@.hotmail.com" wrote:
> Hi GUYS,
> I am having a very mission critical sql server 2000 database with active
> passive failover cluster an d logshipping with interval of 2 minutes.
> what additional disaster recovery techniques i should implement to have
> 99.99999 availability and
> i can not afford any data loss.
> Pls advice.
> Rgds
> Biju|||This is a multi-part message in MIME format.
--040907010300030705010102
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
No such thing as guaranteed zero data loss. Even with tlog backups
every 2 minutes there is still a 2+ minute window (backup interval +
time to transmit backup file to secondary and restore) during which if
you lost your primary DB you would lose some data.
Basically the cost of the DR solution increases inversely exponentially
with the acceptable data loss window. With SAN to SAN mirroring
technology, which is very expensive in terms of disk space requirements,
bandwidth & $$$, you could probably get the data loss window down to a
second or two. When we evaluated EMC's SAN to SAN
snap/cloning/mirroring on their Clariion SAN range about 2 years ago the
technology wasn't quite ready. I expect it's probably improved a bit
since then but I'm still skeptical about SAN black magic (especially
since DB consistency can be a bit touchy when you don't go through the
approved RDBMS server processes).
The main problem we had with the technology a couple years ago was the
fact that it really needed synchronous comms between the 2 SANs. Since
we were looking at SANs in 2 geographically separated data centres the
latency between SANs over a typical IP network (on UTP for instance)
would mean every write on our primary SAN would be delayed for 10-30ms
while the data committed on the secondary SAN too (that's way too much
for every SAN write). The only solution was fibre between the 2 data
centres and over about 7km that was far too expensive.
DR is all a balance between acceptable data loss, time to recovery & the
amount of money you're willing to spend on the solution. It sounds like
you're already protecting your data pretty well. Five 9s is
theoretically about 5 minutes downtime per year. Half a dozen cluster
failovers over the course of the year in order to apply Windows hotfixes
to your cluster nodes will pretty much blow your five 9s margin. It's a
good target to aim for but one only the richest companies can attain.
--
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
bijupg@.hotmail.com wrote:
>Hi GUYS,
>I am having a very mission critical sql server 2000 database with active
>passive failover cluster an d logshipping with interval of 2 minutes.
>what additional disaster recovery techniques i should implement to have
>99.99999 availability and
>i can not afford any data loss.
>Pls advice.
>Rgds
>Biju
>
--040907010300030705010102
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>No such thing as guaranteed zero data loss. Even with tlog backups
every 2 minutes there is still a 2+ minute window (backup interval +
time to transmit backup file to secondary and restore) during which if
you lost your primary DB you would lose some data.<br>
<br>
Basically the cost of the DR solution increases inversely exponentially
with the acceptable data loss window. With SAN to SAN mirroring
technology, which is very expensive in terms of disk space
requirements, bandwidth & $$$, you could probably get the data loss
window down to a second or two. When we evaluated EMC's SAN to SAN
snap/cloning/mirroring on their Clariion SAN range about 2 years ago
the technology wasn't quite ready. I expect it's probably improved a
bit since then but I'm still skeptical about SAN black magic
(especially since DB consistency can be a bit touchy when you don't go
through the approved RDBMS server processes).<br>
<br>
The main problem we had with the technology a couple years ago was the
fact that it really needed synchronous comms between the 2 SANs. Since
we were looking at SANs in 2 geographically separated data centres the
latency between SANs over a typical IP network (on UTP for instance)
would mean every write on our primary SAN would be delayed for 10-30ms
while the data committed on the secondary SAN too (that's way too much
for every SAN write). The only solution was fibre between the 2 data
centres and over about 7km that was far too expensive.<br>
<br>
DR is all a balance between acceptable data loss, time to recovery
& the amount of money you're willing to spend on the solution. It
sounds like you're already protecting your data pretty well. Five 9s
is theoretically about 5 minutes downtime per year. Half a dozen
cluster failovers over the course of the year in order to apply Windows
hotfixes to your cluster nodes will pretty much blow your five 9s
margin. It's a good target to aim for but one only the richest
companies can attain. <br>
</tt>
<div class="moz-signature">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<p><span lang="en-au"><font face="Tahoma" size="2">--<br>
</font> </span><b><span lang="en-au"><font face="Tahoma" size="2">mike
hodgson</font></span></b><span lang="en-au"> <font face="Tahoma"
size="2">|</font><i><font face="Tahoma"> </font><font face="Tahoma"
size="2"> database administrator</font></i><font face="Tahoma" size="2">
| mallesons</font><font face="Tahoma"> </font><font face="Tahoma"
size="2">stephen</font><font face="Tahoma"> </font><font face="Tahoma"
size="2"> jaques</font><font face="Tahoma"><br>
</font><b><font face="Tahoma" size="2">T</font></b><font face="Tahoma"
size="2"> +61 (2) 9296 3668 |</font><b><font face="Tahoma"> </font><font
face="Tahoma" size="2"> F</font></b><font face="Tahoma" size="2"> +61
(2) 9296 3885 |</font><b><font face="Tahoma"> </font><font
face="Tahoma" size="2">M</font></b><font face="Tahoma" size="2"> +61
(408) 675 907</font><br>
<b><font face="Tahoma" size="2">E</font></b><font face="Tahoma" size="2">
<a href="http://links.10026.com/?link=mailto:mike.hodgson@.mallesons.nospam.com">
mailto:mike.hodgson@.mallesons.nospam.com</a> |</font><b><font
face="Tahoma"> </font><font face="Tahoma" size="2">W</font></b><font
face="Tahoma" size="2"> <a href="http://links.10026.com/?link=/">http://www.mallesons.com">
http://www.mallesons.com</a></font></span> </p>
</div>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://links.10026.com/?link=mailto:bijupg@.hotmail.com">bijupg@.hotmail.com</a> wrote:
<blockquote cite="midD390CB5E-2AF0-476F-9E11-718D159B74DC@.microsoft.com"
type="cite">
<pre wrap="">Hi GUYS,
I am having a very mission critical sql server 2000 database with active
passive failover cluster an d logshipping with interval of 2 minutes.
what additional disaster recovery techniques i should implement to have
99.99999 availability and
i can not afford any data loss.
Pls advice.
Rgds
Biju
</pre>
</blockquote>
</body>
</html>
--040907010300030705010102--|||is it agood idea to replace harddisks in raid 10 to avoid any possible data
corruption?
"Mike Epprecht (SQL MVP)" wrote:
> Hi
> Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
> possible with a big big budget.
> For Production, you need 2 sets of everthing with one set at a distant
> location. Everthing must be vendor certified to work together, so Unisys,
> IBM, HP and Dell and really your only choices. Data Center editions are
> usually only certifiable for something like this.
> Then have exacly the same setup for your Test enviroment, and the same again
> for a development environment. Power, aircon, access control, at least 3 of
> each, at each site.
> Document everthing, from setup to operations to the finest detail. Have run
> books, and regularly test the validity of them.
> Have your architecture reviewed and certified by Microsoft and the Hardware
> Vendor.
> Have your application reviewed and certified by Microsoft
> Have the most restrictive change control in place that, so that you can
> nearly do nothing.
> http://www.ftponline.com/wss/2004_11/magazine/features/nruest/default.aspx
> http://www.microsoft.com/sql/techinfo/administration/2000/availability.asp
> Super high availability is not a piece of equipment that you buy, it a whole
> process that everyone has to work towards.
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
>
> "bijupg@.hotmail.com" wrote:
> > Hi GUYS,
> > I am having a very mission critical sql server 2000 database with active
> > passive failover cluster an d logshipping with interval of 2 minutes.
> > what additional disaster recovery techniques i should implement to have
> > 99.99999 availability and
> > i can not afford any data loss.
> > Pls advice.
> > Rgds
> > Biju|||RAID 1+0 is a good fit for SQL Server data disks but it will not protect
against all data corruption issues. It will minimize the chance for data
loss due to disk hardware issues but cannot protect against a controller
failure or an Operating System problem. As Mike said; availability is a
process, not an piece of equipment.
Geoff N. Hiten
Microsoft SQL Server MVP
"bijupg@.hotmail.com" <bijupghotmailcom@.discussions.microsoft.com> wrote in
message news:5F2A5F0C-D565-43D6-AB19-64467990E0D9@.microsoft.com...
> is it agood idea to replace harddisks in raid 10 to avoid any possible
> data
> corruption?
>
> "Mike Epprecht (SQL MVP)" wrote:
>> Hi
>> Most compnaies will not get better than 99.9, maybe, 99.99, but 99.999 is
>> possible with a big big budget.
>> For Production, you need 2 sets of everthing with one set at a distant
>> location. Everthing must be vendor certified to work together, so Unisys,
>> IBM, HP and Dell and really your only choices. Data Center editions are
>> usually only certifiable for something like this.
>> Then have exacly the same setup for your Test enviroment, and the same
>> again
>> for a development environment. Power, aircon, access control, at least 3
>> of
>> each, at each site.
>> Document everthing, from setup to operations to the finest detail. Have
>> run
>> books, and regularly test the validity of them.
>> Have your architecture reviewed and certified by Microsoft and the
>> Hardware
>> Vendor.
>> Have your application reviewed and certified by Microsoft
>> Have the most restrictive change control in place that, so that you can
>> nearly do nothing.
>> http://www.ftponline.com/wss/2004_11/magazine/features/nruest/default.aspx
>> http://www.microsoft.com/sql/techinfo/administration/2000/availability.asp
>> Super high availability is not a piece of equipment that you buy, it a
>> whole
>> process that everyone has to work towards.
>> --
>> Mike Epprecht, Microsoft SQL Server MVP
>> Zurich, Switzerland
>> MVP Program: http://www.microsoft.com/mvp
>> Blog: http://www.msmvps.com/epprecht/
>>
>> "bijupg@.hotmail.com" wrote:
>> > Hi GUYS,
>> > I am having a very mission critical sql server 2000 database with
>> > active
>> > passive failover cluster an d logshipping with interval of 2 minutes.
>> > what additional disaster recovery techniques i should implement to have
>> > 99.99999 availability and
>> > i can not afford any data loss.
>> > Pls advice.
>> > Rgds
>> > Biju

2012年2月25日星期六

Disabling JavaScript for report shown in ASP.Net ReportViewer

Hey guys,
I could not figure out a way how to disable rendering using JavaScript when
displaying a report in ReportViewer (ASP.Net). I need to render for browser
with JavaScript disabled. Is there a way to pass those URL parameters to the
report or so? I didn't see where.
Thanks, ChristophYou can do it by using any rendering extentions, but HTML4.0,
but you'd loose all interactive features of the report and report's
pagination.
You'll have to build your own pagination.
"Christoph Wienands" <christoph.wienands@.siemens.remove.com> wrote in
message news:OYPKzrLEGHA.1312@.TK2MSFTNGP09.phx.gbl...
> Hey guys,
> I could not figure out a way how to disable rendering using JavaScript
> when displaying a report in ReportViewer (ASP.Net). I need to render for
> browser with JavaScript disabled. Is there a way to pass those URL
> parameters to the report or so? I didn't see where.
> Thanks, Christoph
>|||Hey Oleg,
> You can do it by using any rendering extentions, but HTML4.0,
> but you'd loose all interactive features of the report and report's
> pagination.
> You'll have to build your own pagination.
Thanks for your help. As far as I know, if I use URL access with something
like this
http://localhost/reportserver?%2fReports%2fMyReport&ReportingPeriod=20054&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=False&rc:JavaScript=False&rc:Toolbar=True
I get a report with:
1) Toolbar and paging support
2) No parameters showing
3) No JavaScript, it's all plain HTML <-- and that's the feature I need
The ReportViewer control has a couple properties like ShowToolbar or
ShowParameterPrompts where I can control #1 and 2. However, there is no
property for #3.
Anybody any idea?
Thanks, Christoph|||The toolbar is controlled by Javascript, once you set ..&rc:Toolbar=True..
it disables it and no javascript present.
You need to write your own code to simulate paging and a toolbar using the
web service approach.
Not too difficult to do.
"Christoph Wienands" <christoph.wienands@.siemens.remove.com> wrote in
message news:%23b1RozTEGHA.828@.TK2MSFTNGP10.phx.gbl...
> Hey Oleg,
>> You can do it by using any rendering extentions, but HTML4.0,
>> but you'd loose all interactive features of the report and report's
>> pagination.
>> You'll have to build your own pagination.
> Thanks for your help. As far as I know, if I use URL access with something
> like this
> http://localhost/reportserver?%2fReports%2fMyReport&ReportingPeriod=20054&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=False&rc:JavaScript=False&rc:Toolbar=True
> I get a report with:
> 1) Toolbar and paging support
> 2) No parameters showing
> 3) No JavaScript, it's all plain HTML <-- and that's the feature I need
> The ReportViewer control has a couple properties like ShowToolbar or
> ShowParameterPrompts where I can control #1 and 2. However, there is no
> property for #3.
> Anybody any idea?
> Thanks, Christoph
>|||"Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
news:eFo1cCVEGHA.1424@.TK2MSFTNGP12.phx.gbl...
> The toolbar is controlled by Javascript, once you set ..&rc:Toolbar=True..
> it disables it and no javascript present.
> You need to write your own code to simulate paging and a toolbar using the
> web service approach.
> Not too difficult to do.
Hey Oleg,
now I understand. Thanks for the hint. I didn't realize that JavaScript was
coupled with the toolbar. Since most of our reports are single pages reports
anyway I probably won't even have to do the paging.
Christoph

2012年2月19日星期日

Disable sp_MSadd_merge_history

Hi Guys,
I'm currently running a dynamic snapshot replication over a 56k modem. I
have built the snapshot and inserted the snapshot file to a USB key and
applying the snapshot from the USB Key. The problem I am encountering is
that, for every script file that is applied to the local database this sp
get fired to the Head Office server exec sp_MSadd_merge_history, is there
anyway I can disable this for an install as I can't take the server with us.
I dialup to the head office server so authentication can take place, but the
exec sp_MSadd_merge_history is slowing things down a lot.
Thanks Tim.
no, this proc is necessary for tracking information.
"Tim Ford" <tford@.in2focusnospam.com> wrote in message
news:u1mlBUdMEHA.3664@.TK2MSFTNGP10.phx.gbl...
> Hi Guys,
> I'm currently running a dynamic snapshot replication over a 56k modem. I
> have built the snapshot and inserted the snapshot file to a USB key and
> applying the snapshot from the USB Key. The problem I am encountering is
> that, for every script file that is applied to the local database this sp
> get fired to the Head Office server exec sp_MSadd_merge_history, is there
> anyway I can disable this for an install as I can't take the server with
us.
> I dialup to the head office server so authentication can take place, but
the
> exec sp_MSadd_merge_history is slowing things down a lot.
> Thanks Tim.
>

2012年2月14日星期二

Disable Generate Scripts on Database

Hi guys, is it possible to disable database generate scripts for certain users? I would like to restrict it for security purposes while they able to get into the db and their role like the db owner. Hope can any assistance from you guys. Thanks a lot.

Best Regards,

Hans

You can't do it directly; but there is a workaround there.

1. Add the user in Master database

2. Select the db_denydatareader & db_denydatawriter role

3. Deny execute permission of the sp_helptext & etc.. for the given user

|||Thx for the reply Manivannan.D.Sekaran, however it seems not working at all.|||

If you don't want your users to have access to the definitions of your Stored Procs, Views, Triggers etc... then you could always re-create the procs with the WITH ENCRYPTION option - just ensure that you store copies of the original scripts in a source control database.

Chris

|||

Hans1982 wrote:

Thx for the reply Manivannan.D.Sekaran, however it seems not working at all. I wish to create a login for developer that able modify things within the db but cant backup/restore db, generate the whole db scripts and unable to execute 'Script table as' feature.

|||Thx for the reply,Chris. However, I just wish to the developer unable to generate the db scripts or table scripts for preventing the db structure bring out from the office.|||

I can't think of away of doing this other than taking SSMS away from the developers, which would obviously be counter-productive. I guess you could always write your own version of SSMS if this is a big issue for you.

The problem is that the 'Script table as' option directly queries system tables and views that are essential to the running of SQL Server and SSMS. Although you can deny permissions on these objects, doing so is likely to have wide implications.

Why do you need to restrict access to the 'Script table as' functionality?

Chris

|||For preventing the db structure bring out from the office.|||

Any developer who has enough knowledge of SQL Server's system tables and views would be able to generate their own scripts to reconstruct the structure without using 'Script As'.

Perhaps you need to look at ways of preventing people from copying / emailing script files from work PCs. Even then there's nothing to stop someone printing out a database diagram and taking it home, or even resorting to copying the structure using more traditional techniques, such as pen and paper.

If your database schema is of such high value then maybe you should address (at least) the above issues and add confidentiality clauses into your developers' contracts. Either that or simply don't allow the people you don't trust to work on your databases.

Chris

|||

I see. I guess that's the only solution for that issue because it seems no way to disable the SMO. Thanks for the good advice, Chris. Have a nice day.

Best Regards,

Hans