sharing oracle binariesv5appliance™ best practice guidelines for oracle® recommends not to use it...
TRANSCRIPT
![Page 1: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/1.jpg)
1
© 2007 IBM Corporation IBM Oracle ICC
Sharing Oracle BinariesFor Linux on System Z
Bruce Frank [email protected]
IBM Oracle ICC2 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Sharing Oracle BinariesWhat we will cover
•Definition of Oracle Binaries
•Why share binaries
• History
• What can you share
• How to share
• Summary
![Page 2: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/2.jpg)
2
IBM Oracle ICC3 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Definition of Oracle BinariesOracle Binaries are the files and directories
in ORACLE_HOME that are used to create databases, access databases, log database activity and other functions related to databases.
We refer to the VM guest machine that house the Oracle binaries as the “Master”and the VM guest machines that access the binaries as the “Client”
IBM Oracle ICC4 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Why share binariesReduce disk space utilizationSingle point of maintenanceDeployment speedComplements cloning of Linux
VS
![Page 3: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/3.jpg)
3
IBM Oracle ICC5 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
HistoryUnix and Linux System administrators have used methods to share files in the past
Oracle did not support sharing of binaries before 10gR2, with the support of OCFS2 and 10gR2 Oracle does support sharing binaries
IBM Oracle ICC6 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Out on the WEBFrom Oracle's web"OCFS Release 2 enables customers to use a file system on their shared disk so they
can do things like a shared ORACLE_HOME installation
From "the netapp filers blog"Sharing of Oracle Environments thru NFS Question: What can be shared in Oracle environments?Dr. Toaster's Answer: There are 3 types of sharing models available when thinking of Oracle and NFS:1. Shared Oracle Binaries - Sharing a single Oracle DB installation and configuring
multiple databases to mount and use that single directory via NFS mounts.2. Shared Oracle_HOME - Enabling single databases to share the same binaries, similar
to RAC. Oracle 9i originally did not support Shared Oracle_HOME, but at this point it is supported to use a Shared Oracle_HOME over NFS mounts. Nevertheless, it is suggested to use it for testing and development environments. The Network Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments.
3. Shared APPL_TOP - Sharing the Oracle E-Business Suite binaries. See Reducing Administration Costs for Oracle® E-Business Suite Using NetApp Filers for more information.
![Page 4: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/4.jpg)
4
IBM Oracle ICC7 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
What can you shareORACLE_HOME components that do not get modified
xdkrdbms/lib32 oraInst.locmesgdiagnostics
wwgrdbms/lib oracoremddemo
uixrdbms/jlibopmnlib32 ctx
tg4tera rdbms/install OPatchlib css
tg4sybsrdbms/doc olapldapcrs
srvmrdbms/demonlsjreconfig
sqlplusrdbms/admin network/toolsjlibclone
qljracgnetwork/mesgjdkcdata
slaxprecompnetwork/lib32 jdbcbin
root.shplsqlnetwork/libjavavmassistants/rconfig
relnotesperlnetwork/jlibinventoryassistants/jlib
rdbms/xml owmnetwork/install install.platformassistants/dbua
rdbms/public ouinetwork/dochsassistants/dbca
rdbms/mesgordmgwhasassistants/bin
IBM Oracle ICC8 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
What Can NOT be sharedORACLE_HOME directories that require read/write access
dbsassistants/logsnetwork/adminnetwork/agentnetwork/lognetwork/tracerdmbs/audit/rdbms/log
OracleDatabase Files
archive1.dbfcntrl01.dbfctx1.dbfdbfile.tgzinvcmplst.plinvdbob.sqllog1.dbfmedia1.dbfmobile01.dbfnologging1.dbfodm.dbf
olap.dbfowa1.dbfportal.dbfqueues1.dbfreference1.dbfsummary1.dbfsys1.dbfsysaux01.dbftmp1.dbftx_data1.dbftx_idx1.dbfundo01.dbf
![Page 5: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/5.jpg)
5
IBM Oracle ICC9 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
How to shareSetup VM guest
See RedBooks for examples
Set VM minidisk to be used by Master Oracle Linux guest
Share VM minidisk with read only options for Client Oracle Linux guest
IBM Oracle ICC10 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
How to share (continue)Install Oracle on Master Oracle Linux guest
Create directories for ORACLE_HOME components that need to be updated on each Client Oracle Linux guest that will use the share binaries
Create symbolic links for ORACLE_HOME components that don’t need to be updated on each Client Oracle Linux guest that will use the share binaries to corresponding directory where the shared disk is mounted
![Page 6: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/6.jpg)
6
IBM Oracle ICC11 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
A picture is worth a thousand words
Linux Local Disk
Master Oracle Linux Guest Client Oracle Linux Guests
IBM Oracle ICC12 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Sample Linux commands# mount /dev/dasdNN /SharedOracle
# ln -s /SharedOracle/bin $ORACLE_HOME/bin► This needs to be done for all directories shared
# mkdir –p assistants/logs► This need to be done for all directories NOT shared
![Page 7: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/7.jpg)
7
IBM Oracle ICC13 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
What about RACOCFS2 RAC automatically shares binaries if the installation is on a cluster file systemUsing VM shared mini disk method can be accomplished.Single point of failure RAC is used for high availability and sharing binaries would defeat that purpose
IBM Oracle ICC14 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Considerations• Group Oracle Linux Guest
Use departmental or functional grouping
• Do not share all databases with one set of binariesIf disk has problems all guest will have problems
• Best to be use for development and testing or low risk production
![Page 8: Sharing Oracle BinariesV5Appliance™ Best Practice Guidelines for Oracle® recommends not to use it for production and HA environments. 3. Shared APPL_TOP - Sharing the Oracle E-Business](https://reader031.vdocuments.site/reader031/viewer/2022040402/5e836f7f47c4257624081c73/html5/thumbnails/8.jpg)
8
IBM Oracle ICC15 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
SummarySharing saves disk space and provides a single point of maintenance, while making it easy and fast to provide a Linux guest with Oracle Make sure you plan and use a standard naming conventionRead chapter 4 of Redbook SG24-7191 Sharing Oracle binaries with Oracle 10gR2Test your implementation
IBM Oracle ICC16 © 2007 IBM Corporation
Bruce Frank [email protected]
Sharing Oracle BinariesFor Linux on System Z
Sharing Oracle BinariesFor Linux on System Z
Q/A