Yesterday was 5th and last day of 5 day SharePoint training I attend. I’m posting my crude notes from this training with intent to review and transform them into more meaningful/readable posts later.\n\nLast day covered backup and restore, logs and NLB (we added 4th VM and tested basic NLB scenario).\n\nSearch Service application settings.\n\nContent Sources. Indexing file share.\n\nTarget server with share with Manage auditing and security logs right for crawl service account.\n\nSP backup.\n\nService Application – SQL Service DB\nServer/Farm – SQL DB SharePoint_Config\nWeb App – SQL DB\nSite Collection\nSite\nLibrary\nFolder\nDocument\n\nGranular/Item level backup without SQL restore. Recycle bin – Site level and below. 2×30 days. Recucle bin can restore sub-sites.\n\n2 levels.\nSite Settings > Site Collection Administration > Recycle Bin\n\nEnable / Disable Recycle Bin on Site Collection level.\n\nBackup settings – in CA > Backup and Restore. Granular backup available in GUI but granular restore requires\n\nImport-SPWeb (imports web, list or library\nRestore-SpSite (restores a site collection), riquires SA rights on SQL server level (a bit too much of rights I guess :))\n\nBack up web App – database backup doesn’t include settings (IIS etc.)\n\nBackup-SPFarm – cretes back up of an individual db, Web application, or the entire farm.\n\nBest way to entire Web app is backing upp SQL DB. Especially because of ability to Restore data from an unattached database in SP.\n\nhttps://technet.microsoft.com/en-us/library/cc262410.aspx\n\nLoad balancing / SP farms\n\nAdding additional SP server to Farm. Now you need that passphrase you specified when installing first SP server.\n\nNLB options: DNS roundrobin or SP configuration\nAdd NLB feature on Windows Server\n\nSQL Server Mirroring / Always On (Mirroring will be predominantly used, clustering support disontinued)\n\nMonitoring\n\ncorrleation ID useful for searching details in logs\n\nLog files location:\nC:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12LOGS\n\nULS Log Viewer\nhttps://ulsviewer.codeplex.com/\nULS Viewer\nhttp://www.microsoft.com/en-us/download/details.aspx?id=44020\nWSP file can include: features, WFs, …\n\nSP branding requires CSS knowledge.
Tag Archives: MS20331
MS20331 Core Solutions of Microsoft SharePoint Server 2013 Training – Day 4
https://{sharepoint server}/_layouts/15/ManageFeatures.aspx?Scope=Site for Site scope features\nhttp://server/site/siteCollection/_layouts/ManageFeatures.aspx
for Web scoped features\n
\n\nArchitecture Picture\n\nhttp://sharepoint.stackexchange.com/questions/52248/why-does-my-feature-appear-in-the-site-collection\n\n
\nSharePoint health analyzer – can report on missing service dependencies\nState Service Service Application – can be configured with PS only.\n\n[code language=”powershell”]\n#Uncomment the line below if you running this not in SP Management shell\n#Add-PSSnapin Microsoft.SharePoint.PowerShell\n$stateName = “State Service”\n$stateDBName = “State_Service”\n$stateDB = New-SPStateServiceDatabase -Name $stateDBName\n$state = New-SPStateServiceApplication -Name $stateName -Database $stateDB\nNew-SPStateServiceApplicationProxy -Name ”$stateName Proxy” -ServiceApplication $state –DefaultProxyGroup\n[/code]\n\n
MS20331 Core Solutions of Microsoft SharePoint Server 2013 Training – Day 3
Third day of the training was mainly about SharePoint cache and configuring SharePoint services.
\n\n
Execute the following commands:\n\n[code language=”powershell”] \n#1\n$wcm = Get-SPWebApplication -Identity http://[webappurl/] \n#2\n$wcm.Properties["portalsuperuseraccount"] = “DOMAINsp_superuser”\n#3\n$wcm.Properties["portalsuperreaderaccount"] = “DOMAINsp_superreader”\n[/code]\n\n
\n\n[code language=”powershell”]\n#Check distibuted cache status on node:\nUse-CacheCluster</div>\nGet-CacheHost\n#Check cache host config:\nGet-CacheHostConfig SERVERNAME 22233</div>\n[/code]\n\n
HighWatermark: Percentage of memory usage (from Size) when *all* items may be removed (evicted) from cache if eviction is enabled.
MS20331 Core Solutions of Microsoft SharePoint Server 2013 Training – Day 2
\n\n[code language=”sql”]\nSELECT * FROM dbo.AllDocs\nWHERE leafname=’%docname%’\n[/code]\n\n
\n\n[code language=”powershell” light=”true”]\nadd-pssnapin Microsoft.SharePoint.PoweShell\n[/code]\n\n
\n\n[code language=”powershell”]\n#this command requires rights on SQL\nAdd-SPShellAdmin -username domainuser -database %ID%\n[/code]\n\n
\n\n[code language=”powershell”]\n# 1) Create web application\n# 2) Create managed paths\n# 3) Create number of site collections\n#1\nnew-spwebapplication -name "Contoso Internet WebApp" -port 80 -HostHeader sharepoint.contoso.com -URL "http://www.contoso.com" -ApplicationPoool "ContosoAppPool" -ApplicationPoolAccount("DOMAINjdoe") `\n-DatabaseName WSS_Content_Contoso\n#2\n$sites = 1..10\nForeach ($i in $sites)\n{\nNew-SPManagedPath "site$i" -WebApplication "http://sharepoint.itband.ru" – Explicit\n}\n#3\nForeach ($i in $sites)\n{\nNew-SPsite -name "Student Portal $i" -URL "http://sharepoint.itband.ru/site$i" `\n-Template "STS#0" -owneralias "itbandsp_install"\n}\n[/code]\n\n
MS20331 Core Solutions of Microsoft SharePoint Server 2013 Training – Day 1
\n\n[code language=”powershell” light=”true”]\nNew-ItemProperty HKLM:SystemCurrentControlSetControlLsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword\n[/code]\n