Tag Archive: service application


1.     Back up farm

Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

On the Start menu, click All Programs.

Click Microsoft SharePoint 2010 Products.

Click SharePoint 2010 Management Shell.

At the Windows PowerShell command prompt, type the following command:

Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} [-Verbose]

Where <BackUpFolder> is the path of a folder on the local computer or the network in which you want to store the backups.

2.     Restore farm

Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

On the Start menu, click All Programs.

Click Microsoft SharePoint 2010 Products.

Click SharePoint 2010 Management Shell.

At the Windows PowerShell command prompt, type the following command:

Restore-SPFarm -Directory <BackupFolder> -RestoreMethod Overwrite [-BackupId <GUID>]

Where:
<BackupFolder> is the path of the folder you use for storing backup files.
<GUID> is the identifier of the backup to restore from.

Note:
If you are not logged on as the Farm account, you are prompted for the Farm account’s credentials.

If you do not specify the BackupId, the most recent backup will be used. To view the backups for the farm, type the following command:

Get-SPBackupHistory -Directory <BackupFolder> -ShowBackup [-Verbose]

Where:
<BackupFolder> is the path of the folder you use for storing backup files.

You cannot use a configuration-only backup to restore content databases together with the configuration.

To restart a service application, type the following command:

Start-SPServiceInstance -Identity <ServiceApplicationID>

Where:
<ServiceApplicationID> is the GUID of the service application.

Start-SPServiceInstance For more information about restarting service applications by using Windows PowerShell, see Start-SPServiceInstance.

For more information about restoring the farm by using Windows PowerShell, see Restore-SPFarm.

Hoang Nhut Nguyen

Email: nhutcmos@gmail.com

Skype: hoangnhut.nguyen

This article wil introduce how to setup SharePoint enterprise search in SharePoint 2013 and how to manage crawled properties which will be indexed and queryable.

1. Create Search Service Application Proxy

Login Central Administration with Farm Administrator permission, click on Manage Service Applications under Application Management section. Click on New ribbon in top left corner and select Search Service Application from menu

01.NewSSA

In Create New Search Service Application dialog, input appropriated settings as below. In this sample, I would like reuse existed SharePoint Service Application, you can also create new application pool for this Search Service

02.NewSSA_Input

Click OK to finish and wait for processing, the result should be like this

03.SSA_Review

 

2. Configure Content Sources

Back to Central Admin page -> Application Management -> Manage service applications. In the service application list, you can see Search Service Application which just created above. Click on it to open manage page

At Search Service Application page click Content Source in left menu and edit Local SharePoint sites content source

04.EditContentSource

You can verify in address box, there are will list all site address which will be lookup for crawling. If there are missing address, you can add more by typing in a new line. Notice that sps3 protocal is using to index for User Profile property which are managed by User Profile Service Application, and the port is My Site’s port

05.Crawlingdata

3. Set Crawl scheduler

At Manage Content Source page, select Edit in current content source. Then click on Create Schedule under Crawl Schedules.

07.CreateSchedule

 

Manage Schedules dialog will display and allow you to setting

08.CreateSchedule_Setting

 

4. Manage Crawled properties

In SharePoint 2013, Search service application’s navigation has some changes, and Metadata Property in left menu was changed to Search Schema.

09.SearchSchema

By click on this menu item, system will show you Managed Properties, here is the place you can manage what data will be crawled and queryable in search scopes.

10.ManageProperties

To add new property, click New Managed Property, and fill Property NameType of informatoin of property, make sure checked on Searchable and Queryable, select other options with your expectation.

11.NewProperty

At Mappings to crawled properties section, you need to define what data information will map to this property, it can be a list columns, a user profile property,…. Click Add a Mapping to find your data. A selection popup will show as below

12.NewProperty_AddMapping

Click Add and then OK to finish adding new property.

Finally, Start Full Craw by come back to Content Sources management page, select Content Source’s menu and click Start Full Crawl

For others option configuration in search service application, you can find more at Technet Microsoft site

 

Hoang Nhut Nguyen

Email: nhutcmos@gmail.com

Skype: hoangnhut.nguyen
%d bloggers like this: