Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle Client Deployment Within a Large Corporate Environment Revisited Steve Recsky Complete DBA Inc. A Partner of First4 Database Partners Inc. First4.

Similar presentations


Presentation on theme: "Oracle Client Deployment Within a Large Corporate Environment Revisited Steve Recsky Complete DBA Inc. A Partner of First4 Database Partners Inc. First4."— Presentation transcript:

1 Oracle Client Deployment Within a Large Corporate Environment Revisited Steve Recsky Complete DBA Inc. A Partner of First4 Database Partners Inc. First4 Database Partners Inc.

2 Original Scenario Update/Install Oracle Client software onto desktops Update/Install Oracle Client software onto desktops Must use SMS for deployment Must use SMS for deployment Can’t use net change method Can’t use net change method Wipe of existing Oracle Client installation deemed not feasible Wipe of existing Oracle Client installation deemed not feasible Reconcile existing ODBC DSN definitions Reconcile existing ODBC DSN definitions Support all existing applications that utilize the Oracle Client Support all existing applications that utilize the Oracle Client First4 Database Partners Inc.

3 Current Scenario New client stack only rolled out for new base-builds New client stack only rolled out for new base-builds Installed directly after base OS image applied Installed directly after base OS image applied Oracle client stack adds 45-minutes to base image build process Oracle client stack adds 45-minutes to base image build process First4 Database Partners Inc.

4 Future Scenario New client stack needs to be made available on new Windows 7 OS New client stack needs to be made available on new Windows 7 OS First4 Database Partners Inc.

5 The Stack Windows XP SP2 – 32bit Windows XP SP2 – 32bit Oracle Versions Required Oracle Versions Required Cumulative Patch Update (CPU) or Patch Set Update (PSU) Cumulative Patch Update (CPU) or Patch Set Update (PSU) First4 Database Partners Inc. Above Red Line De-supported New requirement since last presentation

6 Directory Structure c:\oracle\product c:\oracle\product     \client_1  \client_1  \client_1 First4 Database Partners Inc.

7 SMS Restrictions Visual Basic Script Visual Basic Script Windows Command Script (limited support) Windows Command Script (limited support) First4 Database Partners Inc.

8 Clean Up First4 Database Partners Inc. Clean up is no longer a viable option due to the unknown nature of both the base-build and custom Oracle client configuration Clean up is no longer a viable option due to the unknown nature of both the base-build and custom Oracle client configuration

9 Oracle Universal Installer (OUI) Modes of Installation First4 Database Partners Inc. Interactive Interactive Uses the graphical user interface to walk through the installation Uses the graphical user interface to walk through the installation Suppressed Suppressed Supplies the necessary information by using a combination of a response file or command line entries with certain interactive dialogs Supplies the necessary information by using a combination of a response file or command line entries with certain interactive dialogs Silent Silent Bypasses the graphical user interface and supply the necessary information in a response file Bypasses the graphical user interface and supply the necessary information in a response file

10 Silent Install – First4 Database Partners Inc. See Metalink Note: See Metalink Note: From the SMS directory From the SMS directory orainst.exe /silent /rspsrc 734.rsp /install appuser No patching required No patching required

11 Silent Install – First4 Database Partners Inc Installer Installer setup.exe -responseFile 171_oui.rsp -silent -nowelcome –nowait Client Client setup.exe –responseFile 817_custom.rsp -silent –nowelcome Patch Set Patch Set setup.exe -responseFile 8174_patchset.rsp -silent -nowelcome -nowait

12 Silent Install – First4 Database Partners Inc Client Client setup.exe -responseFile 920_custom.rsp -silent -nowelcome -nowait -waitforcompletion Stop Oracle MTS Recovery Service Stop Oracle MTS Recovery Service net stop OracleMTSRecoveryService Oracle Data Access Components Oracle Data Access Components setup.exe -responseFile ODBC_custom.rsp -silent -nowelcome -nowait –waitforcompletion setup.exe -responseFile OLEDB_custom.rsp -silent -nowelcome -nowait –waitforcompletion setup.exe -responseFile OO4O_custom.rsp -silent -nowelcome -nowait -waitforcompletion Patch Set Patch Set setup.exe -responseFile 9208_patchset.rsp -silent -nowelcome -nowait -waitforcompletion

13 Silent Install – First4 Database Partners Inc. Update OPatch - Patch Update OPatch - Patch rename C:\oracle\product\9.2.0\OPatch OPatch.old mkdir C:\oracle\product\9.2.0\OPatch xcopy /Y /E …\OPatch C:\oracle\product\9.2.0\OPatch Need Perl Need Perl Install Active Perl on Network Install Active Perl on Network Apply CPU – Note – October 2008 Apply CPU – Note – October 2008 SET PERL5LIB=…\Perl\lib SET ACTIVE_STATE_PERL=TRUE set ORACLE_HOME="C:\oracle\product\9.2.0" set INVENTORY_LOC="C:\Program Files\Oracle\Inventory" pushd …\dba\9i\Windows\32-bit\patch\ …\perl\bin\perl %ORACLE_HOME%\OPatch\opatch.pl apply -oh %ORACLE_HOME% -silent popd

14 Silent Install – First4 Database Partners Inc Client Client oui.exe -responseFile 1020_custom.rsp -silent -nowelcome -nowait -waitforcompletion Patch Set Patch Set oui.exe -responseFile 10204_patchset.rsp -silent -nowelcome -nowait –waitforcompletion Update OPatch - Patch Update OPatch - Patch rename C:\oracle\product\10.2.0\client_1\OPatch OPatch.old mkdir C:\oracle\product\10.2.0\client_1\OPatch xcopy /Y /E …\ \OPatch C:\oracle\product\10.2.0\client_1\OPatch

15 Silent Install – First4 Database Partners Inc. Must have a generated response file by this point by running OCM Response File Generation Utility: Must have a generated response file by this point by running OCM Response File Generation Utility:%ORACLE_HOME%\OPatch\ocm\bin\emocmrsp.bat Apply CPU – Note – October 2008 Apply CPU – Note – October 2008 set ORACLE_HOME="C:\oracle\product\10.2.0\client_1" pushd …\ %ORACLE_HOME%\OPatch\OPatch apply -silent -ocmrf …\ocmrf\ocm.rsp popd

16 Silent Install – First4 Database Partners Inc Client Client oui.exe -responseFile …\1110_custom.rsp -silent -nowelcome -nowait -waitforcompletion Patch Set Patch Set oui.exe -responseFile 11107_patchset.rsp -silent -nowelcome -nowait –waitforcompletion Update OPatch - Patch Update OPatch - Patch rename C:\oracle\product\11.1.0\client_1\OPatch OPatch.old mkdir C:\oracle\product\11.1.0\client_1\OPatch xcopy /Y /E …\ \OPatch C:\oracle\product\10.2.0\client_1\OPatch No October 2008 CPU for No October 2008 CPU for

17 Silent Install – First4 Database Partners Inc Client Client oui.exe -responseFile 1120_custom.rsp -silent -nowelcome -nowait -waitforcompletion Update OPatch - Patch Update OPatch - Patch rename C:\oracle\product\11.1.0\client_1\OPatch OPatch.old mkdir C:\oracle\product\11.1.0\client_1\OPatch xcopy /Y /E …\ \OPatch C:\oracle\product\11.2.0\client_1\OPatch Apply Critical Patch Update August 2010 ( ) Apply Critical Patch Update August 2010 ( ) set ORACLE_HOME=C:\oracle\product\11.2.0\client_1 pushd …\ %ORACLE_HOME%\OPatch\OPatch apply -silent -ocmrf …\ocmrf\ocm.rsp popd

18 Customizing and Creating Response Files First4 Database Partners Inc. Creating a Response File With Record Mode Creating a Response File With Record Mode setup -record -destinationFile C:\response_files\install_oracle910 (on Windows)./runInstaller -record -destinationFile /private/temp/install_oracle91.rsp (on UNIX) Response File Format Response File Format Variable Values Variable Values Comments Comments Headers Headers Response File Parameters Response File Parameters

19 Using OUI Exit Codes First4 Database Partners Inc. OUI returns one of the following exit codes: OUI returns one of the following exit codes: 0 All installations were successful. All installations were successful. 1 All installations were successful but some optional configuration tools failed. All installations were successful but some optional configuration tools failed At least one installation failed At least one installation failed

20 ORAPARAM.INI File First4 Database Partners Inc. File includes information that defines the behavior of certain Oracle Universal Installer features File includes information that defines the behavior of certain Oracle Universal Installer features BOOTSTRAP BOOTSTRAP Set to TRUE or FALSE. This parameter instructs Oracle Universal Installer to attempt a bootstrap. Set to TRUE before cutting CDs, but set to FALSE once you have copied the staging area to the hard disk. Set to TRUE or FALSE. This parameter instructs Oracle Universal Installer to attempt a bootstrap. Set to TRUE before cutting CDs, but set to FALSE once you have copied the staging area to the hard disk.

21 PATH First4 Database Partners Inc. PATH will have access to binaries in the same order they were installed PATH will have access to binaries in the same order they were installed c:\oracle\product\11.1.0\client_1\bin;c:\oracle\product\10.2.0\client_1\bin;c:\or acle\product\9.2.0\jre\1.4.2\bin\client;c:\oracle\product\9.2.0\jre\1.4.2\bin;c:\or acle\product\9.2.0\bin;C:\Program Files\Oracle\jre\1.1.8\bin;c:\oracle\product\8.1.7\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%;%Syste mRoot%\System32\Wbem;C:\Program Files\IXOS\IXOS- eCONtext\bin;;c:\oracle\product\7.3.4\BIN;

22 OUI and PATH First4 Database Partners Inc.

23 The New Project First4 Database Partners Inc. Support new Wave 3 project Support new Wave 3 project Windows 7 desktop Windows 7 desktop Sharepoint 2010 Sharepoint 2010 Exchange 2010 Exchange 2010 Office 2010 Office 2010 Oracle Client Stack Oracle Client Stack Microsoft SQL Server Client Stack Microsoft SQL Server Client Stack

24 Application Virtualization First4 Database Partners Inc. Virtualize the application so it has everything it needs to run by itself within a “bubble” and not affect any other applications Virtualize the application so it has everything it needs to run by itself within a “bubble” and not affect any other applications - Oracle Client - Application 1 - Oracle Client - Oracle ODBC Driver - Application 2 - SQL Server 2008 R2 Client - Application 3

25 Application Virtualization First4 Database Partners Inc. Application run on the local PC and uses local resources Application run on the local PC and uses local resources Application can be upgraded and its dependent software patched and/or migrated to new supportable releases Application can be upgraded and its dependent software patched and/or migrated to new supportable releases Application is secured so that end-users cannot corrupt the original installation Application is secured so that end-users cannot corrupt the original installation

26 Methods First4 Database Partners Inc. Standalone Standalone Applications are encapsulated into a single executable Applications are encapsulated into a single executable Executables can run directly from any media (USB, CDROM, local disk, etc) Executables can run directly from any media (USB, CDROM, local disk, etc) Centrally controlled access Centrally controlled access Virtualized applications are distributed through a central deployment tool Virtualized applications are distributed through a central deployment tool Locally installed agent is typically required Locally installed agent is typically required

27 Some Solutions First4 Database Partners Inc. Microsoft Application Virtualization (App-V) Microsoft Application Virtualization (App-V) Citrix XenApp Citrix XenApp VMWare ThinApp VMWare ThinApp Novell ZENworks Novell ZENworks Altiris Altiris LANDesk LANDesk Endeavors Technologies – Application Jukebox Endeavors Technologies – Application Jukebox Xenocode Virtual Application Studio Xenocode Virtual Application Studio Symantec Endpoint Virtualization Suite Symantec Endpoint Virtualization Suite AppZero AppZero

28 Comparison Chart First4 Database Partners Inc.

29 Pros/Cons? First4 Database Partners Inc. Con - Majority of solutions out there require infrastructure that serves up the virtualized applications to the desktops Con - Majority of solutions out there require infrastructure that serves up the virtualized applications to the desktops Pro – Encapsulation; each application is in its own bubble Pro – Encapsulation; each application is in its own bubble Con – Another layer to worry about Con – Another layer to worry about Pro – Only the database client required for each application are installed Pro – Only the database client required for each application are installed Con – Must track which database clients are in use for patching Con – Must track which database clients are in use for patching Pro – Patches can be specifically applied to meet the needs of a specific application Pro – Patches can be specifically applied to meet the needs of a specific application

30 Windows 7 Challenges First4 Database Partners Inc. Windows XP Version is Windows 7 Version is

31 Oracle 7 and 8i First4 Database Partners Inc. RunAS Administrator – Interactive RunAS Administrator – Interactive

32 Oracle 9i First4 Database Partners Inc. Copied code locally and modified all setup.exe compatibility settings to XP Copied code locally and modified all setup.exe compatibility settings to XP RunAS Administrator – Interactive RunAS Administrator – Interactive Will see 2 x PSAPI.dll errors Will see 2 x PSAPI.dll errors Process Status Helper Process Status Helper

33 Oracle 10g First4 Database Partners Inc. RunAS Administrator – Interactive RunAS Administrator – Interactive Copied source code locally Copied source code locally Modified compatibility and runas properties on oui.exe executables Modified compatibility and runas properties on oui.exe executables

34 Oracle 10g (continued…) First4 Database Partners Inc. Added the following to the...\client\stage\prereq\client\refhost.xml file: Added the following to the...\client\stage\prereq\client\refhost.xml file:

35 Oracle 11g First4 Database Partners Inc. RunAS Administrator – Interactive Expected result: One of 5.0,5.1,5.2,6.0 Actual Result: 6.1 Check complete. The overall result of this check is: Failed <<<< Check complete: Failed <<<< RunAS Administrator – Interactive Expected result: One of 5.0,5.1,5.2,6.0 Actual Result: 6.1 Check complete. The overall result of this check is: Failed <<<< Check complete: Failed <<<< This continued to fail even with passing the installer option - ignoreSysPrereqs and modifying the oraparam.ini file. This continued to fail even with passing the installer option - ignoreSysPrereqs and modifying the oraparam.ini file. Added the following to the...\client\stage\prereq\client\refhost.xml file: Added the following to the...\client\stage\prereq\client\refhost.xml file:

36 The End First4 Database Partners Inc.


Download ppt "Oracle Client Deployment Within a Large Corporate Environment Revisited Steve Recsky Complete DBA Inc. A Partner of First4 Database Partners Inc. First4."

Similar presentations


Ads by Google