- Stop the Windows SharePoint Services Timer service (Found in Windows Services)
- Navigate to the cache folder
Drive:\ProgramData\Microsoft\SharePoint\Config
Locate the folder that has the file "Cache.ini"
(Note: The Application Data folder may be hidden. To view the hidden folder, change the folder options as required) - Back up the Cache.ini file.
- Delete all the XML configuration files in the GUID folder. Do this so that you can verify that the GUID folder is replaced by new XML configuration files when the cache is rebuilt.
- Note When you empty the configuration cache in the GUID folder, make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder.
Wednesday, August 24, 2016
SharePoint Event ID 6482 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration
SharePoint Event ID 6482 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration
- Stop the Windows SharePoint Services Timer service (Found in Windows Services)
- Navigate to the cache folder
Drive:\ProgramData\Microsoft\SharePoint\Config
Locate the folder that has the file "Cache.ini"
(Note: The Application Data folder may be hidden. To view the hidden folder, change the folder options as required) - Back up the Cache.ini file.
- Delete all the XML configuration files in the GUID folder. Do this so that you can verify that the GUID folder is replaced by new XML configuration files when the cache is rebuilt.
- Note When you empty the configuration cache in the GUID folder, make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder.
Tuesday, August 23, 2016
Changing default number of machines users can add to a domain
The Active Directory attribute you need to change is mS-DS-MachineAccountQuota which is a property of the domain object.
– Start ADSI Edit (start/run/adsiedit.msc)
– Expand out the Domain node, right click on DC=<yourdomain>,DC=com and select properties
– Scan down to ms-DS-MachineAccountQuota
– Modify the value as appropriate, or clear the value to remove the limit entirely.
– Expand out the Domain node, right click on DC=<yourdomain>,DC=com and select properties
– Scan down to ms-DS-MachineAccountQuota
– Modify the value as appropriate, or clear the value to remove the limit entirely.
Monday, August 15, 2016
Install System Center Operation Manager
SCOM PREREQUISITES :
Install Sql server
Database
Start-Transcript -Path c:transcript0.txt -noclobber
# This scripts needs unrestricted access
Write-Host "This scripts needs unrestricted access (Set-ExecutionPolicy Unrestricted.)" -ForegroundColor Green
Write-Host "The prereq setup for System Center 2012 R2 Operations Manager takes around 15 minutes depending on your internet speed" -ForegroundColor Green
# Setting the variables.
$folderpath0 = 'C:Source'
$ShareName = "Source$"
#Check if folder exists, if not, create it
if (Test-Path $folderpath0){
Write-Host "The folder $folderPath0 exists."
} else{
Write-Host "The folder $folderPath0 does not exist, creating..." -NoNewline
New-Item $folderpath0 -type directory | Out-Null
Write-Host "done!" -ForegroundColor Green
}
# Check if file exists, if not, download it
$file0 = $folderPath0+"SQLSysClrTypes.msi"
$file1 = $folderPath0+"Reportviewer.msi"
if (Test-Path $file0){
write-host "The file $file0 exists."
} else {
# Download System CLR Types for SQL Server 2012
Write-Host "System CLR Types for SQL Server 2012" -nonewline -ForegroundColor yellow
$clnt = New-Object System.Net.WebClient
$url = "http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SQLSysClrTypes.msi"
$clnt.DownloadFile($url,$file0)
Write-Host "done!" -ForegroundColor Green
}
if (Test-Path $file1){
write-host "The file $file1 exists."
} else {
# Download Microsoft Report Viewer 2012 Runtime
Write-Host "Microsoft Report Viewer 2012 Runtime" -nonewline -ForegroundColor yellow
$clnt = New-Object System.Net.WebClient
$url = "http://download.microsoft.com/download/F/B/7/FB728406-A1EE-4AB5-9C56-74EB8BDDF2FF/ENU/x86/ReportViewer.msi"
$clnt.DownloadFile($url,$file1)
Write-Host "done!" -ForegroundColor Green
}
# Install Windows Features.
Get-Module servermanager
Install-WindowsFeature -Name Web-Server
Install-WindowsFeature -Name Web-Default-Doc
Install-WindowsFeature -Name Web-Dir-Browsing
Install-WindowsFeature -Name Web-HTTP-Errors
Install-WindowsFeature -Name Web-Static-Content
Install-WindowsFeature -Name Web-Http-Logging
Install-WindowsFeature -Name Web-Request-Monitor
Install-WindowsFeature -Name Web-Stat-Compression
Install-WindowsFeature -Name Web-Filtering
Install-WindowsFeature -Name Web-Windows-Auth
Install-WindowsFeature -Name Web-Net-Ext
Install-WindowsFeature -Name Web-Net-Ext45
Install-WindowsFeature -Name Web-Asp-Net
Install-WindowsFeature -Name Web-ISAPI-Ext
Install-WindowsFeature -Name Web-ISAPI-Filter
Install-WindowsFeature -Name Web-Mgmt-Console
Install-WindowsFeature -Name Web-Metabase
Install-WindowsFeature -Name NET-Framework-Core
Install-WindowsFeature -Name NET-HTTP-Activation
Install-WindowsFeature -Name NET-WCF-HTTP-Activation45
Install-WindowsFeature -Name Windows-Identity-Foundation
Install-WindowsFeature -Name Telnet-Client
# Install System CLR Types for SQL Server 2012
Write-Host "Installing System CLR Types for SQL Server 2012.." -nonewline
$PSScriptRoot = Split-Path -Path $MyInvocation.MyCommand.Path
msiexec /qb /i "$folderPath0SQLSysClrTypes.msi" | Out-Null
Write-Host "done!" -ForegroundColor Green
Start-Sleep -s 10
# Install Microsoft Report Viewer 2012 Runtime
Write-Host "Microsoft Report Viewer 2012 Runtime.." -nonewline
$PSScriptRoot = Split-Path -Path $MyInvocation.MyCommand.Path
msiexec /qb /i "$folderPath0ReportViewer.msi" | Out-Null
Write-Host "done!" -ForegroundColor Green
Start-Sleep -s 10
Write-Host "The server needs to be restarted before you start the System Center 2012 R2 Operations Manager installation." -nonewline -BackgroundColor Black -ForegroundColor Red
Stop-Transcript
Install Sql server
Database
new SQL instance: SCOM
SQL Server role: Database Engine Services, Full-Text Search and Reporting Services
SQL Memory Limitation: 8G
SQL Server Agent: Operational, only for SCOM reporting server start and check automatic.
SCOM server
Just all server role in one server except the reporting services
We should passed all of the prerequisites now
Create a new management group
Configure the operational database: the first 7 days database
Configure the warehouse database
Install Web console, SSL is optional, but I’d like to have a HTTPS web console site
Configure all of the service account, for my small lab, I just use the same service account
I’m lazy just give the service account domain admin privilege, ignore the warning
All done, enjoying play with SCOM 2012 R2
Install SCOM reporting server: Operational
Switch to the SQL server reporting service server which you want to install the SCOM reporting server on, install the reporting server from the SCOM installation media
Select "Reporting server"
Specify the SCOM Management server
Specify the SQL server reporting server instance and the service account
Now we can see something created in the SQL server reporting
And the "Reports" tab shown up in the SCOM management console
Subscribe to:
Posts (Atom)