You are right, I'm also not doing this manually :-) I'm using a shell script to replace all necessary parameters. If you still want to test the updated hostname variant, you can do the following as root using ssh:
- su -c "stopsap r3" -l a4hadm (stop all instances)
- /etc/init.d/sapinit stop (stop all remaining services)
- ./updateHostname abapci dummy.nodomain yourhostname yourdomain.com (run the attached script)
- /etc/init.d/sapinit start (start all services)
- su -c "startsap r3" -l a4hadm (wait until HANA is up and start all instances)
Best regards,
Christopher