Best Practices and Getting Started Guide for Oracle on IBM Linuxone
Total Page:16
File Type:pdf, Size:1020Kb
Front cover Best practices and Getting Started Guide for Oracle on IBM LinuxONE Susan Adamovich Sam Amsavelu Srujan Jagarlamudi Raghu Malige Michael Morgan Paul Novak David J Simpson Redpaper International Technical Support Organization Best practices and Getting Started Guide for Oracle on IBM LinuxONE June 2020 REDP-5499-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (June 2020) This edition applies to Oracle 12c, Release 2. This document was created or updated on June 2, 2020. © Copyright International Business Machines Corporation 2020. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . 1 Authors. 1 Now you can become a published author, too! . 2 Comments welcome. 3 Stay connected to IBM Redbooks . 3 Chapter 1. Running Linux virtual servers under IBM z/VM . 5 1.1 z/VM fundamentals . 6 1.2 Pre-requisites and assumptions . 6 1.2.1 Pre-requisites . 6 1.2.2 Assumptions . 6 1.3 Configuring a workstation for mainframe access . 7 1.3.1 3270 emulators . 7 1.3.2 Virtual Network Computing client . 7 1.3.3 Connecting from a Linux workstation . 8 1.3.4 Connecting from a MacOS workstation. 8 1.3.5 Connecting from a Windows workstation . 9 1.4 Service validation and notice subscription . 10 1.4.1 RSU validation . 10 1.4.2 Subscribing to service notifications. 10 1.5 Tailoring z/VM for Linux workloads . 11 1.5.1 Configure the XEDIT PROFILE. 11 1.5.2 Modify the z/VM SYSTEM CONFIG settings . 15 Chapter 2. Setting up Linux guests to install the Oracle 12cR2 Grid Infrastructure and Database . 21 2.1 Obtaining Oracle documentation, Oracle code, and My Oracle Support notes. 22 2.1.1 Master Note of Linux OS Requirements for Database Server . 22 2.1.2 Obtaining the Oracle 12c Software for IBM LinuxONE . 22 2.2 Linux large pages and Oracle Databases . 24 2.2.1 Disable Transparent HugePages . 24 2.3 Setting up Red Hat Enterprise Linux and SUSE Enterprise Linux Server. 26 2.3.1 Pre-installation verification information . 26 2.3.2 Pre-installation checking . 27 2.3.3 Creating the database installation owner user . 30 2.3.4 User login security and limits configuration. 31 2.3.5 Shared memory file system. 32 2.3.6 Host name. 32 2.3.7 Storage options for Oracle database . 33 2.3.8 Required software directories . 36 2.3.9 Setting the disk I/O scheduler . 37 2.4 Enable Linux Random Number Generation (Entropy) . 37 2.4.1 Hardware crypto card . 37 2.5 Red Hat Enterprise Linux 7 and SUSE Linux Enterprise Server set up . 39 2.5.1 Security-Enhanced Linux . 39 2.5.2 Pre-installation checking . 39 © Copyright IBM Corp. 2020. All rights reserved. iii 2.6 SUSE Linux Enterprise Server specific setup . 41 2.6.1 Important information . 41 2.6.2 Pre-installation checking . 41 Chapter 3. Installing and configuring Oracle Grid Infrastructure for Oracle 12c Release 2 45 3.1 Grid Infrastructure for an Oracle Standalone database to use ASM . 46 3.2 Grid Infrastructure for an Oracle RAC Database environment . 47 3.3 Installation of Single instance Oracle Database binary. 49 3.3.1 Silent installation . 49 3.3.2 Interactive installation . 50 3.3.3 Updating the Oracle user profile . 51 3.4 Creating a database by using file system . 52 3.4.1 Validating the created Oracle Database . 53 3.5 Creating a database by using ASM . 54 3.5.1 Important Oracle Database initialization parameters . 56 Chapter 4. Using Oracle Enterprise Manager Cloud Control Agent to manage Oracle Database 12c Release 2 . 57 4.1 Updating the agent at the Enterprise Manager Cloud Control to monitor Oracle Databases on LinuxONE (online) . 59 4.1.1 Configuring the Software Library storage space. 59 4.1.2 Acquiring the LinuxONE agent in online mode . 59 4.2 Updating the agent at the Enterprise Manager Cloud Control to monitor Oracle Databases on LinuxONE (offline) . 61 4.2.1 Acquiring the LinuxONE agent in offline mode . 61 4.3 Deploying the agents from the Cloud Control console . 64 4.4 Deploying the agents in silent mode . 67 . 68 4.5 Adding the databases for monitoring . 69 4.6 Summary. 70 Chapter 5. Installing and configuring Spectrum Scale . 71 5.1 Overview . 72 5.2 Verifying initial configuration . 73 5.3 Installing Spectrum Scale . 75 5.4 Building Spectrum Scale . 77 5.5 Examples . 82 5.5.1 Adding disks to a Spectrum.