Configuring SQL Server 2008. HPE Intelligent Management Center SQL Server 2008
HPE Intelligent Management Center SQL Server 2008 is a powerful tool that can help you manage your SQL Server environment. With IMC SQL Server 2008, you can:
- Monitor the performance of your SQL Server instances
- Identify and resolve performance issues
- Manage your SQL Server databases
- Secure your SQL Server environment
- Automate your SQL Server administration tasks
IMC SQL Server 2008 is a valuable tool for any organization that uses SQL Server.
Werbung
Werbung
Configuring SQL Server 2008
The following information describes the steps and procedures to configure the SQL Server database.
Configuring TCP/IP properties
1. Select Start > All Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL
Server Configuration Manager
Figure 37 Starting SQL Server Configuration Manager
The SQL Server Configuration Manager
opens, as shown in Figure 38 .
Figure 38 SQL Server Configuration Manager
2. From the navigation tree, select SQL Server Network Configuration > Protocols for
MSSQLSERVER .
3. Right-click TCP/IP and select Properties from the shortcut menu.
The TCP/IP Properties
dialog box opens, as shown in Figure 39 .
25
Figure 39 TCP/IP Properties dialog box
4. On the Protocol tab, make sure Yes is selected for Listen All .
5. Click the IP Addresses tab, select Yes for the Enabled option of each IP address, and set TCP
Port to 1433
Figure 40 IP addresses tab
6. Click OK .
The system displays a message that indicats the database service must be restarted to validate the configuration.
7. Click OK .
26
8. Restart the SQL Server service to validate the configuration. For more information, see
" Restarting the SQL Server service ."
NOTE:
When Yes is selected for Listen All on the Protocol tab, the SQL Server automatically updates
IP address settings after an IP address is changed. If No is selected, you must manually update
IP addresses.
You can enable the Named Pipes property in the same way.
In distributed deployment, make sure you configure all database servers to use the same listening port.
Modifying the maximum server memory for the
SQL Server
To ensure optimum performance, the SQL Server is preemptive and uses a default maximum server memory setting of 2147483647 MB. When IMC and the SQL Server are installed on the same server, you must reduce the maximum server memory for the SQL Server. As a best practice, set the maximum server memory to half the server's physical memory.
To modify the maximum server memory for the SQL Server:
1. Select Start > All programs > Microsoft SQL Server 2008 > SQL Server Management
Studio .
Figure 41 Database login dialog box
2. Select SQL Server Authentication from the Authentication list.
3. Enter superuser username sa in the Login field, enter the password, and click Connect .
The Microsoft SQL Server Management Studio
page opens, as shown in Figure 44 .
27
Figure 42 Microsoft SQL Server Management Studio page
4. Right-click the server name and select Properties from the shortcut menu.
The server properties page opens.
5. Select Memory in the navigation tree, set the maximum server memory to half the server's physical memory, and click OK . This example uses 2048 MB.
Figure 43 Setting memory options for SQL Server
6. Restart the operating system to validate the configuration.
28
Starting the SQL Server Browser service
To enable IMC to connect to a named instance of SQL Server 2008 Express, you must start the SQL
Server Browser service after the SQL Server installation is complete.
If you set Startup Type for the SQL Server Browser service to Automatic during the SQL Server installation process, you do not need to start the SQL Server Browser service after the installation is complete.
To start the SQL Server Browser service:
1. Select Start > All Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL
Server Configuration Manager .
Figure 44 Starting SQL Server Configuration Manager
2. Select SQL Server Services in the navigation tree, right-click SQL Server Browser on the main pane, and then select Properties from the shortcut menu.
Figure 45 Launching the SQL Server Browser Properties dialog box
3. Click the Service tab, and then select Automatic for Start Mode .
29
Figure 46 Setting the start mode of the SQL Server Browser service
4. Click OK .
The dialog box closes.
5. Right-click SQL Server Browser and then select Start from the shortcut menu.
Figure 47 Starting the SQL Server Browser service
Configuring the logon account used by the SQL
Server service
When you specify a superuser for IMC to use a remote SQL Server database, you must have write permissions to all the disks on the database server. To ensure that, you must configure the SQL
Server service to start up using the built-in local system account.
To configure the logon account used by the SQL Server service:
30
1. Select Start > All Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL
Server Configuration Manager .
2. In the navigation tree, select SQL Server Services .
The main pane displays the services installed by the SQL Server, as shown in Figure 48 .
Figure 48 Services installed by SQL Server
3. Verify that the value of the Log On As column of the SQL Server service is Local System .
If the value is not Local System , modify the Log on as property for the service.: a. Double-click the SQL Server service.
The SQL Server Properties dialog box opens. b. Select Built-in account , and then select Local System
from the list, as shown in Figure 49 .
c. Click OK .
31
Figure 49 Log On tab
4. Restart the SQL Server service to validate the configuration.
Restarting the SQL Server service
1. Select Start > All Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL
Server Configuration Manager .
2. In the navigation tree, select SQL Server Services .
3. Select SQL Server (MSSQLSERVER) on the main pane.
4. Click the Restart service icon
on the toolbar, as shown in Figure 50 .
Figure 50 Restarting the SQL Server Service
32
Creating a superuser
The SQL Server database has a default superuser named sa . To specify another user for database access during IMC installation, first create a login user and grant the administrator privilege to that user on SQL Server.
To create a superuser:
1. Select Start > All programs > Microsoft SQL Server 2008 > SQL Server Management
Studio .
The database login page opens, as shown in Figure 51 .
Figure 51 Login page
2. Select SQL Server Authentication from the Authentication list, select a login username, enter the password, and click Connect .
The Microsoft SQL Server Management Studio page opens.
3. Expand the Security node in the navigation tree, right-click Logins , and select New Login
from the shortcut menu, as shown in Figure 52 .
33
Figure 52 Microsoft SQL Server Management Studio page
The page for adding a login user opens, as shown in Figure 53 .
Figure 53 Adding a login user
34
4. On the General page, enter the login name, click SQL Server authentication , set the password, and clear User must change password at next login .
For IMC to correctly identify the password, make sure the password does not contain any of the following characters:
Left angle bracket (<)
Right angle bracket (>)
Vertical bar (|)
Tab (\t)
5. In the navigation tree, select Server Roles .
Figure 54 Setting server roles
6. Select sysadmin and click OK .
The user is granted database administrator privilege and is displayed under the Security >
Logins node in the navigation tree of Microsoft SQL Server Management Studio .
35
Herunterladen
Werbung