Following the -attr
flag, you can specify one or more comma-delimited attribute name-value pairs to modify enclosed in double quotations marks (""
). For example:
-attr "CHECK_INTERVAL=30, START_TIMEOUT=25"
Some attributes can have multiple values. In those cases, separate the values with a space and enclose the list of values in single quotation marks. For example:
-attr "SERVER_POOL_NAMES=
'ora.pool1 ora.pool2',START_TIMEOUT=25"
Alternatively, you can specify attribute values for resources on a particular server, with a particular cardinality value, and with a particular degree value. This method can be useful for applications that are somehow tied to a particular server. Following the -attr
flag, the syntax is as follows:
attribute_name{@SERVERNAME(server_name)
[@DEGREEID(did)] | @CARDINALITYID(cid)
[@DEGREEID(did)]}=attribute_value
If you specify the @SERVERNAME(
server_name
)
syntax, then the attribute value you specify for the attribute you specify is limited to resources residing on the server you specify.
Alternatively, if you specify the @CARDINALITYID(
cid
)
syntax, then the attribute value you specify for the attribute you specify is limited to resource instances with a specific cardinality ID (cid
).
Optionally, you can combine the @DEGREEID(
did
)
syntax with either the SERVERNAME
or CARDINALITYID
syntax, or both, to limit the attribute value to resources with the specific DEGREE
.
Examples:
CHECK_INTERVAL@SERVERNAME(node1)=45
STOP_TIMEOUT@CARDINALITYID(2)=65
STOP_TIMEOUT@SERVERNAME(node1)@DEGREEID(2)=65
STOP_TIMEOUT@CARDINALITYID(3)@DEGREEID(2)=65