Forum Discussion
casteeb
Neophyte
3 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_Weenig3 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
- 11 months agoKiyoshi_Egawa
- 4 months agoJohn_Cutsinger
- 2 years agoKody