dimanche 23 mai 2010

Step by Step Clustering SQL Server 2008 R2 Part VI

Part I – Before we start
Part II – Creating Windows Cluster
Part III – Clustering MSDTC
Part IV – Installing the first SQL Server Cluster Node
Part V – Adding the second node
Part VI – Post installation tasks

On this last part we will only demonstrate how to enable Filestream feature on SQL Server 2008 clustered configuration.
on future posts we will discuss other administrative tasks and tips.
Note : All actions described on these part should be performed on each node.

1Start the SQL Server Configuration Manager
 image
2Click Yes on the User Account Control
 image
3Open the properties windows of the SQL Server Service by right clicking on it   and then the Properties context menu
 image
4Check Enable FILESTREAM for Transact-SQL access
and Enable FILESTREAM for file I/O streaming access  
Type the Windows Share Name to use and then click Apply
 image
5Verify that a File Share Resource with the same Share Name as configured on the FILESTREAM tab appears and it’s online on the  Failover Cluster Manager, the resource should appear as depending on the SQL Server service   
 image
6Run the SQL Script :

EXEC sp_configure filestream_access_level , 2
reconfigure
 
 image

Step By Step Clustering SQL Server 2008 R2 Part V

Part I – Before we start
Part II – Creating Windows Cluster
Part III – Clustering MSDTC
Part IV – Installing the first SQL Server Cluster Node
Part V – Adding the second node
Part VI – Post installation tasks

1Run the setup program of SQL Server 2008 R2
 image
2Click Yes on the User Account Control
 image
3Select the Installation Page on the SQL Server Installation Center and then click Add node to a SQL Server Failover cluster
 image
4Click Ok after verifying that all Tests are passed on the Setup Support Rules page
 image
5Type your Product Key and then click Next
 image
6Check I accept the license terms and then click Next
 image
7Click Install on the Setup Support Files page
 image
8Verify that all the Tests are passed on the  Setup Support Rules and then click Next
For the Network Binding order warning ensure that the Network configuration is correct as described on the first part of this Post
 image
9The setup program will detect automatically the clustered instances on your configuration and from the Cluster Node Configuration Page you will be able to choose to which SQL cluster you would like to add this node  
Choose the instance id and then click Next 
 image
10On the service Accounts Page retype the password for each account and the click Next
 image
11Click Next on the Error Reporting Page
 image
12Click Next on the Add Node Rules
 image
13Click Install on the Ready to Add Node Page
 image
14Wait for the installation Progress
 image
15Click Close on the Complete Page

Now you have a full functional two nodes cluster of SQL Server 2008 R2
 image

Step by Step Clustering SQL Server 2008 R2 Part IV

Part I – Before we start
Part II – Creating Windows Cluster
Part III – Clustering MSDTC
Part IV – Installing the first SQL Server Cluster Node
Part V – Adding the second node
Part VI – Post installation tasks

1Using the CLSSetup account that have the privileges to join computers to domain and configured as Local Administrator on each node open a session and run the setup program of SQL Server 2008 R2 
 image
2Click Yes on the User Access Control message if it’s appear
 image
3Select the Installation page and then click New SQL Server failover cluster installation
 image
4on the Setup Support Rules verify that all tests are passed and then click Ok
 image
5Type you Product Key and then click Next
 image
6Check  I accept the license terms
Click Next
 image
7On the Setup Support Files click Install
 image
8When Support files are installed a new rules check will be processed by the setup program ensure that all tests are passed and then click Next
 image
9Select the features that will be installed and the click Next.

Note : SSRS is not cluster aware 
 image
10On the Instance Configuration page type the Network Name that will be used for your Clustered SQL Server  Instance , type an instance ID if you won’t use the default name MSSQLSERVER and then click Next
 image
11Click Next on the Disk Space Requirements Page
 image
12 
 image
13Select the Shared Disks that will depend on your SAL Server Cluster Group  and then click Next
 image
14Type the virtual IP Address that will be used for your SQL Server Cluster
Click Next
 image
15Click Next on the Cluster Security Group page
 image
16Type the account names and their passwords for the services accounts that will be used   
 
 image
17Click on the Collation tab if you want to change the default collation of the server by clicking the Customize button
Click  Next
 image
18On the Database Engine Configuration Page choose your Authentication Mode, type the password for the sa account if you choose Mixed Mode.
Add the AD users or groups that will have the sysadmin role.
 image
19Click Data Directories Tab and then configure the different drive for each kind of data that will be host on the nodes and then click Next
 image
20Click Next on the Error Reporting Page
 image
21Click Next on the Cluster Installation Rules
 image
22Click Install on the Ready to Install Page
 image
23Wait for the Installation progress
 image
24Click Close on the Complete Page
 image
25From the Failover Cluster Manager verify that all resources was created and are Online on the first node  
 image

Step By Step Clustering SQL Server 2008 R2 Part III

Part I – Before we start  
Part II – Creating Windows Cluster
Part III – Clustering MSDTC
Part IV – Installing the first SQL Server Cluster Node
Part V – Adding the second node
Part VI – Post installation tasks

The Microsoft Distributed Transaction Coordinator must be clustered for Microsoft support of your SQL Server cluster configuration; You should have MSDTC on your SQL Server cluster if you plan using one of those features :
  • SSIS
  • Workstation Components
  • Distributed transactions
1On the right pan click Configure a Service or Application from the Actions section
 image
2Click Next on the Before You Begin Page
 image
3Select Distributed Transaction Coordinator (DTC) from the service or application list and then click Next
 image
4On the Client Access Point type the Network name of the MSDTC name and type it’s Virtual IP address  and then click Next
 image
5Select the shared disk that will be used for the MSDTC and then click Next
 image
6 
 image
7Click Finish on the Summary page 
 image