1. Trang chủ
  2. » Công Nghệ Thông Tin

OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P104 pot

10 165 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 450,98 KB

Nội dung

OCA/OCP Oracle Database 11g All-in-One Exam Guide 97 6 5. Schedule the job that will download and apply the patch. 6. The final step is to view a summary of the operation. Chapter 27: The Intelligent Infrastructure 977 PART III EXAM TIP Patches are applied with the Opatch utility—even when working with Database Control, you are still using Opatch. Exercise 27-2: Download and Apply a Patch In this exercise, you will download a patch and apply it. Oracle Corporation provides a dummy patch for this purpose. At the time of writing, this is only available for 32-bit Linux. If you are working on another operating system, don’t worry—you will get practice in patching soon enough when you start working on a live database. 1. Log in to MetaLink. 2. Select the Patches & Updates tab, and then the Simple Search link. 3. When prompted for a Patch Number/Name, enter 6198642. When prompted for a Platform Or Language, select Linux x86 from the drop-down box. Click GO. 4. Click the DOWNLOAD button, shown in the next illustration, to download the patch from MetaLink to an appropriate directory. 5. From an operating system prompt, unzip the patch. It will unzip into a directory named 6198642. 6. Shut down the database and the listener: Opatch will not proceed if these are running. OCA/OCP Oracle Database 11g All-in-One Exam Guide 978 7. Apply the patch: $ORACLE_HOME/OPatch/opatch apply patch_directory where patch_directory is the directory into which the patch was unzipped. The next illustration shows this step, and the start of the output. 8. Confirm the patch application with this command: $ORACLE_HOME/OPatch/opatch lsinventory Two-Minute Drill Use the Enterprise Manager Support Workbench • Database Control can connect to MetaLink and identify lists of advised patches. • The Support Workbench can classify errors into named problems, each consisting of one or more incidents. • Diagnostic information is stored in files in the ADR, located by default in the ORACLE_BASE directory. • All diagnostic information in the ADR relevant to a problem can be packaged for transmission to Oracle Support Services. Manage Patches • Interim patches fix one problem. • CPUs are bundled patches, often including security fixes. Chapter 27: The Intelligent Infrastructure 979 PART III • Patch sets raise the release level of the product. • The Opatch utility installs patches and updates the inventory. Set Up the Automatic Diagnostic Repository • The ADR is a file-based repository, accessible no matter what the state of the instance and the database. • The ADR location is determined by the DIAGNOSTIC_DEST instance parameter, which will default to the ORACLE_BASE environment variable. • Maintenance of the ADR is automatic: the instance (and other processes, such as database listeners) will create their own directories and files in the ADR. Self Test 1. If the system is behind a firewall proxy server, where must the proxy server be defined before the REFRESHFROMMETALINK job can run? (Choose the best answer.) A. In the browser B. In Database Control C. In both the browser and Database Control D. It is necessary to configure the firewall to allow a direct connection from the database server to the Internet 2. Where is the Automatic Diagnostic Repository? (Choose the best answer.) A. In the location specified by the ADR_BASE environment variable. B. In the flash recovery area. C. In the location specified by the DIAGNOSTIC_DEST instance parameter. D. In the location specified by the oraInst.loc file on Unix systems, or the INST_LOC registry variable on Windows systems. 3. If your database release level is at 11.1.0.6, application of what type of patch will raise this level? (Choose the best answer.) A. An interim patch B. A critical patch update C. A patch set D. Any patch installation will raise the reported level 4. What tool(s) can you use to install patches? (Choose all correct answers.) A. Database Control B. The Opatch utility C. The Oracle Universal Installer D. The Automatic Diagnostic Repository Command-Line Interface tool (the ADRCI) OCA/OCP Oracle Database 11g All-in-One Exam Guide 980 5. What are the prerequisites for running the Opatch utility? (Choose all correct answers.) A. ORACLE_HOME must be set as an environment variable. B. MetaLink credentials must be either stored or entered at runtime. C. A Java Runtime Environment must be available. D. The database must be in NOMOUNT mode. 6. The value of the initialization parameter DIAGNOSTIC_DEST is NULL, the environment variable ORACLE_HOME is set to /u01/app/oracle/ product/11.1.0/db_1, and the value of the environment variable ORACLE_BASE is set to /u01/app/oracle. At startup, what value is assigned by Oracle to DIAGNOSTIC_DEST? (Choose the best answer.) A. /u01/app/oracle/diag B. /u01/app/oracle/log C. /u01/app/oracle/product/11.1.0/db_1/log D. /u01/app/oracle 7. Which of the following tasks can you accomplish using the adrci command- line tool? (Choose the best answers.) A. Package incident information into a ZIP file to send to Oracle support. B. View diagnostic data within ADR. C. Perform a health check on the database while it is running. D. Run recommended fixes from the most recent health check on the database. 8. You can use the EM Support Workbench for which of the following tasks? (Choose all correct answers.) A. Run recommended repairs. B. Manually run a health check. C. Close problems and incidents. D. Generate additional SQL test cases to help Oracle support solve the problem. E. View problems and incidents. Self Test Answers 1. þ B. Database Control must be able to make an outbound HTTP connection to MetaLink. ý A, C, and D. A and C are wrong because the browser does not make the connection to MetaLink—it makes a connection to Database Control. D is wrong because while this would work, it is not necessary. Chapter 27: The Intelligent Infrastructure 981 PART III 2. þ C. The DIAGNOSTIC_DEST parameter specifies the directory used as the root of the ADR. ý A, B, and D. A is wrong because ADR_BASE is not an environment variable. B is wrong because the flash recovery area stores backup and recovery data, not problem diagnosis data. D is wrong because it confuses the ADR with the OUI Inventory. 3. þ C. Patch sets raise the fourth digit of the release level. ý A, B, and D. Interim patches and critical patch updates apply within a release level and cannot raise it. 4. þ A and B. Opatch (either invoked from the command line or through Database Control) is the tool to install patches. ý C and D. C is wrong because the OUI doesn’t install patches—it installs or upgrades an Oracle Home, which is a much larger operation. D is wrong because the ADRCI uses the ADR to investigate problems; it doesn’t install patches to fix them. 5. þ A and C. Opatch needs the ORACLE_HOME environment variable (the Windows registry variable is not enough) and a JRE. ý B and D. B is wrong because MetaLink is not needed to apply a patch, only to download it. D is wrong because (in most cases) the database should be shut down before applying patches. 6. þ D. The ADR root directory (also known as the ADR base) is set by the parameter DIAGNOSTIC_DEST. If it is not set, Oracle sets DIAGNOSTIC_ DEST to the environment variable ORACLE_BASE. If ORACLE_BASE is not set, then the ADR root directory is set to $ORACLE_HOME/log. ý A, B, and C. All three locations are not assigned, given the values of DIAGNOSTIC_DEST, ORACLE_BASE, and ORACLE_HOME. 7. þ A and B. The adrci command-line tool allows you to view diagnostic information in the ADR root directory in addition to packaging both problem and incident information for Oracle support. ý C and D. The adrci command-line tool cannot initiate health checks nor run fixes recommended by other Oracle diagnostic tools. 8. þ B, C, D, and E. You can use the Support Workbench for viewing problems and incidents, manually running health checks, generating additional dumps and test cases for Oracle support, creating and tracking a service request to Oracle support, collecting all data related to a problem and packaging it, and closing the problem when it has been resolved. ý A. The EM support workbench cannot run recommended repairs. However, you can initiate advisors that recommend repairs. This page intentionally left blank APPENDIX About the CD 983 OCA/OCP Oracle Database 11g All-in-One Exam Guide 984 The CD-ROM included with this book comes complete with MasterExam and the electronic version of the book. The software is easy to install on any Windows 2000/ XP/Vista computer and must be installed to access the MasterExam feature. You may, however, browse the electronic book directly from the CD without installation. To register for the bonus MasterExam, simply click the Bonus MasterExam link on the main launch page and follow the directions to the free online registration. System Requirements Software requires Windows 2000 or higher and Internet Explorer 6.0 or above and 20MB of hard disk space for full installation. The electronic book requires Adobe Acrobat Reader. Installing and Running MasterExam If your computer CD-ROM drive is configured to autorun, the CD-ROM will automatically start up upon inserting the disk. From the opening screen you may install MasterExam by clicking the MasterExam link. This will begin the installation process and create a program group named LearnKey. To run MasterExam, use Start | All Programs | LearnKey | MasterExam. If the autorun feature did not launch your CD, browse to the CD and click the LaunchTraining.exe icon. MasterExam MasterExam provides you with a simulation of the actual exams. The number of questions, the type of questions, and the time allowed are intended to be an accurate representation of the exam environment. You have the option to take an open-book exam, including hints, references, and answers, a closed-book exam, or the timed MasterExam simulation. When you launch MasterExam, a digital clock display will appear in the bottom right-hand corner of your screen. The clock will continue to count down to zero unless you choose to end the exam before the time expires. Electronic Book The entire contents of the All-in-One Exam Guide are provided in PDF. Adobe’s Acrobat Reader has been included on the CD. Help A help file is provided through the help button on the main page in the lower left- hand corner. An individual help feature is also available through MasterExam. Appendix: About the CD 985 Removing Installation(s) MasterExam is installed to your hard drive. For best results removing programs, use the Start | All Programs | LearnKey| Uninstall option to remove MasterExam. Technical Support For questions regarding the content of the electronic book or MasterExam, please visit www.mhprofessional.com or e-mail customer.service@mcgraw-hill.com. For customers outside the 50 United States, e-mail international_cs@mcgraw-hill.com. LearnKey Technical Support For technical problems with the software (installation, operation, removing installations), please visit www.learnkey.com, e-mail techsupport@learnkey.com, or call toll free at 1-800-482-8244. . listener: Opatch will not proceed if these are running. OCA/ OCP Oracle Database 11g All-in-One Exam Guide 978 7. Apply the patch: $ORACLE_ HOME/OPatch/opatch apply patch_directory where patch_directory. OCA/ OCP Oracle Database 11g All-in-One Exam Guide 97 6 5. Schedule the job that will download and apply the patch. 6. The final step is to view a summary of the operation. Chapter 27:. Command-Line Interface tool (the ADRCI) OCA/ OCP Oracle Database 11g All-in-One Exam Guide 980 5. What are the prerequisites for running the Opatch utility? (Choose all correct answers.) A. ORACLE_ HOME

Ngày đăng: 06/07/2014, 13:20

TỪ KHÓA LIÊN QUAN