Showing posts with label sql2000. Show all posts
Showing posts with label sql2000. Show all posts

Sunday, March 25, 2012

ActiveX to define presidence

I have a DTS package (SQL2000) which uses ActiveX scripts to check for records with certain criteria in a table. If the certain criteria is met, I want to initiate a child package that preforms a data-extraction. Otherwise move onto the next step which check for a different set of criteria. Currently if the criteria is met, I flag the task as success to dictate moving to one set of steps, otherwise failure & moving onto the next check.

The problem I am realizing, is that if I 'Fail' on of the check steps, subsequent steps furthur down the route that I am directing it to go, do not run. These are other ActiveX tasks that send email, and do furthur analysis.

Why is this the case? Can't you perform a logical check, and based upon the check have a decision to run certain steps? I attempted to use the result 'Main = DTSStepScriptResult_DontExecuteTask', but I must not be using it correctly, because it lists the task as returning failure.

Any help would be great.

Kevin Albrecht

DTS is called "SQL Server Integration Services" in the SQL Server 2005 generation. If you re-post your question in the SSIS forums (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=80&SiteID=1) the DTS experts that hang out over there could likely answer your question.

Thanks,
Steve

|||Moving thread as per the suggestion to keep in SSIS related forums.|||Don't use success/fail as the flag to move to the next step. Set a variable and use an "Expression" precidence constraint to pick which one to move too.

Thursday, March 22, 2012

active/passive cluster with san drive

is there anywhere i can get a step by step order for
installing an active/passive sql2000 cluster on a win2k3
platform that shares an attached san drive. i have not
performed this before and am not sure about how to set up
the san drive. do i set up the disks on one or both
systems. or do i set up the disks on one and run the mscs
setup? any info would be appreciated. thanks.
jay
Strangely enough, BOL (Books On-Line) has a very good set of instructions on
setting up a failover cluster. You start with a working MSCS cluster
(Windows 2003 help files will get you started there).
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"jay mack" <jmack@.thecreek.com> wrote in message
news:00ba01c49c16$eb424960$a501280a@.phx.gbl...
> is there anywhere i can get a step by step order for
> installing an active/passive sql2000 cluster on a win2k3
> platform that shares an attached san drive. i have not
> performed this before and am not sure about how to set up
> the san drive. do i set up the disks on one or both
> systems. or do i set up the disks on one and run the mscs
> setup? any info would be appreciated. thanks.
> jay
|||Hello Jay,
You may find this whitepaper helpful for setting up windows 2003 cluster
Step-by-step instructions for creating and configuring a typical single quorum device multi-node server cluster using a shared disk on servers running the Microsoft Windows Server 2003 Enterprise Edition and
Windows Server 2003 Datacenter Edition operating systems.
http://www.microsoft.com/downloads/d...displaylang=en
For SQL Server 2000 clustering, the following Microsoft Whitepaper is good
http://www.microsoft.com/technet/pro.../failclus.mspx
This whitepaper was released before Win2K3 and does not discuss about it. Although most of the things are same for SQL 2K Failover cluster on Win2K3, here are some things that are different/unsupported:
Installation of a Named Instance of SQL Server 2000 Virtual Server on a Windows 2003-Based Cluster Fails
http://support.microssoft.com/?id=815431
SQL Server 2000 Cluster Does Not Install on Windows Server 2003-Based Computers Where Terminal Services Is Installed
http://support.microsoft.com/?id=301520
SQL Server 2000 Is Not Supported on Windows Server 2003 Terminal Server Application Server
http://support.microsoft.com/?id=327270
Virtual SQL Server 2000 Installation Fails on Cluster That Has Eight Nodes
http://support.microsoft.com/?id=811054
SQL Server 2000 support for mounted volumes
http://support.microsoft.com/?id=819546
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx

Active/Active/Active/Passive

We are using SQL2000 and considering clustering the
solution. Could someone point us good documentation on
clustering. We are particularly interested in
Active/Active/Active/Passive
Thanks in advance
Amar
Amar,
It appears that you are interested in
-- 3+1 cluster with 3 nodes having instances of SQL Server 2000 and the fourth node is passive. Is that true?
-- i.e. multiple instance SQL cluster
A multiple-instance SQL cluster can have up to four server nodes (next version of SQL Server --Yukon will support upto 8 nodes) and supports up to 16 instances (1 default, 15 named or 16 named). Each SQL
Server 2000 virtual server requires its own disk resources that cannot be used by other instances. These disk resources are the logical drive names (for example, drive F:\) used by SQL Server on which to store
data and log files. Separate physical disk sets are needed to make up the logical drive, unless your disk subsystem supports multiple logical drives on one physical drive set. SQL Server in a clustered
environment also behaves differently from a stand-alone named instance in relation to IP ports. During the installation process, a dynamic port that may be something other than 1433 is configured, and that port
number is reserved for the instance. In a failover cluster, multiple instances can be configured to share the same port, such as 1433, because the failover cluster listens only to the IP address assigned to the SQL
Server virtual server, and is not limited to a 1:1 ratio. However, for security and potentially increased availability, you may want to assign each virtual server to its own unique port of your choice or leave it as it was
configured during installation
Here are some related links that you may find useful:
Microsoft SQL Server 2000 High Availability (MS Press)
ISBN 0-7356-1920-4
Support WebCast: Windows Clustering: An Overview of Microsoft Clustering Technologies
http://support.microsoft.com/?id=325423
Microsoft Whitepaper - SQL Server 2000 Failover Clustering
http://www.microsoft.com/SQL/techinf...vercluster.asp
SQL Server 2000 Pricing and Licensing
http://www.microsoft.com/sql/howtobu...rlicensing.asp
Microsoft SQL Server 2000 High Availability Series
http://www.microsoft.com/technet/pro...y/sqlhalp.mspx
The Microsoft SQL Server 2000 High Availability Series helps you plan and deploy a highly available data center that uses Microsoft SQL Server 2000 through proper procedures that increase availability,
backups help recover from catastrophic disasters, redundant components prevent downtime, and redundant servers minimize downtime.
The series consists of:
oPLANNING to help you design a data center to achieve the level of availability needed for the business environment.
oDEPLOYMENT to help you implement selected server redundancy solutions to minimize unavailability caused by server failures and planned downtime.
SQL Server Consolidation on the 32-Bit Platform using a Clustered Environment
http://www.microsoft.com/technet/pro...olidation.mspx
Q260758 - INF: Frequently Asked Questions - SQL Server 2000 - Failover Clustering
http://support.microsoft.com/?kbid=260758
Q243218 INF: Installation Order for SQL 2000 Enterprise Edition
http://support.microsoft.com/?kbid=243218
NOTE:
======
Make sure that the four node cluster that you use is a complete certified solution.
How to locate qualified cluster solutions for Windows
http://support.microsoft.com/?id=828262
Cluster Support Policy
Microsoft's Cluster support policy is explained in these Q articles: Please read these carefully for the official support policy of
Cluster (General): http://support.microsoft.com/default...b;en-us;309395
Cluster (SQL): http://support.microsoft.com/default...b;en-us;327518
-- The above links are for Windows 2000 cluster. For a four node cluster you will need either Win2K DataCenter or Win2K3 EE or Win2K3DataCenter. If you are using Win2K3, the following links will help you.
Although most of the things are same for SQL 2K Failover cluster on Win2K3, here are some things that are different:
815431 PRB: Installation of a Named Instance of SQL Server 2000 Virtual Server on a Windows 2003-Based Cluster Fails
http://support.microssoft.com/?id=815431
SQL Server 2000 Cluster Does Not Install on Windows Server 2003-Based Computers Where Terminal Services Is Installed
http://support.microsoft.com/?id=301520
SQL Server 2000 Is Not Supported on Windows Server 2003 Terminal Server Application Server
http://support.microsoft.com/?id=327270
PRB: Virtual SQL Server 2000 Installation Fails on Cluster That Has Eight Nodes
http://support.microsoft.com/?id=811054
SQL Server 2000 support for mounted volumes
http://support.microsoft.com/?id=819546
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||I assume you mean 4 nodes and 3 SQL instances? I haven't seen much
documentation on clusters with more than two nodes, but it is very much
possible. I have such a system running for about 8 months and it works very
well. Most of the standard clustering stuff applies, just with a few extra
twists. Here is a good overview on SQL failover clustering:
http://www.microsoft.com/technet/pro.../failclus.mspx
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Amar" <anonymous@.discussions.microsoft.com> wrote in message
news:2cc1c01c46a68$d62f8cc0$a601280a@.phx.gbl...
> We are using SQL2000 and considering clustering the
> solution. Could someone point us good documentation on
> clustering. We are particularly interested in
> Active/Active/Active/Passive
> Thanks in advance
> Amar
|||Hi Thanks a lot for your quick response.
One more question. Can we have
Active/Active/Active/Passive talking to single database?

>--Original Message--
>I assume you mean 4 nodes and 3 SQL instances? I
haven't seen much
>documentation on clusters with more than two nodes, but
it is very much
>possible. I have such a system running for about 8
months and it works very
>well. Most of the standard clustering stuff applies,
just with a few extra
>twists. Here is a good overview on SQL failover
clustering:
>http://www.microsoft.com/technet/pro.../sql/2000/main
tain/failclus.mspx
>
>--
>Geoff N. Hiten
>Microsoft SQL Server MVP
>Senior Database Administrator
>Careerbuilder.com
>I support the Professional Association for SQL Server
>www.sqlpass.org
>"Amar" <anonymous@.discussions.microsoft.com> wrote in
message
>news:2cc1c01c46a68$d62f8cc0$a601280a@.phx.gbl...
>
>.
>
|||No. SQL clustering is a failover technology, not a scale-out technology.
Each instance has a unique set of databases and appears on the network as a
complete and unique virtual system. Read over the link I included to get a
better idea of what SQL clustering really does. It is critical to
understand the benefits and limitations of SQL clustering before you try and
build a highly available system around that technology.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Amar" <anonymous@.discussions.microsoft.com> wrote in message
news:2da4901c46a8d$8f3b07c0$a401280a@.phx.gbl...[vbcol=seagreen]
> Hi Thanks a lot for your quick response.
> One more question. Can we have
> Active/Active/Active/Passive talking to single database?
> haven't seen much
> it is very much
> months and it works very
> just with a few extra
> clustering:
> tain/failclus.mspx
> message
sql

Active/Active SQL2000 and Exchange2003 Cluster on Windows 2003

Hello,
Has anyone attempted in building a 2-node Active/Active Windows MSCS Cluster
where node 1 is running Exchange 2003 and node 2 is running SQL2000?
My proposed hardware will be
2 HP DL380 G4 Boxes
Dual Xeon 3.6Ghz/2MB Processors
5GB RAM
Dual MSA1000's Controllers
Cluster Failover Kit
Plus all other required accessories.
If not has anyone created a 3-node or 4-node clustered environment providing
high availabily for SQL and Exchange? Or does anyone recommend a solution
for providing high availabily for SQL and Exchange?
Any feedback will be much appreciated. Please email me at
sbalourdos@.hotmail.com
Thanks!
Jedi
I would recommend a minimum of 3 nodes as you would be putting a huge load
on a system that could potentially have to run SQL and Exchange at the same
time. By using 3 nodes you could controll SQL and Exchange Instance failover
with Preferred Owners. If your going to only use 2 nodes make sure you scale
each node to run both Exchange and SQL. Other issues you may run into are
with Memeory Management. In particular /PAE boot.ini switch which Exchange
can not use and SQL can.
Physical Addressing Extensions enable a computer to access more than 4 GB of
physical memory (RAM). Exchange Server does not support PAE. PAE enables
Windows to access more than 4 gigabytes (GB) of physical memory. Exchange
Server cannot use more than 4 GB of physical memory, and there is no benefit
to installing more than 4 GB of RAM on a computer that is dedicated to
running Exchange Server. PAE is enabled when the /PAE startup switch is
present in the Boot.ini file on boot-up or when the Windows Server 2003
operating system detects hot-add memory devices. Windows Server 2003,
Enterprise Edition and Windows Server 2003, Datacenter Edition automatically
enable PAE only if the server is using hot-add memory devices
http://www.microsoft.com/technet/pro...f2c190953.mspx
CT
"Jedi" wrote:

> Hello,
> Has anyone attempted in building a 2-node Active/Active Windows MSCS Cluster
> where node 1 is running Exchange 2003 and node 2 is running SQL2000?
> My proposed hardware will be
> 2 HP DL380 G4 Boxes
> Dual Xeon 3.6Ghz/2MB Processors
> 5GB RAM
> Dual MSA1000's Controllers
> Cluster Failover Kit
> Plus all other required accessories.
> If not has anyone created a 3-node or 4-node clustered environment providing
> high availabily for SQL and Exchange? Or does anyone recommend a solution
> for providing high availabily for SQL and Exchange?
> Any feedback will be much appreciated. Please email me at
> sbalourdos@.hotmail.com
> Thanks!
>
>
|||I believe Mike from MS already gave you a great answer on this in another
forum.
Only thing I would add, is another node. Make a 3 node cluster, with the 3rd
for failover of either SQL or Exchange.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering Website
http://www.msmvps.com/clustering - Blog
"Jedi" <sbalourdos@.hotmail.com> wrote in message
news:kS35e.185$fa7.113@.fe09.lga...
> Hello,
> Has anyone attempted in building a 2-node Active/Active Windows MSCS
> Cluster
> where node 1 is running Exchange 2003 and node 2 is running SQL2000?
> My proposed hardware will be
> 2 HP DL380 G4 Boxes
> Dual Xeon 3.6Ghz/2MB Processors
> 5GB RAM
> Dual MSA1000's Controllers
> Cluster Failover Kit
> Plus all other required accessories.
> If not has anyone created a 3-node or 4-node clustered environment
> providing
> high availabily for SQL and Exchange? Or does anyone recommend a solution
> for providing high availabily for SQL and Exchange?
> Any feedback will be much appreciated. Please email me at
> sbalourdos@.hotmail.com
> Thanks!
>
>
|||If you want high availability, putting both of these in the same cluster
isn't the way to do it.
"Jedi" <sbalourdos@.hotmail.com> wrote in message
news:kS35e.185$fa7.113@.fe09.lga...
> Hello,
> Has anyone attempted in building a 2-node Active/Active Windows MSCS
> Cluster
> where node 1 is running Exchange 2003 and node 2 is running SQL2000?
> My proposed hardware will be
> 2 HP DL380 G4 Boxes
> Dual Xeon 3.6Ghz/2MB Processors
> 5GB RAM
> Dual MSA1000's Controllers
> Cluster Failover Kit
> Plus all other required accessories.
> If not has anyone created a 3-node or 4-node clustered environment
> providing
> high availabily for SQL and Exchange? Or does anyone recommend a solution
> for providing high availabily for SQL and Exchange?
> Any feedback will be much appreciated. Please email me at
> sbalourdos@.hotmail.com
> Thanks!
>
>
|||Mike,
It is completely understood however during normal uptime, each server will
run on its respective node. All issues concerning memory starvation and
other performance problems would occur during a failover event which would
last about 24-36 hours maximum. Here are some other tactics I plan on
implementing in order to make sure that everything runs as smooth as
possible during a failover period:
- I would bind the SQL Server to the second processor, Processor 1,
(Processor 0 is the first Processor) If I'm correct, Exchange Server 2003
is not capable of binding to a particular processor like SQL Server can.
- I would limit SQL Server to a maximum of 1.5 GB of RAM (Please see my
proposed configuration below. I plan on having 5GB of Physical RAM
Available on each node.)
- I would enable the /3GB Boot.ini switch on both nodes.
- I would NOT enable the /PAE Boot.ini switch on any node.
- Any other suggestions would be appreciated.
Another argument I would like to make is Small Business Server 2000/2003
which runs Windows Server 2003, SQL Server 2000, Exchange Server 2003, plus
a few other apps. Other than a limitation of licenses, are there any
physical differences to the components? (Windows Server 2003, SQL Server
2000, and Exchange Server 2003 which is designed to have all three running
on the same box) I couldn't find any documentation citing differences of
the components compared to the separate full versions.
By the way, My company has only 40 employees but our mail server and sql
server are mission critical. A 3-node cluster will shoot our cluster
hardware cost considerably higher.
Thank you for your time.
"Mike Rosado [MSFT]" <mikeros@.online.microsoft.com> wrote in message
news:l6FiZZ2OFHA.2944@.TK2MSFTNGXA01.phx.gbl...
> Hi Jedi,
> If you look at the Exchange 2000 SP3 whitepaper we have published at the
> following link:
> <
> http://www.microsoft.com/downloads/d...displaylang=en>
> You'll find the following comment:
> However, if you are running other memory intensive applications in
> conjunction with Exchange 2000, such as Microsoft SQL Server, then
> increasing the physical
> memory size beyond 3 GB can provide greater server performance using the
> following article:
> 313707 XADM: An Exchange 2000 Server with the "/3GB" Switch in the
> Boot.ini
> http://support.microsoft.com/?id=313707
> As a rule of thumb we don't recommend customers installing both of these
> applications on the same set of Cluster nodes, due to memory management
> starvation
> issue that have been seen in the past. So we point customers to the
> following statement on the link below, which most of the times does not
> seem to be enough of
> a supporting document to convince them. But this is a management decision
> every customer has to make, then live with the consequences should they
> start
> experiencing memory management starvation issues.
> Chapter 12 of the SQL 2000 Resource Kit
> http://www.microsoft.com/technet/tre...art4/c1261.asp
> Miscellaneous Configuration Issues
> ----
> 1. If encryption is used in a clustered SQL Server environment, all nodes
> must have the certificate applied.
> 2. It is not recommended to have both Microsoft Exchange 2000 and SQL
> Server 2000 on the same cluster.
> --
> Hope this helps,
> Mike Rosado
> Windows 2000 MCSE + MCDBA
> Microsoft Enterprise Platform Support
> Windows NT/2000/2003 Cluster Technologies
> ================================================== ==
> 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.
> <http://www.microsoft.com/info/cpyright.htm>
> --Original Message--
>
|||Odds are with that configuration, the failover will fail and you will not
get fault tolerance. If you restart the cluster, then you might get both
applications to run on the same box. But you probably will not get a
suitable failover after the machines have been running for a period of time.
"Jedi" <sbalourdos@.hotmail.com> wrote in message
news:2GK5e.1010$AQ6.398@.fe12.lga...
> Mike,
> It is completely understood however during normal uptime, each server will
> run on its respective node. All issues concerning memory starvation and
> other performance problems would occur during a failover event which would
> last about 24-36 hours maximum. Here are some other tactics I plan on
> implementing in order to make sure that everything runs as smooth as
> possible during a failover period:
> - I would bind the SQL Server to the second processor, Processor 1,
> (Processor 0 is the first Processor) If I'm correct, Exchange Server 2003
> is not capable of binding to a particular processor like SQL Server can.
> - I would limit SQL Server to a maximum of 1.5 GB of RAM (Please see my
> proposed configuration below. I plan on having 5GB of Physical RAM
> Available on each node.)
> - I would enable the /3GB Boot.ini switch on both nodes.
> - I would NOT enable the /PAE Boot.ini switch on any node.
> - Any other suggestions would be appreciated.
>
> Another argument I would like to make is Small Business Server 2000/2003
> which runs Windows Server 2003, SQL Server 2000, Exchange Server 2003,
> plus a few other apps. Other than a limitation of licenses, are there any
> physical differences to the components? (Windows Server 2003, SQL Server
> 2000, and Exchange Server 2003 which is designed to have all three running
> on the same box) I couldn't find any documentation citing differences of
> the components compared to the separate full versions.
> By the way, My company has only 40 employees but our mail server and sql
> server are mission critical. A 3-node cluster will shoot our cluster
> hardware cost considerably higher.
> Thank you for your time.
>
> "Mike Rosado [MSFT]" <mikeros@.online.microsoft.com> wrote in message
> news:l6FiZZ2OFHA.2944@.TK2MSFTNGXA01.phx.gbl...
>
|||I would highly recommend you avoid a two node configuration. It always
sounds like a good idea and it's main motivator is to maximize the
hardware investment, though it may work initially, it rarely will
survive a failover. A three node cluster is the best hope for a real
HA/FO experience.
-nm
|||I would highly recommend you avoid a two node configuration. It always
sounds like a good idea and it's main motivator is to maximize the
hardware investment, though it may work initially, it rarely will
survive a failover. A three node cluster is the best hope for a real
HA/FO experience.
-nm
|||You have some good ideas, and some bad. I really don't see how a 40 user
company needs an HA solution. And if they truly do, why they would not be
willing to do it right?
Either make sure you have a good backup/restore solution and 4 hour vendor
hardware support. Or do that can create a 3 node cluster
Good luck in whatever you choose.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering Website
http://www.msmvps.com/clustering - Blog
"Jedi" <sbalourdos@.hotmail.com> wrote in message
news:2GK5e.1010$AQ6.398@.fe12.lga...
> Mike,
> It is completely understood however during normal uptime, each server will
> run on its respective node. All issues concerning memory starvation and
> other performance problems would occur during a failover event which would
> last about 24-36 hours maximum. Here are some other tactics I plan on
> implementing in order to make sure that everything runs as smooth as
> possible during a failover period:
> - I would bind the SQL Server to the second processor, Processor 1,
> (Processor 0 is the first Processor) If I'm correct, Exchange Server 2003
> is not capable of binding to a particular processor like SQL Server can.
> - I would limit SQL Server to a maximum of 1.5 GB of RAM (Please see my
> proposed configuration below. I plan on having 5GB of Physical RAM
> Available on each node.)
> - I would enable the /3GB Boot.ini switch on both nodes.
> - I would NOT enable the /PAE Boot.ini switch on any node.
> - Any other suggestions would be appreciated.
>
> Another argument I would like to make is Small Business Server 2000/2003
> which runs Windows Server 2003, SQL Server 2000, Exchange Server 2003,
> plus a few other apps. Other than a limitation of licenses, are there any
> physical differences to the components? (Windows Server 2003, SQL Server
> 2000, and Exchange Server 2003 which is designed to have all three running
> on the same box) I couldn't find any documentation citing differences of
> the components compared to the separate full versions.
> By the way, My company has only 40 employees but our mail server and sql
> server are mission critical. A 3-node cluster will shoot our cluster
> hardware cost considerably higher.
> Thank you for your time.
>
> "Mike Rosado [MSFT]" <mikeros@.online.microsoft.com> wrote in message
> news:l6FiZZ2OFHA.2944@.TK2MSFTNGXA01.phx.gbl...
>

Active/Active Clustering - W2K - Adding More Instances

We currently have two W2K Enterprise servers running MSCS and each of these
is running MS SQL2000 enterprise.
The Cluster is Active/Active and we have a single instance of SQL running on
each server.
The question I have is would it be possible to add another Instance of SQL
on both Boxes, as I understand you can have up to 16 instances on a Single
machine but did not know whether this applied in a Clustered environment,
especially in a Active/Active clustered environment, and what the
implications of this would be.
I also understand we will have to up the resources on the Server, if it is
possible to add the extra instances; we are looking at a minimum of 4
Gigabytes of RAM per server with Three 2.5 GHz Xeon Processors per server.
It is possible and, like you say, it becomes a resourcing issue. Give the
boxes as much as you can, keeping in mind a worse-case scenario of all
instances running on one node.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com
"Mike@.Synergy" <Mike@.Synergy@.discussions.microsoft.com> wrote in message
news:E3ADAAA6-9B7F-45CE-9D4A-D382936A82F4@.microsoft.com...
We currently have two W2K Enterprise servers running MSCS and each of these
is running MS SQL2000 enterprise.
The Cluster is Active/Active and we have a single instance of SQL running on
each server.
The question I have is would it be possible to add another Instance of SQL
on both Boxes, as I understand you can have up to 16 instances on a Single
machine but did not know whether this applied in a Clustered environment,
especially in a Active/Active clustered environment, and what the
implications of this would be.
I also understand we will have to up the resources on the Server, if it is
possible to add the extra instances; we are looking at a minimum of 4
Gigabytes of RAM per server with Three 2.5 GHz Xeon Processors per server.
|||Hi
In the case of a cluster, the supported limit is 16 instances per cluster.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:O0mQmvx0EHA.3452@.TK2MSFTNGP14.phx.gbl...
> It is possible and, like you say, it becomes a resourcing issue. Give the
> boxes as much as you can, keeping in mind a worse-case scenario of all
> instances running on one node.
> --
> Tom
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinnaclepublishing.com
>
> "Mike@.Synergy" <Mike@.Synergy@.discussions.microsoft.com> wrote in message
> news:E3ADAAA6-9B7F-45CE-9D4A-D382936A82F4@.microsoft.com...
> We currently have two W2K Enterprise servers running MSCS and each of
these
> is running MS SQL2000 enterprise.
> The Cluster is Active/Active and we have a single instance of SQL running
on
> each server.
> The question I have is would it be possible to add another Instance of SQL
> on both Boxes, as I understand you can have up to 16 instances on a Single
> machine but did not know whether this applied in a Clustered environment,
> especially in a Active/Active clustered environment, and what the
> implications of this would be.
> I also understand we will have to up the resources on the Server, if it is
> possible to add the extra instances; we are looking at a minimum of 4
> Gigabytes of RAM per server with Three 2.5 GHz Xeon Processors per server.
>
|||In a symmetrical multi processing (SMP) OS such as Windows you need an even
number of processors, so 3 CPUs in each box is not an option - you'll need 2
or 4 (or more).
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ei2RYA00EHA.2316@.TK2MSFTNGP15.phx.gbl...
> Hi
> In the case of a cluster, the supported limit is 16 instances per cluster.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:O0mQmvx0EHA.3452@.TK2MSFTNGP14.phx.gbl...
> these
> on
>
|||Hi
Those Xeons ate HT so most likely, it will look like 6 processors. There are
some know issues under NT4.0 and earlier when using an odd number of
processors, but w2k and w2k3, odd number of processors is supported and runs
well. Some hardware is not capable of supporting odd number of processors,
but that is not a Windows limitation.
SQL is very happy with an odd number of processors, as on most big boxes (8
ways), usually SQL is setup to only use 7 processors to give the OS a
dedicated processors for Disk and memory management.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Mike Hodgson" <mwh_junk@.hotmail.com> wrote in message
news:O8EimD30EHA.132@.tk2msftngp13.phx.gbl...
> In a symmetrical multi processing (SMP) OS such as Windows you need an
even
> number of processors, so 3 CPUs in each box is not an option - you'll need
2[vbcol=seagreen]
> or 4 (or more).
> "Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
> news:ei2RYA00EHA.2316@.TK2MSFTNGP15.phx.gbl...
cluster.[vbcol=seagreen]
message[vbcol=seagreen]
running[vbcol=seagreen]
environment,
>
|||"Mike Hodgson" <mwh_junk@.hotmail.com> wrote in message
news:O8EimD30EHA.132@.tk2msftngp13.phx.gbl...
> In a symmetrical multi processing (SMP) OS such as Windows you need an
even
> number of processors, so 3 CPUs in each box is not an option - you'll need
2
> or 4 (or more).
Do you have any cite for this?

>
|||we currently have 2 active / active SQL Clusters, that are running 2
instances each. Be aware that in addition to the added horsepower, you will
need additional IP Addresses for the extra instances. Also, your second, and
subsequent instances will be named instances, that will need to utilize a
different port(1433 will already be in use by the default instance).
"Greg D. Moore (Strider)" wrote:

> "Mike Hodgson" <mwh_junk@.hotmail.com> wrote in message
> news:O8EimD30EHA.132@.tk2msftngp13.phx.gbl...
> even
> 2
> Do you have any cite for this?
>
>
|||Actually, you can use 1433 sinced you are on a different IP address. Just
to keep things consistant, I don't use the default instance on a cluster.
That way all the instances have a consistant appearance on the network.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Tom Mongold." <Tom Mongold.@.discussions.microsoft.com> wrote in message
news:476DE007-517C-40BE-B76A-8C51C59534DD@.microsoft.com...
> we currently have 2 active / active SQL Clusters, that are running 2
> instances each. Be aware that in addition to the added horsepower, you
will
> need additional IP Addresses for the extra instances. Also, your second,
and[vbcol=seagreen]
> subsequent instances will be named instances, that will need to utilize a
> different port(1433 will already be in use by the default instance).
> "Greg D. Moore (Strider)" wrote:
need[vbcol=seagreen]
|||| From: "Geoff N. Hiten" <SRDBA@.Careerbuilder.com>
| References: <E3ADAAA6-9B7F-45CE-9D4A-D382936A82F4@.microsoft.com>
<O0mQmvx0EHA.3452@.TK2MSFTNGP14.phx.gbl>
<ei2RYA00EHA.2316@.TK2MSFTNGP15.phx.gbl>
<O8EimD30EHA.132@.tk2msftngp13.phx.gbl>
<xcIpd.13725$1u.11480@.twister.nyroc.rr.com>
<476DE007-517C-40BE-B76A-8C51C59534DD@.microsoft.com>
| Subject: Re: Active/Active Clustering - W2K - Adding More Instances
| Date: Thu, 2 Dec 2004 23:55:21 -0500
| Lines: 43
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
| Message-ID: <OEt$LRP2EHA.936@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.clustering
| NNTP-Posting-Host: 12.36.129.131
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.clustering:15909
| X-Tomcat-NG: microsoft.public.sqlserver.clustering
|
| Actually, you can use 1433 sinced you are on a different IP address. Just
| to keep things consistant, I don't use the default instance on a cluster.
| That way all the instances have a consistant appearance on the network.
|
| --
| Geoff N. Hiten
| Microsoft SQL Server MVP
| Senior Database Administrator
| Careerbuilder.com
|
| I support the Professional Association for SQL Server
| www.sqlpass.org
|
| "Tom Mongold." <Tom Mongold.@.discussions.microsoft.com> wrote in message
| news:476DE007-517C-40BE-B76A-8C51C59534DD@.microsoft.com...
| > we currently have 2 active / active SQL Clusters, that are running 2
| > instances each. Be aware that in addition to the added horsepower, you
| will
| > need additional IP Addresses for the extra instances. Also, your second,
| and
| > subsequent instances will be named instances, that will need to utilize
a
| > different port(1433 will already be in use by the default instance).
| >
| > "Greg D. Moore (Strider)" wrote:
| >
| > >
| > > "Mike Hodgson" <mwh_junk@.hotmail.com> wrote in message
| > > news:O8EimD30EHA.132@.tk2msftngp13.phx.gbl...
| > > > In a symmetrical multi processing (SMP) OS such as Windows you need
an
| > > even
| > > > number of processors, so 3 CPUs in each box is not an option -
you'll
| need
| > > 2
| > > > or 4 (or more).
| > >
| > > Do you have any cite for this?
| > >
| > > >
| > >
| > >
| > >
|
|
|
################################################## ########################33
33
In addition to the resources mentioned you will have to also present the
cluster with more shared disk resources on which the SQL Server data files
will reside.
Regards,
Shashank Pawar
SQL Server Support Engineer, Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.

Tuesday, March 20, 2012

Active/Active Cluster

I am trying to install an Active/Active cluster of SQL2000 on a Win2003 machine. I installed the default instance and a named instance. When both instances are on the same machine, they come up correctly. However, if I fail the named instance over to the
other node, it will not come up. If I then fail the default instance over to the other node the named instances starts. The error messages are as follows:
[sqsrvres] ODBC sqldriverconnect failed
[sqsrvres] checkODBCConnectError: sqlstate = 08001; native error = 11; message = [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
[sqsrvres] ODBC sqldriverconnect failed
[sqsrvres] checkODBCConnectError: sqlstate = 01000; native error = 35; message = [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Is the default Instance and the named instance running in the same domain account context? Also, most people that use clustering would just use named instances...
|||Are the service account passwords the same on both machines? What are the
steps you took to install both virtual servers?
Mike
Principal Mentor
Solid Quality Learning
"More than just Training"
SQL Server MVP
http://www.solidqualitylearning.com
http://www.mssqlserver.com

Sunday, March 11, 2012

Active Directory and SQL 2000 clustering on W2003

Is this true that Active Directory is needed in order to cluster the SQL2000.
I have 2 Dell 6000 series with a shared Dell RAID...
Any articles or links to see how can I set this up correctly?
You need a domain, NT 4.0, 2000 or 2003. AD is not needed.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering
"Eugene Borukhovich" <macroscape@.yahoo.com> wrote in message
news:41df378d.0408191658.1d36e56d@.posting.google.c om...
> Is this true that Active Directory is needed in order to cluster the
> SQL2000.
> I have 2 Dell 6000 series with a shared Dell RAID...
> Any articles or links to see how can I set this up correctly?
|||You do not need active directory for SQL Server 2000 Clustering on W2K3. You do need the nodes of the cluster to be members of the same domain.
Here are some links that you may find useful. These will help with the requirements of Windows and SQL Clsutering, step by step installation, what it can do and what it cannot do, troubleshooting etc.
Step-by-step instructions for creating and configuring a typical single quorum device multi-node server cluster using a shared disk on servers running the Microsoft Windows Server 2003 Enterprise Edition and
Windows Server 2003 Datacenter Edition operating systems.
http://www.microsoft.com/downloads/d...displaylang=en
SQL Server 2000 Failover Clustering
http://www.microsoft.com/technet/pro.../failclus.mspx
There are few things different for clustering SQL Server 2000 on Win2K3 and the foll. KBs are useful
Installation of a Named Instance of SQL Server 2000 Virtual Server on a Windows 2003-Based Cluster Fails
http://support.microssoft.com/?id=815431
SQL Server 2000 Cluster Does Not Install on Windows Server 2003-Based Computers Where Terminal Services Is Installed (Has better info than 327270)
http://support.microsoft.com/?id=301520
SQL Server 2000 Is Not Supported on Windows Server 2003 Terminal Server Application Server
http://support.microsoft.com/?id=327270
Virtual SQL Server 2000 Installation Fails on Cluster That Has Eight Nodes
http://support.microsoft.com/?id=811054
SQL Server 2000 support for mounted volumes
http://support.microsoft.com/?id=819546
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||So w/o actually reading through all the links yet and to confirm that
there is no dependencies on the AD at all. When you say "domain" - can
it be a workgroup?
this will be in a highly secure environment, so i dont want any AD nor
these SQL servers even joining the AD.
Thanks, Eugene B
|||Clustered SQL Servers must have a common security context. This means they
must be member servers of an NT4 or AD domain. A common workgroup will not
work.
I am concerned that you see AD as a security problem rather than a solution.
Perhaps your system administrators do not fully understand how to implement
AD in a highly secure environment.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Eugene Borukhovich" <macroscape@.yahoo.com> wrote in message
news:41df378d.0408250542.71ac947e@.posting.google.c om...
> So w/o actually reading through all the links yet and to confirm that
> there is no dependencies on the AD at all. When you say "domain" - can
> it be a workgroup?
> this will be in a highly secure environment, so i dont want any AD nor
> these SQL servers even joining the AD.
> Thanks, Eugene B
|||You can't have it on a workgroup. It must be on a domain - AD or NT. If
you really want security, then you'll have to put it within its own forest
and set up a one-way trust.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Eugene Borukhovich" <macroscape@.yahoo.com> wrote in message
news:41df378d.0408250542.71ac947e@.posting.google.c om...
So w/o actually reading through all the links yet and to confirm that
there is no dependencies on the AD at all. When you say "domain" - can
it be a workgroup?
this will be in a highly secure environment, so i dont want any AD nor
these SQL servers even joining the AD.
Thanks, Eugene B
|||Hi ,
I am trying to install cluster SQL2000 on a WIN2003MSCS. Are there any
links to step by step procedure. Install on a WIN 2000 is quite
different.WIN 2003 cluster service is setup and running. Any
documentations on a SQL virtual server setup will be much appreciated.
Thank you
*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
|||There are few things different for clustering SQL Server 2000 on Win2K3 and the foll. KBs are useful
Installation of a Named Instance of SQL Server 2000 Virtual Server on a Windows 2003-Based Cluster Fails
http://support.microssoft.com/?id=815431
SQL Server 2000 Cluster Does Not Install on Windows Server 2003-Based Computers Where Terminal Services Is Installed (Has better info than 327270)
http://support.microsoft.com/?id=301520
SQL Server 2000 Is Not Supported on Windows Server 2003 Terminal Server Application Server
http://support.microsoft.com/?id=327270
Virtual SQL Server 2000 Installation Fails on Cluster That Has Eight Nodes
http://support.microsoft.com/?id=811054
SQL Server 2000 support for mounted volumes
http://support.microsoft.com/?id=819546
How to Configure Microsoft Distributed Transaction Coordinator on a Windows Server 2003 Cluster
http://support.microsoft.com/?id=301600
How to enable Network DTC access in Windows Server 2003
http://support.microsoft.com/?kbid=817064
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx

Activating Server Logs

I have two remote Win2000 servers running SQL2000. There are no items under
SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log database
activity?
Thanks,
John Steen
remove (nospam) from e-mail address to send me a message
Never heard we must activate something for the log. What do you see in
\Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
named ERRORLOG.
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>I have two remote Win2000 servers running SQL2000. There are no items
>under
> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> database
> activity?
> Thanks,
> John Steen
> remove (nospam) from e-mail address to send me a message
|||Hi
SQL Server does not log activity like inserts and deletes. You need to run
SQL Server Profiler to do that.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"ME" <ME@.hotmail.com> wrote in message
news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be
> files named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>
|||My bad. Didn't read the last part of the post.
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ugABXMVYFHA.2572@.TK2MSFTNGP14.phx.gbl...
> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
>
|||There are log files in the log folder, but the latest one is dated May 17,
2004, which is around the time they were moved there from the location where
they were set up. The IP addresses were also changed when they were moved to
their current location. I don't what else may have changed.
Could that have something to do with why the logs stopped recording?
Thanks,
John
"ME" wrote:

> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
> named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>
>
|||I'm not trying to log inserts and such, Mike, just normal DB activtiy
(startups, shutdowns, recoveries, DBCC jobs, etc.) you see in the server logs.
Thanks,
John
"Mike Epprecht (SQL MVP)" wrote:

> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
>
>
|||Right-click the server in EM, properties, Parameters. Verify that you have an -e parameter and the
path that the parameter points to.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...[vbcol=seagreen]
> There are log files in the log folder, but the latest one is dated May 17,
> 2004, which is around the time they were moved there from the location where
> they were set up. The IP addresses were also changed when they were moved to
> their current location. I don't what else may have changed.
> Could that have something to do with why the logs stopped recording?
> Thanks,
> John
> "ME" wrote:
|||Thanks, Tibor, that did it!
John
"Tibor Karaszi" wrote:

> Right-click the server in EM, properties, Parameters. Verify that you have an -e parameter and the
> path that the parameter points to.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...
>
>

Activating Server Logs

I have two remote Win2000 servers running SQL2000. There are no items under
SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log database
activity?
Thanks,
John Steen
remove (nospam) from e-mail address to send me a messageNever heard we must activate something for the log. What do you see in
\Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
named ERRORLOG.
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>I have two remote Win2000 servers running SQL2000. There are no items
>under
> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> database
> activity?
> Thanks,
> John Steen
> remove (nospam) from e-mail address to send me a message|||Hi
SQL Server does not log activity like inserts and deletes. You need to run
SQL Server Profiler to do that.
Regards
--
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"ME" <ME@.hotmail.com> wrote in message
news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be
> files named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>|||My bad. Didn't read the last part of the post.
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ugABXMVYFHA.2572@.TK2MSFTNGP14.phx.gbl...
> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
>|||There are log files in the log folder, but the latest one is dated May 17,
2004, which is around the time they were moved there from the location where
they were set up. The IP addresses were also changed when they were moved t
o
their current location. I don't what else may have changed.
Could that have something to do with why the logs stopped recording?
Thanks,
John
"ME" wrote:

> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be fil
es
> named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>
>|||I'm not trying to log inserts and such, Mike, just normal DB activtiy
(startups, shutdowns, recoveries, DBCC jobs, etc.) you see in the server log
s.
Thanks,
John
"Mike Epprecht (SQL MVP)" wrote:

> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
>
>|||Right-click the server in EM, properties, Parameters. Verify that you have a
n -e parameter and the
path that the parameter points to.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...[vbcol=seagreen]
> There are log files in the log folder, but the latest one is dated May 17,
> 2004, which is around the time they were moved there from the location whe
re
> they were set up. The IP addresses were also changed when they were moved
to
> their current location. I don't what else may have changed.
> Could that have something to do with why the logs stopped recording?
> Thanks,
> John
> "ME" wrote:
>|||Thanks, Tibor, that did it!
John
"Tibor Karaszi" wrote:

> Right-click the server in EM, properties, Parameters. Verify that you have
an -e parameter and the
> path that the parameter points to.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...
>
>

Activating Server Logs

I have two remote Win2000 servers running SQL2000. There are no items under
SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log database
activity?
Thanks,
John Steen
remove (nospam) from e-mail address to send me a messageNever heard we must activate something for the log. What do you see in
\Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
named ERRORLOG.
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>I have two remote Win2000 servers running SQL2000. There are no items
>under
> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> database
> activity?
> Thanks,
> John Steen
> remove (nospam) from e-mail address to send me a message|||Hi
SQL Server does not log activity like inserts and deletes. You need to run
SQL Server Profiler to do that.
Regards
--
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"ME" <ME@.hotmail.com> wrote in message
news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be
> files named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>>I have two remote Win2000 servers running SQL2000. There are no items
>>under
>> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
>> database
>> activity?
>> Thanks,
>> John Steen
>> remove (nospam) from e-mail address to send me a message
>|||My bad. Didn't read the last part of the post.
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ugABXMVYFHA.2572@.TK2MSFTNGP14.phx.gbl...
> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
>> Never heard we must activate something for the log. What do you see in
>> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be
>> files named ERRORLOG.
>>
>> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
>> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>>I have two remote Win2000 servers running SQL2000. There are no items
>>under
>> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
>> database
>> activity?
>> Thanks,
>> John Steen
>> remove (nospam) from e-mail address to send me a message
>>
>|||There are log files in the log folder, but the latest one is dated May 17,
2004, which is around the time they were moved there from the location where
they were set up. The IP addresses were also changed when they were moved to
their current location. I don't what else may have changed.
Could that have something to do with why the logs stopped recording?
Thanks,
John
"ME" wrote:
> Never heard we must activate something for the log. What do you see in
> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
> named ERRORLOG.
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
> >I have two remote Win2000 servers running SQL2000. There are no items
> >under
> > SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> > database
> > activity?
> >
> > Thanks,
> > John Steen
> > remove (nospam) from e-mail address to send me a message
>
>|||I'm not trying to log inserts and such, Mike, just normal DB activtiy
(startups, shutdowns, recoveries, DBCC jobs, etc.) you see in the server logs.
Thanks,
John
"Mike Epprecht (SQL MVP)" wrote:
> Hi
> SQL Server does not log activity like inserts and deletes. You need to run
> SQL Server Profiler to do that.
> Regards
> --
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "ME" <ME@.hotmail.com> wrote in message
> news:eIj85KVYFHA.3164@.TK2MSFTNGP12.phx.gbl...
> > Never heard we must activate something for the log. What do you see in
> > \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be
> > files named ERRORLOG.
> >
> >
> > "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> > news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
> >>I have two remote Win2000 servers running SQL2000. There are no items
> >>under
> >> SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> >> database
> >> activity?
> >>
> >> Thanks,
> >> John Steen
> >> remove (nospam) from e-mail address to send me a message
> >
> >
>
>|||Right-click the server in EM, properties, Parameters. Verify that you have an -e parameter and the
path that the parameter points to.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...
> There are log files in the log folder, but the latest one is dated May 17,
> 2004, which is around the time they were moved there from the location where
> they were set up. The IP addresses were also changed when they were moved to
> their current location. I don't what else may have changed.
> Could that have something to do with why the logs stopped recording?
> Thanks,
> John
> "ME" wrote:
>> Never heard we must activate something for the log. What do you see in
>> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
>> named ERRORLOG.
>>
>> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
>> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
>> >I have two remote Win2000 servers running SQL2000. There are no items
>> >under
>> > SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
>> > database
>> > activity?
>> >
>> > Thanks,
>> > John Steen
>> > remove (nospam) from e-mail address to send me a message
>>|||Thanks, Tibor, that did it!
John
"Tibor Karaszi" wrote:
> Right-click the server in EM, properties, Parameters. Verify that you have an -e parameter and the
> path that the parameter points to.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> news:04B3D2BC-6E90-4103-96E6-EB998BD613A0@.microsoft.com...
> > There are log files in the log folder, but the latest one is dated May 17,
> > 2004, which is around the time they were moved there from the location where
> > they were set up. The IP addresses were also changed when they were moved to
> > their current location. I don't what else may have changed.
> >
> > Could that have something to do with why the logs stopped recording?
> >
> > Thanks,
> > John
> >
> > "ME" wrote:
> >
> >> Never heard we must activate something for the log. What do you see in
> >> \Program Files\Microsoft SQL Server\MSSQL\LOG folder? There should be files
> >> named ERRORLOG.
> >>
> >>
> >> "John Steen" <moderndads(nospam)@.hotmail.com> wrote in message
> >> news:09D2F211-886A-4904-8B56-1471835E0C04@.microsoft.com...
> >> >I have two remote Win2000 servers running SQL2000. There are no items
> >> >under
> >> > SQL Server Logs in Ent. Mgr. How do I conjfigure the server to log
> >> > database
> >> > activity?
> >> >
> >> > Thanks,
> >> > John Steen
> >> > remove (nospam) from e-mail address to send me a message
> >>
> >>
> >>
>
>

Tuesday, March 6, 2012

Acess Denied Starting MSDE 2000

Hi

We have a demo version of our SQL2000 application that uses MSDE. This has always worked sucessfully in the past.

However, at the most recent installation however there is a problem which I cannot seem to fix.

MDSE was installed on Windows 2000 using the Local Admin account.

When the user logs on to the PC, SQL will not start gives error message '5 Access Denied'.

I have given the local user read/write permission to the Data directory and mdf/ldf files that it contains.

I have tried starting SQL specifiying it to log on using the Local Admin account but it makes no difference.

Does anyone know what else can I do?

Thank you

Mark

SQL Server controls the permissions if a user has access to the (database) server and the appropiate databases. it has nothing to do with file permissions. You will have to create a new login and grant the login the appropiate permissions on the database.

Jens K. Suessmeyer

http://www.sqlserver2005.de

|||

Hi Jens, thank you for this, but I think the problem is more fundemental as at the moment SQL Server will not even start unless a local administrator is logged in.

Mark

|||

Which service account is the service running under ?

Jens K. Suessmeyer

http://www.sqlserver2005.de

|||

The service is set to logon using a specified account and we are specifying the local administrator account.

These settings work when the local administrator is logged-on to the PC, so it looks like we have entered both the Account and Password correctly.

Many thanks

Mark

Sunday, February 19, 2012

accessing static methods of a .net dll, but from sql2000?

Is this somehow possible?Thats ugly, you would have to write a com wrapper to call the method via sp_OA*, if you really want to do this, write a console application and consume the output or let the console application manipulate your database (You did not write what you want to achieve)

HTH, Jens K. Suessmeyer.

-
http://www.sqlserver2005.de
-

Accessing SQL2005 as a Second Instance to SQL2000

I'm having trouble accessing SQL2005 Standard Edition as a second
instance of SQL Server where the first instance is SQL 2000 Enterprise
Edition. I installed SQL 2005 as a named instance "SQL2005". The
server is running Windows 2000 SP4 ON A 32-Bit machine. When I look in
Services I see the SQL Server (SQL2005), SQL Server Agent (SQL2005)
services there. I went into SQL Server Configuration manager and
disabled the named pipes protocol and only have TCP/IP and by default
Shared Memory enabled to rule out that named pipes is causing the
problem. In SQL Server Configuration Manager I created an alias
"computername$SQL2005" and was able to connect to database engine
"computername\SQL2005" through SQL Server Management Studio WHILE ON
THAT BOX.
But when trying to access the 2005 instance from another server
(64-bit Windows 2003 SP1) I'm having trouble. On the 64-bit machine I
disabled the named pipes protocol for both "SQL Native Client
Configuration (32-bit)" and "SQL Native Client Configuration". Under
32-bit I created the alias "machinename$SQL2005" to point to the IP
address of the 32-bit machine. In SQL Server Management Studio when
trying to connect to the database engine "machinename$SQL2005" it
defaults to the SQL 2000 instance. How do I access the SQL2005
instance from a remote server?

Any help would be appreciated.

MikeThis question seems to crop up a lot; I'm surprised that Microsoft
didn't make a bigger deal about it. By default, SQL Server 2005 does
not allow remote access; you have to turn it on.

Use the Surface Area Configuration tool for SQL Server 2005; under
database engine, select Remote Connections and make sure that local and
remote connections are selected.

HTH,
Stu

Mike wrote:

Quote:

Originally Posted by

I'm having trouble accessing SQL2005 Standard Edition as a second
instance of SQL Server where the first instance is SQL 2000 Enterprise
Edition. I installed SQL 2005 as a named instance "SQL2005". The
server is running Windows 2000 SP4 ON A 32-Bit machine. When I look in
Services I see the SQL Server (SQL2005), SQL Server Agent (SQL2005)
services there. I went into SQL Server Configuration manager and
disabled the named pipes protocol and only have TCP/IP and by default
Shared Memory enabled to rule out that named pipes is causing the
problem. In SQL Server Configuration Manager I created an alias
"computername$SQL2005" and was able to connect to database engine
"computername\SQL2005" through SQL Server Management Studio WHILE ON
THAT BOX.
But when trying to access the 2005 instance from another server
(64-bit Windows 2003 SP1) I'm having trouble. On the 64-bit machine I
disabled the named pipes protocol for both "SQL Native Client
Configuration (32-bit)" and "SQL Native Client Configuration". Under
32-bit I created the alias "machinename$SQL2005" to point to the IP
address of the 32-bit machine. In SQL Server Management Studio when
trying to connect to the database engine "machinename$SQL2005" it
defaults to the SQL 2000 instance. How do I access the SQL2005
instance from a remote server?
>
Any help would be appreciated.
>
Mike

|||Thanks for your response Stu, After checking SQL Server 2005 Surface
Area Configuration it looks like the option for "Local and Remote
Connections" was already selected. I checked under "Database Engine"
under both "View by Instance" and "View by Component" and it seems the
same. I even clicked on "Local connections only" then back to "Local
and Remote Connections" just to make sure the setting was recognized
when hitting "Apply". Then restarted SQL Server (2005) service. Still
unable to access this instance from the other server. Do I need to use
another tcp/ip port for the second instance? I remember reading this
somewhere, but when I tried to use port 1435 because UDP port 1434 is
supposedly disabled in SQL 2005, I still cannot connect.

When I try connecting remotely I'm still getting the SQL 2000 instance.
Any other ideas?

Thanks,

Mike

Stu wrote:

Quote:

Originally Posted by

This question seems to crop up a lot; I'm surprised that Microsoft
didn't make a bigger deal about it. By default, SQL Server 2005 does
not allow remote access; you have to turn it on.
>
Use the Surface Area Configuration tool for SQL Server 2005; under
database engine, select Remote Connections and make sure that local and
remote connections are selected.
>
HTH,
Stu
>
Mike wrote:

Quote:

Originally Posted by

I'm having trouble accessing SQL2005 Standard Edition as a second
instance of SQL Server where the first instance is SQL 2000 Enterprise
Edition. I installed SQL 2005 as a named instance "SQL2005". The
server is running Windows 2000 SP4 ON A 32-Bit machine. When I look in
Services I see the SQL Server (SQL2005), SQL Server Agent (SQL2005)
services there. I went into SQL Server Configuration manager and
disabled the named pipes protocol and only have TCP/IP and by default
Shared Memory enabled to rule out that named pipes is causing the
problem. In SQL Server Configuration Manager I created an alias
"computername$SQL2005" and was able to connect to database engine
"computername\SQL2005" through SQL Server Management Studio WHILE ON
THAT BOX.
But when trying to access the 2005 instance from another server
(64-bit Windows 2003 SP1) I'm having trouble. On the 64-bit machine I
disabled the named pipes protocol for both "SQL Native Client
Configuration (32-bit)" and "SQL Native Client Configuration". Under
32-bit I created the alias "machinename$SQL2005" to point to the IP
address of the 32-bit machine. In SQL Server Management Studio when
trying to connect to the database engine "machinename$SQL2005" it
defaults to the SQL 2000 instance. How do I access the SQL2005
instance from a remote server?

Any help would be appreciated.

Mike

|||Mike (mjorlando@.campsystems.com) writes:

Quote:

Originally Posted by

Thanks for your response Stu, After checking SQL Server 2005 Surface
Area Configuration it looks like the option for "Local and Remote
Connections" was already selected. I checked under "Database Engine"
under both "View by Instance" and "View by Component" and it seems the
same. I even clicked on "Local connections only" then back to "Local
and Remote Connections" just to make sure the setting was recognized
when hitting "Apply". Then restarted SQL Server (2005) service. Still
unable to access this instance from the other server. Do I need to use
another tcp/ip port for the second instance? I remember reading this
somewhere, but when I tried to use port 1435 because UDP port 1434 is
supposedly disabled in SQL 2005, I still cannot connect.


Have you checked that the SQL Browser service is running? You control it
from the SQL Configuration Management tool.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Yes, the SQL Browser service is running. I restarted it just to make
sure. Has there been updates to BOL since May 2006? That is the date
of my SQL 2005 installation. I will download the latest, thanks,
Mike
Erland Sommarskog wrote:

Quote:

Originally Posted by

Mike (mjorlando@.campsystems.com) writes:

Quote:

Originally Posted by

Thanks for your response Stu, After checking SQL Server 2005 Surface
Area Configuration it looks like the option for "Local and Remote
Connections" was already selected. I checked under "Database Engine"
under both "View by Instance" and "View by Component" and it seems the
same. I even clicked on "Local connections only" then back to "Local
and Remote Connections" just to make sure the setting was recognized
when hitting "Apply". Then restarted SQL Server (2005) service. Still
unable to access this instance from the other server. Do I need to use
another tcp/ip port for the second instance? I remember reading this
somewhere, but when I tried to use port 1435 because UDP port 1434 is
supposedly disabled in SQL 2005, I still cannot connect.


>
Have you checked that the SQL Browser service is running? You control it
from the SQL Configuration Management tool.
>
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
>
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

|||Mike (mjorlando@.campsystems.com) writes:

Quote:

Originally Posted by

Yes, the SQL Browser service is running. I restarted it just to make
sure. Has there been updates to BOL since May 2006? That is the date
of my SQL 2005 installation. I will download the latest, thanks,


Yes, there is a new version. (They come out once a quarter.) URL below.

I went back to your original post, and it appears that you have defined
alias which points to the IP Address on the machine with SQL 2000 and
SQL 2005 on. But it is not clear that you specifiec the instance name
in the alias definition. If you only use the IP address you will end up
at the default instance, which I understand is running SQL 2000.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Monday, February 13, 2012

accessing SQL 2000 table from within Excel

Hi,

I have a need to process a column of data and get information from SQL
2000 and return it to the Excel Spread Sheet.

The data will be a list of order numbers in column 1. I need to look
up each order number and return infomration relating to the order from
SQL.

Can anyone point me to the right process?

thanks in advance,Tim <tbertw@.n-o-s-p-a-m.tenbuckplans.com> wrote in message news:<k6qrb0p2jet65kcm67fia0f5fptgsf8fia@.4ax.com>...
> Hi,
> I have a need to process a column of data and get information from SQL
> 2000 and return it to the Excel Spread Sheet.
> The data will be a list of order numbers in column 1. I need to look
> up each order number and return infomration relating to the order from
> SQL.
> Can anyone point me to the right process?
> thanks in advance,

Data menu - Get External Data - New Database Query, then create a new
source or use an existing one to connect to the server. Or at least
that works for Excel 2000 - you didn't mention which version you have.

Simon

Sunday, February 12, 2012

Accessing Oracle Stored procedures from SQL2K

I have created a linked Oracle server in my SQL2000 environment. I can execute queries just fine. eg select * from DEVX..SCHEMA.TABLE where DEVX is the name of the linked server. However, I cannot seem to execute a stored procedure that is resident on th
e Oracle server
The procedure is called XOKHOUS and the method is UPDADR. It takes a number of parameters and returns a 0 or 1 as a scalar value.
I've tried:
declare @.result int
set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2)
with no luck. Suggestions? Thanks.
> I have created a linked Oracle server in my SQL2000 environment.
> I can execute queries just fine. eg select * from DEVX..SCHEMA.TABLE
> where DEVX is the name of the linked server. However, I cannot seem
> to execute a stored procedure that is resident on the Oracle server
> The procedure is called XOKHOUS and the method is UPDADR. It
> takes a number of parameters and returns a 0 or 1 as a scalar value.
> I've tried:
> declare @.result int
> set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2)
>
> with no luck. Suggestions? Thanks.
>
You can use the OPENQUERY() command to call remote stored procedures. For
more information, please consult your SQL Server Books Online.
Hope this helps,
Eric Crdenas
Senior support professional
This posting is provided "AS IS" with no warranties, and confers no rights.

Accessing Oracle Stored procedures from SQL2K

I have created a linked Oracle server in my SQL2000 environment. I can execu
te queries just fine. eg select * from DEVX..SCHEMA.TABLE where DEVX is the
name of the linked server. However, I cannot seem to execute a stored proce
dure that is resident on th
e Oracle server
The procedure is called XOKHOUS and the method is UPDADR. It takes a numbe
r of parameters and returns a 0 or 1 as a scalar value.
I've tried:
declare @.result int
set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2)
with no luck. Suggestions? Thanks.> I have created a linked Oracle server in my SQL2000 environment.
> I can execute queries just fine. eg select * from DEVX..SCHEMA.TABLE
> where DEVX is the name of the linked server. However, I cannot seem
> to execute a stored procedure that is resident on the Oracle server
> The procedure is called XOKHOUS and the method is UPDADR. It
> takes a number of parameters and returns a 0 or 1 as a scalar value.
> I've tried:
> declare @.result int
> set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2)
>
> with no luck. Suggestions? Thanks.
>
--
You can use the OPENQUERY() command to call remote stored procedures. For
more information, please consult your SQL Server Books Online.
Hope this helps,
Eric Crdenas
Senior support professional
This posting is provided "AS IS" with no warranties, and confers no rights.

Accessing Oracle Stored procedures from SQL2K

I have created a linked Oracle server in my SQL2000 environment. I can execute queries just fine. eg select * from DEVX..SCHEMA.TABLE where DEVX is the name of the linked server. However, I cannot seem to execute a stored procedure that is resident on the Oracle serve
The procedure is called XOKHOUS and the method is UPDADR. It takes a number of parameters and returns a 0 or 1 as a scalar value
I've tried
declare @.result in
set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2
with no luck. Suggestions? Thanks> I have created a linked Oracle server in my SQL2000 environment.
> I can execute queries just fine. eg select * from DEVX..SCHEMA.TABLE
> where DEVX is the name of the linked server. However, I cannot seem
> to execute a stored procedure that is resident on the Oracle server
> The procedure is called XOKHOUS and the method is UPDADR. It
> takes a number of parameters and returns a 0 or 1 as a scalar value.
> I've tried:
> declare @.result int
> set @.result=DEVX..XOKHOUS.UPDADR(@.param1,@.param2)
>
> with no luck. Suggestions? Thanks.
>
--
You can use the OPENQUERY() command to call remote stored procedures. For
more information, please consult your SQL Server Books Online.
Hope this helps,
--
Eric Cárdenas
Senior support professional
This posting is provided "AS IS" with no warranties, and confers no rights.

Thursday, February 9, 2012

Accessing network drive from SQL Analyzer

Not sure if this posted or not before, so just in case, I'm doing it again.
I have SQL2000 on a Win2000 server. Using windows explorer, I have mapped a
network drive to letter "F"
While in SQL Analyzer, I'm trying to access "F" but I can't. I can access C
and D which are local drives, but not F.
If you are curious, I'm trying to access it by simply doing xp_cmdshell 'dir
f:'
Once this works, I'm planning to use a restore operation which we will read
from that drive.
Does anyone know how to access a mapped network drive from SQL Analyzer? It
will greatly appreciated.
thanks,
PPHi
Did you log onto the SQL Server using the SQL Server service account, map
the drive and then log off again?
If not, that is the way you should do it.
Generally, it is best to use UNC naming (\\machinename\sharename\) when
accessing resources over the network.
Backup and restores have to be done via UNC paths as mapped drives are not
supported for those operations.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"PP" <PP@.discussions.microsoft.com> wrote in message
news:422C6736-9887-450A-B83D-3F7A9B30799B@.microsoft.com...
> Not sure if this posted or not before, so just in case, I'm doing it
> again.
> I have SQL2000 on a Win2000 server. Using windows explorer, I have mapped
> a
> network drive to letter "F"
> While in SQL Analyzer, I'm trying to access "F" but I can't. I can access
> C
> and D which are local drives, but not F.
> If you are curious, I'm trying to access it by simply doing xp_cmdshell
> 'dir
> f:'
> Once this works, I'm planning to use a restore operation which we will
> read
> from that drive.
> Does anyone know how to access a mapped network drive from SQL Analyzer?
> It
> will greatly appreciated.
> thanks,
> PP