Showing posts with label disk. Show all posts
Showing posts with label disk. Show all posts

Monday, March 19, 2012

Help! How to clustering SQL Server 2000 without Shared Disk?

hi all,

our company is going to setup ms sql server cluster for fault tolerance,
budget has to be kept minimum.

actaully, i was told that sql clustering (includes shared DB data sync)
can be done over a dedicated tcp/ip connection instead of using shared disk
array connected to the same scsi bus of 2 machines, however i could not even
configure cluster service on win2k server as there is no shared disk.

futhermore, i heard windows 2003 server can do it with no shared disk,
butr it can't be used for this purpose because of license issue.

i would to know if there is a way to cluster sql server nodes without a
shared disk array on windows 2000 adv/dc server + ms sql 2000 enterprise.

all advices are welcomed to reach chun_wail@.hotmail.com

thank you very much,

Will Law (hong kong)"wailaw" <chun_wail@.hotmail.com> wrote in message
news:bi7mdl$lpa1@.imsp212.netvigator.com...
> hi all,
> our company is going to setup ms sql server cluster for fault
tolerance,
> budget has to be kept minimum.
> actaully, i was told that sql clustering (includes shared DB data
sync)
> can be done over a dedicated tcp/ip connection instead of using shared
disk
> array connected to the same scsi bus of 2 machines, however i could not
even
> configure cluster service on win2k server as there is no shared disk.
> futhermore, i heard windows 2003 server can do it with no shared disk,
> butr it can't be used for this purpose because of license issue.
> i would to know if there is a way to cluster sql server nodes without
a
> shared disk array on windows 2000 adv/dc server + ms sql 2000 enterprise.
> all advices are welcomed to reach chun_wail@.hotmail.com
>
> thank you very much,
> Will Law (hong kong)

(Removed irrelevant newsgroups from the reply)

SQL Server clustering depends on the Windows clustering service, so you have
no way to avoid the shared disk requirement - clustering is managed by the
OS, not by SQL Server. However, from what you say, I suspect you may be
thinking of replication, which is a totally different concept. Replication
allows you to keep data in sync between databases on different servers, but
it doesn't provide the failover support that clustering has.

I suggest you read the Books Online overviews on both clustering and
replication and see which suits your needs best. Log shipping might be
another option if a warm standby server is good enough for your purposes.
But if you really need high availability, you can't do it without a decent
budget and resources, so make sure you know exactly what the business
requirements are before you choose a solution.

Simon

Monday, March 12, 2012

HELP! database restore using SQL Express

I've try to do the database restore in Microsoft SQL Server 2005 Express using sql command as below:

RESTORE DATABASE testJG

FROM DISK = 'c:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Backup\JGsql.bak'

GO

But I get this error message.

Msg 3102, Level 16, State 1, Line 1

RESTORE cannot process database 'testJG' because it is in use by this session. It is recommended that the master database be used when performing this operation.

Msg 3013, Level 16, State 1, Line 1

RESTORE DATABASE is terminating abnormally.

Does this means that I need to restore the master database from systems database to the database testJG before I restore the backup database?

Give this a try....

With your query window active, make sure that the current database you have selected from the drop-down is the Master db and not the testJG database. That should free up your the active connection that SQL is complaining about.

You should then be able to execute your restore command.

Regards,

John

|||

Or, to be more explicit, add the command

USE MASTER;

to the beginning of your session, before the restore command.

|||

Owesome....it works...

thank you.....thank you!!! I love you guys....

that really solved my problem and I could successfully restore the database now....

Monday, February 27, 2012

help!

We had hard disk failures and had to rebuild drive that
housed master database. Didn't have to reinstall SQL cause
that was on a seperate disk. But SQL won't start, says
message below:
17113 :
initconfig: Error 2(The system cannot find the file
specified.) opening 'f:\MSSQL\data\master.mdf' for
configuration information.
I tried to restore master to its original location but
each restore fails becuase SQL is not online.
I suspect that i'm going to have to reinstall SQL then
replace the master and other databases. Anyone have some
advise to offer?
Is it best to uninstall SQL completely, then reinstall and
overwrite the databases like master, etc?
thanks,You don't have to reinstall. Read about rebuildm.exe in books online. It will give you new system
databases.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"brian" <anonymous@.discussions.microsoft.com> wrote in message
news:056301c3b25b$cbe534b0$a101280a@.phx.gbl...
> We had hard disk failures and had to rebuild drive that
> housed master database. Didn't have to reinstall SQL cause
> that was on a seperate disk. But SQL won't start, says
> message below:
> 17113 :
> initconfig: Error 2(The system cannot find the file
> specified.) opening 'f:\MSSQL\data\master.mdf' for
> configuration information.
>
> I tried to restore master to its original location but
> each restore fails becuase SQL is not online.
> I suspect that i'm going to have to reinstall SQL then
> replace the master and other databases. Anyone have some
> advise to offer?
> Is it best to uninstall SQL completely, then reinstall and
> overwrite the databases like master, etc?
>
> thanks,
>|||thank you for the help. i'll give that a shot.
>--Original Message--
>You don't have to reinstall. Read about rebuildm.exe in
books online. It will give you new system
>databases.
>--
>Tibor Karaszi, SQL Server MVP
>Archive at: http://groups.google.com/groups?
oi=djq&as_ugroup=microsoft.public.sqlserver
>
>"brian" <anonymous@.discussions.microsoft.com> wrote in
message
>news:056301c3b25b$cbe534b0$a101280a@.phx.gbl...
>> We had hard disk failures and had to rebuild drive that
>> housed master database. Didn't have to reinstall SQL
cause
>> that was on a seperate disk. But SQL won't start, says
>> message below:
>> 17113 :
>> initconfig: Error 2(The system cannot find the file
>> specified.) opening 'f:\MSSQL\data\master.mdf' for
>> configuration information.
>>
>> I tried to restore master to its original location but
>> each restore fails becuase SQL is not online.
>> I suspect that i'm going to have to reinstall SQL then
>> replace the master and other databases. Anyone have some
>> advise to offer?
>> Is it best to uninstall SQL completely, then reinstall
and
>> overwrite the databases like master, etc?
>>
>> thanks,
>>
>
>.
>