Hi Mathan,
Kindly follow the below steps
The default behavior of an AWS instance is to generate a new hostname / computername at
the time an instance is launched from an AMI or a stopped instance is restarted. This behavior
is not appropriate for an SAP system and must be disabled by following the steps provided
below.
- SUSE
1) Start yast
2) Navigate to Network Devices -> Network Settings (press enter)
3) Select Hostname/DNS in the menu
4) Change the values of the Hostname and Domain Name fields as required
5) Uncheck “Change Hostname via DHCP”
6) F10 (to save)
7) F9 (to exit)
-Red Hat
1) Edit file /etc/sysconfig/network
2) Change parameter HOSTNAME and replace value with the new hostname
3) Restart OS
-Windows
1) Start -> Programs -> EC2ConfigService Settings
2) On the General tab, deselect “Set Computer Name”
With Regards
Ashutosh Chaturvedi