jeudi 27 mai 2010

User Profile Synchronization Service Requirements

To ensure that the User Profile Synchronization Service starts and your SharePoint servers be able to import and synchronize correctly with your AD services the above action should be performed before starting the configuration process of this service.
- The farm service account should be member of the local administrator group of the SharePoint server hosting the User Profile Synchronization Service.
- The service account of the User Profile Synchronization Service should have the permission of Replicate Directory Changes on the configuration partition of your AD.
  
1Start ADSI Edit
 image
2Right click ADSI Edit and then  click Connect to…
 image
3Check Select a well known Naming Context , select Configuration from the dropdown list and the click Ok
 image
4Right click the Configuration entry and click Properties on the context menu
 image
5On the Security tab add the User Profile Synchronization Service account and give him the permission Replicating Directory Changes
 image
- The User Profile Synchronization Service account should be delegated the Replicating Directory Changes on the domain :

1From ADUC console, right click the domain name and then click Delegate Control…
 image
2Click Next
 image
3Add the User Profile Synchronization Service Account and then click Next
 image
4Check Create a custom task to delegate and then click Next
 image
5Click Next
 image
6Check Replicating Directory Changes in permissions list  and then click Next
 image
7Click Finish
 image

Office Web Apps - Can’t View Office Documents in Browser !!!



After installing Office Web Apps 2010 on SharePoint 2010 Server you expect viewing and editing on the browser your office documents.
   
Regarding which Web Application is hosting the Document Library containing this documents you should ensure that the Application Pool Accounts used for :

- Word Viewing Service Application
- Excel Service Application
 
- PowerPoint Service Application
Are allowed to access its content databases.

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