sp_cluster logical, drop

Description

Drops a logical cluster, or one or more resources from the logical cluster.

Syntax

sp_cluster logical, "drop",  lc_name, { 
	cluster |
	instance, instance_list |
	 failover, instance_list |
	 route, route_type, key_list }

Parameters

lc_name – is the name of a logical cluster.

cluster – specifies that the named cluster is to be dropped.

instance – specifies that one or more base instances are to be dropped from the logical cluster.

instance_list – is the list of instances to be dropped. Separate multiple instances with semicolons.

failover – specifies that one or more failover instances are to be dropped from the logical cluster.

route – specifies that one or more routes are to be dropped from the logical cluster.

route_type – is the type of route to be dropped. Values are:

key_list – is a list of applications, logins, or aliases, depending on the route type. Elements in the key list are delimited by colons.

Examples

Example 1 Drops the “SalesLC” logical cluster.

sp_cluster logical, "drop", SalesLC, cluster

Example 2 Drops the base instances “ase1” and “ase2” from the “SalesLC” logical cluster.

sp_cluster logical, "drop", SalesLC, instance, "ase1;ase2"

Example 3 Drops the routes from the applications field_sales and web_sales from the “SalesLC” logical cluster.

sp_cluster logical "drop", SalesLC, route, application, "field_sales;web_sales"

Usage