I have been struggling to see my host name in Oracle Enterprise Manager 11g differs from my Computer Name after I rename my Computer Name.
Luckily I found a blog written by Scott Van Vliet. The title of the blog is “How-to: Change Windows Hostname and Keep Oracle 10g Running”.
The article is for Oracle 10g but somehow I have tried it in Oracle 11g and it has been working fine.
The trick is to drop the Enterprise Manager Console by using:
emca -deconfig dbcontrol db -repos drop
Configure your network by either update listener.ora and tnsnames.ora as per Scott’s article or use Oracle Net Manager. After that create the Enterprise Manager Console as follow:
emca -config dbcontrol db -repos create