Showing results for 
Search instead for 
Did you mean: 

How Configure SAP server to use the new "virtual" hostname

0 Kudos

We have an Application server installed on a physical host. We want to move the same to a virtual hostname.

Note 962955 - Use of virtual TCP/IP host names

The above note talks about
4. Next, install or configure your SAP server using the new "virtual" network identity. Information is available in the installation guides at

However i don't find much of information available other than for install. How to configure the instance to virtual if it is already installed ?.

We tried creating new start and instance profile with the names of virtual host and also updated the parameter  SAPLOCALHOST = <virtual host name> in both.

However the startsap command does not identify the new start profile, so it starts with the old profiles and hence on the physical host name.

How to make startsap to identify the new sap pfrofiles of virtual hosts?



Accepted Solutions (0)

Answers (2)

Answers (2)

Active Contributor
0 Kudos

Hi Sukhdev,

Apart from the areas mentioned by Manas there are few more places where hostname needs to be changed.

All the .dbenv and .sapenv environment files needs to be adjusted to point to new hostname.

Ensure that Virtual hostname has a separate IP and all the /etc/host files are updated to reflect the same.



As it is an application server only, you may re-install the same using virtual hostname. It will take not more than 30 mins - 45 mins to install an ABAP application server.

use the parameter SAPINST_USE_HOSTNAME=<Virtual hostname> while triggering the SAPINST.

Hope this helps.


Deepak Kori

0 Kudos

Thanks Deepak for the inputs,

We have the app server instance in Linux environment.

> etc/host environment is clear since we have another instnace running in Linux which was installed with the SAPINST_USE_HOSTNAME.

> profiles have been created similar to the running system so that is also correct.

> the only reference what we are looking for is how does startsap identifies the correct profile.

In the system where we have installed with SAPINST_USE_HOSTNAME parameter the profiles are created with the "virtual hostname". When we give startsap command it identifies the correct start profile and starts up.

in the required instance where we have problem the startsap command picks up the profiles with the physical instance.

There is no reference to the virtual host in startsap so somewhere it picks up from the environment variables.

it is easy to re-install, but wanted to find out the correct settings.



Active Contributor
0 Kudos

Hi Sukhdev

You need to make sure that under /usr/sap there is a file called sapservices, make sure the entries in there is also correct

LD_LIBRARY_PATH=/usr/sap/SID/DVEBMGS##/exe:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; /usr/sap/SID/DVEBMGS##/exe/sapstartsrv pf=/usr/sap/SID/SYS/profile/START_DVEBMGS##_hostname -D -u sidadm

Best Regards


Active Participant
0 Kudos

Hi Sukhdev,

Could you please check below points , if you followed .

i) Check Instance and Start profile renamed as Virtual host name and should not have any refernece for physical hostname in Profile Paramter ( grep < physical hostname> * for Unix).

ii) Check in /etc/hosts in if Virtual host name entry in maintaied .

iii) Virtual hostname should be in DNS entry .

also while startsap with Virtual host what  error is  coming , which genrally help in that scenerio .


Manas Behra