Adding a New Node to existing EBS 12.2 environment !!

Author: | Posted in Oracle Applications DBA 5 Comments

Adding new node to an existing Oracle EBS12.2

Document followed Sharing The Application Tier File System in Oracle E-Business Suite Release 12.2 (Doc ID 1375769.1)

Steps:
##########################################################################################################
From Source node:

Execute adpreclone Utility on the Run and Patch File System

. EBSapps.env run

cd $ADMIN_SCRIPTS_HOME

./adadminsrvctl.sh start

./adpreclone.pl appsTier

Once the utility completes, shut down the application tier processes:

./adstpall.sh apps/apps

##########################################################################################################

On the patch file system:

cd $INST_TOP/admin/scripts

./adadminsrvctl.sh start forcepatchfs

./adpreclone.pl appsTier

Once the utility completes, shut down the application tier processes.

./adstpall.sh apps/apps forcepatchfs

##########################################################################################################

If it’s shared file system then do nfs mount of fs1,fs2,fs_ne,inst directories and also copy oraIventory to second node

If it’s individual node then copy the fs1,fs2,fs_ne,inst,oraInventory directories to second node.

###########################################################################################################

Add the Secondary Application Tier Node to the Farm

Prepare the PairsFile for Configuring the Run File System

From first node create pairsfile.

cp /u01/apps/DEV/fs1/inst/apps/DEV_ebs12app/appl/admin/DEV_ebs12app_run.txt ~/myrunpairsfiles.txt

Edit below parameters with appropriate values in pairsfile

[Instance Specific]

s_temp=/u01/apps/DEV/fs1/inst/apps/DEV_ebs12app02/temp
s_contextname=DEV_ebs12app02
s_hostname=ebs12app02
s_domainname=hussain.net
s_cphost=ebs12app02
s_webhost=ebs12app02
s_config_home=/u01/apps/DEV/fs1/inst/apps/DEV_ebs12app02
s_inst_base=/u01/apps/DEV
s_display=ebs12app02:0.0
s_forms-c4ws_display=ebs12app02:0.0
s_ohs_instance=EBS_web_DEV_OHS2
s_webport=8051
s_http_listen_parameter=8051
s_https_listen_parameter=4494

[Services Enabled on the Primary Application Tier Node]

s_web_applications_status=enabled
s_web_entry_status=enabled
s_apcstatus=enabled
s_root_status=enabled
s_batch_status=enabled
s_other_service_group_status=enabled
s_adminserverstatus=disabled
s_web_admin_status=disabled

#################################################################################################################

Configure the Run File System on the Secondary Node

export PATH=/u01/apps/DEV/fs1/FMW_Home/webtier/perl/bin:$PATH

Ensure the WebLogic Administration Server from the run file system is running on the primary application tier node.

cd /u01/apps/DEV/fs1/EBSapps/comn/clone/bin

/u01/apps/DEV/fs1/FMW_Home/webtier/perl/bin/perl ./adclonectx.pl \
addnode contextfile=/u01/apps/DEV/fs1/inst/apps/DEV_ebs12app/appl/admin/DEV_ebs12app.xml \
pairsfile=/home/applmgr/myrunpairsfiles.txt \
outfile=/u01/apps/DEV/fs1/inst/apps/DEV_ebs12app02/appl/admin/DEV_ebs12app02.xml

######################################################################################################################

Prepare the PairsFile for Configuring the Patch File System

Ensure the WebLogic Administration Server from the patch file system is running on the primary application tier node.

cp /u01/apps/DEV/fs2/inst/apps/DEV_ebs12app/appl/admin/DEV_ebs12app_patch.txt ~/mypatchpairsfiles.txt

Edit the parameters in pairsfile.

[Instance Specific]

s_temp=/u01/apps/DEV/fs2/inst/apps/DEV_ebs12app02/temp
s_contextname=DEV_ebs12app02
s_hostname=ebs12app02
s_domainname=hussain.net
s_cphost=ebs12app02
s_webhost=ebs12app02
s_config_home=/u01/apps/DEV/fs2/inst/apps/DEV_ebs12app02
s_inst_base=/u01/apps/DEV
s_display=ebs12app02:0.0
s_forms-c4ws_display=ebs12app02:0.0
s_ohs_instance=EBS_web_DEV_OHS2
s_webport=8051
s_http_listen_parameter=8051
s_https_listen_parameter=4494

[Services To be Enabled on the Secondary Application Tier Node]

s_web_applications_status=enabled
s_web_entry_status=enabled
s_apcstatus=enabled
s_root_status=enabled
s_batch_status=enabled
s_other_service_group_status=enabled
s_adminserverstatus=disabled
s_web_admin_status=disabled

###################################################################################################################

Configure the Patch File System on the Secondary Node

export PATH=/u01/apps/DEV/fs2/FMW_Home/webtier/perl/bin:$PATH

Ensure the WebLogic Administration Server from the patch file system is running on the primary application tier node.

cd /u01/apps/DEV/fs2/EBSapps/comn/clone/bin

/u01/apps/DEV/fs2/FMW_Home/webtier/perl/bin/perl ./adclonectx.pl \
addnode contextfile=/u01/apps/DEV/fs2/inst/apps/DEV_ebs12app/appl/admin/DEV_ebs12app.xml \
pairsfile=/home/applmgr/mypatchpairsfiles.txt \
outfile=/u01/apps/DEV/fs2/inst/apps/DEV_ebs12app02/appl/admin/DEV_ebs12app02.xml

###################################################################################################################

SSH Connectivity Requirements for Online Patching (Required)

From node1:

[applmgr@ebs12app ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/applmgr/.ssh/id_rsa):
Created directory ‘/home/applmgr/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/applmgr/.ssh/id_rsa.
Your public key has been saved in /home/applmgr/.ssh/id_rsa.pub.
The key fingerprint is:
8e:e2:8b:29:21:db:33:f9:52:34:5b:23:37:5a:f8:8f applmgr@ebs12app.hussain.net
The key’s randomart image is:
+–[ RSA 2048]—-+
| |
| |
| . |
| = * |
| . X oS |
|o + .o |
|.+ o. .o. |
|o *+ .E . |
| .o=+. |
+—————–+
[applmgr@ebs12app ~]$ cd .ssh
[applmgr@ebs12app .ssh]$ ls -ltrh
total 8.0K
-rw-r–r– 1 applmgr oinstall 410 May 2 12:02 id_rsa.pub
-rw——- 1 applmgr oinstall 1.7K May 2 12:02 id_rsa
[applmgr@ebs12app .ssh]$ cat id_rsa.pub >> authorized_keys
[applmgr@ebs12app .ssh]$ scp authorized_keys ebs12app02:/home/applmgr

From node 2:

[applmgr@ebs12app02 ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/applmgr/.ssh/id_rsa):
Created directory ‘/home/applmgr/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/applmgr/.ssh/id_rsa.
Your public key has been saved in /home/applmgr/.ssh/id_rsa.pub.
The key fingerprint is:
a4:c1:11:3f:10:6d:a3:18:f7:6c:c0:0c:d2:b4:67:b0 applmgr@ebs12app02.hussain.net
The key’s randomart image is:
+–[ RSA 2048]—-+
| .o++=+ |
| .o==++ |
| E+=*+. |
| .o.++. |
| ..S |
| |
| |
| |
| |
+—————–+
[applmgr@ebs12app02 ~]$ cd .ssh
[applmgr@ebs12app02 .ssh]$ ls -ltr
total 8
-rw-r–r– 1 applmgr oinstall 412 May 2 12:04 id_rsa.pub
-rw——- 1 applmgr oinstall 1675 May 2 12:04 id_rsa

[applmgr@ebs12app02 .ssh]$ cat id_rsa.pub >> authorized_keys

[applmgr@ebs12app02 .ssh]$ cat ~/authorized_keys >> authorized_keys

[applmgr@ebs12app02 .ssh]$ scp -r authorized_keys ebs12app:/home/applmgr/.ssh

[applmgr@ebs12app02 .ssh]$ ssh ebs12app date
Wed May 2 12:07:15 GST 2018
[applmgr@ebs12app02 .ssh]$ ssh ebs12app02 date
Wed May 2 12:07:15 GST 2018

Comments
  1. Posted by Jacob Charts
    • Posted by hussaindba
  2. Posted by S.Singh
    • Posted by hussaindba
  3. Posted by PrasadKamineni

Add Your Comment