crsctl relocate resource {resource_name | resource_name | -all -s source_server | -w "filter"} [-n destination_server] [-k cid] [-env "env1=val1,env2=val2,..."] [-i] [-f]
Table E-16 crsctl relocate resource Command Parameters
Parameter | Description |
---|---|
resource_name |
The name of a resource you want to relocate. |
resource_name | -all -s source_server |
Specify one particular or all resources located on a particular server from which you want to relocate those resources. |
-w "filter" |
Specify a resource filter that Oracle Clusterware uses to limit the number of resources relocated. The filter must be enclosed in double quotation marks (
See Also: "Filters" for more information |
-n destination_server |
Specify the name of the server to which you want relocate resources. If you do not specify a destination server, then Oracle Clusterware relocates the resources to the best server according to the attribute profile of each resource. |
-k cid |
Specify the resource cardinality ID. If you specify this parameter, then Oracle Clusterware relocates the resource instance that have the cardinality you specify. |
-env "env1=val1, env2=val2,..." |
You can optionally override one or more resource profile attribute values for this command. If you specify multiple environment name-value pairs, then you must separate each pair with a comma and enclose the entire list in double quotation marks ( |
-i |
If you specify |
-f |
Specify the Note: When you are relocating resources that have cardinality greater than 1, you must use either |
Any one of the three following options is required to specify which resources you want to relocate:
You can specify one particular resource to relocate.
Or you can specify one particular or all the resources to relocate from a particular source server.
Thirdly, you can specify a resource filter that Oracle Clusterware uses to match resources to relocate.
If a resource has a degree ID greater than 1, then Oracle Clusterware relocates all instances of the resource.
You must have read and execute permissions on the specified resources to relocate them
Do not use this command for any resources with names that begin with ora because these resources are Oracle resources.