17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Tools of the Trade<br />

❑ <strong>SQL</strong> <strong>Server</strong> — The core database engine that works on data storage, queries, and system configuration<br />

for <strong>SQL</strong> <strong>Server</strong>.<br />

❑ <strong>SQL</strong> <strong>Server</strong> Browser — This supports advertising your server so those browsing your local<br />

network can identify that your system has <strong>SQL</strong> <strong>Server</strong> installed.<br />

Network Configuration<br />

24<br />

A fair percentage of the time, any connectivity issues discovered are the result of client network configuration,<br />

or how that configuration matches with that of the server.<br />

<strong>SQL</strong> <strong>Server</strong> provides several of what are referred to as Net-Libraries (network libraries), or NetLibs. These<br />

are dynamic-link libraries (DLLs) that <strong>SQL</strong> <strong>Server</strong> uses to communicate with certain network protocols.<br />

NetLibs serve as something of an insulator between your client application and the network protocol, which<br />

is essentially the language that one network card uses to talk to another, that is to be used. They serve<br />

the same function at the server end, too. The NetLibs supplied with <strong>SQL</strong> <strong>Server</strong> <strong>2008</strong> include:<br />

❑ Named Pipes<br />

❑ TCP/IP (the default)<br />

❑ Shared Memory<br />

❑ VIA (a special virtual interface that your storage-hardware vendor may support)<br />

VIA is a special network library that is made for use with some very special (and expensive) hardware. If<br />

you’re running in a VIA environment, you’ll know about the special requirements associated with it. For<br />

those of you that aren’t running in that environment, it suffices to say that VIA offers a very fast but expensive<br />

solution to high-speed communication between servers. It would not usually be used for a normal client.<br />

The same NetLib must be available on both the client and server computers so that they can communicate<br />

with each other via the network protocol. Choosing a client NetLib that is not also supported on the<br />

server will result in your connection attempt failing with a Specified <strong>SQL</strong> <strong>Server</strong> Not Found error.<br />

Regardless of the data access method and kind of driver used (<strong>SQL</strong> Native Client, ODBC, OLE DB), it will<br />

always be the driver that talks to the NetLib. The process works as shown in Figure 2-2. The steps in order are:<br />

1. The client app talks to the driver (<strong>SQL</strong> Native Client, ODBC).<br />

2. The driver calls the client NetLib.<br />

3. This NetLib calls the appropriate network protocol and transmits the data to a server NetLib.<br />

4. The server NetLib then passes the requests from the client to <strong>SQL</strong> <strong>Server</strong>.<br />

In case you’re familiar with TCP/IP, the default port that the IP NetLib will listen on<br />

is 1433. A port can be thought of as being like a channel on the radio — signals are<br />

bouncing around on all sorts of different frequencies, but they only do you any good<br />

if you’re listening on the right channel. Note that this is the default, so there is no<br />

guarantee that the particular server you’re trying to connect to is listening to that particular<br />

port — indeed, most security experts recommend changing it to something<br />

nonstandard.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!