Changing hostname & IPaddress

Hi Team,

 

We have installed and configured 9.40 version of SM and we are planning to change the hostname & IP address of both SM Server & Web server before going live. Can some 1 please let me know the procedure to do the same.

Its a bit urgent.

Thanks in adv.