Installing SQL Server 2008 R2 Client

In this blog let us look at the steps involved in installing SQL Server 2008 R2. 

In order to have a smooth installation, restart the PC before beginning the SQL Server client installation. If the pc has a pending reboot, it would throw out a request to reboot in the middle of the installation, at that point you will have to reboot the machine and again restart from this step… 

Start by double clicking the setup.exe in the installation folder of SQL Server 2008 R2. 

You should be seeing a popup window as below. 

In the initial screen, you will find that Planning section is bold (chosen) be default (look in the left side section), click on Installation

Picture below shows the screen when you click on installation. 

 Once you are in the Installation page, look at the first option from the top; New installation or add features to an existing installation. It goes to the next screen (shown below) which does few initial checks before starting the installation. Warnings can be ignored (it may not be mandatory setting). If you find any failures, try to address them (you can know more info by clicking Show details button). Click OK. 

In the next step, you need to enter the Product Key found on your installation media. Click Next to continue.  

In the License Terms screen, select the option against “I accept the license terms”. Click Next. (Image below) 

 In the Setup Support Files step, click Install button. (Image below) 

 

It would then install a series of support files that are required for the setup to continue installing. 

The above image shows the same screen after the setup support components are installed. Again ensure that you do not have any failures, warnings can be ignored. Continue the installation by clicking Next

In the Setup Role step, choose SQL Server Feature Installation. This option presents the opportunity to choose what components need to be installed, so a custom list of components can be chosen. Click Next to continue. 

In the next screen, do not select anything under Instance Features. Only the Shared Features listed below should be selected. 

  • Client Tools Connectivity
  • Client Tools Backwards Compatibility
  • Client Tools SDK
  • SQL Server Books Online
  • Management Tools – Basic (Including the sub selection of Management Tools – Complete)
  • SQL Client Connectivity SDK
  • Microsoft Sync Framework

Click Next to continue… 

It would perform a check for the installation rules and displays the results as shown below. Note that warnings might not stop the installation and you should be looking to see that there are no failures… 

Click Next to continue… 

The next step displays the disk space information such as how much disk space it needs to install the chosen components and how much disk free space available on the local disk..  

Click Next to continue… 

The next screen asks if you would like to send Error Reports automatically to Microsoft. It is not mandatory and the installation would be able to continue even if the option is unchecked…. 

Click Next to continue… 

In the Installation configuration rules, ensure that there are no failures and click Next to continue.

This is summary step, displaying the features you have chosen to install… Continue to the installation by pressing Install button..

Installation continues depending on the number of components we have chosen and the system configuration where you are performing the installation.

This is the screen that displays that the installation was successful, clock on Close button to finish the installation.  

Do you like this site? Like our FB page @ Facebook.com\LearnSQLWithBru so that, you know when there is a new blog post.

You might also be interested in reading some of these related blogs

– Bru Medishetty

Suppressing Successful backup Information in SQL Server Error Log

Some time back, I was administering a SQL Server 2005 instance which hosts a huge number of Databases. The instance is in production environment and all the databases are set to be backed up at regular intervals of 10 minutes. Due to this, SQL Server Log is flooded with backup information resulting the SQL Server Log to grow enormously. As part of monitoring, I look at the entries in SQL Server Log and it is a tough task to weed out the entries related to successful database backups. These are the steps I had to perform to supress the successful backup information in SQL Server Logs.

To understand better let us take a look at the problem first and then work on solving it.

SQL Server runs a default trace which keeps track of certain events and writes them to SQL Server Log when there is an important information such as a database restore, change in recovery model of a database or a failure login. 

The following images display some sample log entries found in a log viewer. The image displayed contains an entry about a failed login attempt to the SQL Server.

This below image displays an entry about a change in the recovery model for a database. 

Here is another example, the below image displays the error log indicating that a profiler trace has been started and stopped by user.

Monitoring the SQL Server log from time to time is very important since it has vital information about the SQL instance. Many times, the information found in these error logs is important for troubleshooting SQL Server issues. Having too many entries in the SQL Server Log causes delay in loading the error log in log viewer, moreover it is difficult to find the error messages reported in the error log due to high number of log entries. SQL Server Error Log is recycled automatically every time SQL Server starts, due to this, error log grows in huge size causing trouble to find the vital information about the SQL instance.

On a SQL Server which hosts 20 databases, assuming that transaction log backups are scheduled every 10 minutes, would result in 2880 entries each day due to successful backups being written in error log. This should be avoided in order to find out other entries easily in log viewer.

Next we move on to the steps to solve this problem.

This problem can be solved in 2 different ways. One way of solving this by runnig DBCC TRACEON command.

Solution 1

Below is the screenshot of the command. What we are doing in this command is to turn off all successful backup entries into the SQL Server. Note that any failed backups are still logged into the error log..  The next line is the command to recycle the SQL Server Error Log, so that we would have a clean error log from that point onwards. This solution is good until the SQL Server is restarted the next time. So as long as the SQL Instance is not restarted, we will not be seeing the successful backup entries in the Error log. 

Below is how the Error Log looks, after it has been recycled..

Solution 2

The procedure involved in this solution is to add a trace flag to the SQL Server startup. This solution is permanent, that is, the successful backup information will not be written in the error log, unless the trace flag is removed manully from the SQL Server startup parameters..

In order to do this, we need to log into Services console and find the SQL Server service and right click, choose porperties. In the Advanced tab, under startup parameters. Go to the end of the parameters and add a semicolon ” ; “, followed by -T3226. Save the modifications by clicking Apply and OK.

You should see a warning / confimation message  indicating that the changes will take effect only when the SQL Server is restarted next time. Click OK and when possible, restart the SQL Server.

Do you like this site? Like our FB page @ Facebook.com\LearnSQLWithBru so that, you know when there is a new blog post.

– Bru Medishetty

 

SQL Server 2008 SP2 Released

Microsoft has recently released Service Pack 2 for SQL Server 2008. There are some improvements this service pack brings in, and here is the list of those..

  • 15K partitioning Improvement.
  • Reporting Services in SharePoint Integrated Mode.
  • SQL Server 2008 Instance Management.
  • Data-tier Application (DAC) Support.

You can download from the following link and make sure you choose the appropriate version of SP2 that is installed on your machine.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8FBFC1DE-D25E-4790-88B5-7DDA1F1D4E17&amp%3Bdisplaylang=en

You can also find the list of bugs that are fixed in SQL Server 2008 Service Pack 2 in this knowledge base article.. http://support.microsoft.com/kb/2285068

Do you like this site? Like our FB page @ Facebook.com\LearnSQLWithBru so that, you know when there is a new blog post.

– Bru Medishetty