This script changes all the config files and replaces the ip and hostname. It will ask you for the source and target ip/hostname...
Task : Run the chgiphost Command
Follow these steps for each middle-tier instance on your host. Be sure to complete the steps entirely for one middle-tier instance before you move on to the next.
Log in to the host as the user that installed the middle-tier instance.
Ensure your
ORACLE_HOME
environment variable is set to the middle-tier Oracle home.Run the following commands in the middle-tier Oracle home:
cd ORACLE_HOME\chgip\scripts chgiphost.bat -mid
ORACLE_HOME\opmn\bin\opmnctl stopall
ORACLE_HOME\opmn\bin\opmnctl startall
--
Saved my lot of time..
No comments:
Post a Comment