Hi,
I'm a Virtualization expert @SAP IT. I was aked to provide a solution for hostname change process for cloned virtual machines. Here, i'm posting my solution but use it on your own risk and sideeffects can appear too (applicable to NW 2004s - don't know about side effects till now).
1. Change your hostname to a new one (newsid for clonned) and stop SAP services with prefix SAPXYZ_AB
2. open the c:\Windows\System32\drivers\etc\hosts file and add your previous hostname at the end of 127.0.0.1 line:
127.0.0.1 localhost youroldhostname
3. Use sql enterprise manager (or other SQL tool) in order to connect NW's database.
4. NW's database is a database with a SAP systemID - XYZ and locate J2EE_CONFIGENTRY table
5. Open a query window and check the following SQL Query for previous appearances of your hostname
SELECT *
FROM J2EE_CONFIGENTRY
WHERE (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
6. If this query returns results - run the following SQL update command
UPDATE J2EE_CONFIGENTRY
SET VSTR = 'NEWHOSTNAME'
WHERE (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
7. if step 5 failed try to run query w/oout where statement
Best regards,
Boris Mikhailovski
System & Software engineer
Message was edited by:
Boris Mikhailovski