Tuesday, July 29, 2008

Host Name / I.P Change for the AP node ( Apache / Form Node ) in 11i

Pre-Information

1. ILTEST Architecture (EBS: 11.5.10 ; O.S : AIX 5.3 )




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.137 and 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

Add the entry mentioned below

10.102.0.62 LGEILMESD02N.lgeil.com LGEILMESD02N

Step 2: Now change the host name in the .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.env file

Note: Autoconfig never makes the custom.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/US
export 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:.: .

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 the all on AP and DB node by running adstpall.sh (Don’t down the database & listener ) . After this change the iltestap to LGEILMESD02N in the .xml of Concurrent Node and then run the autoconfig firstly on Concurrent Node and after that on Form Node.


No comments: