Rename the Oracle Instance name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2022 12:42 AM
Hi All,
Any suggestions if we want to change the default Oracle Instance name from sid@hostname to servicename@hostname? I have tried to modify the "Oracle DB On Unix" pattern and replaced $sid with another variable in step "sets the display label". The discovery log can show the correct name in the Creating CI section, but the actual cmdb_ci_db_ora_instance CI just won't change the name. Any idea?
Endmost
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 09:21 AM
Hi Endmost,
I will try and find the script that does the concatenation, but I'm fairly sure it is just doing a concatenation of 'instance' and the 'runs-on' server. You can influence the value of cmdb_ci_db_ora_instance.instance in a pattern extension. I suggest at least trying that, before customizing whichever script is creating the Name.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 05:36 PM
