Altough it is very easy to set up Preferred Search Center in Sharepoint 2013 through Service Application Management --> Setup My Sites-->change the URL and hit OK. But when I went back to the setting it was showing up the old URL.
Unable to Change the Preferred Search Center in Sharepoint 2013 -My Sites
Altough it is very easy to set up Preferred Search Center in Sharepoint 2013 through Service Application Management --> Setup My Sites-->change the URL and hit OK. But when I went back to the setting it was showing up the old URL.
Configure a high available search service on SharePoint 2013
Server 1 : Application and WFE 1
server 2 : Application and WFE 2
Server 3 : Database server
Below diagram shows the proposed search topology :
The objective was to configure the search in a way that search service should keep running even when one server goes down. To create a highly available and redundant search environment we need to install all search components on both servers. SharePoint 2013 doesn’t allow us to configure/modify above the search topology through Central admin console . The only option is to configure it using SharePoint Management Shell.
Below is the script I used to create high available search service on SharePoint2013 :
#set variables
$App1 = "WFE-APP1"
$APP2 = "WFE-APP2"
$SearchAppPoolName = "Search_App_Pool1"
$SearchAppPoolAccountName = "domain\SP_service_account"
$SearchServiceName = "Search_Service_App1"
$SearchServiceProxyName = "Search_Service_Proxy1"
$DatabaseName = "Search_Admin_DB1"
#Create a Search Service Application Pool
$spAppPool = New-SPServiceApplicationPool -Name $SearchAppPoolName -Account $SearchAppPoolAccountName -Verbose
#Start Search Service Instance and Search Query instances on both Application Servers
Start-SPEnterpriseSearchServiceInstance $App1 -ErrorAction SilentlyContinue
Start-SPEnterpriseSearchServiceInstance $App2 -ErrorAction SilentlyContinue
Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $App1 -ErrorAction SilentlyContinue
Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $App2 -ErrorAction SilentlyContinue
#Create Search Service Application
$ServiceApplication = New-SPEnterpriseSearchServiceApplication -Partitioned -Name $SearchServiceName -ApplicationPool $spAppPool.Name -DatabaseName $DatabaseName
#Create Search Service Proxy
New-SPEnterpriseSearchServiceApplicationProxy -Partitioned -Name $SearchServiceProxyName -SearchApplication $ServiceApplication
#Setting up the topology
$hostApp1 = Get-SPEnterpriseSearchServiceInstance -Identity $APP1
$hostApp2 = Get-SPEnterpriseSearchServiceInstance -Identity $APP2
Start-SPEnterpriseSearchServiceInstance -Identity $hostApp1
Start-SPEnterpriseSearchServiceInstance -Identity $hostApp2
Get-SPEnterpriseSearchServiceInstance -Identity $hostApp1
Get-SPEnterpriseSearchServiceInstance -Identity $hostApp2
$ssa = Get-SPEnterpriseSearchServiceApplication
$newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2
#Set the primary and replica index location; ensure these drives and folders exist on application servers. Create folders on SharePoint servers.
$PrimaryIndexLocation = "L:\Index\Primary"
$ReplicaIndexLocation = "L:\Index\Replica"
#create index partitions and replicas for each partition.
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 -RootDirectory $PrimaryIndexLocation -IndexPartition 0
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp2 -RootDirectory $ReplicaIndexLocation -IndexPartition 0
#Activate the Topology( this command will take considerable amount of time)
Set-SPEnterpriseSearchTopology -Identity $newTopology
# Verify the Topology
Get-SPEnterpriseSearchTopology -SearchApplication $ssa
I got help from these two blogs:
http://www.powershellmagazine.com/2013/04/29/creating-and-configuring-a-sharepoint-2013-search-service-application/
http://blogs.technet.com/b/meamcs/archive/2013/04/09/configuring-sharepoint-2013-search-topology.aspx
How to reduce SharePoint cumulative update installation time
I came across this great article on “how to reduce SharePoint cumulative update installation time” which worked like a charm and I was able save lot of time in doing upgrades on multiple servers.
SharePoint Designer 2013 error : server could not complete your request [FIX]
I was facing this issue while connecting to my SharePoint2013 farm from SharePoint Designer 2013 . It was throwing this error:
“The server could not complete your request”
I had to kill the SPDESIGN.exe process forcefully.
Solution:
I got rid of this error by to enabling anonymous authentication on “SharePoint Web Services” web Application . I found the solution here.
How to Remove/Hide Title Column from a Custom Sharepoint List
Here are some quick steps to remove/hide title column from a custom Sharepoint list:
- Go to the Settings->List Settings->Advanced settings
- Check the "yes" Radio button for "Allow management of Content types" and hit OK
- Setp 2 will give you "Content types" option on the settings page which will have "Item" content type
- Clicking on "Item" link , it will give the screen where you can hide the column completely for future use
- Click on "Hidden" under "Column settings" option in this page and hit Ok
- Now go back to the list and add a new item and you won't see the "Title" column.
More more information and screen shots please visit this article on Code Project.
How to Configure Certificate for SCUP 2011
This is a note for my self to configure certificate for SCUP2011. These URLs have all the information required:
http://mikeshellenberger.wordpress.com/2010/09/02/system-center-updates-publisher-microsoft-pki/
http://www.stevensnet.com/Pages/Blogs/Blog_View.aspx?ArticleID=307
http://www.myitforum.com/absolutenm/templates/Articles.aspx?articleid=14226&zoneid=97
Popular Posts
-
When you run DFS health report on a Windows Server 2003/2008 , the report shows this error: “ Cannot access the local WMI repository”. Caus...
-
I was trying to activate Windows Server 2008 and got this error: “Activation Error: Code 0x8007232b .DNS Name does not exist” Actually Windo...
-
I have a post paid connection from Vodafone and wanted to use their Rs.98 plan 2GB vodafone mobile connect plan on my iPhone 3GS ( ios 5.0.1...
-
As of now there is no Untethered jailbreak is available for iPhone 3GS with baseband 05.16.05. The only option is to upgrade the baseband fo...
-
To enable webclient service on server 2008 we need to install desktop experience feature. In earlier version of windows webclient service c...
-
We can store user pictures in AD using thumbnailPhoto attribute of AD user object. That picture can will be showing in Outlook 2010 contac...
-
You get following error when you PXE boot a client to deploy an OS image from ConfigMgr (PSP) : TFTP Download: smsboot\x64\abortpxe.com PXE...
-
I came across this error while installing SCCM client on a Windows 7 Machine. ccmsetup.log file was showing these errors: Failed to send H...
-
Issue: New Windows Update clients fail to install/sync the software updates from WSUS server WindowsUpdate.log file gives many errors refe...
-
You may receive this error after your PC or laptop is updated to Windows 10: “Device SWD\PRINTENUM\PrintQueues requires further installation...