Hi,
Usually i have to look for supporting articles and get some info here ad there....With this post it is all there...
http://blogs.technet.com/b/dpm/archive/2010/05/10/how-to-be-sure-that-your-sharepoint-farm-is-fully-protected.aspx
Nice Job Chris Butcher, all the detail in one post.
Search This Blog
Monday, 18 August 2014
Wednesday, 23 July 2014
Deleting a Service Application with Power Shell
Hi,
Here is how to delete a service app with Power Shell
Run
Here is how to delete a service app with Power Shell
Run
$spapp = Get-SPServiceApplication -Name "<Service application display name>"
Then to keep the data
Remove-SPServiceApplication $spappOr remove DataRemove-SPServiceApplication $spapp -RemoveData
More details
http://technet.microsoft.com/en-us/library/ee806875(v=office.14).aspx
If the above does not work you can try this command(Dirty Method):
stsadm -o deleteconfiguratio nobject -id <ID>
Where you can change "<id>" to $spapp (Suppose to, did not test it)
you can also run get-SPServiceApplication for a list.
Wednesday, 9 July 2014
SharePoint 2013 Managed Metadata Service KeyNotFoundException
Hi,
Getting this error on a SharePoint 2013 farm when trying to access term store:
Failed to get term store for proxy 'Managed Metadata Service'. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Looks like the most common way to solve this is to recreate your managed metadata.
I did a little investigation. And nothing worked.
At the end i just recreated it...
Be sure to have a backup.
Detach The metadata DB
Delete and then recreate the managed metadata service application.
Attach the old DB and in the metadata settings point to it.
Getting this error on a SharePoint 2013 farm when trying to access term store:
Failed to get term store for proxy 'Managed Metadata Service'. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Looks like the most common way to solve this is to recreate your managed metadata.
I did a little investigation. And nothing worked.
At the end i just recreated it...
Be sure to have a backup.
Detach The metadata DB
Delete and then recreate the managed metadata service application.
Attach the old DB and in the metadata settings point to it.
Wednesday, 21 May 2014
Test SQL IO Performance
Hi,
Here is how to test your SQL IO Performance. This basically just test your hard drive IO so don't actually have anything to do with SQL.
Download SQLIO
http://www.microsoft.com/en-za/download/details.aspx?id=20163
Then install it on the SQL Server
Browse to it in command prompt as Administrator.
*****Do no do this on Production*****
Now for the default test you can just type in SQLIO but that wont help you much, you want to specify your different hard drives in your SQL Server, change the file size ex...
This will better explain it: https://www.youtube.com/watch?v=aF2_rmyrbLU
Here is a good article i got most of my info from:
http://blogs.msdn.com/b/sqlmeditation/archive/2013/04/04/choosing-what-sqlio-tests-to-run-and-automating-sqlio-testing-somewhat.aspx
Copy and Paste from the MSDN blog for easy ref for myself so all credit to Joseph
Now to analyse the data:
You can do something like this and parse the data into excel...I am not going to do that.
http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/05/25/parsing-sqlio-output-to-excel-charts-using-regex-in-powershell.aspx
As far as i can gather from some research(Correct me if im wrong), the important info in the reports is the IOPS and MB/sec. The idea is to run this before you make a change and then again after you finished to see what the performance penalty is.
Hope this it helpful!
Here is how to test your SQL IO Performance. This basically just test your hard drive IO so don't actually have anything to do with SQL.
Download SQLIO
http://www.microsoft.com/en-za/download/details.aspx?id=20163
Then install it on the SQL Server
Browse to it in command prompt as Administrator.
*****Do no do this on Production*****
Now for the default test you can just type in SQLIO but that wont help you much, you want to specify your different hard drives in your SQL Server, change the file size ex...
This will better explain it: https://www.youtube.com/watch?v=aF2_rmyrbLU
Here is a good article i got most of my info from:
http://blogs.msdn.com/b/sqlmeditation/archive/2013/04/04/choosing-what-sqlio-tests-to-run-and-automating-sqlio-testing-somewhat.aspx
Copy and Paste from the MSDN blog for easy ref for myself so all credit to Joseph
1. Create 2 Param.txt files in the SQLIO folder. One that uses a single thread and one that uses multiple threads. Call them ParamST.txt and ParamMT.txt
ParamST.txt contents might look like this: G:\testfile.dat 1 0x0 500
ParamMT.txt contents might look like this: G:\testfile.dat 8 0x0 500
2. Copy the text below and paste it into a text file.
echo ****** Read Tests *****
sqlio -kR -s300 -frandom -o8 -b8 -LS -FparamMT.txt > Reads8KRandom8Oustanding.txt
timeout /T 10
sqlio -kR -s300 -frandom -o8 -b64 -LS -FparamMT.txt > Reads64KRandom8Oustanding.txt
timeout /T 10
sqlio -kR -s300 -frandom -o8 -b512 -LS -FparamMT.txt > Reads512KRandom8Oustanding.txt
timeout /T 10
timeout /T 10
sqlio -kR -s300 -frandom -o8 -b64 -LS -FparamMT.txt > Reads64KRandom8Oustanding.txt
timeout /T 10
sqlio -kR -s300 -frandom -o8 -b512 -LS -FparamMT.txt > Reads512KRandom8Oustanding.txt
timeout /T 10
echo ****** Write Tests *****
sqlio -kW -s300 -frandom -o8 -b8 -LS -FparamMT.txt > Writes8KRandom8Outstanding.txt
timeout /T 10
sqlio -kW -s300 -frandom -o100 -b256 -LS -FparamST.txt > Writes256KRandom100Outstanding.txt
timeout /T 10
sqlio -kW -s300 -frandom -o200 -b256 -LS -FparamST.txt > Writes256KRandom200Outstanding.txt
timeout /T 10
sqlio -kW -s300 -frandom -o100 -b256 -LS -FparamST.txt > Writes256KRandom100Outstanding.txt
timeout /T 10
sqlio -kW -s300 -frandom -o200 -b256 -LS -FparamST.txt > Writes256KRandom200Outstanding.txt
2. Then save the text file as SQLIOTest.bat in the folder that contains SQLIO.EXE and you are ready to go
3. Just run SQLIOTest.bat from Command Prompt
Now to analyse the data:
You can do something like this and parse the data into excel...I am not going to do that.
http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/05/25/parsing-sqlio-output-to-excel-charts-using-regex-in-powershell.aspx
As far as i can gather from some research(Correct me if im wrong), the important info in the reports is the IOPS and MB/sec. The idea is to run this before you make a change and then again after you finished to see what the performance penalty is.
Hope this it helpful!
Wednesday, 14 May 2014
What SQL Components are installed
Hi, here is a quick way to see what SQL Components are installed on a Server.
Open the SQL Server Installation Center
Then go to tools and Installed SQL Server features discovery report.
This will generate a report.
Production:
Dev:
Open the SQL Server Installation Center
Then go to tools and Installed SQL Server features discovery report.
This will generate a report.
Production:
Dev:
Wednesday, 7 May 2014
Nintex 2013: Conditional start is not working on a Document Library
Hi,
Had this issue where a document workflow does not want to start when the document is edited and there is a conditional start in play.
Got this in the ULS logs:
Error processing item updated event.: System.ArgumentException: New instances of this workflow template are currently disallowed.
We renamed the Nintex workflow a while ago and that changes the workflow with the old name to unpublished.
Delete the workflow with the old name from "Unpublished", this fixed the error for me.
Had this issue where a document workflow does not want to start when the document is edited and there is a conditional start in play.
Got this in the ULS logs:
Error processing item updated event.: System.ArgumentException: New instances of this workflow template are currently disallowed.
We renamed the Nintex workflow a while ago and that changes the workflow with the old name to unpublished.
Delete the workflow with the old name from "Unpublished", this fixed the error for me.
Monday, 14 April 2014
What is Governance?
Governance is something everyone speaks about but what is it...
This site is very helpful:
http://www.thesharepointdude.com/governance-rules/
As in the site...Governance is a set of rules and policies about your portal.
Who is responsible for what.
Have a look at that site. There is also a template.
This site is very helpful:
http://www.thesharepointdude.com/governance-rules/
As in the site...Governance is a set of rules and policies about your portal.
Who is responsible for what.
Have a look at that site. There is also a template.
Subscribe to:
Posts (Atom)