Oracle 12c: Rre-Create Scan Listeners

During our recent installation/configuration of pushing agents out for OEM Cloud 12c, my team somehow deleted or removed (2) of our Scan_Listeners.  Prior to our mishap with OEM Cloud, we had all (3) Scan_Listeners:


Now we are only left with a single, Scan_Listener01. Does this seem appropriate to recreate:

[grid@mynode]$ srvctl add scan_listener -netnum 2 -listener testscan  -endpoints TCP:1528
[grid@mynode]$ srvctl config scan_listener -netnum 2 SCAN Listener TESTSCAN_SCAN1_NET2 exists. Port: TCP:1528 Registration invited nodes: Registration invited subnets:
[grid@mynode]$ srvctl start scan_listener -netnum 2
[grid@mynode]$ srvctl status scan_listener -netnum 2 SCAN Listener TESTSCAN_SCAN1_NET2 is enabled SCAN listener TESTSCAN_SCAN1_NET2 is running on node SalesSrv146

I believe these scan listeners are initially created during the Grid Infrastructure installation.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel_PLDB Expert/ArchitectCommented:

During downtime:
#stop scan
srvctl stop scan_listener
srvctl stop scan
#update config by setting it back again
srvctl modify scan -n <put your scan address here>
srvctl modify scan_listener -u
#get  current config
srvctl config scan
srvctl config scan_listener
#if all seems fine
srvctl start scan
srvctl start scan_listener

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sdrussAuthor Commented:
Believe scan commands must be run by root.  At minimum the "scan update".
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.