Forum Discussion
casteeb
Neophyte
5 months agoOddly in this case I want to manually add/remove the DB names in a list on each server, so maintaining 1 list on each server should work for us. The auto discovery for Oracle RAC and PDBs in LM is sort of the reason we got here. lol
That's not really a problem for use because adding / removing a database requires about 25 Tasks to different functional areas in the data center.
- Stuart_Weenig5 months ago
Mastermind
Then in that case, I'd go with this discovery script:
hostProps.get("oracle_rac_dbs").tokenize(",").each{ (wildvalue,wildalias) = it.tokenize("|") println("${wildvalue}##${wildalias}") } return 0
And put the list on each server with the oracle_rac_dbs property. Comma separate each db/display name pair and separate the db name from the display name with a pipe character.
That takes care of your discovery. Does your collection script test one DB at a time or all DBs on a server?
Related Content
- 2 years ago
- 6 months ago
- 2 years ago