Changing SCAN LISTENER from etc/hosts on Linux to use DNS which mean the from one IP to 3 IPs
The SCAN listener will remain the same without any change therefore like i mentioned before the these steps only provide changing for SCAN to use DNS.
“I Will not post any output”
the configuration for the IP should be added to DNS and to check this on OS level you should nslookup command :-
On node #1 run the below command to check the Listener status and see the current configuration:-
srvctl status scan
srvctl status scan_listener
srvctl config scan
srvctl config scan_listener
On node #2 run the below command to check the Listener status and see the current configuration:-
srvctl status scan
srvctl status scan_listener
srvctl config scan
srvctl config scan_listener
The output should be the same for both.
Stop all the listeners on your RAC as root :-
srvctl stop scan_listener
srvctl stop scan
srvctl status scan
srvctl status scan_listener
Remove or comment any entire in /etc/hosts after done stop the listener.
Let’s modify the scan :-
srvctl modify scan -n
srvctl modify scan_listener –u
Start listener :-
srvctl start scan
srvctl start scan_listener
srvctl status scan
srvctl status scan_listener
Thanks
Osama
Like this:
Like Loading...
Related
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa
Superb i really enjoyed very much with this article here. Really its a amazing article i had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your updation.Digital Marketing Company in Chennai
LikeLike
Thanks for the share. It will be nice to have the functionality to follow new posts in your blog by mail, if I am not wrong it is not possible now.Foued
LikeLike
Hi Foued,You can follow the blog and you will be notify if any updates
LikeLike
I read so many articles in your blog. All are awesome. I learnt a lot of new things with help of your blog. Thanks for sharing this wonderful information. website developers in bangalore Website Design and Development Companies in Bangalore ECommerce Web Design Company in bangalore Outsource magento ecommerce services india
LikeLike