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

2012年3月20日星期二

Discrepancy in whether SP2 is installed

I couldn't remember which computers I had already installed sp2 on so checked but one computer (running Windows Server 2003 and SQL 2005 Enterprise Edition) seems to have a discrepancy. SELECT @.@.VERSION returns (Build 3790: Service Pack 1) but the status bar shows "9.0 SP2". Thanks for any insight into this.

-Dave

Can you post the entire string for the @.@.version call? This output includes the OS service pack as well as the SQL Service pack, so my guess is that the SP1 refers to your OS SP.

Thanks,
Sam Lester (MSFT)

|||

Here it is:

Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)

Mar 23 2007 16:28:52

Copyright (c) 1988-2005 Microsoft Corporation

Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

(1 row(s) affected)

Thanks,

-Dave

|||

Yes, the first line in the @.@.VERSION call shows that you have SP2 installed.

Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)

This line shows your SQL version (3054). SP2 is build number 3042, which means you've applied SP2 and a patch on top of that (cumulative patch 3054).

The OS edition is stated in the last line:

Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

I believe that means you are running Windows 2003 SP1.

Thanks,
Sam

Discovery of instances not correct with SCOM DBCreateWizard.exe

I have a 2 node cluster active/passive 2003 SP2 cluster.
I have 4 instances
SQLSRVISPS1\SQLSRV1
SQLSRVISPS2\SQLSRV2
SQLSRVIMGMT\SQLMGMT
SQLSRVIISA\SQLISA
When I use the DBCreateWizard.Exe to create the databases for SCOM, the
instances are wrongly discovered as :
SQLSRVISPS2\SQLSRV1
SQLSRVISPS2\SQLSRV2
SQLSRVISPS2\SQLMGMT
SQLSRVISPS2\SQLISA
Has anyone an idea how I can resolve this ?
Thanks
Carla
Since that's a Microsoft application, I would just talk to the MS support to
get a fix (if it's indeed a problem).
Linchi
"Carla" wrote:

> I have a 2 node cluster active/passive 2003 SP2 cluster.
> I have 4 instances
> SQLSRVISPS1\SQLSRV1
> SQLSRVISPS2\SQLSRV2
> SQLSRVIMGMT\SQLMGMT
> SQLSRVIISA\SQLISA
> When I use the DBCreateWizard.Exe to create the databases for SCOM, the
> instances are wrongly discovered as :
> SQLSRVISPS2\SQLSRV1
> SQLSRVISPS2\SQLSRV2
> SQLSRVISPS2\SQLMGMT
> SQLSRVISPS2\SQLISA
> Has anyone an idea how I can resolve this ?
> Thanks
> --
> Carla

Disconnected Mirror / In Recovery

Hello,

I'm having a problem with two mirrored databases, using SQL Server 2005 SP2, that autmatically failed over last night for unknown reasons. I was trying to fail them back over to the primary SQL server because it says the mirror is disconnected and out of sync. Other databases failed over too, but I was able to fail those back over without a problem. It's just these two. I removed the mirror from the secondary server thinking that this would allow me to restore the database back on the primary server, but that didn't help.

These two databases show a status of (Principal, Disconnected / In Recovery) and I still cannot do anything with the two databases on the primary server. When I try to pull up the properties for them, I get the following error:

"Database <Name> is enabled for Database Mirroring, but neither the partner nor the witness server instances are available: the database cannot be opened.(Microsoft SQL Server, Error: 955)"

I cannot delete, detach, Alter or do anything with the databases. If I could just delete them that would be fine so I can just do a restore, but I can't seem to do anything.

Does anyone know what I can do to resolve this problem.

Thanks in advance!

-Jay

I was finally able to get the two databases to come back up online. I was trying so many different things, I 'm not sure which one, or combination, fixed it. But I checked the processes and there was one process running on one of the databases so I killed it. It seemed to come back right away, but after that, I was able to detach the DB. I reattached it and both of the databases came up with an online status.

I hope this helps.

-Jay

|||

This sounds similar to problems I have had (see my post below on split brain). I too had to kill connections to the principal in order to do anything to fix it, it went into recovery when I tried to remove mirroring and all users were disconnected.

I think this is very undesirable. There is no way both nodes should ever be the principal. If failover happens, it should either complete or not, there should be no half way, whatever the mode of failure.

|||

Sound like it, also mention what kind of configuration mode you are using for DB Mirroring.

As suggested referring to witness server log will helps a bit to see what is going on.

2012年3月11日星期日

disaster recovery question

sql2k sp2
Im not in the heat of a disaster but was doing some
testing regarding this topic. Say I experience total
hardward failure. I require a new box or the need to
reinstall the OS and SQL. So Im @. the point that Ive
reinstalled SQL and now Im going to restore my backups.
What Im doing currently is a full backup @. night and TLog
backups every 5 minutes. I restore the Master DB first.
Then my first user db. Now its time to restore the TLogs
for the user db. Since SQL has been reinstalled, SQL no
longer knows where my backups exist. Because of this, I
cant use the defaults in EM for restoring. I need to
switch to "From Device" instead of using "Database" next
to Restore: I then need to click Select device/add/
elipses by "file name"/ select the file/ and hit OK a
couple of times for the first TLog restore. Now I do TLog
backup for 14 hours a day. That totals to 168 backups
total. It would take me hours to specify all these one at
a time. Is there a way to tell a newly installed SQL box
where all the backups are? So that I dont have to follow
this long path for each indiviual TLog restore?
TIA, ChrisThis is a multi-part message in MIME format.
--=_NextPart_000_0169_01C3D9E2.A2C176D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Restore msdb. It keeps track of your backup history. EM uses it to
populate the GUI, allowing you to click and go.
HTH
--
Tom
---
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"chris" <anonymous@.discussions.microsoft.com> wrote in message
news:01f501c3da0c$22667ab0$a401280a@.phx.gbl...
sql2k sp2
Im not in the heat of a disaster but was doing some
testing regarding this topic. Say I experience total
hardward failure. I require a new box or the need to
reinstall the OS and SQL. So Im @. the point that Ive
reinstalled SQL and now Im going to restore my backups.
What Im doing currently is a full backup @. night and TLog
backups every 5 minutes. I restore the Master DB first.
Then my first user db. Now its time to restore the TLogs
for the user db. Since SQL has been reinstalled, SQL no
longer knows where my backups exist. Because of this, I
cant use the defaults in EM for restoring. I need to
switch to "From Device" instead of using "Database" next
to Restore: I then need to click Select device/add/
elipses by "file name"/ select the file/ and hit OK a
couple of times for the first TLog restore. Now I do TLog
backup for 14 hours a day. That totals to 168 backups
total. It would take me hours to specify all these one at
a time. Is there a way to tell a newly installed SQL box
where all the backups are? So that I dont have to follow
this long path for each indiviual TLog restore?
TIA, Chris
--=_NextPart_000_0169_01C3D9E2.A2C176D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&

Restore msdb. It keeps track of =your backup history. EM uses it to populate the GUI, allowing you to click and =go.
HTH
-- Tom
---T=homas A. Moreau, BSc, PhD, MCSE, MCDBASQL Server MVPColumnist, SQL =Server ProfessionalToronto, ON Canadahttp://www.pinnaclepublishing.com/sql">www.pinnaclepublishing.com=/sql
"chris" wrote in message news:01f501c3da0c$22=667ab0$a401280a@.phx.gbl...sql2k sp2Im not in the heat of a disaster but was doing some =testing regarding this topic. Say I experience total hardward failure. I =require a new box or the need to reinstall the OS and SQL. So Im @. the point =that Ive reinstalled SQL and now Im going to restore my backups. What Im =doing currently is a full backup @. night and TLog backups every 5 minutes. =I restore the Master DB first. Then my first user db. Now its time to =restore the TLogs for the user db. Since SQL has been reinstalled, SQL no =longer knows where my backups exist. Because of this, I cant use the =defaults in EM for restoring. I need to switch to "From Device" instead of using ="Database" next to Restore: I then need to click Select device/add/ elipses =by "file name"/ select the file/ and hit OK a couple of times for the =first TLog restore. Now I do TLog backup for 14 hours a day. That totals =to 168 backups total. It would take me hours to specify all these one at =a time. Is there a way to tell a newly installed SQL box where all the =backups are? So that I dont have to follow this long path for each indiviual =TLog restore?TIA, Chris

--=_NextPart_000_0169_01C3D9E2.A2C176D0--|||(not quite on point to your question...)
If your database gets much update action, instead of just doing transaction
log backups every 5 minutes and letting them accumulate all day long,
consider doing periodic differential backups, maybe hourly:.
Full
log
log
log...
differential
log
log
log...
differential
log
log
log...
Restore sequence becomes:
most recent full
most recent differential
any t-log backups since most recent differential.
I'm pretty sure this would restore a lot faster than restoring a full and a
day's worth of logs.
"chris" <anonymous@.discussions.microsoft.com> wrote in message
news:01f501c3da0c$22667ab0$a401280a@.phx.gbl...
> sql2k sp2
> Im not in the heat of a disaster but was doing some
> testing regarding this topic. Say I experience total
> hardward failure. I require a new box or the need to
> reinstall the OS and SQL. So Im @. the point that Ive
> reinstalled SQL and now Im going to restore my backups.
> What Im doing currently is a full backup @. night and TLog
> backups every 5 minutes. I restore the Master DB first.
> Then my first user db. Now its time to restore the TLogs
> for the user db. Since SQL has been reinstalled, SQL no
> longer knows where my backups exist. Because of this, I
> cant use the defaults in EM for restoring. I need to
> switch to "From Device" instead of using "Database" next
> to Restore: I then need to click Select device/add/
> elipses by "file name"/ select the file/ and hit OK a
> couple of times for the first TLog restore. Now I do TLog
> backup for 14 hours a day. That totals to 168 backups
> total. It would take me hours to specify all these one at
> a time. Is there a way to tell a newly installed SQL box
> where all the backups are? So that I dont have to follow
> this long path for each indiviual TLog restore?
> TIA, Chris|||Thanks Tom.
>--Original Message--
>Restore msdb. It keeps track of your backup history. EM
uses it to
>populate the GUI, allowing you to click and go.
>HTH
>--
>Tom
>----
--
>Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
>SQL Server MVP
>Columnist, SQL Server Professional
>Toronto, ON Canada
>www.pinnaclepublishing.com/sql
>
>"chris" <anonymous@.discussions.microsoft.com> wrote in
message
>news:01f501c3da0c$22667ab0$a401280a@.phx.gbl...
>sql2k sp2
>Im not in the heat of a disaster but was doing some
>testing regarding this topic. Say I experience total
>hardward failure. I require a new box or the need to
>reinstall the OS and SQL. So Im @. the point that Ive
>reinstalled SQL and now Im going to restore my backups.
>What Im doing currently is a full backup @. night and TLog
>backups every 5 minutes. I restore the Master DB first.
>Then my first user db. Now its time to restore the TLogs
>for the user db. Since SQL has been reinstalled, SQL no
>longer knows where my backups exist. Because of this, I
>cant use the defaults in EM for restoring. I need to
>switch to "From Device" instead of using "Database" next
>to Restore: I then need to click Select device/add/
>elipses by "file name"/ select the file/ and hit OK a
>couple of times for the first TLog restore. Now I do TLog
>backup for 14 hours a day. That totals to 168 backups
>total. It would take me hours to specify all these one at
>a time. Is there a way to tell a newly installed SQL box
>where all the backups are? So that I dont have to follow
>this long path for each indiviual TLog restore?
>TIA, Chris
>

2012年2月19日星期日

disable select-all from mutli-value report parameter

Is there ANY way to disable the display of select-all from the mutli-value
report parameter option in SRS 2005 SP2? We use a custom "All" option and
would like to supress the default select-all that is displayed
Thanks,
RandyOn Jul 12, 8:59 am, "Randall M. Richardson"
<microlo...@.newsgroup.nospam> wrote:
> Is there ANY way to disable the display of select-all from the mutli-value
> report parameter option in SRS 2005 SP2? We use a custom "All" option and
> would like to supress the default select-all that is displayed
> Thanks,
> Randy
As far as I know, there is not (unless, of course, you revert back to
SP1). What is the reason you can't utilize the default Select All
functionality? Normally, this option is easy to implement as long as
you have a way to loop through the result set passed to the stored
procedure/query that sources the report. Normally, I handle this via a
while loop or cursor in the SP that loads a single column temp table
and then uses "where in/not in" the temp table. Hope this is helpful.
Regards,
Enrique Martinez
Sr. Software Consultant|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||I never got a reply to my post... What is the answer? Can we disable the
default "Select All" option in SRS 2005
"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:EdYYaZFyHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi ,
> How is everything going? Please feel free to let me know if you need any
> assistance.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>|||Also, Am I in the wrong place? I thought I was supposed to get 48 hour or
less answer as an Empower ISV partner?
"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:EdYYaZFyHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> Hi ,
> How is everything going? Please feel free to let me know if you need any
> assistance.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>|||On Jul 25, 8:56 am, "Randall M. Richardson"
<microlo...@.newsgroup.nospam> wrote:
> Also, Am I in the wrong place? I thought I was supposed to get 48 hour or
> less answer as an Empower ISV partner?
> "Wei Lu [MSFT]" <we...@.online.microsoft.com> wrote in messagenews:EdYYaZFyHHA.5836@.TK2MSFTNGHUB02.phx.gbl...
> > Hi ,
> > How is everything going? Please feel free to let me know if you need any
> > assistance.
> > Sincerely,
> > Wei Lu
> > Microsoft Online Community Support
> > ==================================================> > When responding to posts, please "Reply to Group" via your newsreader so
> > that others may learn and benefit from your issue.
> > ==================================================> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
My previous response (on July 12th) was that you cannot. I offered a
work around at that time. The other question Mr. Lu will need to
address, as I am not affiliated w/Microsoft.
Regards,
Enrique Martinez
Sr. Software Consultant|||Hello Randall,
As Enrique Martinez mentioned in the previous post, you could not disable
the "Select All" unless you revert back to SP1.
He provide a workaround that you could use a SP to load a single column
temp table and then uses "where in/not in" the temp table.
Hope this helps.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.