As discussed in Update Config File for Oracle LISTENER on Both Nodes, the name of the Listener to protect is LISTENER1.
1. In the LifeKeeper User Interface, define a new resource. Select to start the Create Resource Wizard (on node-a). Select “Oracle Database Listener” as the Recovery Kit.
- Enter the following values. Select the default values.
Switchback Type | intelligent |
Server | node-a |
Listener Configuration File Path | /u01/app/oracle/product/19.3.0/dbhome_1/network/admin/listener.ora |
Listener Name(s) | LISTENER1 |
Listener Executable(s) | /u01/app/oracle/product/19.3.0/dbhome_1/bin/lsnrctl |
- Select Listener Protection Level. Select “Full Control” as the wizard recommends.
- Enter the following values. Select the default values.
Listener Recovery Level | Standard (On) |
IP address Name(s) | ip-10.10.10.10 |
Listener Tag | LSNR.LISTENER1 |
- The wizard reviews all values specified. Select “Next >” to continue.
- The next step is the “Pre-Extend Wizard”. Select the default values.
Switchback Type | intelligent |
Template Priority | 1 |
Target Priority | 10 |
Once the ‘Pre-Extend Wizard’ checks are passed, select ‘Next’ to continue.
- On the “Extend Oracle Listener Resource” wizard, the first choice is selecting the Listener Configuration File Path. This is the same as step #2, use the path detected by the wizard.
- Enter the following values. Select the default values.
Listener Executable(s) | /u01/app/oracle/product/19.3.0/dbhome_1/bin/lsnrctl |
Listener Tag | LSNR.LISTENER1 |
- The Extend Wizard reviews the values and extends the Listener Resource to Node-B. Once the configuration is completed, select “Finish”.
- The Hierarchy is now verified. Select “Done” once the verification completes.
- Now the Oracle Listener Resource is defined. The Oracle Listener Resource depends on the ip-10.10.10.10 resource as shown below.
Post your comment on this topic.