You can set up the OracleListener through the use of the LKCLI (Command Line Interface).
Creating/Extending/Configuring the OracleListener from the Command Line
create listener
EXAMPLE: #lkcli resource listener --tag <tag> --exe <exe path> --config <config path> --protection <Full | Intermediate | Minimal> --recovery <Standard | Optional> --switchback <switchback type> --user <system user> --listener <listener name> --iptag <IP tag>
Option | Default | Description |
---|---|---|
--exe <str> | Execution path of the Listener. | |
--config <str> | Path of the execution setting file of the Listener. | |
--protection <str> | Protection level of the Listener:
|
|
--recovery <str> | Recovery level of the Listener:
|
|
[--user <str>] | None | System usename. Specify a system user that has permission to start, stop, monitor and recover the Listener. |
[--listener <str>] | LISTENER | The name of the Oracle Listener to protect. |
[--iptag <str>] | None | The tag name of the IP resource that is protected as a dependency on this resource hierarchy. |
extend listener
EXAMPLE: #lkcli resource extend listener --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority> --exe <exe path> --config <config path>
Option | Default | Description |
---|---|---|
[--exe <str>] | Source system exe value. | Execution path of the Listener. |
[--config <str>] | Source system config value. | Path of the execution setting file of the Listener. |
config listener
Option | Default | Description |
---|---|---|
--type <str> | The item name to change. Options vary depending on the item.
|
--type ProtectionLevel
EXAMPLE: #lkcli resource config listener --tag <tag> --type ProtectionLevel --value <Full | Intermediate | Minimal>
Option | Default | Description |
---|---|---|
--value <str> | Same as the protection option of create. |
--type RecoveryLevel
EXAMPLE: #lkcli resource config listener --tag <tag> --type RecoveryLevel --value <Standard | Optional>
Option | Default | Description |
---|---|---|
--value <str> | Same as the recovery option of create. |
--type Listener
EXAMPLE: #lkcli resource config listener --tag <tag> --type Listener --value <listener name> --iptag <IP tag>
Option | Default | Description |
---|---|---|
--value <str> | Name of the Oracle Listener to protect. | |
[--iptag <str>] | None | The tag name of the IP resource that is protected as a dependency. |
Post your comment on this topic.