PrepAway - Latest Free Exam Questions & Answers

Which three actions should you perform in sequence?

DRAG DROP
You are the administrator of a SharePoint farm that is using a Distributed Cache service cluster.
You add memory to a server named CACHE1 in the Distributed Cache service cluster.
You need to increase the memory allocation of the Distributed Cache service on CACHE1 and avoid loss
of cached data on the server.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.)

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation

Explanation:
Box 1: Run the Stop-SpDistributedCacheServiceInstance-Graceful Windows PowerShell command.
Box 2: Run the Set-CacheHostConfig Windows PowerShell cmdlet.
Box 3: In Central Administration, start the Distributed Cache service on CACHE1.
Note:
* stop-SpDistributedCacheServiceInstance-Graceful
Stops an instance of the distributed cache service on a local server.
Use theStop-SPDistributedCacheServiceInstancecmdlet to stop an instance of the distributed cache
service on a local server.Execution of this cmdlet moves cached items to another server to preserve them. If you stop the
distributed service before you stop each instance, cached items are lost. To prevent cached items from
being lost, use theGracefulparameter.
* Set-CacheHostConfig
Updates the configuration settings for a Cache host to the specified values
* Change the memory allocation of the Distributed Cache
Use this procedure to reconfigure the memory allocation of the cache size of the Distributed Cache
service.
1. Stop the Distributed Cache service on all cache hosts. To stop the Distributed Cache service, go
to Services on Server in Central Administration, and Stop the Distributed Cache service on all
cache hosts in the farm.
2. To reconfigure the cache size of the Distributed Cache service, run the following command one
time only on any cache host at the Windows PowerShell command prompt:
3. Update-SPDistributedCacheSize -CacheSizeInMBCacheSize
Where:
o CacheSize is the cache size’s memory allocation assignment in MB. In the previous
example, the cache size was calculated at 7000 MB for a server with 16 GB of total
memory.
4. Restart the Distributed Cache service on all cache hosts. To restart the Distributed Cache
service, go to Services on Server in Central Administration, and Start the Distributed Cache
service on all cache hosts in the farm. Stop-SPDistributedCacheServiceInstance Manage the Distributed Cache service in SharePoint Server 2013


Leave a Reply