Removing Pools (Command Line)
Topic Last Modified: 2009-03-11
The RemovePool action removes an Office Communications Server Enterprise pool, the Enterprise pool Back-End Configuration Database, and the pools Active Directory information – including Pool and Trusted Server objects. It does not apply to a Standard Edition installation.
We recommend that you run this action after Office Communications Server users are relocated to another pool and all Enterprise Edition servers in the pool are deactivated. The Enterprise pool Back-End User Database can also be removed by specifying the /Keepdb:False parameter. The /Force parameter avoids normal action requirements such as data recovery scenarios. Other points to remember when undertaking this action include:
RTCDomainServerAdmins credentials are required for the domain where the pool is deployed.
Local administrator credentials are required on the Enterprise pool back-end server.
Run the task from an Enterprise pool back-end server if possible.
Do not run the action unless the Enterprise pool excludes activated Enterprise Edition servers or users.
Delete the pools configuration from the load balancer when the action is completed.
An example of the syntax for the RemovePool action follows.
LCSCmd.exe /Forest[:<forestFQDN>] /Action:RemovePool /PoolName:<PoolName> [/Keepdb] [/Force]
LCSCmd.exe /Forest /Action:RemovePool /PoolName:Pool01 /Keepdb