sap_swpm: Should we make NW_DI_Instance.virtualHostname (maybe more) optional? #997
berndfinger
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Personally, I would suggest by default always Virtual Hostnames as a best practice. I suggest we ask @rob0d for his opinion |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In
templates/inifile_params.j2
, we are settingNW_DI_Instance.virtualHostname
unconditionally tosap_swpm_aas_instance_hostname
if sectionnw_config_additional_application_server_instance
is contained insap_swpm_inifile_sections_list
.However, there are cases where we do not want
NW_DI_Instance.virtualHostname
, so we could make this optional, as also already mentioned in the comment in the line before this one (Leave empty to use the existing host name
). Suggested parameter:sap_swpm_use_virtualhostname
.If set to
true
, we use the current code. If set tofalse
, we comment out this line.I also successfully tested the following workaround: Configure:
for setting
NW_DI_Instance.virtualHostname
to an empty string. So we are already flexible and can replace any parameter setting made bytemplates/inifile_params.j2
with a new parameter setting of our choice.Beta Was this translation helpful? Give feedback.
All reactions