Sharing Service Applications Between Farms in .NET framework

Encoding QR Code in .NET framework Sharing Service Applications Between Farms

Sharing Service Applications Between Farms
QR Code JIS X 0510 Scanner In Visual Studio .NET
Using Barcode Control SDK for Visual Studio .NET Control to generate, create, read, scan barcode image in Visual Studio .NET applications.
Quick Response Code Generation In Visual Studio .NET
Using Barcode maker for VS .NET Control to generate, create Quick Response Code image in .NET applications.
The new service application architecture in SharePoint 2010 enables you to share service applications between farms, thus optimizing your resources by providing enterprisewide services The types of service applications that can be published are business data connectivity, managed metadata, user profile, search, secure store, and web analytics A couple of actions need to be performed in preparation for publishing service applications between farms First, you need to determine which farm should act as the publishing farm and which farm or farms will consume data from the published service application on the publishing farm Next, you need to establish a trust between the publishing farm and the consumer farm This requires two steps: Exchange root certificates between the farms Copy a Security Token Service (STS) certificate from the consuming farm to the publishing farm
Recognize QR Code In .NET Framework
Using Barcode reader for .NET Control to read, scan read, scan image in Visual Studio .NET applications.
Paint Bar Code In VS .NET
Using Barcode encoder for Visual Studio .NET Control to generate, create barcode image in Visual Studio .NET applications.
Exchanging Root Certificates
Reading Barcode In VS .NET
Using Barcode reader for VS .NET Control to read, scan read, scan image in VS .NET applications.
Generating QR Code 2d Barcode In Visual C#
Using Barcode encoder for Visual Studio .NET Control to generate, create Quick Response Code image in .NET applications.
Exchanging root certificates between the publishing farm and the consuming farm enables both farms to trust each other for secure communication (over https) This requires that you export and import the root certificates on the two farms
QR Code Drawer In VS .NET
Using Barcode encoder for ASP.NET Control to generate, create QR-Code image in ASP.NET applications.
Paint QR Code ISO/IEC18004 In Visual Basic .NET
Using Barcode generation for .NET framework Control to generate, create QR-Code image in .NET applications.
PowerShell for Microsoft SharePoint 2010 Administrators
Create ANSI/AIM Code 128 In VS .NET
Using Barcode generation for Visual Studio .NET Control to generate, create USS Code 128 image in .NET framework applications.
Universal Product Code Version A Creator In .NET Framework
Using Barcode drawer for .NET framework Control to generate, create UPC A image in Visual Studio .NET applications.
To export a root certificate from a farm, you can use the GetSPCertificateAuthority cmdlet The cmdlet returns an instance of the Microsoft SharePointAdministrationSPCertificateAuthority class This class provides the RootCertificate property, which returns an object of type System SecurityCryptographyX509Certificatesx509Certificate2 The x509Certificate2 object represents an X509 certificate Objects of the type x509Certificate2 support the Export method This method has a contentType parameter, which accepts an X509ContentType value that describes how the output should be formatted The supported values are Cert, SerializedCert, and Pkcs12 Passing any other value from the X509ContentType enumeration causes an exception The Export method returns an array of bytes that represent the certificate Since we want to copy the root certificate to a different farm, we write the output to a file using the Set-Content cmdlet This cmdlet supports the Encoding parameter, which has the default value of Unicode Since the Export method returns an array of bytes, we change the encoding to Byte, as follows:
Paint ECC200 In .NET Framework
Using Barcode creation for .NET framework Control to generate, create Data Matrix image in .NET applications.
USPS PLANET Barcode Generator In VS .NET
Using Barcode printer for Visual Studio .NET Control to generate, create USPS PLANET Barcode image in Visual Studio .NET applications.
PS > (Get-SPCertificateAuthority)RootCertificateExport("Cert") | >> Set-Content -Path "\\SPServer01\Share\PublishingRootCertcer" ` >> -Encoding Byte
Barcode Generator In None
Using Barcode maker for Word Control to generate, create barcode image in Microsoft Word applications.
USS Code 128 Maker In None
Using Barcode creator for Online Control to generate, create Code 128A image in Online applications.
Next, we run the command on the consuming farm
Painting EAN13 In None
Using Barcode drawer for Font Control to generate, create EAN / UCC - 13 image in Font applications.
Draw EAN13 In Java
Using Barcode generator for Android Control to generate, create EAN / UCC - 13 image in Android applications.
PS > (Get-SPCertificateAuthority)RootCertificateExport("Cert") | >> Set-Content -Path "\\SPServer01\Share\ConsumingRootCertcer" ` >> -Encoding Byte
Code-39 Drawer In None
Using Barcode drawer for Office Excel Control to generate, create Code 3/9 image in Excel applications.
Make 1D In Visual Basic .NET
Using Barcode creation for Visual Studio .NET Control to generate, create Linear image in .NET framework applications.
After the root certificates have been exported, you need to create a trusted root authority on both farms using the New-SPTrustedRootAuthority cmdlet This cmdlet supports the Name and Certificate parameters The Name parameter accepts an object of type SystemString and is used to specify the name of the trusted root authority to create The Certificate parameter accepts an object of type X509Certificate2, which can be obtained from the previously saved copy using the Get-PfxCertificate cmdlet This example demonstrates how to add a trusted root authority to the publishing farm:
Recognizing ECC200 In VB.NET
Using Barcode decoder for .NET framework Control to read, scan read, scan image in .NET applications.
Print Barcode In Objective-C
Using Barcode creation for iPhone Control to generate, create barcode image in iPhone applications.
PS > $rootCert = >> Get-PfxCertificate -FilePath "\\SPServer01\Share\ConsumingRootCertcer" PS > New-SPTrustedRootAuthority -Name "Consumer Farm" -Certificate $rootCert
Next, we run the command on the consumer farm
PS > $rootCert = >> Get-PfxCertificate -FilePath "\\SPServer01\Share\PublishingRootCertcer" PS > New-SPTrustedRootAuthority -Name "Publishing Farm" -Certificate $rootCert
18:
Managing Service Applications
Copying an STS Certificate
To export the STS certificate, you can use the Get-SPSecurityTokenServiceConfig cmdlet This cmdlet returns an object of type MicrosoftSharePointAdministration ClaimsSPSecurityTokenServiceManager, which represents the STS in the farm This type provides the LocalLoginProvider property, which represents the local STS login settings, and the SigningCertificate property, which you can use to retrieve the STS X509 certificate TIP To learn more about Secure Token Services and claims-based authentication, we recommend reading the TechNet article on authentication planning, at http://technetmicrosoftcom/en-us/library/ cc288475aspx The following example demonstrates how to export an STS certificate on the consumer farm to a file on a shared folder
PS >> PS >> > $c = (Get-SPSecurityTokenServiceConfig)LocalLoginProviderSigningCertificate > $cExport("Cert") | Set-Content -Path "\\SPServer01\Share\ConsumingSTSCertcer" -Encoding byte
To copy the STS certificate to the publishing farm, use the NewSPTrustedServiceTokenIssuer cmdlet The cmdlet sets up a trust between the farms using the STS certificate The following example demonstrates how to add the STS certificate to the publishing farm
PS >> PS >> > $stsCert = Get-PfxCertificate -FilePath "\\SPServer01\Share\ConsumingSTSCertcer" > New-SPTrustedServiceTokenIssuer -Name "Consumer Farm" ` -Certificate $stsCert
Once the root certificates are exchanged between the farms and the STS certificate has been copied to the publishing farm, you can go ahead and configure the Application Discovery and Load Balancing Service Application (also known as the Topology Service), which handles the discovery of a farm s service applications
Copyright © OnBarcode.com . All rights reserved.