Appendix: Scripts

更新日期: 2010年6月

The following scripts are included in this management pack.

Script Details

 

Script Purpose Rule/Task

Create-LocalServices.ps1

Discovers AppFabric System Services

Discovery

Create-AppServers.ps1

Discovers AppFabric Installations Discovery

Discovery

Create-MonitoringStoreConnectionInfo.ps1

Discovers connections to SQL monitoring databases

Discovery

Create-PersistenceStoreConnectionInfo.ps1

Discovers connections to SQL persistence stores

Discovery

Create-WebObjects.ps1

Discovers the IIS Sites, Applications, and Web Services that are managed by AppFabric.

Discovery

Create-Clusters.ps1

Discovers distributed cache clusters

Discovery

Create-StoreInfoCache.ps1

Creates a local temp file on the agent managed computer that stores information about monitoring and persistence database connections

Discovery

Clear-StoreInfoCache.ps1

Clears the local temp file on the agent managed computer that stores information about monitoring and persistence database connections

Discovery

Get-MonitoringStoreCounters.ps1

Connects to a monitoring database and gets the data needed to monitor it

Monitoring

Get-WebServiceCounters.ps1

Connects to a monitoring database and gets the data needed to monitor web services that are managed by AppFabric

Monitoring

Get-ClusterCounters.ps1

Uses the AppFabric Cmdlets to get monitoring information about distributed cache clusters

Monitoring

Get-AppMonitoringCounters.ps1

Connects to a monitoring database and gets the data needed to monitor web services that are managed by AppFabric

Monitoring

Get-CacheCounters.ps1

Uses the AppFabric Cmdlets to get monitoring information about named caches

Monitoring

Get-OperationsHistoryTableProbe.ps1

Connects to a monitoring database and looks for errors in the operations history table

Monitoring

Clear-ASMonitoringSqlDatabase.ps1

Purges a monitoring database of event data

Task

Get-CacheAllowedClientAccounts.ps1

Gets a list of accounts that are granted client access to Cache

Task

Modify-CacheAllowedClientAccounts.ps1

Add/Remove an account from  client access to cache

Task

Execute-CacheAdminCmdlet.ps1

A wrapper to execute Distributed cache admin cmdlets that accepts no params. Used for Get-CacheAllowedClientAccoutns and Restart-CacheCluster

Task

Modify-Cache.ps1

A wrapper to execute Distributed cache admin cmdlets that executes New-Cache and Remove-Cache cmdlets

Task

Get-ClusterNodeStateCounter.ps1

Uses the AppFabric Cmdlets to get monitoring information about cache nodes

Task

社群新增項目

顯示: