Adding an Additional Node to an existing Oracle Applications Instance
Adding an Additional Node to an existing Oracle Applications Instance.
Coming to the advanced configurations in ebusiness suite, today my current post will talk about introducing a new node to an already existing ebusiness suite.
Current configuration
A single node instance of 11.5.10.2 on Linux This is referred as Node A in the rest of the post.
Task
Plan to introduce a new Linux node (referred as Node B) for the web and the forms server and split the instance into a two node configuration.
Node A Configuration
Application User: applsam
Home Dir: /u02/sam/applsam
Oracle User: orasam
Home Dir: /u02/sam/orasam
Instance SID: SAM
The task can be accomplished either by implementing a SHARED APPL_TOP concept or by using rapidclone. I am using rapidclone in my current post here.
The brief outline of steps to be performed to accomplish this task are.
- Running Pre Clone on Node A.
- Copying the Application Tier Files to Node B.
- Running Post Clone on Node A DB Tier and Apps Tier.
- Running post clone on Node B Apps Tier.
- Adding the additional node script on Node A.
Running Rapid Clone on Node A Database Tier and Applications Tier.
Pre-Clone on database Tier Of Node A
Login to Node A as the database owner and set the environment
# su - orasam
$ cd samdb
$ cd 9.2.0/
$ . ./Sam_Node_A.env
$cd $ORACLE_HOME/appsutil/scripts/Sam
$ perl adpreclone.pl dbTier
Pre-clone on Node A application tier
Login to to Node A which is also our source system as the applications user and set the environment.
# su - applsam
$ cd samappl
$ . ./APPSORA.env
$ cd $COMMON_TOP/admin/scripts/sam
$ perl adpreclone.pl appsTier
Disable security option
In Oracle Applications 11.5.10 the SQL*NET restricted security option is enabled by default. As a result your new node Node_B will not be able to connect to the database. You must either disable this security option or the better way is to add Node_B is the list of trusted nodes through OAM.
Oracle Applications Manager -> Security ->Disable Restricted Sectrity Option.
After this you must run Autoconfig on the database Tier and restart your listener.
# su - orasam
$ cd $ORACLE_HOME/appsutil/scripts/SAM_NOde_A
$ ./adautocfg.sh
Restart your listener.
$ ./addlnctl.sh stop sam
$ ./addlnctl.sh start sam
Preparing the new node (Node B) to copy the application tier file system.
On Node B make the following dir structure
# cd /u02
# mkdir sam
# chmod -R 777 sam
Copy the files across to Node B
Shutdown on Application and Database services on Node A
tar -cf - applsam | ssh Node_B tar -xf - -C /u02/sam/
Post Clone on Node A Database Tier
Now you must run your post clone (adcfgclone.pl) on the database tier of Node A preserving the original values
# su - orasam
$ cd samdb/9.2.0/appsutil/clone/bin
$ perl adcfgclone.pl dbTier
Post Clone on Node A Applications Tier
Now you run your post clone (adcfgclone.pl) on Node A applications Tier. you must remember to configure the services you require on tiis node in our case the CM and the Admin Node.
$ perl adcfgclone.pl appsTier
Once completed sucessfully this will start the specified services only in our source Node Node A.
Running Post clone On Node B
Next you run your post clone on the Node B again specifying the services you like to configure which in our case were forms server and the web server.
$ perl adcfgclone.pl appsTier
Execute the Add Node script on Node A
After sourcing your environment file you must run the adaddnode.pl script on node A
#su - applsam
$ cd $COMMON_TOP/clone/bin
$ perl adaddnode.pl
The script will promt you for your APPS user and password and do the required new node entries to the database FND tables.
You can check the details of this new node and status through Oracle Applications Manager.
References.
Advanced Configurations and Topologies for Enterprise Deployments of E-Business Suite 11i Note Id 217368.1
Cloning Oracle Applications Release 11i with Rapid Clone Note Id 230672.1
Comments
hi same,
nice example i would like to know was the whole apps on node a (web, forms, admin,CM) and then u split them, can i have more than one web node. how can i reach that.
thanks
fadi
Posted by: Fadi hasweh | October 11, 2006 04:21 PM
Thanks Fadi,
Yes in my current example it was a single node system. You could have two web nodes also , you may need to go in for load balancing in that case.I will try to put in a example if possible for that also.
Sam
Posted by: Sam | October 11, 2006 07:32 PM
Hey Sam,
Nice article, very precise.
Can you publish an article as to how we can secure external web tiers, for example the nodes for iSourcing & iRecruitment that are exposed to www ?
Thanks,
Anil Passi
http://oracle.anilpassi.com
Posted by: Anil Passi | October 13, 2006 01:48 AM
Anil,
Thanks once again, you are very generous.
I have read a number of papers and posts regarding this subject but i still have not implemented any of those in my infrastructure here. I will definitely post once i try out something practically.
Sam
Posted by: Sam | October 13, 2006 11:00 AM
Hi Sam,
As I understood, node A is your source node and Node B is your target. So Why did you run "adaddnode.pl" on Node A-(source) instead of the Target node B?
Best Regards,
Ziad
Posted by: Ziad | January 11, 2007 02:49 AM
Hi Sam,
Great article! Very informative.
I need one thing clarified, though. I'm running Oracle Apps on 2 servers (Application Tier server, DB Tier Server). I think I would have to run the adpreclone on the Application tier server instead of Node A, correct?
Thanks!
Jeremy
Posted by: Jeremy | January 18, 2007 09:35 PM