Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations Forum
Viewing all 1136 articles
Browse latest View live

Sharepoint 2013 and Offie Webapps 2013

$
0
0

Hi

We setup an Office Webapps 2013 Farm and an Sharepoint Server 2013 Farm (productive) as well as a Sharepoint Server 2013 farm for development. We were successfully able to integrate the Webapps Farm to the productive SP environment, but we are not able to configure it for the development environment.

The SP application on the development Farm uses claims based authentication. When we try to create an new Office file (or edit), we always get an "Sorry, something went wrong" error message. We checked several How-Tos but it's still not working.

The application ueses:

- claims
- user is not a system account
- wopi zone is correct
- WebApp Server is ok (its wokring in the productive environment)
...

The logfiles on the Sharepoint Server shows this:

01/30/2013 16:53:19.22     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Asp Runtime                       aj1km    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.20, Original Level: Verbose] SPRequestModule.PostResolveRequestCacheHandler    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.22     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Asp Runtime                       aj1kn    High        [Forced due to logging gap, Original Level: Verbose] SPRequestModule.AcquireRequestStateHandler    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.28     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Database                          ahjqp    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.27, Original Level: Verbose] SQL connection time: 0.0856    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.28     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Database                          8acb    High        [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.34     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Database                          ahjqp    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.31, Original Level: Verbose] SQL connection time: 0.0907    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.34     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Database                          8acb    High        [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.42     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Application Authentication        ajjya    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.39, Original Level: Verbose] Issuing loopback token for SPUser for endpoint '{0}'.    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.42     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Claims Authentication             aekyp    High        [Forced due to logging gap, Original Level: Verbose] SPSecurityTokenServiceManagerExtensions!GetProviderByName: Returning Local Issuer for input {0}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.50     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Application Authentication        adnh1    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.45, Original Level: Verbose] Retrieved the authentication realm for context '{0}' as '{1}'.    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.50     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Application Authentication        aiv3a    High        [Forced due to logging gap, Original Level: Verbose] Requesting self-issued token for '{0}'.   66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.58     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Topology                          e5mc    High        [Forced due to logging gap, Original Level: Medium] WcfSendRequest: RemoteAddress: '{0}' Channel: '{1}' Action: '{2}' MessageId: '{3}'    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:19.69     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Monitoring                        b4ly    High        [Forced due to logging gap, Original Level: High] Leaving Monitored Scope ({0}).{1}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.00     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            WOPI                              ajc39    High       [Forced due to logging gap, cached @ 01/30/2013 16:53:19.69, Original Level: Unexpected] WOPIFrame - Unhandled exception: {0}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.00     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Upgrade                           aiaih    High        [Forced due to logging gap, Original Level: Verbose] desiredVersion: {0}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.06     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            General                           af4yd    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:20.05, Original Level: Verbose] TenantAppEtag record requested but there is no sitesubscription or tenantId for site {0} so we will use the WebApp Id for the cache.    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.06     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Upgrade                           aiaih    High        [Forced due to logging gap, Original Level: Verbose] desiredVersion: {0}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.14     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Upgrade                           aiaih    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:20.08, Original Level: Verbose] desiredVersion: {0}    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.14     w3wp.exe (0x1898)                           0x19E8    SharePoint Foundation            Asp Runtime                       aj1kp    High        [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.14     w3wp.exe (0x1898)                           0x1274    SharePoint Foundation            Request Management                aeboc    High        [Forced due to logging gap, cached @ 01/30/2013 16:53:19.16, Original Level: Verbose] No data was found on the incoming client request    66e5f99b-9863-90eb-793b-4e7df85515e8
01/30/2013 16:53:20.14     w3wp.exe (0x1898)                           0x1274    SharePoint Foundation            Monitoring                        b4ly    High        [Forced due to logging gap, Original Level: High] Leaving Monitored Scope ({0}).{1}    66e5f99b-9863-90eb-793b-4e7df85515e8


Search Crawls creating folders with each file in root of c: drive

$
0
0

using SharePoint foundation 2013

when the search crawl runs overnight - it seems to be creating a folder for every new file it finds to add to the index?

I have 71 folders created by the sharepoint apppool account in teh root of my c: drive

I can't find any information about this behaviour or how to stop it!

any thoughts on that?

MrP

Page viewer Web part Page in Sharepoint 2013

$
0
0

Hello guys,

I need to create Page Viewer Web Part Page because i need to publish URLs containing report from Report server. Can you please let me know how do i create Page Viewer Web Parge Page. I see that on

Files -> New Document i can create Web Part Page, but where is the Page Viewer option. How can i create a page so i can publish the URL's.

SharePoint 2013 Distributed Cache “cacheHostInfo is null” with “Remove-SPDistributedCacheServiceInstance”

$
0
0

I am attempting to remove a server as a cache host in my SharePoint 2013 environment.

Currently the service shows as Stopped on the server that I am attempting to remove from the cache cluster.  I also am getting a warning in Central Administration stating:

"This Distributed Cache host may cause cache reliability problems.

This Distributed Cache service on this Distributed Cache host has been stopped but not unregistered from the farm. In order to avoid reliability issues, it is recommended that a Distributed Cache host with a stopped Distributed Cache service be unregistered from the farm."

I run the command from PowerShell:

Remove-SPDistributedCacheServiceInstance
It errors out saying:

"cacheHostInfo is null"

Looking in the ULS logs I see this:

"A failure occurred in SPDistributedCacheServiceInstance::UnprovisionInternal. cacheHostInfo is null for host 'server_name'."

When I open the AppFabric Server Configuration Wizard on the server it states:

"This machine is not a member of an AppFabric Caching cluster."

I'm looking mainly to remove the service from that server since I have no plans of running the Distributed Cache on there anyways but I can't find my way around this error.

Any help would be appreciated.

Thanks.

Disaster Recovery Strategy - hot standby

$
0
0

Hi,

I don't see any hot DR solution available for SP2013 considering stretched farm is not supported. 

By hot I mean:

- no data loss

- auto failover in seconds or few minutes.

I thought about using AlwaysOn AG - keep standby farm as read-only and switch it to read-write during failover. But SP2013 is not compatible yet (it may come with SP1 I guess).

Any suggestions?

Thank you,

Vladimir


Vladimir
MCP, MCTS, SharePoint tips blog: http://buyevich.blogspot.com

SharePoint 2013 + RBS Best Practices

$
0
0
I have setup RBS with my installation of SharePoint 2013. Everything works as expected. I was wondering if there were any "best practices" for setting up a default max file size in SharePoint and the BLOB threshold limit for the content database? I haven't been able to find any specifics.

Office Web Apps Server URL and Certificate

$
0
0

Hello,

I have some questions relate to the step to create the binding between SharePoint 2013 and Office Web Apps Server. The command to run is New-SPWOPIBinding -ServerName <WacServerName> where, according to this article http://technet.microsoft.com/en-us/library/ff431687.aspx,<WacServerName> is the FQDN of the URL to set for internal and external URL. What I would like to know is:

a. Does this mean the <WACServerName> can be anything, for example http://office.cal.com?

b. Some says that the <WACServerName> is the FQDN of the server running Office Web Apps Server such as owasrv.cal.com? If so, if I have more than one servers running Office Web Apps Server, then would the <WACServerName> still be valid?

c. Also, if we use https for Office Web Apps, then what name must the certificate include? The FQDN of the first server in the Office Web Apps Server farm or the name that matches the value of <WACServerName> mentioned above.

Thanks,

Phu V. Huynh

Unable to add additional servers to SP2013 Farm

$
0
0

I was able to configure the first server in the farm with no issue.

When I try to add the 2nd server to the farm, I get to the part after you retrive the database names.

That works no issue and find the right DB name.

After clicking next I get the following message

"Failed to connect to the existing server farm located at the specified database name. The database name is not a valid configuration database"

I see this in the Event Log

Unknown SQL Exception 53 occurred. Additional error information from SQL Server is included below.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)


Couldn't update profile of Active Directory

$
0
0
With due respect, my SP firm couldn't update profile of Active Directory (AD) users profile information. Nonetheless, may i think i need the auto update of SP profile services.  Anyone pls help......

SPDistributedCachePointerWrapper::InitializeDataCacheFactory time out errors

$
0
0

Hi,

Trying to debug and understand a few things that are appearing in the ULS. A couple of them are as follows:

Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' -
Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out..
Additional Information : The client was trying to communicate with the server : net.tcp://server-name:22233    
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCacheProperties(RequestBody request, IClientChannel channel)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName)    
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.

Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' -
Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out..
Additional Information : The client was trying to communicate with the server : net.tcp://server-name:22233    
at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCacheProperties(RequestBody request, IClientChannel channel)    
at Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName)    
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.

I came across a post that described the following command:

Get-CacheHostConfig -ComputerName $env:computername -CachePort 22233

And sure enough it returned

Get-CacheHostConfig : ErrorCode<ERRPS013>:SubStatus<ES0001>:Error: No valid cluster settings were provided with Use-CacheCluster.

So I entered the Use-CacheCluster command and it worked!

I dont understand why though. Did I miss something on the initial setup?

Any ideas?

Thanks

Donal

SSL error when trying to sync tasks to Exchange 2013

$
0
0

I followed the documentation on setting up exchange 2013 and SharePoint 2013 for task synchronization. When I try to sync the tasks to outlook, i get an error telling me that the user mailbox on exchange may not support task synchronization. when i look in the ULS logs in sharepoint i see the following error:

An operation failed because the following certificate has validation errors:  Subject Name: CN=localhost.localdomain Issuer Name: CN=localhost.localdomain Thumbprint: 5D64E20B424D4A613288024734CAD805A1BD7B0E  Errors:   SSL policy errors have been encountered.  Error code '0x6'..

Problem is i don't know what certificate this is reffering to. Has anyone seen this issue before or can give me any advise on tracking down this certificate? the cn=localhost cn=localdomain is confusing to me.

Mentioning an group?

$
0
0
since you can only mention 3 people at a time in the newsfeed, is it possible to set up AD groups that are imported to mention?

No notifications for hastags

$
0
0

Hi,

I get no notifications if I follow a hashtag. I get one if i get followed by another person though.

Sharepoint 2013 My-Sites.

any idea

Pierre-Nicolas

How to upgrade from WSS 3.0 to Sharepoint foundation 2013?

$
0
0

Hi all,

I've managed to upgrade WSS 3.0 to Sharepoint foundation 2010. However is there a direct way of upgrading it to 2013 version? So far, it seems to me that the only way for it to work is from WSS 3.0 -> Sharepoint 2010 -> 2013. 

Can anyone provide some feedback and experience? 

Thanks in advance for your help!

Regards,

Jerry

User access - web application user policy

$
0
0

I am working on upgrading our Sharepoint environment from 2010 to 2013.  We have Enterprise licensing and only 1 front end server and a separate SQL server.   I am using the attach database method.  First I created a farm on a new Windows 2012 server, fully patched.  This went very smoothly.   I then attached a copy of our content database on a new SQL 2012 server.   [Note: my top level site gives read rights to all authenticated Domain users.]

In Sharepoint Central Administration, I verified that my User Profiles are being synchronized and from Manage User Profiles, I can view any of my AD domain users.

If I add my Site admin to the Web Application's User Policy then the admin can log into the sharepoint site.  My other domain users can not log in.  I can't figure out why my domain users who are not listed on the Web Applications User Policy, can not log into the site ("Sorry, this site has not been shared with you").  I checked on my Sharepoint 2010 version of my site and the user policy does not list my Domain users either as a group or individually, yet they can log on to the site based on the permissions set on the site permissions.

I am not sure where to look to figure this out.  Has something changed in 2013, do I need to add my domain user group to the user policy?  I want to be sure this will not override all the site, folder, file level permissions.

Please advise.


Fred Zilz


SP2013 (single server) - Try to create web application and get error message

$
0
0

Hi

I have installed SP2013 on a single test server with Windows 2012 and SQLexpress DB. 

The machine is configured as a DC include DNS etc.

The problem is now that I tried to create a new web application and I get an error message. The DB is created and the application pool on IIS too, but I don't have a directory and a site created in IIS.

I was searching by Google to find a solution. The only solution I found was to take the binding off on all web applications in IIS with ::1 (Loopback localhost). The problem is only if I do that I cant access my Central Administration Site. With my default web application it is working so far.

The central admin site is for e.g. http://sharepoint2013:11111

I have changed in the registry key LSA -->MSV1_0 and add sharepoint2013 in BackConnectionHostName

I disabled the IP6 on my network card and tried to ping sharepoint2013 but is still resolving to ::1 (IP6).

Well I am now out of ideas ...

Is there any other solution or is it a bug and I still need to wait for an update on SP2013?

Thanks a lot in advance.

Kind regards

Michael



Kind regards Michael Damaschke

How to Setup Kerberos Authentication for SharePoint App Domain

$
0
0

How are we supposed to configure kerberos for the SharePoint apps?

I have an environment set up with three web applications using host headers on port 80:

  • http://intranet.mycorp
  • http://teams.mycorp
  • http://mysites.mycorp

DNS entries all point to my web front end server, and I have configured SPN's appropriately and set everything up so that at Kerberos authentication is all working.

We are now developing SharePoint 2013 apps and wanting to deploy them to our environment. We have a further wildcard DNS entry *.mycorpapps pointing also to the WFE server.  This is set as the app domain in central administration.

The apps install, but when we then go to view the app we are prompted for credentials.  Should I be setting a wildcard SPN (is that possible)?

Something like: SETSPN -A HTTP/*.mycorpapps mydomain\app-pool-service-account

Also, because we are using host-headers on port 80, I had to setup a web application (with a blank team site) on port 80 with no host header, to even get IIS to respond to requests for SharePoint apps. Is this where we should instead be using host-named site collections?

Thanks for any help,

Richard


SP2013 Trial - Converting to Enterprise Edition

$
0
0

Hi,

We just installed and are currently testing Windows Server 2012 and SharePoint 2013.  It seems the version installed was not the Enterprise Edition.  Does the trial allow for upgrading this version and if so, is there a straight-forward way to do this?

Sorry for what must be a remedial question.

EZ

Cannot activate document sets

$
0
0

I am having trouble activating the document sets feature on a site collection.  This site collection had the feature activated at one time until I moved it to a new site colletion.  Now, one document library still has document sets in them but I cannot create new ones. When I checked Site Collection Features, I noticed that Document Sets is not active.  When I tried activating them, I get the following error:

The content type with Id 0x0120D520
defined in feature {3bae86a2-776d-499d-9db8-fa4cdc7884f8} was found in the
current site collection or in a subsite.

USL logs show the following

SPException thrown: Message: The content type with Id 0x0120D520 defined in feature {3bae86a2-776d-499d-9db8-fa4cdc7884f8} was found in the current site collection or in a subsite.. Stack:  

at Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag(UInt32 tagId, ULSCat traceCategory, String resourceId, Object[] resourceArgs)   

at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce)   

at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, Boolean fForce)   

at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)   

at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)   

at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)   

at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force, SPFeatureDefinitionScope featdefScope)   

at Microsoft.SharePoint.WebControls.FeatureActivator.ActivateFeature(Guid featid, SPFeatureDefinitionScope featdefScope)   

at Microsoft.SharePoint.WebControls.FeatureActivatorItem.BtnActivateFeature_Click(Object objSender, EventArgs evtargs)   

at System.Web.UI.WebControls.Button.OnClick(EventArgs e)   

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)   

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   

at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   

at System.Web.UI.Page.ProcessRequest()   

at System.Web.UI.Page.ProcessRequest(HttpContext context)   

at ASP._layouts_managefeatures_aspx.ProcessRequest(HttpContext context)   

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   

at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)   

at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)   

at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)   

at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   

at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   

at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   

at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

and

Feature Activation: Threw an exception, attempting to roll back.  Feature 'DocumentSet' (ID: '3bae86a2-776d-499d-9db8-fa4cdc7884f8').  Exception: Microsoft.SharePoint.SPException: The content type with Id 0x0120D520 defined in feature {3bae86a2-776d-499d-9db8-fa4cdc7884f8} was found in the current site collection or in a subsite.   

at Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag(UInt32 tagId, ULSCat traceCategory, String resourceId, Object[] resourceArgs)   

at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce)   

at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, Boolean fForce)   

at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)

I've deleted the document library that had the document sets in them and still get the same error.

How to achieve no-downtime solution deployment on farms with multiple WFEs and LB

$
0
0

Taking SharePoint Solution Deployer, my opensource PowerShell deployment script, to the next level,Bill Simser got me the idea of making the deployment even more smooth on farms with multiple WFEs and load balancer in order to achieve a no-downtime deployment

The basic idea is to deploy the solutions on each WFEs one-by-one by
1. Taking one WFE offline
2. Installing the solution with the -local switch

//Solution deployment
Install-SPSolution -Identity <solutionname>.wsp –GACDeployment –CASPolicies –Local
// Solution upgrade
Update-SPSolution -Identity <solutionname>.wsp -LiteralPath LocalPathOfTheSolution.wsp -GacDeployment -Local

3. Run post-deployment actions on the WFE (ie. restart services, recycle apppools or IIS reset, warmup server), which my script already does for each server
4. Take WFE online again
5. Repeat step 1-4 for all other WFEs

I am struggling with three things here:

1. The whole deployment process could be quite risky when something goes wrong in between. And in order to roll back I would require the original solution if it was already deployed before (which I can back up of course before I replace it)

Anything which involves changing the content dbs should of course be done after the solutions is deployed to the whole farm, so this should not hurt in this case.

Anyway MSDN says that the "DeployLocal" method (which I assume is the same as the -local switch in PS ) should be only used for troubleshooting purposes.

So it would be great to hear about anyones experiences with it

2. As there can be different types of load balancers (hardware, software) which might not be configurable through my script I assume that taking out the WFE from the the load balancer may not always be possible.

So I thought about just taking the server offline.

I haven't found an option yet to take only one server in the farm offline (without removing it from the farm of course), so maybe I miss something. Any ideas?

3. Before taking a single WFE offline, I would like to assure that this server does not have any open sessions, operations of users ongoing. Unfortunately I found only the possibility to quiesce the whole farm, but not a single server. Am I missing something?

Appreciate any ideas which might point me in the direction to solve the overall goal!


SharePoint Architect, Speaker, MCP, MCPD, MCITP, MCSA, MCTS, Scrum Master/Product Owner
Blog: www.matthiaseinig.de, Twitter: @mattein
CodePlex: SharePoint Software Factory, SharePoint Solution Deployer



Viewing all 1136 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>