Let chgiphost.sh update hostname in As10G

Use Oracle script "chgiphost.sh" to update Oracle As10g whenever hostname, domain name or IP got changed. But 2 things to rememer in mind:
1) NOT ALL COMPONENTS support changes in network.

2) Force Oracle runInstaller pick up appropriate ip/hostname by ‘runInstaller OUI_HOSTNAME=_what_my_hostname_’

Case:
oracle@mid.domainx.com:FRalone:/myapp/u04/oracle/fr/chgip/scripts > ./chgiphost.sh -mid
Oracle Home set to /myapp/u04/oracle/fr
Starting Change Hostname/IP…

Enter fully qualified hostname (hostname.domainname) of destination
 (myhost)>>myapp.domainx.com
Enter fully qualified hostname (hostname.domainname) of source
 (myhost)>>mid.domainx.com
Enter valid IP Address of destination
 (100.100.100.12)>>
Enter valid IP Address of source
 (100.100.100.11)>>
Change Hostname/IP completed successfully.

Tip: if you see help messasge , you get an idea why some component can’t be changed. :-p
oracle@mid.domainx.com:FRalone:/myapp/u04/oracle/fr/chgip/scripts > ./chgiphost.sh
Usage:
./chgiphost.sh [-version | -help | -mid [-silent] | -infra [-silent] | -idm [-silent]]
Where:
-version : Shows the version of the tool.
-infra : To change the IP of Infrastructure Home
-mid : To change the Hostname/IP of the Mid-tier Home
-idm : To change hostname/IP of IM-only Home
-silent : To run in silent mode

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Oracle Fusion Middleware. Bookmark the permalink.

2 Responses to Let chgiphost.sh update hostname in As10G

  1. It’s difficult to find experienced people on this
    subject, but you sound like you know what you’re
    talking about! Thanks

  2. Excellent pieces. Keep posting such kind
    of info on your blog. Im really impressed by your site.

    Hi there, You’ve performed a great job. I will certainly digg
    it and in my opinion suggest to my friends.
    I am confident they will be benefited from this web site.

Leave a comment