host name changed of ap node
Post on 14-Nov-2014
106 Views
Preview:
TRANSCRIPT
Host Name / I.P Change for the AP node ( Apache / Form Node ) of ILTEST
By: Rahul Gupta L.G.Electronics, Greater Noida
Pre-Information
1. ILTEST Architecture (EBS: 11.5.10 ; O.S : AIX 5.3 )
a) Before activity
b) After activity
Activity is to change the change the hostname from iltestap (192.168.20.137) to LGEILMESD02N (10.101.0.62).Before the activity stop all the services on Form and Concurrent Node, by running adstpall.sh on 192.168.20.137and 192.168.20.133. Also stop the database and listener.
UNIX Team Activity: Change the I.P / hostname of iltestap (192.168.20.137)
When the I.P./Hostname changed. Then up the database and listener only .
Login the Form Node (10.101.0.62) and follow the steps mentioned below.
Step 1 : Add the new host entry in the /etc/hosts file
$ cd /etc $ vi hosts
iltestap (192.168.20.137)
Apache Node (Web Node) + Form Node
iltest (192.168.20.133)
DB node + Report node + Admin Node +Concurrent Node (ORACLE_SID=ILTEST)
LGEILMESD02N (10.101.0.62)
Apache Node (Web Node) + Form Node
iltest (192.168.20.133)
DB node + Report node + Admin Node +Concurrent Node (ORACLE_SID=ILTEST)
Add the entry mentioned below
10.102.0.62 LGEILMESD02N.lgeil.com LGEILMESD02N
Step 2: Now change the host name in the <CONTEXT_NAME>.xml file .
$ cd $APPL_TOP/admin $ cp ILTEST_iltestap.xml ILTEST_LGEILMESD02N.xml $ vi ILTEST_LGEILMESD02N.xml And here change the “iltestap” to “LGEILMESD02N” globally
Step 3: Run the autoconfig.
$ cd $AD_TOP/bin $ adconfig.sh contextfile=$APPL_TOP/admin/ ILTEST_LGEILMESD02N.xml Enter the password of apps : apps ( OR apps password of your apps )
Step 4: After the autoconfig completed successfully. Then, make custom<CONTEXT_NAME>.env file
Note: Autoconfig never makes the custom<CONTEXT_FILE>.env file. This file Need to be created manually.
$ cd $APPL_TOP $ ls –ltr customILTEST_iltestap.env -rw-r--r-- 1 oracle dba 126369792 Jul 4 17:36 customILTEST_iltestap.env $ cp customILTEST_iltestap.env customILTEST_LGEILMESD02N.env
Step 5: Edit $APPL_TOP/ILTEST_LGEILMESD02N.env $ cd $APPL_TOP $ ls –ltr ILTEST_LGEILMESD02N.env
Vi this file (ILTEST_LGEILMESD02N.env) and edit
Find "FORMS60_PATH" and add lines
FORMS60_PATH=$FORMS60_PATH:$CUSTOM_TOP/resource:$CUSTOM_TOP/forms/US:$EAU_TOP/forms/USexport FORMS60_PATH
Below the following line
FORMS60_PATH="/u02/app/ilprodappl/au/11.5.0/resource:/u01/app/ilprodappl/au/11.5.0/resource/stub"export FORMS60_PATH
Step 6: Now, up the services on Form Node and Concurrent Node
Run adstrtal.sh on both Form and Concurrent Node and up the services. After try to open the EBS through the new url i.e.; http:<hostname>.<domain name>:<port> .
New Setting :
Host File Entry
10.101.0.62 lgeilmesd02n lgeilmesd02n.lgeil.com
Proxy Settings
*lgeilmesd02n*;*lgeilmesd02n.lgeil.com*
Url
http://lgeilmesd02n.lgeil.com:8001
http://lgeilmesd02n.lgeil.com:8001/dev60cgi/f60cgi
Note: If this didn’t wok for you and you EBS shoes some error while opening the form launcher. Then stop all the services on AP and DB node by running adstpall.sh (Don’t down the database & listener ) .
After this change the iltestap to LGEILMESD02N in the <CONTEXT_FILE>.xml of Concurrent Node and then run the autoconfig firstly on Concurrent Node and after that on Form Node.
Troubleshooting Section :
EBS was working properly with http://lgeilmesd02n.lgeil.com:8001/dev60cgi/f60cgi url , But not with normal http://lgeilmesd02n.lgeil.com:8001 url . We checked the APACHE logs and we found the errors mentioned below ..
--------------------------------------------------------------------------------------------------/u01/app/ilprodora/iAS/Apache/Apache/logs> more error_log[Sun Jul 27 13:00:43 2008] [error] OPM: EW: Fail to start process with mod=JServ and grp=XmlSvcsGrp, it's possible that yourconfiguration file is not correct.[Sun Jul 27 13:18:10 2008] [error] OPM:Can not find one alive process[Sun Jul 27 13:18:10 2008] [error] [client 10.102.120.118] File does not exist: /servlets/Hello[Sun Jul 27 13:18:14 2008] [error] OPM:Can not find one alive process[Sun Jul 27 13:18:14 2008] [error] [client 10.102.120.118] File does not exist: /servlets/Hello[Sun Jul 27 13:39:14 2008] [error] OPM:Can not find one alive process[Sun Jul 27 13:39:14 2008] [error] [client 10.102.120.118] File does not exist: /oa_servlets/AppsLogin
/u01/app/ilprodora/iAS/Apache/Apache/logs> more access_log.121711680010.102.120.124 - - [27/Jul/2008:12:58:42 +0530] "GET /aplogon.html HTTP/1.1" 200 195610.102.120.124 - - [27/Jul/2008:12:58:45 +0530] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 22710.102.120.124 - - [27/Jul/2008:12:58:51 +0530] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 22710.102.120.118 - - [27/Jul/2008:13:18:10 +0530] "GET /servlets/Hello HTTP/1.1" 404 22010.102.120.118 - - [27/Jul/2008:13:18:14 +0530] "GET /servlets/Hello HTTP/1.1" 404 22010.102.120.118 - - [27/Jul/2008:13:39:14 +0530] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 227
After troubleshooting we find that the /etc/host file entry of AP (Form) node was as mentioned below ..
10.102.0.62 LGEILMESD02N
We changed the entry to
10.102.0.62 LGEILMESD02N.lgeil.com LGEILMESD02N
And restarted the services of AP node. It worked for us and EBS started working properly
For more information, kindly refer to the Metlink Note: 372096.1 - Servlet and JSP Pages return a "Page Not Found" Error After Install of Applications.
top related