Transcript
Page 1: Deploy sql express and share point foundation

Deploy SQL Express and SharePoint Foundation

on Window Server 2008 R2

I. Hardware Requirements- SQL server

Processor 64 bit, 4 cores (small deployments) and 8 cores (medium deployment)RAM: 8 GB (small deployments) and 16 GB (medium deployment)Hard disk 80 GB

- Application Server + Front-end Web Server (SharePoint Foundation)Processor 64 bit, 4 coresRAM: 8 GBHard disk: 80 GB (System drive) + storage depending on your requirement

II. Software Requirement - Microsoft SQL Server 2008 R2 Express- Microsoft SharePoint Foundation 2010- Window Server 2008 R2 SP1, 64 bit

III. Lap Set UpWe need three servers- ADDS Server- SQL Server- SharePoint Server

1. ADDS Sever- Sever Name: ADDS - IP Address: 192.168.100.254- Server Role: Active directory domain service

In this server we need to create 4 user to use with SQL server and SharePoint server

List of the users- Spadmin (administrator role)- Spappol (user)- Spfarm (administrator role)- SQLSVC (user)

2. SQL Server- Server Name: SQL- IP Address: 192.168.100.241- Server Role: DB Server

3. SharePoint Server- Server Name: SPS- IP Address: 192.168.100.240

IV. Installation Quid Note: All server are all the member of Domain Server (Join Domain)

1. Step 1 (Deploy on SQL Server) Install SQL Server Express On SQL Servera. On this server we need to add .Net Framwork 3.5.1 for SQL Server Express requirement - Open Server Management near Start Menu, when the Server Management appear

On the left Menu click on Features and the detail menu click Add Features

Page 2: Deploy sql express and share point foundation

- When the Add Features Wizard Appear and on Select Feature click on .Net Framework 3.5.1 and then click Next

- On the Confirm Installation Selection click on Install Button

Page 3: Deploy sql express and share point foundation

- On the installation Progress page wait until installation completed

- On the installation Result click close to finish installation

b. After we have added features already we can install SQL Server Express on it- Double click the soft setup

Page 4: Deploy sql express and share point foundation

- On the SQL Server installation page appear click on New installation or add features to an existing installation

- SQL Server 2008 R2 Setup and on the License terms page appear click on I accept the license terms box and then click next

- Setup support file is in progress

Page 5: Deploy sql express and share point foundation

- On the Features selection page select all features and then click Next

- On the Install configuration page tick on Default instance and in the instance root directory change part to D:\Programe file\Microsoft SQL Server\

- On the Server configuration page click on Use the same account for all SQL Server services

Page 6: Deploy sql express and share point foundation

- On the Use the same account for all SQL Server services page appear type the User Name and the password

- On the Server configuration page again on the SQL Browser rule chose Automatic and click Next

- Click Next

- Click Next

Page 7: Deploy sql express and share point foundation

- On the Installation progress page wait utile it completed

- On the Complete page Your SQL Server 2008 R2 installation completed successfully and click close to finish installation

c. Install SQL Management Studio

Page 8: Deploy sql express and share point foundation

- Double click on SQL Management studio 64bit soft

- On the SQL installation Center page click on the New installation or add features to an existing installation

- Sep up supporting Rules is in progress

- On the Installation Type choose New installation or add shared features and click Next

Page 9: Deploy sql express and share point foundation

- On the License Terms Page tick on the I accept the license terms box and then click Next

- On the Features Selection page select all the features and then click next

- On Error Report page click Next

Page 10: Deploy sql express and share point foundation

- Install is in progress

- Your SQL Server 2008mR2 installation completed successfully and then click close to complete installation

d. Connect to SQL Server 2008 R2 Management studio to add user Logon

Page 11: Deploy sql express and share point foundation

- Open SQL Server 2008 R2 Management studio and then click connect

- Expand security and right click on Logon folder and click New Login…

- On Login – New page and Login name box click on Search button

- On the Select User or Group choose Spfarm ([email protected]) and click OK

Page 12: Deploy sql express and share point foundation

- Click on the Server Role and in the Server roles tick on the dbcreator, public and sysadmin box and click OK

2. Step 2 (Deploy SharePoint Foundation Sever on SPS Sever) a. Install prerequisite - Run command on Window PowerShell

- Double click on PrerequisiteInstaller

Page 13: Deploy sql express and share point foundation

- On the welcome to the Microsoft SharePoint 2010 Products Preparation Tool page click Next

- On the License Terms for software products page tick on I accept the terms of the License Agreements and click Next

- Installation is in progress

Page 14: Deploy sql express and share point foundation

- All required prerequisites have been installed or enabled and click finish

b. Install SharePoint Foundation Server - Double click on SharePoint Foundation soft

- SharePoint Foundation 2010 appear click on Install SharePoint Foundation

Page 15: Deploy sql express and share point foundation

- On the Read the Microsoft Software License Terms page tick on I accept the terms of this agreement box and click Continue button

- On the Choose the installation you want choose Server Farm button

- On Server Type page choose complete – Install all components. Can add servers to form a SharePoint farm and click Install Now button

Page 16: Deploy sql express and share point foundation

- Installation in progress

- On Run Configuration Wizard click close

c. Configuration Note: Restart Server is requirement

- SharePoint Products Configuration Wizard page click Next

Page 17: Deploy sql express and share point foundation

- And then click yes on this message

- On the Connect to a Server farm tick on Create a new farm and click next

- Specify configuration database settings in the Database Server box type the name of database server and username and password and click Next

Page 18: Deploy sql express and share point foundation

- On the Specify farm security settings type the password

- Specify port number and click next

- On the Complete the SharePoint products configuration wizard click Next

Page 19: Deploy sql express and share point foundation

- Configuring SharePoint Products is in progress

- On the Configuration Successful click finish

- Login to Central Administration Page with System Account user and click OK

Page 20: Deploy sql express and share point foundation

- Home page of central Administration page

Integrate SharePoint Server and Reporting Server

I. The structure of the System

Page 21: Deploy sql express and share point foundation

II. Understanding the Authentication

1. Client Authentication (SharePoint Integrated Mode)

In a SharePoint Server 2010 integrated mode deployment, the authentication process is

similar to authentication in a native mode deployment, with one additional authentication point, as shown in

Page 22: Deploy sql express and share point foundation

Figure 5. After the user is authenticated when accessing the SharePoint site, the SharePoint site's application

pool identity must be authenticated before connecting to the site's content database to retrieve the requested

content. Then, just as in native mode, the user's request for a report requires a connection to the report server

database and a connection to the data source host.

The Web application associated with the SharePoint site determines the authentication method

used for the client connection. When you create the Web application in Central Administration, you can

specify either classic mode authentication or claims-based authentication.

a. Classic mode authentication

This authentication method relies on Windows integrated security. The client application

presents the SharePoint server with the credentials used to run the browser or, in the case of a custom

application, the credentials used to run the current thread. When you select this method, you must further

specify Kerberos or NTLM as the authentication type.

b. Claims-based authentication

This authentication method relies on the use of a token for an identity that has been issued

by a trusted authority so that private information doesn't need to be passed around. By using claims-based

authentication, you can more easily support access to a SharePoint site by internal and external users.

Claims-based authentication can be used in combination with more familiar authentication

methods. For example, you can configure claims-based authentication to use Windows authentication

(NTLM, Negotiate, or Basic) to translate a Windows identity into a claims identity. Another option is using

forms-based authentication to prompt the user for credentials in a login page that uses ASP.NET membership

and role providers to establish the claims identity. A third option is identifying a Trusted Identity Provider

that issues tokens to a client that the SharePoint server will accept for authentication.

2. SSRS Authentication (SharePoint Integrated Mode)

Page 23: Deploy sql express and share point foundation

When you configure SSRS to run in SharePoint integrated mode, you must specify an

authentication mode on the Reporting Services Integration page in Central Administration. You can find this

page in the General Application Settings section. SharePoint uses either Windows authentication or Trusted

Account mode to authenticate with the report server.

a. Windows authentication

With this authentication mode, SharePoint uses a delegation model to perform its own

authentication when a user accesses a site. SharePoint also uses the delegation model to forward the

authenticated identity to the report server for another round of authentication, which requires the user to have

a login for the report server. If Kerberos is enabled on your network, Windows authentication is a good

option. You can then configure report data sources to use Windows integrated security to pass the user's

identity to the database server.

“Kerberos /ˈkɛərbərəs/ is a computer network authentication protocol which works on

the basis of "tickets" to allow nodes communicating over a non-secure network to prove their identity to one

another in a secure manner. Its designers aimed primarily at a client–server model, and it provides mutual

authentication—both the user and the server verify each other's identity. Kerberos protocol messages are

protected against eavesdropping and replay attacks. Kerberos builds on symmetric key cryptography and

requires a trusted third party, and optionally may use public-key cryptography during certain phases of

authentication. Kerberos uses port 88 by default.”

b. Trusted Account mode

When the report server uses Trusted Account mode for authentication, SharePoint

doesn't send the client identity but instead uses the application pool identity assigned to the SharePoint Web

application hosting the requested site. The account assigned as the application pool identity must be in the

list of service accounts in the Security Configuration section on the Operations page of Central

Administration. SharePoint also generates a token, which it sends with the request to the report server. The

token is passed back to SharePoint to provide the security context for the response. This token is valid only

for the originating site to reduce the surface area for attacks. Data sources must use stored credentials or

prompted credentials because Windows integrated security isn't supported when the report server is in

Trusted Account mode.

If you configure a Web application to use claims-based authentication, the SSRS proxy

in SharePoint will use Trusted Account mode authentication (even if you configured it to use Windows

authentication) and forward a SharePoint user token to the report server. The report server, in turn, generates

the appropriate security context for the user token and returns the request.

3. Reporting Services Service Authentication (Both Modes)

Whether you're running SSRS in native mode or SharePoint integrated mode, the Reporting

Services service must be authenticated when connecting to the report server database in response to a report

request or content management task. In fact, any activity that requires the report server to store the

Page 24: Deploy sql express and share point foundation

application state, retrieve reports, or retrieve other report-related data (but not including execution of queries

for reports) also requires authentication of the Reporting Services service.

You configure the identity and the authentication mode on the Database page of Reporting

Services Configuration Manager. There are three authentication options:

Windows Credentials—You must supply a valid Windows account and password to use for

authenticating the report server's connection to the report server database.

SQL Server Credentials—You need to provide a SQL Server login and password.

Service Credentials—The service account that you're using to run the Reporting Services service is

automatically selected for authentication. If you later change the service account, you must also

reconfigure the report server database credentials to ensure that the authentication process works

properly.

4. Data Source Authentication (Both Modes)

When a report executes, the report server provides credentials for authentication to the

server hosting the data source for the report. When you configure the data source, you need to choose one of

the following authentication types.

a. Windows integrated security

You should use this authentication type in only two scenarios. You'd use it when

your data source and the report server are located on the same server. You'd also use it when your network is

configured for Kerberos and the report server is configured to use Negotiate or Kerberos authentication.

Otherwise, the report server won't pass user credentials to the data source, nor will the report server prompt

the user for credentials.

b. User-supplied credentials

You can prompt the user for credentials when the report executes, although users

might grow weary of this method if they frequently request a report. By default, the report server assumes

the credentials represent a database login, but you can select a check box to change the usage to Windows

credentials. If database credentials are used, the report server connects to the database server using the

service account or the unattended execution account specified in Reporting Services Configuration Manager.

c. Stored credentials

If you need to execute reports on a scheduled basis for caching, snapshots, or

subscriptions, you must use stored credentials and supply the credentials in the data source. If you don't need

to send the user's identity to the data source to apply row-level security to query results, using stored

credentials is a good option. As with user-supplied credentials, you can specify whether the database server

or Windows will authenticate the credentials. In addition, you can specify whether the report server can

impersonate the user after making the connection to the database.

d. No credentials

You can use this option for data sources that don't require authentication or if you

provide credentials in the data source connection string (which isn't a recommended approach) as long as the

Page 25: Deploy sql express and share point foundation

unattended execution account is configured. The report server connects to the data source server using the

unattended execution account, although authentication will fail if SQL Server Analysis Services (SSAS) is

the data source.

III. Install and Configure Reporting Service

We begin by installing SQL Reporting Services for SharePoint on our Application Server or on a

dedicated Reporting Services Server with SharePoint running.

Launch the SQL Server Installation Center and Select Installation and then click on New

Installation or add features to an existing installation.

Click Install to install the Setup Support Files.

The setup support rules are then run. At this stage you should rectify any errors if present.

Click Next

In the Installation Type page, select New installation or add shared features

Page 26: Deploy sql express and share point foundation

Click Next

Select Reporting Services and Management Tools only.

Click Next

Setup will run the Installation Rules. Address any failures and then click Next

Type a Named Instance

Page 27: Deploy sql express and share point foundation

Click Next.

Check your Disk Space Requirements

Click Next

In the Server Configuration page, enter a domain user account.

Click Next

In the Reporting Services Configuration Page, the only option was to Install, but do not

configure the report server.

Page 28: Deploy sql express and share point foundation

Click Next

The Installation Configuration Rules are run. Address any issues and click Next.

Click Install to proceed with the Installation.

Once the installation has completed, Navigate to Start > All Programs > Microsoft SQL

Server 2008 R2 > Configuration Tools and launch the Reporting Services Configuration

Manager.

Select the Report Server Instance and click Connect

On the left Task bar, select Database and click on Change Database.

Page 29: Deploy sql express and share point foundation

The Report Server Database Configuration Wizard is displayed and select Create a new

report server database.

Click Next

Enter a valid database name where you want to install the Report Server database. I will be

hosting this on a remote SQL server which also houses my SharePoint Configuration and

Content Databases.

Page 30: Deploy sql express and share point foundation

Click Next

Enter the Database Name and Select your Report Server Mode as SharePoint Integrated

Mode.

Click Next

Under Authentication Type, select Windows Credentials and enter a domain user account.

Page 31: Deploy sql express and share point foundation

Click Next

Review the Summary and Click Next

Click Finish once the configuration Wizard completes.

Navigate to Web Service URL and change any values. I have changed my TCP port to

1111. Click Apply.

You should notice that the new URL was successfully reserved.

Page 32: Deploy sql express and share point foundation

Copy the Report Server Web Service URL to clipboard. This will be needed a little later.

Click Exit.

IV. Install SharePoint Web Front End on Reporting Service Server

1. Install SharePoint Server on Reporting Service server

a. Install prerequisite - Run command on Window PowerShell

- Double click on PrerequisiteInstaller

Page 33: Deploy sql express and share point foundation

- On the welcome to the Microsoft SharePoint 2010 Products Preparation Tool page click Next

- On the License Terms for software products page tick on I accept the terms of the License Agreements and click Next

- Installation is in progress

Page 34: Deploy sql express and share point foundation

- All required prerequisites have been installed or enabled and click finish

b. Install SharePoint Foundation Server - Double click on SharePoint Foundation soft

- SharePoint Foundation 2010 appear click on Install SharePoint Foundation

Page 35: Deploy sql express and share point foundation

- On the Read the Microsoft Software License Terms page tick on I accept the terms of this agreement box and click Continue button

- On the Choose the installation you want choose Server Farm button

- On Server Type page choose complete – Install all components. Can add servers to form a SharePoint farm and click Install Now button

Page 36: Deploy sql express and share point foundation

- Installation in progress

- On Run Configuration Wizard click close

c. Configure farm

- Start the “SharePoint 2010 Products Configuration Wizard” from the “Microsoft SharePoint

2010 Products” menu option under “All Programs”

- Press “Next”

Page 37: Deploy sql express and share point foundation

- Press “Yes”

- Press “Connect to an existing server farm”

Page 38: Deploy sql express and share point foundation

- Enter the Database Server name: LAB-SQL

- Press “Retrieve Database Names”

- Press “Next”

- If you cannot connect to the DB make sure you can ping the DB Server, make sure you can

telnet to 1433, and make sure you gave Service-SharePoint the correct rights on the database

server.

Page 39: Deploy sql express and share point foundation

- Enter the farm passphrase

- Press “Next”

Page 40: Deploy sql express and share point foundation

- Press “Next”

Page 41: Deploy sql express and share point foundation

- The wizard will configure this server into the farm

Page 42: Deploy sql express and share point foundation

- Press “Finish”

Page 43: Deploy sql express and share point foundation

V. Integrate Reporting Service with SharePoint Server

- Launch SharePoint Central Administration and navigate to General Application Settings >

Reporting Services > Reporting Services Integration

- Enter the details below

- After clicking OK you will return to the Reporting Services Integration Summary Page with

hopefully 3 green ticks with successful status’.

Page 44: Deploy sql express and share point foundation

- We now need to confirm that the that the Report Server Name and server instance is correctly

listed in SharePoint. We do so by navigating to SharePoint Central Administration > General

Application Settings > Reporting Services > Add a Report Server to the Integration.

- To verify that we have correctly configured and integrated Reporting Services with SharePoint

2010, we navigate to our SharePoint Site, Site Settings > Site Collection Features and

Activate the Reporting Server Integration Feature.

- After the activating the Report Server Integration Feature, we can navigate to our SharePoint

Site and add the SQL Server Reporting Services Report Web Part, located under SQL Server

Reporting.

Page 45: Deploy sql express and share point foundation

- You can now upload your reports which will render directly in SharePoint.


Recommended