We have to Change the IP address of server on which Infrastructure and forms are installed.
Note: Changing Hostname where infrastructure is installed is not supported method. It is not recommended to change hostname. Only Changing IP-Address is supported method.
Following are the steps which i have followed while doing the activity :
In following document the IP Address will be changed using chgiphost.sh command.
Located at $ORACLE_HOME/chgip/scripts.
STEP 1] Stop all services mid-tier plus infra
Stopping Mid –Tier
A) Go To $MID_HOME/opmn/bin
. /opmnctl stopall
B) Go to $MID_HOME /bin
Give following command to stop em console.
. /emctl stop iasconsole
Stopping INFRA-Tier
A) Go To $INFRA_HOME/opmn/bin
. /opmnctl stopall
B) Go to $INFRA_HOME/bin
Give following command to stop em console.
. /emctl stop iasconsole
C) Go to $INFRA_HOME/opmn/bin
Stop lsnrctl
./lsnrctl stop
D) Go to $INFRA_HOME/opmn/bin
Connect to Infra database
./sqlplus “/as sysdba”
./shut immediate
STEP 2] Take complete backup of application server.
STEP 3] Change the IP-address of the server, Reboot If required.
STEP 4] Check that the IP-Address and hostname in /etc/hosts is correct.
STEP 5] Check that you are able to ping from other machine.
STEP 6] Set ORACLE_SID, ORACLE_HOME to infrastructure database.
STEP 7] Start Infrastructure database.
Go to $INFRA_HOME/bin
./sqlplus “/as sysdba”
Startup
STEP 8] Start database listener
Go to $INFRA_HOME/bin
./lsnrctl start
STEP 9] Start opmn service
Go To $INFRA_HOME/opmn/bin
./opmnctl start
STEP 10] Start OID
Go To $INFRA_HOME/opmn/bin
./opmnctl startproc ias-component=OID process-type=OID
STEP 11] Run Chgiphost script.
Go to $INFRA_HOME/chgip/scripts
Sh chgiphost.sh -infra
STEP 12] After excuting above command we have to specify NEW and OLD IP with orcladmin password :
When prompted for destination IP enter new IP.
When Prompted for source IP enter Old IP.
When prompted for OIDAdmin password enter orcladmin password
STEP 13] Check for any errors in $INFRA_HOME/chgip/log
STEP 14] Startall opmn service
Go To $INFRA_HOME/opmn/bin
./opmnctl startall
Check the status of opmn services.
STEP 15] Go to $MID_HOME
STEP 16] Set $ORACLE_HOME path to $MID_HOME
STEP 17] Go to $MID_HOME/chgip/scripts
chgiphost.sh –mid
STEP 18] After excuting above command we have to specify NEW and OLD IP with orcladmin password :
When prompted for destination IP enter new IP.
When Prompted for source IP enter Old IP.
When prompted for OIDAdmin password enter orcladmin password.
STEP 19] Check for any error in $MID_HOME/chgip/log
STEP 20] Start all services as follows:
A) Go To $INFRA_HOME/opmn/bin
./opmnctl startall
B) Go To $INFRA_HOME/bin
. /emctl start iasconsole
C) Go To $Mid_ORACLE_HOME/opmn/bin
. /opmnctl startall
D) Go to $MID_HOME/bin
. /emctl start iasconsole
STEP 20] Check status from front-end.
Note: Changing Hostname where infrastructure is installed is not supported method. It is not recommended to change hostname. Only Changing IP-Address is supported method.
Following are the steps which i have followed while doing the activity :
In following document the IP Address will be changed using chgiphost.sh command.
Located at $ORACLE_HOME/chgip/scripts.
STEP 1] Stop all services mid-tier plus infra
Stopping Mid –Tier
A) Go To $MID_HOME/opmn/bin
. /opmnctl stopall
B) Go to $MID_HOME /bin
Give following command to stop em console.
. /emctl stop iasconsole
Stopping INFRA-Tier
A) Go To $INFRA_HOME/opmn/bin
. /opmnctl stopall
B) Go to $INFRA_HOME/bin
Give following command to stop em console.
. /emctl stop iasconsole
C) Go to $INFRA_HOME/opmn/bin
Stop lsnrctl
./lsnrctl stop
D) Go to $INFRA_HOME/opmn/bin
Connect to Infra database
./sqlplus “/as sysdba”
./shut immediate
STEP 2] Take complete backup of application server.
STEP 3] Change the IP-address of the server, Reboot If required.
STEP 4] Check that the IP-Address and hostname in /etc/hosts is correct.
STEP 5] Check that you are able to ping from other machine.
STEP 6] Set ORACLE_SID, ORACLE_HOME to infrastructure database.
STEP 7] Start Infrastructure database.
Go to $INFRA_HOME/bin
./sqlplus “/as sysdba”
Startup
STEP 8] Start database listener
Go to $INFRA_HOME/bin
./lsnrctl start
STEP 9] Start opmn service
Go To $INFRA_HOME/opmn/bin
./opmnctl start
STEP 10] Start OID
Go To $INFRA_HOME/opmn/bin
./opmnctl startproc ias-component=OID process-type=OID
STEP 11] Run Chgiphost script.
Go to $INFRA_HOME/chgip/scripts
Sh chgiphost.sh -infra
STEP 12] After excuting above command we have to specify NEW and OLD IP with orcladmin password :
When prompted for destination IP enter new IP.
When Prompted for source IP enter Old IP.
When prompted for OIDAdmin password enter orcladmin password
STEP 13] Check for any errors in $INFRA_HOME/chgip/log
STEP 14] Startall opmn service
Go To $INFRA_HOME/opmn/bin
./opmnctl startall
Check the status of opmn services.
STEP 15] Go to $MID_HOME
STEP 16] Set $ORACLE_HOME path to $MID_HOME
STEP 17] Go to $MID_HOME/chgip/scripts
chgiphost.sh –mid
STEP 18] After excuting above command we have to specify NEW and OLD IP with orcladmin password :
When prompted for destination IP enter new IP.
When Prompted for source IP enter Old IP.
When prompted for OIDAdmin password enter orcladmin password.
STEP 19] Check for any error in $MID_HOME/chgip/log
STEP 20] Start all services as follows:
A) Go To $INFRA_HOME/opmn/bin
./opmnctl startall
B) Go To $INFRA_HOME/bin
. /emctl start iasconsole
C) Go To $Mid_ORACLE_HOME/opmn/bin
. /opmnctl startall
D) Go to $MID_HOME/bin
. /emctl start iasconsole
STEP 20] Check status from front-end.
No comments:
Post a Comment