Showing posts with label services. Show all posts
Showing posts with label services. Show all posts

Tuesday, November 5, 2013

SharePoint 2013 : Change Service Account for Distribute Cache- AppFabricCachingService

שלום חברים,

היום נתקלתי בהודעה ב -Health Analyzer שמתריעה על Service בשם " Distributed Cache".
כאשר AppFabric מותקן כחלק מדרישות הקדם של SharePoint, הוא מוגדר לפעול תחת האישורים של חוות השרתים. זה לא אידיאלי, ובסופו של דבר יגרום להפרה של כלל ב- Health Analyzer.

כדי להימנע מכך, יש צורך לשנות את חשבון המשתמש שמריץ את השירות של Distributed Cache וניתן לעשות זאת רק בעזרת PowerShell.

בדוגמא הבאה, אנחנו מאחזרים את החשבון המנוהל הנוכחי הרשום בחווה (החשבון איתו נרצה להריץ את השירות), לאחר מכן, נקבע כי ה- Managed Account של אובייקט Process Identity של שירות ה- Distributed Cache.

להלן ה-Script :
$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq "AppFabricCachingService"}
$accnt = Get-SPManagedAccount -Identity "Domain\User Account"  # Change the User Account Value.
$cacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser"
$cacheService.ProcessIdentity.ManagedAccount = $accnt
$cacheService.ProcessIdentity.Update()

בהצלחה !
רון נס.


============================================================================================================================================================================================================================================================




Hello Friends,

Distributed Cache Service Account
When AppFabric is installed as part of the SharePoint pre-requisites, it is configured to run under the credentials of the server farm. This is far from ideal, and will eventually trigger a violation of a Health Analyzer Rule. 

To avoid this, you can change the account used by the Distributed Cache service.

In the example below, we’re retrieving a managed account that has already been registered with our farm, We then set that as the Managed Account property of the Process Identity object of the Distributed Cache (“AppFabricCachingService”) SPService.

The script:

$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq "AppFabricCachingService"}
$accnt = Get-SPManagedAccount -Identity "Domain\User Account"  # Change the User Account Value.
$cacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser"
$cacheService.ProcessIdentity.ManagedAccount = $accnt
$cacheService.ProcessIdentity.Update()

Good Luck :)

Ron Ness.

Tuesday, July 30, 2013

Event ID 7000 : SharePoint 2010 Administration service failed to start

שלום חברים,

היום התקנתי Comulatvie Update בחווה של הלקוח שלי וכשהרצתי את ה-Configuration Wizard קיבלתי בסוף התהליך Faild. ה-Configuration Wizard לא הצליח להרים בחזרה את ה- SPAdminV4 - SharePoint 2010 Administration Service.

 


ביצעתי את הפעולות הבאות :

 

ערכתי את הערכים הבאים ב- Registry : (אם הם לא קיימים יש להוסיף אותם)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

הוסף/ ערוך את הערך  DWORD ServicesPipeTimeout ל-  60000 (60 seconds)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

 הוסף/ ערוך את הערך  String  WaitToKillServiceTimeout ל-  120000 (120 seconds)

ביצעתי Reset למכונה והרץ מחדש את ה-Configuration Wizard.

 חשוב לבצע Reset לשרת !

הכל עבר בהצלחה.


בהצלחה !

רון נס.


============================================================================================================================================================================================================================================================

Hello Friends,
Today I installed Comulatvie Update on my client's farm and when I ran the Configuration Wizard at the end of the process It Faild. The Configuration Wizard is not able to upload the - SPAdminV4 - SharePoint 2010 Administration Service.


I did the following:

I made the following entries on Registry: (If they do not exist have to add them)
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control
Add / Edit  ServicesPipeTimeout DWORD value to 60000 (60 seconds)
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control
  Add / Edit the value String WaitToKillServiceTimeout to 120000 (120 seconds)

I've reset the machine and re-run the Configuration Wizard.
It is important to restart the server!
Everything was successful.

Good Luck :)
Ron Ness.