I believe in Hyper-V!

Team Foundation ServerCategory Archives

About TFS Administration

Migracija TFS 2008 na TFS 2010, treći dio, SharePoint Server 2007

Nakon što smo napravili instalaciju i konfiguraciju SQL servera i pripadujućih servisa, nastavljamo sa instalacijom i konfiguracijom SharePoint servera 2007.

Instalacija SharePoint servera 2007

Start the installation wizard for SharePoint Products. If you are installing Microsoft Office SharePoint Server 2007, type your product key, and click Continue.
On the Read the Microsoft Software License Terms page, read the agreement. If it is acceptable, select the I accept the terms of this agreement check box, and then click Continue.
On the Choose the installation you want page, click Advanced.
On the Server Type tab, perform one of the following steps:
If you are installing Windows SharePoint Services 3.0, click Web Front End.
If you are installing Microsoft Office SharePoint Server 2007, click Complete.
Click Install Now.
When the installation wizard finishes, a dialog box appears that prompts you to complete the configuration of your server. In that dialog box, verify that the Run the SharePoint Products and Technologies Configuration Wizard now check box is selected.
Click Close to start the configuration wizard.
On the Welcome to SharePoint Products and Technologies page, click Next. On the Connect to a server farm page, click No, I want to create a new server farm, and then click Next.
On the Specify Configuration Database Settings page, perform the following steps:
a. In Database server, type the name of the server that is running SQL Server and which you will use to host the databases for Team Foundation Server. If you will use a named instance, add its name after the name of the database server, separated by a slash (for example, MyDatabaseServer\MyInstanceName).
b. In Database name, type the name of the database that you want to use, or accept the default value.
c. Under Specify Database Access Account, in Username, type the name of the user account that you want to use as the service account for SharePoint Products (WSSSERVICE).
d. Under Specify Database Access Account, in Password, type the password for the service account.
e. After you specify all the required information, click Next.
On the Configure SharePoint Central Administration Web Application page, select he Specify port number check box, and type 17012.
Team Foundation Server uses this as the port number for the SharePoint Products
administration site. You can use any port number, but Team Foundation Server has always used 17012 as the port number for the SharePoint Products administration site.
In Configure Security Settings, click NTLM, and then click Next.
On the Completing the SharePoint Products and Technologies Configuration Wizard page, review the information, and then click Next.
On the Configuration Successful page, click Finish.
Configure Settings for Dashboard Compatibility
To configure services in Office SharePoint Server on the server that is running Microsoft Office SharePoint Server 2007, open SharePoint Central Administration.
Click the Operations tab, and under Topology and Services, click Services on
server.
In Select server role to display services you will need to start in the table below, click Single Server or Web Server for small server farms or Web server for medium server farms.
In Start services in the table below, find Excel Calculation Services, click Start, and then wait for the operation to complete.
In Start services in the table below, find Office SharePoint Server Search, and then click Start. The Configure Office SharePoint Server Search Service
Settings page opens.
In Query and Indexing, select the Use this server for indexing content and Use this server for serving search queries check boxes.
In Contact E-mail Address, type the address of an e-mail account to which external users should send mail about problems with this server.
In Farm Search Service Account, type the user name and password of a domain account to use as the Office SharePoint Server Search Service Account.
Leave the rest of the settings in their default configuration, click Start, and then wait for the operation to complete.
In Start services in the table below, find Windows SharePoint Services Search, and then click Start.
The Configure Windows SharePoint Services Search Service Settings page opens.
In Service Account, type the user name and password of a domain account to use as the service account.
In Content Access Account, type the user name and password of an account to use as the read-only access account.
Leave the rest of the settings in their default configuration, click Start, and then wait for the operation to complete.
Create a Shared Service Provider for Use with Team Foundation Server

After you enable the services that Team Foundation Server requires, you must create a shared service provider (SSP) for use with Team Foundation Server. You
will also create a SharePoint Web application to support this SSP.

To create a shared service provider and the Web application that it will use.

Click Home to display the main page for Central Administration, and then click Shared Services Administration.
On the Manage this Farm’s Shared Services page, click New SSP.
The New Shared Services Provider page appears.
In SSP Name, either type a name for the new SSP, or accept the default name.
The default name is SharedServices, followed immediately by a number (for example, SharedServices1).
Click Create a new Web application.
The Create New Web Application page appears.
In IIS Web site, click Create a new IIS Web site.
In Security Configuration, click NTLM, and then click Create a new application pool.
In Application Pool, configure the following options:
In Application pool name, ensure that the name matches the name in Description.
In the Select a security account for this application pool section, click Configurable, and then type the user name and password of the service account for SharePoint Products.
Leave the rest of the settings in their default configuration, and then click OK.
After the Web application is created, the New Shared Services Provider page appears with an error message in the title bar. This behavior is expected.
In SSP Name, in Web Application, verify that the name of the Web application that you just created for the SSP appears, and do not modify any default settings in this section.
In My Site Location, under My Site Location URL, in Relative URL, type a relative URL if a site already exists at /.This URL is required only if a site already exists at /. Users typically specify /My but you can specify any name that does not use prohibited characters.
Leave the rest of the settings in their default configuration, click OK, and then wait for the operation to complete. If a warning message appears about hosting the administration site for SSP and the root site on the same server, click OK.
On the Success page, click OK.

Configure Single Sign-On

To configure single sign-on, you must create an enterprise application definition. During the following procedure, you might need to log on with two sets of credentials. To successfully complete this procedure, the account with which you log on to the server that is running Microsoft Office SharePoint Server 2007 must meet the following requirements:

The account must be a domain user account. It cannot be a group account.
The account must be a member of the Farm Administrators group.
The account must be a member of the local Administrators group on the encryption-key server.
The account must be a member of the securityadmin and db_creator roles on the instance of SQL Server that will host the single sign-on database.
The account must be either the same account that is used as the Single Sign-On Administrator Account or a member of the group account that is used as the Single Sign-On Administrator Account.

To configure single sign-on

In SharePoint Central Administration, click the Operations tab.
Under Security Configuration, click Service accounts.
On the Service Accounts page, in the Credential Management section, click Windows service, and then click Single Sign-on Service from the list of services.
In the Select an account for this component section, click Configurable.
Type the user name and password of an account that you have configured to use as the sign-on account, and then click OK.
Click Start, click Administrative Tools, and then click Services.
In Services, right-click Microsoft Single Sign-On Service, and then click Properties.
On the General tab, in Startup type, click Automatic, click Start, and then click OK.
In SharePoint Central Administration, click the Operations tab.
Under Security Configuration, click Manage settings for single sign-on.
On the Manage Settings For Single Sign-On page, click Manage server settings. The Manage Server Settings for Single Sign-On page appears.
In Single Sign-on Administrator Account, type the user name and password of an account that you have configured to use as the sign-on account.
In Enterprise Application Definition Administrator Account, type the user name of the person or group of people whom you want to assign as the manager or managers of enterprise application definitions on this server.
You should consider creating and using a group that you will use for all members of the Team Foundation Administrators group.
Leave the rest of the settings in their default configuration, and then click OK.
On the Manage Settings For Single Sign-On page, click Manage encryption key.
On the Manage Encryption Key page, click Create Encryption Key.
On the Create Encryption Key page, click OK.
Return to the Manage Settings For Single Sign-On page.
Click Manage settings for the enterprise application definitions.
On the Manage Settings for the Enterprise Application Definitions page, click New Item. The Create an Enterprise Application Definition page
appears.
(Optional) In Application and Contact Information, in both Display name and Application name, type TFS. This step is not required, but it can be useful for convenience in later identification.
In E-mail address, type the e-mail address of the person or group whom you want to receive e-mail messages about this application.
In Account type, click Group.
In Authentication type, click Windows Authentication, and then click OK.
Return to the Manage Settings For Single Sign-On page, and then click Manage account information for enterprise application definitions.
The Manage Account Information for Enterprise Application Definitions page appears.
In the Account information section, in the Enterprise account definition list, click the name of the enterprise account definition that you created to support Team Foundation Server.
If you followed the suggested naming convention, the name will be TFS.
In Group account name, type the name of a global security group in the domain that contains all the users to whom you want to grant access to dashboards and reports in Team Foundation Server, and then click Set.
In Provide Server Account Information, type the name and password for the report reader account (referred to with the placeholder TFSReports), and then click OK.
On the Manage Account Information for Enterprise Application
Definitions page, click Done.

Add a Trusted File Location for Excel Services

For reports to operate correctly, you must also configure the Web application that you created for Team Foundation Server to use as a trusted file location for Excel Services.

To add a trusted file location

  • In SharePoint Central Administration, click Home to return to the home page for SharePoint Central Administration.
    Under Shared Services Administration, click the name of the shared service provider that you created.
    If you followed the suggested naming convention, this application will be called SharedServices1. The home page for administering the Web application opens.
    Under Excel Services Settings, click Trusted file locations.
    On the Trusted File Locations page, click Add trusted file location.
    The Excel Services Add Trusted File Location page appears.
    In Address, type the URL of the root site of the Web application that you will use with Team Foundation Server.
    You should specify the Web application that you created in the Create a Web Application section.
    In Location Type, click Windows SharePoint Services.
    In Trust Children, select the Children trusted check box.
    In the External Data section, under Allow External Data, click Trusted data connection libraries and embedded.
    (Optional) Clear the Refresh Warning Enabled check box.
    In Maximum Concurrent Queries Per Session, change the number to 20, make sure that the Refresh warning enabled check box is not selected, and then click OK.
  •  

    Set the Access Model

    After you configure all the settings and services that Team Foundation Server requires, you must configure the access model for the Web application for single sign-on for delegation. If you do not configure the access model, Team Foundation Server and the Web application cannot interoperate.

    To set the access model

    On the server that is running SharePoint Central Administration, open a command
    prompt.
    Change directories to %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\12\bin and type the following command:
    stsadm -o set-ecssecurity -ssp SharedServiceProviderName -accessmodel
    delegation
    SharedServiceWebApplicationName is the name of
    the shared service provider that you created. If you followed the suggested
    naming convention, this name is SharedServices1.
    At the command prompt, type iisreset to restart IIS.

    Migracija TFS 2008 na TFS 2010, drugi dio, SQL Server 2008 R2

    U prvom dijelu pripremili smo osnovnu infrastrukturu. U drugom dijelu opisano je na koji način se vrši instalacija SQL Servera 2008 R2 i to prema niže navedenim uputama:

  • On the SQL Server Installation Center page, click Installation, and then click New SQL Server stand-alone installation or add features to an existing installation.
    On the Setup Support Rules page, click OK.
    On the Product Key page, type your product key and click Next.
    On the License Terms page, review the license agreement. If you accept the terms and conditions, select the I accept the licensing terms check box, and then click Next.
    On the Setup Support Files page, click Install.
    On the Setup Support Rules page, click Next.
    On the Feature Selection page, select the check boxes for the following components, and then click Next:
    Database Engine Services (required for Team Foundation Server)
    Full-Text Search (required for Team Foundation Server)
    Analysis Services (required for reporting)
    Reporting Services (required for reporting)
    Client Tools Connectivity (required if no other SQL Server components are
    installed on the server that is running Team Foundation Server.)
    Management Tools – Basic
  • On the Instance Configuration page, click Default instance or Named instance. If you click Named instance, type the name of the instance. Click Next.
    On the Disk Space Requirements page, click Next.
    On the Server Configuration page, click Use the same account for all SQL Server services, or type the name of a domain account or NT AUTHORITY\NETWORK SERVICE in Account Name for every service.
    I recommend that you use a domain account, something like domainname\tfsservice.
    If you specify a domain account, type its password in Password.
    If you use NT AUTHORITY\NETWORK SERVICE, leave Password blank.
    If you click Use the same account for all SQL Server services, you may still have to manually type account information for some services.
    In the Startup Type column, verify that Automatic appears for all services that you can edit, and then click Next.
    If you selected the check box for Database Engine Services in step 8, on the Database Engine Configuration page, click Windows authentication mode, click Add Current User, and then click Next.
    If you selected the check box for Analysis Services in step 8, on the Analysis Services Configuration page, click Add Current User, and then click Next.
    If you selected the check box for Reporting Services in step 8, on the Reporting Services Configuration page, click Install the native mode default configuration. If that option is unavailable, click Install, but do not configure the report server, and then click Next.
    You should not click Install the SharePoint integrated mode default configuration. Team Foundation Server does not support this configuration mode.
    (Optional) On the Error and Usage Reporting page, select one or both check boxes to specify where information about errors and feature usage should be sent, and then click Next.
    On the Installation Rules page, click Next.
    On the Ready to Install page, review the list of components to be installed, and then click Install.
    The Installation Progress page shows the status of each component.
    On the Complete page, click Close.
  • Configure Report Server Manually
    You must manually configure your report server if you could not configure Reporting Services when you installed SQL Server. If Reporting Services is on the same server as Team Foundation Server and you have not configured the report server, you are prompted during Team Foundation Server installation to complete the report server configuration, starting on step 3.
    To manually configure a report server
    Click Start, point to All Programs, point to Microsoft SQL Server 2008, point to Configuration Tools, and click Reporting Services Configuration Manager. The Reporting Services Configuration Connection dialog box appears.
    In Server Name, type the name of the report server. If you are using an instance name, type the name of the instance in Report Server Instance. Click Connect.
    On the Reporting Services Configuration Manager page, click Start if the Report Service status reads Stopped.
    In the navigation bar, click Web Service URL.
    On the Web Service URL page, click Apply to accept the default values in the Virtual Directory, IP Address, and TCP Port boxes.
    In the navigation bar, click Database.
    On the Report Server Database page, click Change Database.
    The Report Server Database Configuration Wizard appears.
    On the Action page of the wizard, click Create a new report server database, and click Next.
    On the Database Server page of the wizard, type the name of a local or remote instance of SQL Server to host the database for the report server in Server Name, and click Next.
    On the Database page of the wizard, click Next to accept the default values in the Database Name, Language, and Native Mode boxes.
    In Credentials, click Next to accept the default values in the Authentication Type, User name, and Password boxes.
    On the Summary page of the wizard, verify your information, and click Next.
    On the Progress and Finish page of the wizard, click Finish.
    In the navigation bar for Reporting Services Configuration Manager, click Report Manager URL.
    On the Report Manager URL page, click Apply to accept the default value in the Virtual Directory box, and then click Exit.
    Configure Analysis Services to Recover on Failure
    You should configure the Windows service for Analysis Services to restart itself if it fails.
    To configure Analysis Services to recover
    Click Start, point to All Programs, point to Administrative Tools, and then click Services.
    Right-click the Windows service for SQL Server Analysis Services (MSSQLSERVER), and then click Properties.
    If you are using a named instance of Analysis Services, the instance name
    appears in parenthesis.
    Click Recovery,
    In the First failure list, click Restart the Service.
    In the Second failure list, click Restart the Service.
    In the Subsequent failures list, click Restart the Service, and then click OK.

    Migracija TFS 2008 na TFS 2010, prvi dio, priprema infrastrukture

    U ovom postu opisati ću kako se radi migracija/upgrade sa postojećeg Team Systema 2005/2008 na novi Team Foundation Server 2010.
    Scenarij:
    Migriramo Team System 2005/2008 na Team Foundation Server 2010 koji će se nalaziti na drugom serveru, (All on One Server). Moja preporuka je da to bude na virtualnoj mašini, tako da možete u svakom koraku napraviti snapshot koji možete vratiti ukoliko nešto pođe po zlu.
    Infrastruktura:
    VSTS 2008: VS Team System 2008, Windows Server 2003, SQL Server 2005, WSS 2.0, domain member.
    TFS 2010: Team Foundation Server 2010 SP1, Windows Server 2008 R2 SP1, SQL Server 2008 R2 SP1, SharePoint Server 2007, domain member.
    Prije početka migracije moramo pripremiti okruženje i servise koju su nam potrebni za samu migraciju. Sam postupak migracije je trivijalan, ali kako bi to napravili vrlo je bitno da napraviti sve predradnje. Kada smo instalirali OS, zapečirali stroj i dodali ga u domenu radimo sljedeće:
    Napomena: Ukoliko se želite olakšati migraciju, za instalaciju niže navednog koristite domain account domain\tfsservice ili nešto slično. Taj isti account mora biti local admin account na TFS serveru, te ga je potrebno ubaciti u domain GPO “logon as a service”.
    1. Instalacija role IIS 7.0 prema niže navedenim uputama:
  • Click Start, point to Programs, point to Administrative Tools, and then click Server Manager.
    In the tree pane, click Roles.
    In the details pane, click Add Roles. The Add Roles Wizard starts.
    On the Before You Begin page, read the instructions, and then click Next.
    On the Select Server Roles page, select the Web Server (IIS) check box. If the Add features required for Web Server (IIS) dialog box appears, click Add Required Features. Click Next.
    On the Web Server (IIS) page, read the information, and then click Next.
    On the Select Role Services page, select the following check boxes (without changing the other default settings), and then click Next:
  • ASP.NET, If the Add role services and features required for ASP.NET dialog box appears, click Add Required Role Services.
  • Windows Authentication
    IIS 6 Management Compatibility, All subordinate check boxes are automatically selected.
  • On the Confirm Installation Selections page, review the installation information.
    If the information is correct, click Install. To make corrections, click Previous.
    After the Add Roles Wizard installs IIS, click Close.