Werk #6492 · Sep 10, 18
mk_oracle: Add pre- or postfix to TNS alias
The SIDs are extracted from the process list via "ps -ef".
Some of the extracted SIDs may have a pre- or postfix in
tnsnames.ora, eg.
PRE_SID.POST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(Host = HOSTNAME)(Port = PORT))
(CONNECT_DATA = (SID = SID)(GLOBAL_NAME = SID.POSTFIX))
)
The pre- or postfix can be configured in mk_oracle.cfg, eg.
PREFIX='GLOBAL_PRE_' # for all SIDs
PREFIX_SID='SPECIFIC_PRE_' # for the specific SID 'SID'
The same works for 'POSTFIX'.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 1.6.0b1CommunityProUltimate + MT