VP Shared File System

Embed Size (px)

Citation preview

  • 8/6/2019 VP Shared File System

    1/28

    Practical Guide forPractical Guide forImplementing SharedImplementing Shared

    Application File SystemApplication File System

    ByBy

    Venkat PerumalVenkat Perumal

  • 8/6/2019 VP Shared File System

    2/28

    ObjectivesObjectives

    Overview of Shared File SystemOverview of Shared File System

    Difference between Shared File SystemDifference between Shared File Systemand Shared APPL_TOPand Shared APPL_TOP

    Steps to Implement Shared File SystemSteps to Implement Shared File System

    Shared Disk resource system managementShared Disk resource system managementsolutionssolutions

    ConclusionConclusion

  • 8/6/2019 VP Shared File System

    3/28

    Oracle Application ArchitectureOracle Application Architecture

    33--Tier ArchitectureTier Architecture

  • 8/6/2019 VP Shared File System

    4/28

    Three Tier ArchitectureThree Tier Architecture

    Desktop TierDesktop Tier

    Application TierApplication Tier

    Database TierDatabase Tier

  • 8/6/2019 VP Shared File System

    5/28

    Oracle Application File SystemOracle Application File System

  • 8/6/2019 VP Shared File System

    6/28

    Shared Application File SystemShared Application File System

    Oracle in an attempt to improve scalability andOracle in an attempt to improve scalability andadministrative options in Eadministrative options in E--Business 11i application,Business 11i application,introduced the Shared Application File System. Theintroduced the Shared Application File System. The

    Shared File Application System helps to consolidate anShared File Application System helps to consolidate an11i application code tree in a multi11i application code tree in a multi--node environment.node environment.

    In a shared application tier file system installation, theIn a shared application tier file system installation, theAPPL_TOP, COMMON_TOP, and Applications technologyAPPL_TOP, COMMON_TOP, and Applications technologystack are installed on a shared disk resource mounted tostack are installed on a shared disk resource mounted toeach node in the system. These nodes can be used toeach node in the system. These nodes can be used toprovide standard application tier services, such as forms,provide standard application tier services, such as forms,web, and concurrent processing.web, and concurrent processing.

  • 8/6/2019 VP Shared File System

    7/28

    Shared File SystemShared File System

  • 8/6/2019 VP Shared File System

    8/28

    Shared Application File SystemShared Application File System

    Database Files

    Data DB

    Oracle Application

    database filesOracle Home

    for RDBMS

    Application Tier Files

    APPL

    Oracle Apps

    Product files

    COMN

    Common Files

    (Log,Output,Java

    and HTML)

    ORA

    Apps Tech

    Stack 8.0.6 and

    iAS

    Common for all nodes for

    Shared File structure

    Database Files

    Data DB

    Oracle Application

    database filesOracle Home

    for RDBMS

    Application Tier Files

    APPL

    Oracle Apps

    Product files

    COMN

    Common Files

    (Log,Output,Java

    and HTML)

    ORA

    Apps Tech

    Stack 8.0.6 and

    iAS

    Common for all nodes for

    Shared File structure

  • 8/6/2019 VP Shared File System

    9/28

    Shared APPL_TOPShared APPL_TOP

    Database Files

    Data DB

    Oracle Application

    database filesOracle Home

    for RDBMS

    Application Tier Files

    APPL

    Oracle Apps

    Product files

    COMN

    Common Files

    (Log,Output,Java

    and HTML)

    ORA

    Apps Tech

    Stack 8.0.6 and

    iAS

    Common for all nodes for

    Shared APPL_TOP

    Database Files

    Data DB

    Oracle Application

    database filesOracle Home

    for RDBMS

    Application Tier Files

    APPL

    Oracle Apps

    Product files

    COMN

    Common Files

    (Log,Output,Java

    and HTML)

    ORA

    Apps Tech

    Stack 8.0.6 and

    iAS

    Common for all nodes for

    Shared APPL_TOP

  • 8/6/2019 VP Shared File System

    10/28

    Advantages of Shared ApplicationAdvantages of Shared Application

    File SystemFile System Improved scalability: Its easier to add a new node.Improved scalability: Its easier to add a new node.

    Shared Application File System offers simplified scripts toShared Application File System offers simplified scripts toadd a new node with a reduced down time window.add a new node with a reduced down time window.

    Since the changes are visible across all nodes, patchesSince the changes are visible across all nodes, patchesneeded to be applied only once. Also, upgrade processneeded to be applied only once. Also, upgrade processtime is significantly reduced.time is significantly reduced.

    Overall disk requirement is greatly reduced.Overall disk requirement is greatly reduced.

    Daily Application Administrative duties such as customDaily Application Administrative duties such as customcode migration have been simplified.code migration have been simplified.

    Any changes made in the shared application tier fileAny changes made in the shared application tier filesystem are immediately visible on all nodessystem are immediately visible on all nodes

  • 8/6/2019 VP Shared File System

    11/28

    Practical ways to implementPractical ways to implement

    Shared Application File SystemShared Application File SystemShared Application File System in new deployments:

  • 8/6/2019 VP Shared File System

    12/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironmentPrerequisitesPrerequisites::

    Oracle Universal Installer (Minimum Version 2.2)Oracle Universal Installer (Minimum Version 2.2)

    TXK Autoconfig Templates (RUP O or Higher)TXK Autoconfig Templates (RUP O or Higher)

    TXK Technology Stack (Min Pack D)TXK Technology Stack (Min Pack D)

    AD Mini Pack (Mini Pack I or Higher)AD Mini Pack (Mini Pack I or Higher)

    iAS Patch (Oracle HTTP Server Rollup 5 oriAS Patch (Oracle HTTP Server Rollup 5 orhigher)higher)

    Global SnapshotGlobal Snapshot

  • 8/6/2019 VP Shared File System

    13/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment

    Node 2(Secondary Server)Node 1(Primary Server)

    Concurrent Manager,

    Reports, Admin

    DB Web, Forms,Discoverer

    Node 2(Secondary Server)Node 1(Primary Server)

    Concurrent Manager,

    Reports, Admin

    DB Web, Forms,Discoverer

  • 8/6/2019 VP Shared File System

    14/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment Execute merge ScriptExecute merge Script

    Copy clone directoriesCopy clone directories

    Execute rapid clone scriptExecute rapid clone script

    Implement shared file scriptsImplement shared file scripts

    Add nodesAdd nodes

  • 8/6/2019 VP Shared File System

    15/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment Node 1 and Node 2 will be merged as part of theNode 1 and Node 2 will be merged as part of the

    shared file system implementation exercise.shared file system implementation exercise.Assume thatNode 1 is the primary server whereAssume thatNode 1 is the primary server whereconcurrent managers/reports/admin services areconcurrent managers/reports/admin services areinstalled and on Node 2 Web, Forms andinstalled and on Node 2 Web, Forms andDiscoverer services are installed.Discoverer services are installed.

    On the primary server (node 1), the first step isOn the primary server (node 1), the first step is

    to execute the preclone script to generate theto execute the preclone script to generate themanifest for merge. Execute the following scriptmanifest for merge. Execute the following scriptlocated onlocated onCOMMON_TOP/admin//COMMON_TOP/admin//

  • 8/6/2019 VP Shared File System

    16/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironmentperl adpreclone.pl appsTier mergeperl adpreclone.pl appsTier merge

    Running adgenhfver.pl with command...Running adgenhfver.pl with command...

    PerlPerl/u02/ppconctest/testappl/ad/11.5.0/bin/adgenhf/u02/ppconctest/testappl/ad/11.5.0/bin/adgenhfver.pl isPrimary=y applsysusr=APPLSYSver.pl isPrimary=y applsysusr=APPLSYStempdir=/u02/ppconctest/testcomn/temptempdir=/u02/ppconctest/testcomn/temp

    Please enter the APPS User [APPS]: APPSPlease enter the APPS User [APPS]: APPSPlease enter the APPS password: Please enter the APPS password:

    This is the merge Primary node:This is the merge Primary node:

  • 8/6/2019 VP Shared File System

    17/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironmentAPPL_TOPs belonging to PPTEST, that can be merged withAPPL_TOPs belonging to PPTEST, that can be merged withAT_pak365devdb01:AT_pak365devdb01:AT_pak365devap02(FORMS, WEB)AT_pak365devap02(FORMS, WEB) (secondary Server)(secondary Server)

    AT_pak365devdb01(ADMIN, CONCURRENT_PROCESSING)AT_pak365devdb01(ADMIN, CONCURRENT_PROCESSING) (primary(primaryserver)server)Do you want to include AT_pak365devap02 in the merge ? [y]:Do you want to include AT_pak365devap02 in the merge ? [y]:Do you want to include AT_pak365devdb01 in the merge ? [y]:Do you want to include AT_pak365devdb01 in the merge ? [y]:Generating the high version files manifest. This will take some time,Generating the high version files manifest. This will take some time,

    please wait.......................please wait.......................

    You can now go ahead and run the preparation on the subsequentYou can now go ahead and run the preparation on the subsequentnode(s) while this process completes.node(s) while this process completes. (execute the merge script on(execute the merge script onsecondary server)secondary server)

    Running Rapid Clone with command...Running Rapid Clone with command...

  • 8/6/2019 VP Shared File System

    18/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironmentperl adpreclone.pl appltop mergeperl adpreclone.pl appltop mergeRunning adgenhfver.pl with command...Running adgenhfver.pl with command...

    perl /u02/ppformstest/testappl/ad/11.5.0/bin/adgenhfver.pl isPrimary=nperl /u02/ppformstest/testappl/ad/11.5.0/bin/adgenhfver.pl isPrimary=napplsysusr=APPLSYS tempdir=/u02/ppformstest/testcomn/tempapplsysusr=APPLSYS tempdir=/u02/ppformstest/testcomn/temp

    Please enter the APPS User [APPS]: appsPlease enter the APPS User [APPS]: appsPlease enter the APPS password:

  • 8/6/2019 VP Shared File System

    19/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment As the manifest is generated, copy theAs the manifest is generated, copy the

    contents of clone directory undercontents of clone directory under

    $COMMON_TOP/clone/appl/$COMMON_TOP/clone/appl/from secondary server onto the primaryfrom secondary server onto the primaryserver directoryserver directory

    $COMMON_TOP/clone/appl/ on node 1.$COMMON_TOP/clone/appl/ on node 1.

  • 8/6/2019 VP Shared File System

    20/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment

  • 8/6/2019 VP Shared File System

    21/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment In order to generate a new autoconfig.xml for the merged APPL_TOP,In order to generate a new autoconfig.xml for the merged APPL_TOP,

    execute the following the rapid clone script on Node 1. The clone scriptexecute the following the rapid clone script on Node 1. The clone scriptmerges the APPL_TOPs; by comparing the template files on the Forms tiermerges the APPL_TOPs; by comparing the template files on the Forms tierwith concurrent manager clone directory.with concurrent manager clone directory.

    perl adcfgclone.pl appsTierperl adcfgclone.pl appsTierThis script is widely used during rapid clone process where it asks serious ofThis script is widely used during rapid clone process where it asks serious ofquestions related to the new environment and based on the new location,questions related to the new environment and based on the new location,server etc, the script recreates the environment. During the merge process,server etc, the script recreates the environment. During the merge process,following information will be displayed in the log file. Log file would reflectfollowing information will be displayed in the log file. Log file would reflectchanges that occurred during the merge and file names and versions copiedchanges that occurred during the merge and file names and versions copiedfrom the two APPL_TOPs.from the two APPL_TOPs.

    Executing merge appl top for JRI mergeExecuting merge appl top for JRI mergemerge jri files with command:merge jri files with command:JRI log file located at,JRI log file located at,$APPL_TOP/admin//out/jri_logfile.txt$APPL_TOP/admin//out/jri_logfile.txt

    JRI report file located at, $APPL_TOP/admin//out/jri_report.txtJRI report file located at, $APPL_TOP/admin//out/jri_report.txt

  • 8/6/2019 VP Shared File System

    22/28

    Implementing Shared FileImplementing Shared FileSystem in a MultiSystem in a Multi--NodeNode

    environmentenvironment

    Generate JAR filesGenerate JAR files

    Generate message filesGenerate message files

    Relink executablesRelink executables

  • 8/6/2019 VP Shared File System

    23/28

    Enable shared file system on theEnable shared file system on the

    Primary ServerPrimary Servercd $FND_TOP/patch/115/bincd $FND_TOP/patch/115/bin

    perlperl --I $AU_TOP/perl txkSOHM.plI $AU_TOP/perl txkSOHM.pl

    Absolute path of Application's Context XML file:Absolute path of Application's Context XML file:$APPL_TOP/admin/DEV_NODE1.xml$APPL_TOP/admin/DEV_NODE1.xml

    Type of Instance [primary/secondary] : primaryType of Instance [primary/secondary] : primary

    Absolute path of 8.0.6 Shared Oracle Home :Absolute path of 8.0.6 Shared Oracle Home :/u02/devora/806/u02/devora/806

    Absolute path of iAS Shared Oracle Home :Absolute path of iAS Shared Oracle Home :/u02/devora/iAS/u02/devora/iAS

    Absolute path of config top : /u02/devcomn/conf/node1Absolute path of config top : /u02/devcomn/conf/node1

  • 8/6/2019 VP Shared File System

    24/28

    Adding new nodes toAdding new nodes to

    Application file systemApplication file system Using a single disk resource, shared Application file system shouldUsing a single disk resource, shared Application file system should

    be mounted onto secondary server or Node 2, to configurebe mounted onto secondary server or Node 2, to configureadditional nodes. Source the current environment file, and executeadditional nodes. Source the current environment file, and executethe following command to add new nodes.the following command to add new nodes.

    $ cd $AD_TOP/bin$ cd $AD_TOP/bin$$ perl adclonectx.pl sharedappltopperl adclonectx.pl sharedappltop

    contextfile=$APPL_TOP/admin/DEV_NODE1.xmlcontextfile=$APPL_TOP/admin/DEV_NODE1.xmlFollowed byFollowed by$ cd $AD_TOP/patch/115/bin$ cd $AD_TOP/patch/115/bin$ perl$ perl --I /perl txkSOHM.plI /perl txkSOHM.plBefore executing this script, a separate directory to store instanceBefore executing this script, a separate directory to store instance

    specific tech stack file should be created. If you have more than 2specific tech stack file should be created. If you have more than 2nodes in your setup, above script can be used to additional nodes.nodes in your setup, above script can be used to additional nodes.

  • 8/6/2019 VP Shared File System

    25/28

    Major Operating SystemMajor Operating System

    requirementsrequirementsAll Application nodes should be running onAll Application nodes should be running on

    the same operating system with similarthe same operating system with similar

    kernel and OS patches.kernel and OS patches.

    Shared File System is supported only inShared File System is supported only inUNIX. Windows operating system is notUNIX. Windows operating system is not

    supported.supported.

  • 8/6/2019 VP Shared File System

    26/28

    Shared Disk resource systemShared Disk resource system

    management solutionsmanagement solutions Disk mustbe shared among multiple servers toDisk mustbe shared among multiple servers to

    support the architecture.support the architecture.

    Adequate protection against single point ofAdequate protection against single point offailure.failure.

    Robust SolutionRobust Solution -- NAS/SAN configurations whichNAS/SAN configurations whichincludes Sun StorageTek, Red Hat Linux Globalincludes Sun StorageTek, Red Hat Linux Global

    File System, VERITAS File System, Network FileFile System, VERITAS File System, Network FileSystem (NFS) mounted disk or a disk array,System (NFS) mounted disk or a disk array,NetApps custom solution for Oracle shared fileNetApps custom solution for Oracle shared filesystem and Dell's equal logic SANsystem and Dell's equal logic SAN

  • 8/6/2019 VP Shared File System

    27/28

    ExampleExample

    DNS Mapping

    http://apps.itc.com ..192.168.100.10

    http://apps.itc.com .. 192.168.100.10

    http://apps.itc.com .. 192.168.100.10

  • 8/6/2019 VP Shared File System

    28/28

    QuestionsQuestions

    ??