Tuesday, February 2, 2010

Cloning Two Node without Shared APPL_TOP

Note: Assuming svr10 replaced by svr55 and svr1 replaced by svr5

SPACE REQUIRED:

svr1 (webserver, Form server):

Space Actual: Appl_top (/u02/app/appp/PROD)  81G
IAS_Home (/u02/app/appp/product/iAS)  3.4G
8.0.6_Home (/u02/app/appp/product/8.0.6)  2.5G


Space Required: Appl_top (/u02/app/appp/PROD)  100G
IAS_Home (/u02/app/appp/product/iAS)  5G
8.0.6_Home (/u02/app/appp/product/8.0.6)  5G

svr10 (Concurrent, Report, Database):

Space Actual:
/u01  Oradata (/u01/oradata/PROD)  23G
/u02  ORACLE_HOME (/u02/app/orap/product/)  30G
 APPL_TOP (/u02/app/appp/PROD)  72G
 COMMON_TOP (/u02/app/appp/PROD/common)
 IAS_ORACLE_HOME (/u02/app/appp/product/iAS)  3.2G
 8.0.6_ORACLE_HOME (/u02/app/appp/product/8.0.6)  2.5G

/u03  Oradata (/u03/oradata/PROD)  17G
/u04  Oradata (/u04/oradata/PROD)  31G
/u05  Oradata (/u05/oradata/PROD)  21G
/u06  Oradata (/u06/oradata/PROD)  28G
/u07  Oradata, Redo log files (/u07/oradata/PROD)  29G
/u08  Oradata (/u08/Oradata/PROD)  31G
/u09  Oradata (/u09/oradata/PROD)  30G
/u10  Oradata (/u10/oradata/PROD)  28G
/u11  Oradata, Redo log files (/u11/oradata/PROD)  27G
/u12  Oradata (/u12/oradata/PROD)  28G
/u13  Oradata, Redo log files (/u13/oradata/PROD)  23G
/u14  Oradata, Redo log files (/u14/Oradata/PROD)  751M
 Arch logs (/u14/archredologs/PROD)  7.7G

/u15  Hot Backup (/u15/backup/PROD)  156G
 Oradata (/u15/oradata/PROD)  4.4G
 Stage (/u15/stage)  7.1G

If possible we need to increase the space in /u04,/u07,/u08,/u09,/u10


Mount Point Actual Size Used space Avail Space
/u01 34G 29G 3.0G
/u02 135G 112G 17G
/u03 34G 17G 16G
/u04 34G 31G 1.4G
/u05 34G 21G 12G
/u06 34G 28G 4.4G
/u07 34G 29G 3.0G
/u08 34G 31G 1.4G
/u09 34G 30G 2.6G
/u10 34G 28G 3.9G
/u11 34G 27G 4.9G
/u12 34G 28G 4.4G
/u13 34G 23G 8.8G
/u14 67G 14G 50G
/u15 276G 174G 88G


Create File Structure in svr55 as svr10:
File Structure in svr10:

/u01  Oradata /u01/oradata/PROD
/u02  ORACLE_HOME /u02/app/orap/product/9.2.0
 APPL_TOP /u02/app/appp/PROD
 COMMON_TOP /u02/app/appp/PROD/common
 IAS_ORACLE_HOME /u02/app/appp/product/iAS
 8.0.6_ORACLE_HOME /u02/app/appp/product/8.0.6

/u03  Oradata /u03/oradata/PROD
/u04  Oradata /u04/oradata/PROD
/u05  Oradata /u05/oradata/PROD
/u06  Oradata /u06/oradata/PROD
/u07  Oradata, Redo log files /u07/oradata/PROD
/u08  Oradata /u08/oradata/PROD
/u09  Oradata /u09/oradata/PROD
/u10  Oradata /u10/oradata/PROD
/u11  Oradata, Redo log files /u11/oradata/PROD
/u12  Oradata /u12/oradata/PROD
/u13  Oradata, Redo log files /u13/oradata/PROD
/u14  Oradata, Redo log files /u14/Oradata/PROD
 Arch logs /u14/archredologs/PROD

/u15  Hot Backup /u15/backup/PROD
 Oradata /u15/oradata/PROD


Clone Steps:

Run Adpreclone on svr1 with appp user
Cd $COMMON_TOP/admin/scripts/PROD_svr1
Perl adpreclone.pl appsTier

Run Adpreclone on svr10 with orap user
Cd $ORACLE_HOME/appsutil/scripts/PROD_svr10
Perl adpreclone.pl dbTier
Run Adpreclone on svr10 with appp user
Cd $COMMON_TOP/admin/scripts/ PROD_svr10
Perl adpreclone.pl appsTier
Once preclone completed successfully copy all the files for svr10 to svr55

svr10:/u01/oradata/PROD to svr55:/u01/oradata/PROD
svr10:/u02/app/orap/product/9.2.0 to svr55:/u02/app/orap/product/9.2.0
/u02/app/appp/PROD to svr55:/u02/app/appp/PROD
/u02/app/appp/PROD/common to svr55:/u02/app/appp/PROD/common
/u02/app/appp/product/iAS to svr55:/u02/app/appp/product/iAS
/u02/app/appp/product/8.0.6 to svr55:/u02/app/appp/product/8.0.6
svr10:/u03/oradata/PROD to svr55:/u03/oradata/PROD
svr10: /u04/oradata/PROD to svr55:/u04/oradata/PROD
svr10:/u05/oradata/PROD to svr55:/u05/oradata/PROD
svr10:/u06/oradata/PROD to svr55:/u06/oradata/PROD
svr10:/u07/oradata/PROD to svr55:/u07/oradata/PROD
svr10:/u08/oradata/PROD to svr55:/u08/oradata/PROD
svr10: /u09/oradata/PROD to svr55:/u09/oradata/PROD
svr10:/u10/oradata/PROD to svr55:/u10/oradata/PROD
svr10: /u11/oradata/PROD to svr55:/u11/oradata/PROD
svr10: /u12/oradata/PROD to svr55:/u12/oradata/PROD
svr10: /u13/oradata/PROD to svr55:/u13/oradata/PROD
svr10: /u14/Oradata/PROD to svr55:/u14/Oradata/PROD
/u14/archredologs/PROD to svr55:/u14/archredologs/PROD

svr10: /u15/backup/PROD to svr55:/u15/backup/PROD
/u15/oradata/PROD to svr55:/u15/oradata/PROD

Once preclone completed successfully copy all the files for svr1 to svr1

svr1:/u02/app/appp/PROD to svr5: /u02/app/appp/PROD
/u02/app/appp/PROD/common to svr5: /u02/app/appp/PROD/common
/u02/app/appp/product/8.0.6 to svr5: /u02/app/appp/product/8.0.6
/u02/app/appp/product/iAS to svr5: /u02/app/appp/product/iAS

Run Adcfgclone

Configuring db on svr55
Login svr55 as orap
Cd /u02/app/orap/product/9.2.0/appsutil/clone/bin
Perl adcfgclone.pl dbTier
It will ask the following question:
Do you want to use a virtual hostname for the target node (y/n) [n]?
ANS: N
Target instance is a Real Application Cluster (RAC) instance (y/n) [n]
ANS: N
Target System database name [PROD]
ANS: PROD
Target system RDBMS ORACLE_HOME directory [/u02/app/orap/product/9.2.0/]
ANS: /u02/app/orap/product/9.2.0
Target system utl_file accessible directories list:
ANS: enter
Number of DATA Top’s on the target system [5]
ANS:
Target system DATA_TOP 1[/u01/oradata/PROD]
ANS: /u01/oradata/PROD
like wise give all the tops location
Do you want to preserve the Display set to svr10.domain.com:0.0 (y/n) [y]?
ANS: N
Target system Display [svr10:0.0]
ANS: svr55.domain.com:21009
Do you want to preserve the port values from the source system on the
target system (y/n) [y] ?
ANS: N
Enter pool number:
ANS: 0
Configuring applications on svr55

Login as appp on svr55 server, type the following command:
Cd /u02/app/appp/PROD/common/clone/bin
Perl adcfgclone.pl appsTier
Adcfgclone.pl will ask the following questions:
Do you want to use a virtual hostname for the target node (y/n) [n]?
ANS: N
Target system database SID [PROD]
ANS: PROD
Target system database server node [svr10]
ANS: svr55
Does the target system have more than one application tier server node (y/n) [y]?
ANS: Y
Target system concurrent processing node [svr10]
ANS: svr55
Target system administration node [svr10]
ANS: svr55
Target system forms server node [svr1]
ANS: svr1
Target system web server node [svr1]
ANS: svr1
Is the target system APPL_TOP divided into multiple mount points (y/n) [n]?
ANS: N
Target system APPL_TOP mounts point [/u02/app/appp/PROD]
ANS: /u02/app/appp/PROD
Target system COMMON_TOP directory [/u02/app/appp/PROD/common]
ANS: /u02/app/appp/PROD/common
Target system 8.0.6 ORACLE_HOME directory [/u02/app/appp/product/8.0.6]
ANS: /u02/app/appp/product/8.0.6
Target system iAS ORACLE_HOME directory [/u02/app/appp/product/iAS]
ANS: /u02/app/appp/product/iAS
Do you want to preserve the Display set to svr10:0.0 (y/n) [y] ?
ANS: n
Target system Display [svr10:0.0]
ANS: svr55.domain.com:21009
Location of the JDK on the target system [/opt/usr/java]
ANS: /u02/app/appp/PROD/common/util/java/1.4/j2sdk1.4.2_04
Do you want to preserve the port values from the source system on the target system (y/n) [y]?
ANS: N
Enter pool number:
ANS: 0
Target system proxy hostname [Newserver1.domain.com]
ANS: svr55.domain.com
Target system proxy port [80]
ANS:
UTL_FILE_DIR on database tier consists of the following directories.

Choose a value which will be set as APPLPTMP value on the target node [1]
ANS: 1


Configuring applications on svr1

Login svr1 as appp:
Cd /u02/app/appp/PROD/common/clone/bin
Perl adcfgclone.pl appsTier
Adcfgclone.pl will ask the following questions:
Do you want to use a virtual hostname for the target node (y/n) [n] ?
ANS: N
Target system database SID [PROD]
ANS: PROD
Target system database server node [svr10]
ANS: svr55
Does the target system have more than one application tier server node (y/n) [y]?
ANS: Y
Target system concurrent processing node [svr10]
ANS: svr55
Target system administration node [svr10]
ANS: svr55
Target system forms server node [svr1]
ANS: svr1
Target system web server node [svr1]
ANS: svr1
Is the target system APPL_TOP divided into multiple mount points (y/n) [n]?
ANS: N
Target system APPL_TOP mounts point [/u02/app/appp/PROD]
ANS: /u02/app/appp/PROD
Target system COMMON_TOP directory [/u02/app/appp/PROD/common]
ANS: /u02/app/appp/PROD/common
Target system 8.0.6 ORACLE_HOME directory [/u02/app/appp/product/8.0.6]
ANS: /u02/app/appp/product/8.0.6
Target system iAS ORACLE_HOME directory [/u02/app/appp/product/iAS]
ANS: / u02/app/appp/product/iAS
Do you want to preserve the Display set to svr1:0.0 (y/n) [y]?
ANS: n
Target system Display [svr1:0.0]
ANS: svr1.domain.com:15109
Location of the JDK on the target system [/usr/java1.4.1]
ANS: /u02/app/appp/PROD/common/util/java/1.4/j2sdk1.4.2_04
Do you want to preserve the port values from the source system on the target system (y/n) [y]?
ANS: N
Enter pool number:
ANS: 0
Target system proxy hostname [svr10.domain.com]
ANS: svr55.domain.com
Target system proxy port [80]
ANS:
UTL_FILE_DIR on database tier consists of the following directories.

Choose a value which will be set as APPLPTMP value on the target node [1]
ANS:1


=======================================================================
Sharing an existing Applications file system
Use the instructions in this section to enable a shared application tier file system in an existing Applications 11i system.
Update System Configuration
Rename the Applications context file
you must regenerate the Applications context file:
$ cd AD_TOP/bin
$ perl adclonectx.pl sharedappltop \
contextfile=
Running adclonectx.pl creates a new Applications context file
Run AutoConfig to enable shared file system on the primary node
Run the following commands on the primary node where you are enabling shared file system support. After performing this step, re-load your environment settings.
$ cd COMMON_TOP/admin/scripts/CONTEXT_NAME
$ adstpall.sh apps/
$ cd FND_TOP/patch/115/bin
$ perl -I AU_TOP/perl txkSOHM.pl

Make the Applications files accessible
Mount the shared disk to all application tier nodes.
Mount svr55:/u02 to svr1:/u02
In svr1
$mount –t nfs svr55:/u02 /u02 –o nolock
Run AutoConfig to enable shared file system on the secondary nodes

Run the following commands on the primary node where you are enabling shared file system support. After performing this step, re-load your environment settings.

$ cd FND_TOP/patch/115/bin
$ perl -I /perl txkSOHM.pl

1 comment: