Skip to main content

Posts

Showing posts from July, 2019

Re create Office Web App Server

If you are encountering issues and need to rebuild the office web app server, follow this guideline:   On the office web app machine Try and take the farm offline (if for example you are in a load balanced environment Then, backup the current Farm information using Powershell commands on the office web app server.   Import-Module -Name OfficeWebApps  Get-OfficeWebAppsFarm > c:\Farmsettings.log Use Powershell on the office web app server to remove all the machine from the farm, then remove the parent machine.  This will delete the farm. Remove-OfficeWebAppsMachine Reboot  the Office Web Apps server(s). Recreate the farm via Powershell on the office web app server. using (if appropriate) the parameter values from the " Farmsettings.log " . New-OfficeWebAppsFarm -InternalURL  " http://farm.com "  -ExternalUrl  " https://farm.com "   -CertificateName "OfficeWebApps Certificate" -Allow...

Office web apps log

The default log file in the office web app is usually not too detailed for some faults.   To enable verbose logging, do this: Set-officewebappsfarm -LogVerbosity Verbose After this restart the OWA service using this command Restart-service wacsm -force On completion of your troubleshootings, you can set the log level back to default using the command  Set-officewebappsfarm -LogVerbosity and then restart the service using Restart-service wacsm -force   QED   

Move SharePoint 2013 Search Component to another server

For different reasons, there are times an admin will like to move  SharePoint Search component around. The different component in the Search Service can be allocated to different application servers if you have more than one.  This will help to balance the use of resources on those system. This is applicable if you already have a healthy working search topology. To start with, run the following command get your Search service application instantiated $ssa = Get-SPEnterpriseSearchServiceApplication "Search Service A pplication" $instance=Get-SPEnterpriseSearchServiceInstance -Local $current=Get-SPEnterpriseSearchTopology -SearchApplication $ssa $clone=New-SPEnterpriseSearchTopology -Clone -SearchApplication $ssa -Se archTopology $current $ssa = Get-SPEnterpriseSearchServiceApplication $active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active Then go ahead and clone the existing topology  $clone = New-SPE...