Showing posts with label running. Show all posts
Showing posts with label running. Show all posts

Friday, March 30, 2012

New to SQL and need help

I am running a program that was created in VB that takes data from a
scanned file and inserts it into our database. We have the column
student id as the primary key and it is decremented every time it goes
through the program so they are each unique and never overlap. The
program has been working fine but recently when I run it I get a
primary key violation. I thought that the identity might have gotten
out of sync and tried CheckIdent but still no luck. I came to find
out that the primary key does not have an identity and so I am not
sure why it will not let me insert the data.It is just that the value you are trying to insert already exists.

--
Posted via http://dbforums.com|||I've looked at the table that I am trying to insert into and did a query
for numbers that overlapped and it returned nothing.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!|||Hightower130 (bowens@.webebi.com) writes:
> I am running a program that was created in VB that takes data from a
> scanned file and inserts it into our database. We have the column
> student id as the primary key and it is decremented every time it goes
> through the program so they are each unique and never overlap. The
> program has been working fine but recently when I run it I get a
> primary key violation. I thought that the identity might have gotten
> out of sync and tried CheckIdent but still no luck. I came to find
> out that the primary key does not have an identity and so I am not
> sure why it will not let me insert the data.

And since I don't see your database, your input file, your VB code etc,
neither can I tell what went wrong.

It is possible that if you posted some code that it would help, but
since you have the existing data, and the problem appears to be
reproducible - how about debugging it?

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

New to SQL 2000 Reporting Services - Need Some Help

I am trying to get SQL 2000 reporting services up and running, and am trying to get a condensed explanation of what I need to do, and any other software I may need to purchase.

I have already installed the Reporting Services, and after reading the help, it seems that I have to install MS Visual Studio 2003 in order to design the reports. Is this true.

Anyone that can give me some help in getting this up and running - I would be grateful.

Thanks so much - Joe

This is correct, to design reports there is an extension project system that is available for VS 2003, you must install VS and then re-run Reporting Services Setup so it can install the client bits.

SQL Server 2005 does not require you to buy a copy of VS as it includes a cut down copy. To design reports for SQL 2005 you need VS 2005, the versions don't cross over.

sql

Wednesday, March 28, 2012

New to Analysis Services. Some general questions

Hi everyone,

I am running a complex reporting system on SQL Reporting Services and I think that analysis services may provide some benifits, however as I am new to it, i could use a little guidance.

Basically I am reporting on a huge volume of very granular information. Because there is so much data we prune the system such that at any point it only reflects 30 days worth of information. Because of this, I can't really run reports to look at statistical information or trends over time (say 6 months to a year).

I was wondering, would it be possible to take certain information from the database before it is pruned and store this seperately to be used by Analysis services to report on long term trend data? Can analysis services do something like this?

Any help or advice would be appreciated!

Kind regards
Taz

Analysis services will use your detailed information only when the cube is processed. After that the cube is a separate, multidimensional structure with aggregations designed above your data source leaf level.

Be aware of a problem with designing cubes from report systems. Do not use more than 10-15 dimensions in the cube. Report applications can often have more than this.

I recommend building a star schema. You can see that in the Adventure works DW db that is part of the samples in the SQL Server 2005 installation. You can also find information about star schemas here(www.kimballgroup.com). Star scemas can be built by using views.

HTH

Thomas Ivarsson

Monday, March 26, 2012

New Sysadmin cannot stop SQL instance...

Currently, I'm running SQL Server 2000 on Windows 2000
Advanced Server. I created a new Windows user who is not
in the Administrators group. Then, I entered into the SQL
instance's properties and changed the startup account to
be this new user's credentials. As a result, SQL created a
login for this new user and added him to the System
Administrators server role. When I log into the system as
this new user, I'm able to start the instance but I'm not
able to stop it. I don't understand this behavior since a
System administrator has SHUTDOWN privileges. Any
assistance is greatly appreciated.
Sincerely,
ABGYou will need to give the user rights to start/stop services.
Many dbas have administrative access on the windows boxes
used as sql servers.
"ABG" <abimael.garcia@.unisys.com> wrote in message
news:060501c34a59$86410a20$a101280a@.phx.gbl...
> Currently, I'm running SQL Server 2000 on Windows 2000
> Advanced Server. I created a new Windows user who is not
> in the Administrators group. Then, I entered into the SQL
> instance's properties and changed the startup account to
> be this new user's credentials. As a result, SQL created a
> login for this new user and added him to the System
> Administrators server role. When I log into the system as
> this new user, I'm able to start the instance but I'm not
> able to stop it. I don't understand this behavior since a
> System administrator has SHUTDOWN privileges. Any
> assistance is greatly appreciated.
> Sincerely,
> ABG
>|||Thank you for your response. I'm using Windows 2000
Advanced Server and I don't see the user right (start/stop
service). I do see (Logon as a service) and the user
already has that privilege. I purposely don't want to make
this user an administrator of the system but I do want him
to be able to shutdown the SQL Server instance. Do you
have any other suggestions?
>--Original Message--
>You will need to give the user rights to start/stop
services.
>Many dbas have administrative access on the windows boxes
>used as sql servers.
>"ABG" <abimael.garcia@.unisys.com> wrote in message
>news:060501c34a59$86410a20$a101280a@.phx.gbl...
>> Currently, I'm running SQL Server 2000 on Windows 2000
>> Advanced Server. I created a new Windows user who is not
>> in the Administrators group. Then, I entered into the
SQL
>> instance's properties and changed the startup account to
>> be this new user's credentials. As a result, SQL
created a
>> login for this new user and added him to the System
>> Administrators server role. When I log into the system
as
>> this new user, I'm able to start the instance but I'm
not
>> able to stop it. I don't understand this behavior since
a
>> System administrator has SHUTDOWN privileges. Any
>> assistance is greatly appreciated.
>> Sincerely,
>> ABG
>
>.
>|||Unfortunately I don't know what rights you need to assign, but
would question why you believe you cannot trust the person
responsible for corporate data with your network.
"ABG" <abimael.garcia@.unisys.com> wrote in message
news:017201c34bb9$248932b0$a301280a@.phx.gbl...
> Thank you for your response. I'm using Windows 2000
> Advanced Server and I don't see the user right (start/stop
> service). I do see (Logon as a service) and the user
> already has that privilege. I purposely don't want to make
> this user an administrator of the system but I do want him
> to be able to shutdown the SQL Server instance. Do you
> have any other suggestions?
>
>
>
> >--Original Message--
> >You will need to give the user rights to start/stop
> services.
> >
> >Many dbas have administrative access on the windows boxes
> >used as sql servers.
> >
> >"ABG" <abimael.garcia@.unisys.com> wrote in message
> >news:060501c34a59$86410a20$a101280a@.phx.gbl...
> >>
> >> Currently, I'm running SQL Server 2000 on Windows 2000
> >> Advanced Server. I created a new Windows user who is not
> >> in the Administrators group. Then, I entered into the
> SQL
> >> instance's properties and changed the startup account to
> >> be this new user's credentials. As a result, SQL
> created a
> >> login for this new user and added him to the System
> >> Administrators server role. When I log into the system
> as
> >> this new user, I'm able to start the instance but I'm
> not
> >> able to stop it. I don't understand this behavior since
> a
> >> System administrator has SHUTDOWN privileges. Any
> >> assistance is greatly appreciated.
> >> Sincerely,
> >> ABG
> >>
> >
> >
> >.
> >|||This is purely for testing and research purposes. I'm
trying to determine security best practices for multiple
SQL instance scenarios. In a SQL consolidation case,
politics becomes an issue: one department owns one
instance and another department may govern another. So,
internal security and isolated administration becomes an
issue. Basically, I was trying to setup a case where there
are completely separate sysadmins for each instance
inwhich they cannot affect the operations of the other
instances i.e. startup/shutdown the other instances.
I wanted a sysadmin of an instance to be able to
perform all tasks on his instance including
startup/shutdown. But I didn't want that sysadmin to have
full administrative rights on the whole system. Now it
appears that he must be an Administrator of the system in
order to do this. And this is very interesting because by
default the Builtin\Administrators windows group is added
to the System Administrators role. Therefore, if all
sysadmin users from all instances are also a part of the
Administrators windows group then they can essentially
perform administrative activities on the other instances.
And this is what I'm trying to prevent. Thank you for all
your help.
Sincerely,
ABG
>--Original Message--
>Unfortunately I don't know what rights you need to
assign, but
>would question why you believe you cannot trust the person
>responsible for corporate data with your network.
>"ABG" <abimael.garcia@.unisys.com> wrote in message
>news:017201c34bb9$248932b0$a301280a@.phx.gbl...
>> Thank you for your response. I'm using Windows 2000
>> Advanced Server and I don't see the user right
(start/stop
>> service). I do see (Logon as a service) and the user
>> already has that privilege. I purposely don't want to
make
>> this user an administrator of the system but I do want
him
>> to be able to shutdown the SQL Server instance. Do you
>> have any other suggestions?
>>
>>
>>
>> >--Original Message--
>> >You will need to give the user rights to start/stop
>> services.
>> >
>> >Many dbas have administrative access on the windows
boxes
>> >used as sql servers.
>> >
>> >"ABG" <abimael.garcia@.unisys.com> wrote in message
>> >news:060501c34a59$86410a20$a101280a@.phx.gbl...
>> >>
>> >> Currently, I'm running SQL Server 2000 on Windows
2000
>> >> Advanced Server. I created a new Windows user who is
not
>> >> in the Administrators group. Then, I entered into the
>> SQL
>> >> instance's properties and changed the startup
account to
>> >> be this new user's credentials. As a result, SQL
>> created a
>> >> login for this new user and added him to the System
>> >> Administrators server role. When I log into the
system
>> as
>> >> this new user, I'm able to start the instance but I'm
>> not
>> >> able to stop it. I don't understand this behavior
since
>> a
>> >> System administrator has SHUTDOWN privileges. Any
>> >> assistance is greatly appreciated.
>> >> Sincerely,
>> >> ABG
>> >>
>> >
>> >
>> >.
>> >
>
>.
>

New Subscriptions Not Running

Hello,
I am running Microsoft SQL Server 2000.
For some reason all of the sudden any subscription I make in reporting
services will not run.
The status just stays at "New Subscription". I made a test schedule
that runs every 5 minutes.
I have even added old subscriptions to this schedule and I get email
every 5 minutes. Why would any new subscription I make not be running?
I don't even get an error message under the status heading in the
subscription list.
Thanks,
JeffJeffrae wrote:
> Hello,
> I am running Microsoft SQL Server 2000.
> For some reason all of the sudden any subscription I make in reporting
> services will not run.
> The status just stays at "New Subscription". I made a test schedule
> that runs every 5 minutes.
> I have even added old subscriptions to this schedule and I get email
> every 5 minutes. Why would any new subscription I make not be running?
>
> I don't even get an error message under the status heading in the
> subscription list.
>
> Thanks,
> Jeff
Ok... Here is something that I forgot to mention.. This is actually a
big thing.. I recently upgraded my computer so had to migrate the SQL
server and reporting services.. All of the existing reports run like a
charm.. I just can not get any new ones to run..
Thanks,
Jeff|||Jeffrae wrote:
> Jeffrae wrote:
> > Hello,
> >
> > I am running Microsoft SQL Server 2000.
> >
> > For some reason all of the sudden any subscription I make in reporting
> > services will not run.
> >
> > The status just stays at "New Subscription". I made a test schedule
> > that runs every 5 minutes.
> >
> > I have even added old subscriptions to this schedule and I get email
> > every 5 minutes. Why would any new subscription I make not be running?
> >
> >
> > I don't even get an error message under the status heading in the
> > subscription list.
> >
> >
> > Thanks,
> > Jeff
> Ok... Here is something that I forgot to mention.. This is actually a
> big thing.. I recently upgraded my computer so had to migrate the SQL
> server and reporting services.. All of the existing reports run like a
> charm.. I just can not get any new ones to run..
> Thanks,
> Jeff
Is there another newsgroup that I may want to post this question in?
Thanks,
Jeff

New Subscriptions

When I go to the "My Subscriptions" screem in the Report Manager, I don't get a "New Subscription" option.

I am running SQL Server 2005 Developer's version, as a domain administrator with every role function enabled.

How do I get access to this functionality?

The option is not within "My Subscriptions". You have to have clicked on a report and you will see the option to create a new subscription there.

|||Thanks. Your reply was very helpful. I could have wandered around for hours looking for that.|||I am glad that I was able to help and save you some time!sql

new stored procedures created as type system instead of user

I am running SQL 2000 SP4. When I create a new stored procedure it is
being created as type system instead of user. How can I make it so
every new sp I create is type user instead of system? Thanks in
advance.Hi
"ginarunco@.hotmail.com" wrote:

> I am running SQL 2000 SP4. When I create a new stored procedure it is
> being created as type system instead of user. How can I make it so
> every new sp I create is type user instead of system? Thanks in
> advance.
>
Run DBCC TRACESTATUS ( 1717 )
If the flag is on, run
EXEC sp_MS_upd_sysobj_category 2
Check the SQL Server Startup parameters to make sure it doesn't turn this
trace flag on at startup.
John

new stored procedures created as type system instead of user

I am running SQL 2000 SP4. When I create a new stored procedure it is
being created as type system instead of user. How can I make it so
every new sp I create is type user instead of system? Thanks in
advance.
Hi
"ginarunco@.hotmail.com" wrote:

> I am running SQL 2000 SP4. When I create a new stored procedure it is
> being created as type system instead of user. How can I make it so
> every new sp I create is type user instead of system? Thanks in
> advance.
>
Run DBCC TRACESTATUS ( 1717 )
If the flag is on, run
EXEC sp_MS_upd_sysobj_category 2
Check the SQL Server Startup parameters to make sure it doesn't turn this
trace flag on at startup.
John
sql

new stored procedures created as type system instead of user

I am running SQL 2000 SP4. When I create a new stored procedure it is
being created as type system instead of user. How can I make it so
every new sp I create is type user instead of system? Thanks in
advance.Hi
"ginarunco@.hotmail.com" wrote:
> I am running SQL 2000 SP4. When I create a new stored procedure it is
> being created as type system instead of user. How can I make it so
> every new sp I create is type user instead of system? Thanks in
> advance.
>
Run DBCC TRACESTATUS ( 1717 )
If the flag is on, run
EXEC sp_MS_upd_sysobj_category 2
Check the SQL Server Startup parameters to make sure it doesn't turn this
trace flag on at startup.
John

Friday, March 23, 2012

New SQL Server registration from internet

Hello,
I have two SQL 2K server, both are running fine with public IP address.
i.e.
Server #1: 100.100.100.101
Server #2: 200.200.200.202
I use SQL Server #1 Client Network Utility to create an Alias i.e. SQL2.
The alias has the ip 200.200.200.202 and port 1433
Then I use SQL Server #1 Enterprise Manager to register SQL2 with SQL Server
authentication. (login name: sa and password)
Then I got the following error message:
"SQL2 - SQL Server does not exist or access denied. Connection(Connect("
Thanks
Try to see if connectivity is possible at all - ie register the IP address
in enterprise manager and see it this works on its own.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||No,
Can not register IP address or Alias.
Thanks
"Paul Ibison" wrote:

> Try to see if connectivity is possible at all - ie register the IP address
> in enterprise manager and see it this works on its own.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
|||But I can ping each other.
Thanks
"Paul Ibison" wrote:

> Try to see if connectivity is possible at all - ie register the IP address
> in enterprise manager and see it this works on its own.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
|||Check on the server whose IP address is being registered, using the server
network utility, to confirm that port 1433 is being used.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||Hello,
There is no IP address is being registered.
Yes, the port is 1433
Thanks
"Paul Ibison" wrote:

> Check on the server whose IP address is being registered, using the server
> network utility, to confirm that port 1433 is being used.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
>
|||My guess is that there is a firewall between the computers which hasn't got
port 1433 open.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||Hello,
How to check the port 1433 is open or not?
One server is behind Cisco 1720 router with direct IP address.
One server is behind DSL router, I forward port 21, 80, and 1433 to this
server.
I try to use FTP and Web, and I don't have any problem.
Thanks
"Paul Ibison" wrote:

> My guess is that there is a firewall between the computers which hasn't got
> port 1433 open.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
>
>
|||It seems you have some sort of network problem rather than a replication
issue, as you can ping the server, but using the same IP address and port
1433 fails at the registration level, even before replication is set up.
Sorry - I doubt I can help you directly much more with this. In my case I
have a network guy that checks the firewall logs to ensure that port 1433
traffic passes from one server to the other through the firewall - maybe you
can have the same done.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||Which group should I post to ask the question?
Thanks a lot!!!
"Paul Ibison" wrote:

> It seems you have some sort of network problem rather than a replication
> issue, as you can ping the server, but using the same IP address and port
> 1433 fails at the registration level, even before replication is set up.
> Sorry - I doubt I can help you directly much more with this. In my case I
> have a network guy that checks the firewall logs to ensure that port 1433
> traffic passes from one server to the other through the firewall - maybe you
> can have the same done.
> Rgds,
> Paul Ibison SQL Server MVP, www.replicationanswers.com/default.asp
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
>
>
>

New SQL Server Registration failure

Hi,

I have 3 SQL Servers running here. Here are their configurations:

SERVER 1:
OS: Windows 2000 SP 4
SQL: SQL Server 2000 SP 4

SERVER 2:
OS: Windows 2000 SP 4
SQL: SQL Server 2000 SP 4

SERVER 3:
OS: Windows XP Professionnal
SQL: SQL Server 2000 SP 3

Now, as you can see, SERVER 1 and SERVER 2 have identical configurations. Plus, both will accept Windows Authentication and SQL Authentication.

If I try to add a new Registration from SERVER 3 to SERVER 1, it works fine but from SERVER 3 to SERVER 2 it doesn't. I always get an error (SQL Server does not exist or access denied). But, using the exact same user name and password, a connection can be established from SERVER 1 to SERVER 2 and vice-versa. Only when trying to connect froms SERVER 3 to SERVER 2 fails.

Any ideas?

Thanks,

Skip.I thought we only have sp3a in sql 2000. Where did you get the sp4?|||Originally posted by joejcheng
I thought we only have sp3a in sql 2000. Where did you get the sp4?

I don't know, I'm not the sysadmin responsible for updating software. It's just what is says in the about menu option.

Skip.

New SQL Server Install Advice

I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
containers as the machine has a PERC 4 controller. The machine has x2 73GB
SCSI and x4 146GB SCSI HDD.
Container 1
--
The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which has
56GB free.
Container 2
--
A D drive for Data I created and also L for Log which I assigned as dynamic
drives.
Is this setup Ok for running SQL2000. The Data files will reside in D and
the Log files will reside in L. Is this Ok for the read/write access that
occurs when SQL is accessed?
Please help.
skcI assume there is at least one processor and some memory on the server as
well.
It will work. It depends on what performance, capacity, and availability
you are needing.
"Skc" <Skc@.discussions.microsoft.com> wrote in message
news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
>I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
> containers as the machine has a PERC 4 controller. The machine has x2
> 73GB
> SCSI and x4 146GB SCSI HDD.
> Container 1
> --
> The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which
> has
> 56GB free.
> Container 2
> --
> A D drive for Data I created and also L for Log which I assigned as
> dynamic
> drives.
> Is this setup Ok for running SQL2000. The Data files will reside in D and
> the Log files will reside in L. Is this Ok for the read/write access that
> occurs when SQL is accessed?
> Please help.
> skc|||Xeon 2.8 x2 and 2GB RAM.
We want max. performance. Is this OK?
Furthermore, I installed SQL2000 and it came with 4 CDs:
1> SQL 2000 Standard (Personal)
2> SQL 2000 Standard
3> SP4
4> Reporting Tools
I installed Disk #1, asked me no product key, I selected 5 CALS from the
dropdown (which was how many I bought) and that was it. I have the SQL
Service running and the SQL Tools (enterprise manager). What is the
difference between the 2 Cds mentioned above?
In Enterprise Manager, when I right-click the (local) Server, it says I have
Microsoft SQL Server Std Edition installed. This is very odd, I hope I have
done this right as it did not ask for a serial product key or anything.
Please verify the above it OK.
"Danny" wrote:

> I assume there is at least one processor and some memory on the server as
> well.
> It will work. It depends on what performance, capacity, and availability
> you are needing.
> "Skc" <Skc@.discussions.microsoft.com> wrote in message
> news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
>
>

New SQL Server Install Advice

I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
containers as the machine has a PERC 4 controller. The machine has x2 73GB
SCSI and x4 146GB SCSI HDD.
Container 1
The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which has
56GB free.
Container 2
A D drive for Data I created and also L for Log which I assigned as dynamic
drives.
Is this setup Ok for running SQL2000. The Data files will reside in D and
the Log files will reside in L. Is this Ok for the read/write access that
occurs when SQL is accessed?
Please help.
skc
I assume there is at least one processor and some memory on the server as
well.
It will work. It depends on what performance, capacity, and availability
you are needing.
"Skc" <Skc@.discussions.microsoft.com> wrote in message
news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
>I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
> containers as the machine has a PERC 4 controller. The machine has x2
> 73GB
> SCSI and x4 146GB SCSI HDD.
> Container 1
> --
> The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which
> has
> 56GB free.
> Container 2
> --
> A D drive for Data I created and also L for Log which I assigned as
> dynamic
> drives.
> Is this setup Ok for running SQL2000. The Data files will reside in D and
> the Log files will reside in L. Is this Ok for the read/write access that
> occurs when SQL is accessed?
> Please help.
> skc
|||Xeon 2.8 x2 and 2GB RAM.
We want max. performance. Is this OK?
Furthermore, I installed SQL2000 and it came with 4 CDs:
1> SQL 2000 Standard (Personal)
2> SQL 2000 Standard
3> SP4
4> Reporting Tools
I installed Disk #1, asked me no product key, I selected 5 CALS from the
dropdown (which was how many I bought) and that was it. I have the SQL
Service running and the SQL Tools (enterprise manager). What is the
difference between the 2 Cds mentioned above?
In Enterprise Manager, when I right-click the (local) Server, it says I have
Microsoft SQL Server Std Edition installed. This is very odd, I hope I have
done this right as it did not ask for a serial product key or anything.
Please verify the above it OK.
"Danny" wrote:

> I assume there is at least one processor and some memory on the server as
> well.
> It will work. It depends on what performance, capacity, and availability
> you are needing.
> "Skc" <Skc@.discussions.microsoft.com> wrote in message
> news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
>
>

New SQL Server Install Advice

I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
containers as the machine has a PERC 4 controller. The machine has x2 73GB
SCSI and x4 146GB SCSI HDD.
Container 1
--
The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which has
56GB free.
Container 2
--
A D drive for Data I created and also L for Log which I assigned as dynamic
drives.
Is this setup Ok for running SQL2000. The Data files will reside in D and
the Log files will reside in L. Is this Ok for the read/write access that
occurs when SQL is accessed?
Please help.
skcI assume there is at least one processor and some memory on the server as
well.
It will work. It depends on what performance, capacity, and availability
you are needing.
"Skc" <Skc@.discussions.microsoft.com> wrote in message
news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
>I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
> containers as the machine has a PERC 4 controller. The machine has x2
> 73GB
> SCSI and x4 146GB SCSI HDD.
> Container 1
> --
> The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which
> has
> 56GB free.
> Container 2
> --
> A D drive for Data I created and also L for Log which I assigned as
> dynamic
> drives.
> Is this setup Ok for running SQL2000. The Data files will reside in D and
> the Log files will reside in L. Is this Ok for the read/write access that
> occurs when SQL is accessed?
> Please help.
> skc|||Xeon 2.8 x2 and 2GB RAM.
We want max. performance. Is this OK?
Furthermore, I installed SQL2000 and it came with 4 CDs:
1> SQL 2000 Standard (Personal)
2> SQL 2000 Standard
3> SP4
4> Reporting Tools
I installed Disk #1, asked me no product key, I selected 5 CALS from the
dropdown (which was how many I bought) and that was it. I have the SQL
Service running and the SQL Tools (enterprise manager). What is the
difference between the 2 Cds mentioned above?
In Enterprise Manager, when I right-click the (local) Server, it says I have
Microsoft SQL Server Std Edition installed. This is very odd, I hope I have
done this right as it did not ask for a serial product key or anything.
Please verify the above it OK.
"Danny" wrote:
> I assume there is at least one processor and some memory on the server as
> well.
> It will work. It depends on what performance, capacity, and availability
> you are needing.
> "Skc" <Skc@.discussions.microsoft.com> wrote in message
> news:46CDFADB-7AC6-4719-B0A8-8154D6977397@.microsoft.com...
> >I have a new Dell PowerEdge 2800 running windows 2003. I have 2 RAID
> > containers as the machine has a PERC 4 controller. The machine has x2
> > 73GB
> > SCSI and x4 146GB SCSI HDD.
> >
> > Container 1
> > --
> > The OS C drive (partition of 12GB) is in RAID 1 and so is E drive which
> > has
> > 56GB free.
> >
> > Container 2
> > --
> > A D drive for Data I created and also L for Log which I assigned as
> > dynamic
> > drives.
> >
> > Is this setup Ok for running SQL2000. The Data files will reside in D and
> > the Log files will reside in L. Is this Ok for the read/write access that
> > occurs when SQL is accessed?
> >
> > Please help.
> >
> > skc
>
>

New SQL Server Install

We just went through a catastrophic failure of an Oracle database. This
database was running on a server with a RAID 5 installed. One of the disks
was having read/write errors. When we pulled the disk from the array to
have the hot spare kick in, the Oracle server failed and it took a lot of
effort to get it back. (I hate oracle).
We are moving to SQL Server 2005 and want to avoid this problem. I have
been asked to get the specs for a cluster. I have been reading up on the
clustering, but came across Transaction Log Shipping. I know that the
Transaction Log shipping does not have an automatic fail over, but it will
move the transaction log to another server and provide another server we can
use for reporting and in the event of a failure on the main server, we could
use the other server until we can bring it up on line.
What in your opinion would be a better solution, cluster or transaction log
shipping? All of our programs will be using this data, and it is important
to recover from a disaster like this as quickly as possible. The cost of
clustering may be preventative, so I would like your input for those who
have used one or both methods for pros and cons. Thanks.
JohnSince you are using SQL Server 2005, consider database mirroring. You don't
need the fancy hardware that clustering does and failover is very quick -
and can be automatic. Also, you can do a database snapshot on the mirror
and use it for reporting.
--
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau
"John Wright" <riley_wrightx@.hotmail.com> wrote in message
news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
We just went through a catastrophic failure of an Oracle database. This
database was running on a server with a RAID 5 installed. One of the disks
was having read/write errors. When we pulled the disk from the array to
have the hot spare kick in, the Oracle server failed and it took a lot of
effort to get it back. (I hate oracle).
We are moving to SQL Server 2005 and want to avoid this problem. I have
been asked to get the specs for a cluster. I have been reading up on the
clustering, but came across Transaction Log Shipping. I know that the
Transaction Log shipping does not have an automatic fail over, but it will
move the transaction log to another server and provide another server we can
use for reporting and in the event of a failure on the main server, we could
use the other server until we can bring it up on line.
What in your opinion would be a better solution, cluster or transaction log
shipping? All of our programs will be using this data, and it is important
to recover from a disaster like this as quickly as possible. The cost of
clustering may be preventative, so I would like your input for those who
have used one or both methods for pros and cons. Thanks.
John|||Isn't SQL Server Enterprise edition the only edition that allows for
snapshots? We plan on using Standard Edition which will support two
clusters.
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
> Since you are using SQL Server 2005, consider database mirroring. You
> don't
> need the fancy hardware that clustering does and failover is very quick -
> and can be automatic. Also, you can do a database snapshot on the mirror
> and use it for reporting.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> https://mvp.support.microsoft.com/profile/Tom.Moreau
>
> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
> We just went through a catastrophic failure of an Oracle database. This
> database was running on a server with a RAID 5 installed. One of the disks
> was having read/write errors. When we pulled the disk from the array to
> have the hot spare kick in, the Oracle server failed and it took a lot of
> effort to get it back. (I hate oracle).
> We are moving to SQL Server 2005 and want to avoid this problem. I have
> been asked to get the specs for a cluster. I have been reading up on the
> clustering, but came across Transaction Log Shipping. I know that the
> Transaction Log shipping does not have an automatic fail over, but it will
> move the transaction log to another server and provide another server we
> can
> use for reporting and in the event of a failure on the main server, we
> could
> use the other server until we can bring it up on line.
> What in your opinion would be a better solution, cluster or transaction
> log
> shipping? All of our programs will be using this data, and it is
> important
> to recover from a disaster like this as quickly as possible. The cost of
> clustering may be preventative, so I would like your input for those who
> have used one or both methods for pros and cons. Thanks.
> John
>
>|||Yes, EE is required for database snapshots. Mirroring is available for SE but only on sync mode and
only one REDO thread.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"John Wright" <riley_wrightx@.hotmail.com> wrote in message
news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
> Isn't SQL Server Enterprise edition the only edition that allows for snapshots? We plan on using
> Standard Edition which will support two clusters.
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You don't
>> need the fancy hardware that clustering does and failover is very quick -
>> and can be automatic. Also, you can do a database snapshot on the mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it will
>> move the transaction log to another server and provide another server we can
>> use for reporting and in the event of a failure on the main server, we could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction log
>> shipping? All of our programs will be using this data, and it is important
>> to recover from a disaster like this as quickly as possible. The cost of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>|||Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
2-node clusters - not "two clusters". It depends on where you want to put
your money and what your needs are. When it comes to High Availability
(HA), then you often have to go to Ent Ed. If you want clustering and have
only 2 nodes, then you can get away with Std Ed, but clustering hardware is
usually a bit more expensive and a little trickier to set up. Mirroring
will work on regular hardware and can go between dissimilar platforms.
Automatic failover, though is available in the Ent Ed.
When it comes to reporting, snapshots are your friend. Log shipping is fine
for HA, but you can't report off of the destination DB.
--
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau
"John Wright" <riley_wrightx@.hotmail.com> wrote in message
news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
Isn't SQL Server Enterprise edition the only edition that allows for
snapshots? We plan on using Standard Edition which will support two
clusters.
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
> Since you are using SQL Server 2005, consider database mirroring. You
> don't
> need the fancy hardware that clustering does and failover is very quick -
> and can be automatic. Also, you can do a database snapshot on the mirror
> and use it for reporting.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> https://mvp.support.microsoft.com/profile/Tom.Moreau
>
> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
> We just went through a catastrophic failure of an Oracle database. This
> database was running on a server with a RAID 5 installed. One of the disks
> was having read/write errors. When we pulled the disk from the array to
> have the hot spare kick in, the Oracle server failed and it took a lot of
> effort to get it back. (I hate oracle).
> We are moving to SQL Server 2005 and want to avoid this problem. I have
> been asked to get the specs for a cluster. I have been reading up on the
> clustering, but came across Transaction Log Shipping. I know that the
> Transaction Log shipping does not have an automatic fail over, but it will
> move the transaction log to another server and provide another server we
> can
> use for reporting and in the event of a failure on the main server, we
> could
> use the other server until we can bring it up on line.
> What in your opinion would be a better solution, cluster or transaction
> log
> shipping? All of our programs will be using this data, and it is
> important
> to recover from a disaster like this as quickly as possible. The cost of
> clustering may be preventative, so I would like your input for those who
> have used one or both methods for pros and cons. Thanks.
> John
>
>|||> Log shipping is fine
> for HA, but you can't report off of the destination DB.
Well, you can if you do the restores using STANDBY. But you'd have to kick out the users each time
you want to do the next restore. Which means that you really ... can't use a log shipped database
for reporting ;-).
(Just wanted to mention this before anyone else say "You can". )
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:uy0aAMfXIHA.1188@.TK2MSFTNGP04.phx.gbl...
> Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
> 2-node clusters - not "two clusters". It depends on where you want to put
> your money and what your needs are. When it comes to High Availability
> (HA), then you often have to go to Ent Ed. If you want clustering and have
> only 2 nodes, then you can get away with Std Ed, but clustering hardware is
> usually a bit more expensive and a little trickier to set up. Mirroring
> will work on regular hardware and can go between dissimilar platforms.
> Automatic failover, though is available in the Ent Ed.
> When it comes to reporting, snapshots are your friend. Log shipping is fine
> for HA, but you can't report off of the destination DB.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> https://mvp.support.microsoft.com/profile/Tom.Moreau
>
> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
> news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
> Isn't SQL Server Enterprise edition the only edition that allows for
> snapshots? We plan on using Standard Edition which will support two
> clusters.
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You
>> don't
>> need the fancy hardware that clustering does and failover is very quick -
>> and can be automatic. Also, you can do a database snapshot on the mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it will
>> move the transaction log to another server and provide another server we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>
>|||Low-end clusters have definitely gotten cheaper over the past few years.
Look at some of the dual-socket HP stuff and you can put together a good,
stable, basic cluster for under six figures.
--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:uy0aAMfXIHA.1188@.TK2MSFTNGP04.phx.gbl...
> Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
> 2-node clusters - not "two clusters". It depends on where you want to put
> your money and what your needs are. When it comes to High Availability
> (HA), then you often have to go to Ent Ed. If you want clustering and
> have
> only 2 nodes, then you can get away with Std Ed, but clustering hardware
> is
> usually a bit more expensive and a little trickier to set up. Mirroring
> will work on regular hardware and can go between dissimilar platforms.
> Automatic failover, though is available in the Ent Ed.
> When it comes to reporting, snapshots are your friend. Log shipping is
> fine
> for HA, but you can't report off of the destination DB.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> https://mvp.support.microsoft.com/profile/Tom.Moreau
>
> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
> news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
> Isn't SQL Server Enterprise edition the only edition that allows for
> snapshots? We plan on using Standard Edition which will support two
> clusters.
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You
>> don't
>> need the fancy hardware that clustering does and failover is very quick -
>> and can be automatic. Also, you can do a database snapshot on the mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the
>> disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it
>> will
>> move the transaction log to another server and provide another server we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>
>|||Waaaaaay back in 2000, we created our own jobs to logship and only had the
restore command run every 8 hours. All the files were there, and we could
catch the whole thing up in about 20 minutes if the primary went down, but
it was a reporting server all day :)
Same thing could be done here if Log Shipping was desired, as well as
reporting. May not be the most glamorous solution, but it works...
--
Kevin3NF
SQL Server dude
You want fries with that?
http://kevin3nf.blogspot.com/
I only check the newsgroups during work hours, M-F.
Hit my blog and the contact links if necessary...I may be available.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:0875841B-779E-4639-9C7F-31D19FCF060A@.microsoft.com...
>> Log shipping is fine
>> for HA, but you can't report off of the destination DB.
> Well, you can if you do the restores using STANDBY. But you'd have to kick
> out the users each time you want to do the next restore. Which means that
> you really ... can't use a log shipped database for reporting ;-).
> (Just wanted to mention this before anyone else say "You can". )
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:uy0aAMfXIHA.1188@.TK2MSFTNGP04.phx.gbl...
>> Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
>> 2-node clusters - not "two clusters". It depends on where you want to
>> put
>> your money and what your needs are. When it comes to High Availability
>> (HA), then you often have to go to Ent Ed. If you want clustering and
>> have
>> only 2 nodes, then you can get away with Std Ed, but clustering hardware
>> is
>> usually a bit more expensive and a little trickier to set up. Mirroring
>> will work on regular hardware and can go between dissimilar platforms.
>> Automatic failover, though is available in the Ent Ed.
>> When it comes to reporting, snapshots are your friend. Log shipping is
>> fine
>> for HA, but you can't report off of the destination DB.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
>> Isn't SQL Server Enterprise edition the only edition that allows for
>> snapshots? We plan on using Standard Edition which will support two
>> clusters.
>>
>> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
>> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You
>> don't
>> need the fancy hardware that clustering does and failover is very
>> quick -
>> and can be automatic. Also, you can do a database snapshot on the
>> mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the
>> disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot
>> of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on
>> the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it
>> will
>> move the transaction log to another server and provide another server we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost
>> of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>>
>>
>|||Yeah, I figured I'd give him the "short answer". Of course, if you want,
you can have the log shipping sync on a daily schedule and use STANDBY.
That could be a poor man's way of doing mirroring with a daily snapshot.
--
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:0875841B-779E-4639-9C7F-31D19FCF060A@.microsoft.com...
> Log shipping is fine
> for HA, but you can't report off of the destination DB.
Well, you can if you do the restores using STANDBY. But you'd have to kick
out the users each time
you want to do the next restore. Which means that you really ... can't use a
log shipped database
for reporting ;-).
(Just wanted to mention this before anyone else say "You can". )
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:uy0aAMfXIHA.1188@.TK2MSFTNGP04.phx.gbl...
> Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
> 2-node clusters - not "two clusters". It depends on where you want to put
> your money and what your needs are. When it comes to High Availability
> (HA), then you often have to go to Ent Ed. If you want clustering and
have
> only 2 nodes, then you can get away with Std Ed, but clustering hardware
is
> usually a bit more expensive and a little trickier to set up. Mirroring
> will work on regular hardware and can go between dissimilar platforms.
> Automatic failover, though is available in the Ent Ed.
> When it comes to reporting, snapshots are your friend. Log shipping is
fine
> for HA, but you can't report off of the destination DB.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> https://mvp.support.microsoft.com/profile/Tom.Moreau
>
> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
> news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
> Isn't SQL Server Enterprise edition the only edition that allows for
> snapshots? We plan on using Standard Edition which will support two
> clusters.
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You
>> don't
>> need the fancy hardware that clustering does and failover is very quick -
>> and can be automatic. Also, you can do a database snapshot on the mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the
disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it
will
>> move the transaction log to another server and provide another server we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>
>|||Way back 1.5 years ago I did the same thing for a client with thousands of
databases. Worked like a champ.
--
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net
"Kevin3NF" <kevin@.SPAMTRAP.3nf-inc.com> wrote in message
news:%23v1x6WfXIHA.4696@.TK2MSFTNGP05.phx.gbl...
> Waaaaaay back in 2000, we created our own jobs to logship and only had the
> restore command run every 8 hours. All the files were there, and we could
> catch the whole thing up in about 20 minutes if the primary went down, but
> it was a reporting server all day :)
> Same thing could be done here if Log Shipping was desired, as well as
> reporting. May not be the most glamorous solution, but it works...
> --
> Kevin3NF
> SQL Server dude
> You want fries with that?
> http://kevin3nf.blogspot.com/
> I only check the newsgroups during work hours, M-F.
> Hit my blog and the contact links if necessary...I may be available.
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote
> in message news:0875841B-779E-4639-9C7F-31D19FCF060A@.microsoft.com...
>> Log shipping is fine
>> for HA, but you can't report off of the destination DB.
>> Well, you can if you do the restores using STANDBY. But you'd have to
>> kick out the users each time you want to do the next restore. Which means
>> that you really ... can't use a log shipped database for reporting ;-).
>> (Just wanted to mention this before anyone else say "You can". )
>>
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://sqlblog.com/blogs/tibor_karaszi
>>
>> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
>> news:uy0aAMfXIHA.1188@.TK2MSFTNGP04.phx.gbl...
>> Yes, snapshots are supported only in Ent Ed. Also, Std Edition supports
>> 2-node clusters - not "two clusters". It depends on where you want to
>> put
>> your money and what your needs are. When it comes to High Availability
>> (HA), then you often have to go to Ent Ed. If you want clustering and
>> have
>> only 2 nodes, then you can get away with Std Ed, but clustering hardware
>> is
>> usually a bit more expensive and a little trickier to set up. Mirroring
>> will work on regular hardware and can go between dissimilar platforms.
>> Automatic failover, though is available in the Ent Ed.
>> When it comes to reporting, snapshots are your friend. Log shipping is
>> fine
>> for HA, but you can't report off of the destination DB.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:%23In0b5eXIHA.4440@.TK2MSFTNGP06.phx.gbl...
>> Isn't SQL Server Enterprise edition the only edition that allows for
>> snapshots? We plan on using Standard Edition which will support two
>> clusters.
>>
>> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
>> news:ee6ZxueXIHA.5208@.TK2MSFTNGP04.phx.gbl...
>> Since you are using SQL Server 2005, consider database mirroring. You
>> don't
>> need the fancy hardware that clustering does and failover is very
>> quick -
>> and can be automatic. Also, you can do a database snapshot on the
>> mirror
>> and use it for reporting.
>> --
>> Tom
>> ----
>> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
>> SQL Server MVP
>> Toronto, ON Canada
>> https://mvp.support.microsoft.com/profile/Tom.Moreau
>>
>> "John Wright" <riley_wrightx@.hotmail.com> wrote in message
>> news:u6BTxreXIHA.3400@.TK2MSFTNGP03.phx.gbl...
>> We just went through a catastrophic failure of an Oracle database.
>> This
>> database was running on a server with a RAID 5 installed. One of the
>> disks
>> was having read/write errors. When we pulled the disk from the array
>> to
>> have the hot spare kick in, the Oracle server failed and it took a lot
>> of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I
>> have
>> been asked to get the specs for a cluster. I have been reading up on
>> the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it
>> will
>> move the transaction log to another server and provide another server
>> we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost
>> of
>> clustering may be preventative, so I would like your input for those
>> who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>
>>
>>
>|||Just a word of caution to help manage the expectation. If your storage goes
bad, you can for sure leverage certain DBMS features to alleviate the pain.
But there is no magic. SQL Server offers you many good features, but the same
potential storage problems won't magically go away. Due diligence is required
to plan for storage disasters.
Linchi
"John Wright" wrote:
> We just went through a catastrophic failure of an Oracle database. This
> database was running on a server with a RAID 5 installed. One of the disks
> was having read/write errors. When we pulled the disk from the array to
> have the hot spare kick in, the Oracle server failed and it took a lot of
> effort to get it back. (I hate oracle).
> We are moving to SQL Server 2005 and want to avoid this problem. I have
> been asked to get the specs for a cluster. I have been reading up on the
> clustering, but came across Transaction Log Shipping. I know that the
> Transaction Log shipping does not have an automatic fail over, but it will
> move the transaction log to another server and provide another server we can
> use for reporting and in the event of a failure on the main server, we could
> use the other server until we can bring it up on line.
> What in your opinion would be a better solution, cluster or transaction log
> shipping? All of our programs will be using this data, and it is important
> to recover from a disaster like this as quickly as possible. The cost of
> clustering may be preventative, so I would like your input for those who
> have used one or both methods for pros and cons. Thanks.
> John
>
>|||After much reading and study, I think we are going to implement the Database
Mirroring option with a witness to facilitate automatic fail-over.
Operating in High-Availability with full safety and a witness server should
do it for us. The servers are connected via a gigabit connection so latency
should not be a problem. Thanks one and all for the advice.
John
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message
news:C8570CAA-676A-4FE3-963D-21F4ECAC794B@.microsoft.com...
> Just a word of caution to help manage the expectation. If your storage
> goes
> bad, you can for sure leverage certain DBMS features to alleviate the
> pain.
> But there is no magic. SQL Server offers you many good features, but the
> same
> potential storage problems won't magically go away. Due diligence is
> required
> to plan for storage disasters.
> Linchi
> "John Wright" wrote:
>> We just went through a catastrophic failure of an Oracle database. This
>> database was running on a server with a RAID 5 installed. One of the
>> disks
>> was having read/write errors. When we pulled the disk from the array to
>> have the hot spare kick in, the Oracle server failed and it took a lot of
>> effort to get it back. (I hate oracle).
>> We are moving to SQL Server 2005 and want to avoid this problem. I have
>> been asked to get the specs for a cluster. I have been reading up on the
>> clustering, but came across Transaction Log Shipping. I know that the
>> Transaction Log shipping does not have an automatic fail over, but it
>> will
>> move the transaction log to another server and provide another server we
>> can
>> use for reporting and in the event of a failure on the main server, we
>> could
>> use the other server until we can bring it up on line.
>> What in your opinion would be a better solution, cluster or transaction
>> log
>> shipping? All of our programs will be using this data, and it is
>> important
>> to recover from a disaster like this as quickly as possible. The cost of
>> clustering may be preventative, so I would like your input for those who
>> have used one or both methods for pros and cons. Thanks.
>> John
>>

New SQL Server 2005 instance

Hi,

I am trying to install a new SQL Server 2005 instance. When running thesetup I get a warning related to "Edition Change Check" that advisesme to run setup with SKUUPGRADE=1. I already have SQL 2005 with SP 1 installed.For the new instance that I am trying to install I use the SQL Server 2005media without sp1. What do I do? Ignore the warning and at the end reapply SP1?

Thanks

The rule thumb with SQL Server installations ignore all Windows questions just answer those relevant to you. And it is better to install the service pack after the installation just download it before you install and copy your CD content into the harddrive and run setup from the harddrive. Hope this helps.|||

Sometimes is good to do just that. I have installed the newinstance and then installed the SP1 only for the new instance. There are somecheckboxes there and also you get the current version of the instance. Cool...

sql

New SQL Server 2000 worm?

Hi all.

My SQL Server 2000 SP4 installation running on Windows 2003 server (SP1, all patches current) has been infected TWICE by something that Sophos can't detect.

The symptoms are that an account called SQLsys is created on the machine and is made an administrator.

A service called "ApptoService spoolsrv" is created. An executable called syss.exe is also created in a few places. After infection the machine immediately starts attacking other computers on the network.

I had Windows Firewall running, with ports open for SQL server and Remote Desktop.

I ran the MBSA, it didn't find anything open.

I even ran the beta MS web tool for scanning, didn't detect any trojans.

I'm going to be restoring the machine (AGAIN), but I wish I knew what security hole is being found! Any ideas?
Please try changing your SA account password. Try a complicated password that has numbers, letters, and symbols in it. Also, do not allow your sql server to have inbound access to the internet. At the very least block port 1433 on your firewall.|||

Have you noticed this issue again after setting a strong SA password?

Thanks
Laurentiu

|||Try using Windows Defender beta which is a good one to catchup such trojans & spyware. Also check any spurious activity on SQL server by referring to data & log file usage with an audit trial.sql

Wednesday, March 21, 2012

New sql registration

I have a database that runs sql 7. Most of our workstations are running on a windows 98 platform, however, a few are running windows 2000. I am trying to set up a new sql registration in enterprise manager, but the connection is failing. All of the 98 machines are logging in with a sql user name, but I was told to log the 2000 machine as a NT server. If you can understand what my problem is, could you please advise me?
thanks :confused:What's the error you're getting? "Server doesn't exist or access is denied" or something else?|||It really isn't a error. IN the final box where you click finish, it says "SQL-unable to establish a connection, registration failed"
thanks
joyce|||You trying to register a 2000 server in 7.0 EM ?
Aint gonna happen !!!|||I THINK what they meant was that the Windoze-2000 machine should connect to your SQL 7.0 Server using NT authentication. If that is the case, In the "Connect Using" dialog you should use the NT Account instead of a SQL Login like you use on your Windoze-98 machines.

-PatP|||I THINK what they meant was that the Windoze-2000 machine should connect to your SQL 7.0 Server using NT authentication. If that is the case, In the "Connect Using" dialog you should use the NT Account instead of a SQL Login like you use on your Windoze-98 machines.

-PatP
Yes that is what I mean.
I did use the NT auth, but it still won't connect, any other ideas??
thanks
joyce|||My first guess would be that you need to enable NT Authentication (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_security_47u6.asp) for the NT login that the user of the Windoze-2000 machine will be using.

-PatP|||Well I thought it was enabled, is there a way to tell whether it is or not?|||Check in Enterprise Manglerto see if you can see the user's NT login in the list that is under the Server | Security | Logins.

-PatP|||ok, yes, the NT auth. is enabled. The user says NT user under type.|||You should check server properties for authentication. It's also not a dynamic property, which means Configured maybe different from Running (needs service bounced)

New SQL Login cannot list DB in EM

I have a SQL Server 2000 instance running sp3 (in a
cluster).
When I create a NEW SQL user, and give that user access to
ONE database (public and DBO) I cannot list ANY databases
from Enterprise Manager when I login with that user. If I
refresh the Enterprise Manager Databases View, eventually
it will display the Databases - but only after about 10
minutes and I get access violation errors in my SQL and NT
logs. Even if I create a 'dummy SQL login' and give it
access to Northwind, the same results - I cannot list
databases in Enterprise Manager. I tried making the
Defalt DB both Master and the actual DB with the same
results
I tried to recreate this problem on another Clustered SQL
Server 2000 Instance - this one running sp3a, and I am NOT
able to recreate this problem.
I can't imagine that this is a Service Pack issue. Does
anyone have any suggestions?
If you remove the guest user in any database a similar problem can occur.
Look at the following article:
http://support.microsoft.com/?kbid=315523
PRB: Removal of Guest Account May Cause Handled Exception Access Violation
in SQL Server
Rand
This posting is provided "as is" with no warranties and confers no rights.
|||Thank you very much!!! I ran the script in the KB article and it fixed my problem!
sql

New SQL Login cannot list DB in EM

I have a SQL Server 2000 instance running sp3 (in a
cluster).
When I create a NEW SQL user, and give that user access to
ONE database (public and DBO) I cannot list ANY databases
from Enterprise Manager when I login with that user. If I
refresh the Enterprise Manager Databases View, eventually
it will display the Databases - but only after about 10
minutes and I get access violation errors in my SQL and NT
logs. Even if I create a 'dummy SQL login' and give it
access to Northwind, the same results - I cannot list
databases in Enterprise Manager. I tried making the
Defalt DB both Master and the actual DB with the same
results
I tried to recreate this problem on another Clustered SQL
Server 2000 Instance - this one running sp3a, and I am NOT
able to recreate this problem.
I can't imagine that this is a Service Pack issue. Does
anyone have any suggestions?If you remove the guest user in any database a similar problem can occur.
Look at the following article:
http://support.microsoft.com/?kbid=315523
PRB: Removal of Guest Account May Cause Handled Exception Access Violation
in SQL Server
Rand
This posting is provided "as is" with no warranties and confers no rights.|||Thank you very much!!! I ran the script in the KB article and it fixed my problem!