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:
  • Full – Start, stop, monitor and recover
  • Intermediate – Start, monitor and recover
  • Minimal – Only start and monitor
--recovery <str> Recovery level of the Listener:
  • Standard – Enable the standard LifeKeeper recovery. When all listeners fail locally, perform failover to a valid backup server if necessary.
  • Optional – Enable option LifeKeeper recovery. Even when all listeners fail locally, failover to a valid backup server will not be performed.
[--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.
  • ProtectionLevel – Protection level of the Listener.
  • RecoveryLevel – Recovery level of the Listener.
  • Listener – The name of the Oracle Listener to protect.

--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.

フィードバック

お役に立ちましたか?

はい いいえ
お役に立ちましたか
理由をお聞かせください
フィードバックありがとうございました

このトピックへフィードバック

送信