Book description
Linux Recipes for Oracle DBAs is an example-based book on managing Oracle Database in a Linux environment. Covering commonly used distributions such as Red Hat Enterprise Linux and Oracle Enterprise Linux, the book is written for database administrators who need to get work done and lack the luxury of curling up fireside with a stack of Linux documentation. The book is task-oriented: Look up the task to perform. See the solution. Read up on the details. Get the job done.
Takes you directly from problem to solution
Covers the "right" mix of Linux user and administration tasks for database administrators
Respects your time by being succinct and to-the-point
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- Introduction
- 1. Getting Started
-
2. Working in the Shell
- 2.1. Running Previously Entered Commands
- 2.2. Automatically Completing Long Commands
- 2.3. Viewing Environment Variables
- 2.4. Displaying the Current Shell
- 2.5. Automatically Setting Shell Variables
- 2.6. Customizing the Command Prompt
- 2.7. Creating a Command Shortcut
- 2.8. Providing Input to Commands
- 2.9. Redirecting Command Output
- 2.10. Sending Output to Nowhere
- 2.11. Displaying and Capturing Command Output
- 2.12. Recording All Shell Command Output
- 2.13. Changing the Login Shell
- 2.14. Modifying Command Path Search
- 2.15. Viewing Built-in Commands
- 2.16. Setting the Backspace Key
- 2.17. Typing a Long Command in Multiple Lines
-
3. Managing Processes and Users
- 3.1. Listing Processes
- 3.2. Terminating Processes
- 3.3. Listing the Users Logged On
- 3.4. Listing the Last Logon Time of a User
- 3.5. Limiting the Number of User Processes
- 3.6. Viewing How Long the Server Has Been Running
- 3.7. Viewing How Long a Process Has Been Running
- 3.8. Displaying Your Username
- 3.9. Changing Your Password
- 3.10. Becoming the System Privileged (root) User
- 3.11. Running Commands As the root User
- 3.12. Adding a Group
- 3.13. Removing a Group
- 3.14. Adding a User
- 3.15. Removing a User
-
4. Creating and Editing Files
- 4.1. Creating a File
- 4.2. Maneuvering Within a File
- 4.3. Copying and Pasting
- 4.4. Manipulating Text
- 4.5. Searching for and Replacing Text
- 4.6. Inserting One File into Another
- 4.7. Joining Lines
- 4.8. Running Operating System Commands
- 4.9. Repeating a Command
- 4.10. Undoing a Command
- 4.11. Displaying Line Numbers
- 4.12. Automatically Configuring Settings
- 4.13. Creating Shortcuts for Commands
- 4.14. Setting the Default Editor
-
5. Managing Files and Directories
- 5.1. Showing the Current Working Directory
- 5.2. Changing Directories
- 5.3. Creating a Directory
- 5.4. Viewing a List of Directories
- 5.5. Removing a Directory
- 5.6. Listing Files
- 5.7. Creating a File Quickly
- 5.8. Changing File Permissions
- 5.9. Changing File Ownership and Group Membership
- 5.10. Viewing the Contents of a Text File
- 5.11. Viewing Nonprinting Characters in a File
- 5.12. Viewing Hidden Files
- 5.13. Determining File Type
- 5.14. Finding Differences Between Files
- 5.15. Comparing Contents of Directories
- 5.16. Copying Files
- 5.17. Copying Directories
- 5.18. Moving Files and Directories
- 5.19. Renaming a File or Directory
- 5.20. Removing a File
- 5.21. Removing Protected Files Without Being Prompted
- 5.22. Removing Oddly Named Files
- 5.23. Finding Files
- 5.24. Finding Strings in Files
- 5.25. Finding a Recently Modified File
- 5.26. Finding and Removing Old Files
- 5.27. Finding the Largest Files
- 5.28. Finding a File of a Certain Size
- 5.29. Sorting Files by Size
- 5.30. Finding the Largest Space-Consuming Directories
- 5.31. Truncating an Operating System File
- 5.32. Counting Lines and Words in a File
- 5.33. Creating a Second Name for a File
- 5.34. Creating a Second Name for a Directory
-
6. Archiving and Compressing Files
- 6.1. Bundling Files Using tar
- 6.2. Unbundling Files Using tar
- 6.3. Finding Differences in Bundled Files Using tar
- 6.4. Bundling Files Using cpio
- 6.5. Unbundling Files Using cpio
- 6.6. Bundling Files Using zip
- 6.7. Unbundling Files Using zip
- 6.8. Listing the Contents of a Bundled File
- 6.9. Bundling Files Using find
- 6.10. Adding to a Bundled File
- 6.11. Compressing and Uncompressing Files
- 6.12. Validating File Contents
- 6.13. Encrypting and Decrypting Files
-
7. Shell Scripting
- 7.1. Writing a Simple Shell Script
- 7.2. Checking Simple Conditions
- 7.3. Testing a Condition
- 7.4. Checking Complex Conditions
- 7.5. Repeating a Task
- 7.6. Iterating Until a Condition Is Met
- 7.7. Displaying a Menu of Choices
- 7.8. Running Commands Based on Success/Failure of the Previous Command
- 7.9. Modularizing Scripts
- 7.10. Passing Parameters to Scripts
- 7.11. Processing Parameters
- 7.12. Running Database Commands in Scripts
- 7.13. Crafting a Robust DBA Shell Script
- 7.14. Running Scripts in the Background
- 7.15. Monitoring the Progress of a Script
- 7.16. Debugging a Script
-
8. Analyzing Server Performance
- 8.1. Identifying System Bottlenecks
- 8.2. Identifying CPU-Intensive Processes
- 8.3. Identifying CPU Bottlenecks
- 8.4. Analyzing Historical CPU Load
- 8.5. Identifying Memory-Intensive Processes
- 8.6. Identifying Memory Bottlenecks
- 8.7. Analyzing Historical Memory Load
- 8.8. Monitoring Disk Space
- 8.9. Monitoring I/O
- 8.10. Analyzing Historical I/O Load
- 8.11. Monitoring Network Traffic
-
9. Viewing and Configuring System Resources
- 9.1. Displaying Server Hardware and the Operating System
- 9.2. Listing CPUs
- 9.3. Displaying Physical Memory
- 9.4. Viewing Kernel Parameters
- 9.5. Modifying Kernel Parameters
- 9.6. Displaying Semaphores
- 9.7. Configuring Semaphores
- 9.8. Viewing Shared Memory Settings
- 9.9. Modifying Shared Memory
- 9.10. Viewing Memory Structures
- 9.11. Removing In-Memory Structures
- 9.12. Viewing Network Configuration Settings
- 9.13. Configuring Network Settings
- 9.14. Modifying System Open File Limits
- 9.15. Showing Shell Limits
- 9.16. Changing Shell Limits
-
10. Managing Server Software
- 10.1. Installing Packages
- 10.2. Switching to Oracle's Unbreakable Linux Network
- 10.3. Associating Linux Files with RPM Packages
- 10.4. Listing the Contents of an RPM Package
- 10.5. Downloading RPMs
- 10.6. Automating with Oracle Validated Install
- 10.7. Upgrading Packages
- 10.8. Removing Packages
- 10.9. Checking RPM Requirements to Install Oracle Database
- 10.10. Checking RPM Requirements for Grid Control and E-Business Suite
- 10.11. Performing Silent Oracle Software Installation
- 10.12. Ignoring System Prerequisites
- 10.13. Creating a Database with a Response File
- 10.14. Creating a Network Configuration with a Response File
- 10.15. Applying Interim Patches
- 10.16. Attaching an Oracle Home
-
11. Automating Jobs
- 11.1. Automating Database Shutdown and Startup
- 11.2. Automating the Shutdown and Startup of Oracle Application Server
- 11.3. Enabling Access to Schedule Jobs
- 11.4. Scheduling a Job to Run Automatically
- 11.5. Automating Oracle Performance Reports
- 11.6. Monitoring Jobs Using the Data Dictionary
- 11.7. Monitoring Tablespace Fullness
- 11.8. Automating File Maintenance
- 11.9. Rotating Your Log Files
- 11.10. Scheduling a Job using DBMS_SCHEDULER
-
12. Implementing Automatic Storage Management on Linux
- 12.1. Installing RPMs for ASMLIB
- 12.2. Installing ASMLIB from Oracle's Unbreakable Linux Network
- 12.3. Autostarting the Non-RAC ASM Instance After a Reboot
- 12.4. Configuring ASMLIB
- 12.5. Labeling Disks with ASMLIB
- 12.6. Unmarking ASMLIB Disks
- 12.7. Changing the Disk Label of Member Disks
- 12.8. Listing ASMLIB Disks
- 12.9. Troubleshooting ASMLIB
- 12.10. Checking ASMLIB Status
- 12.11. Installing ASM Software on a Non-RAC Implementation
- 12.12. Creating the ASM Instance
- 12.13. Connecting to a Remote ASM Instance
- 12.14. Creating an ASM Diskgroup
- 12.15. Adding Disks to an Existing Diskgroup
- 12.16. Dropping an ASM Diskgroup
- 12.17. Invoking the ASM Command Shell
- 12.18. Displaying Online Manual Pages
- 12.19. Removing Files or Directories for a Database with asmcmd
- 12.20. Reviewing Disk Usage with asmcmd
- 12.21. Locating Files in ASM with asmcmd
- 12.22. Listing Currently Connected Clients
- 12.23. Retrieving Diskgroup Information with asmcmd
- 12.24. Retrieving Disk Information with asmcmd
- 12.25. Migrating to ASM from the Filesystem
- 12.26. Creating a Database in ASM
- 12.27. Creating/Adding Database Files in ASM
-
13. Implementing Real Application Clusters on Linux
- 13.1. Architecting a RAC Environment
- 13.2. Setting Up the Linux Kernel Parameters for RAC
- 13.3. Installing the cvuqdisk Package
- 13.4. Setting Up the /etc/hosts File
- 13.5. Setting Up User Equivalence
- 13.6. Checking the OS and Hardware Configuration
- 13.7. Installing Oracle Clusterware
- 13.8. Removing Oracle Clusterware Software
- 13.9. Registering RAC Resources
- 13.10. Starting and Shutting Down RAC Resources
- 13.11. Obtaining Help for the srvctl Command
- 13.12. Viewing CRS Resources
- 13.13. Debugging srvctl
- 13.14. Configuring the hangcheck-timer Kernel Module
- 13.15. Starting and Stopping Oracle Clusterware
- 13.16. Enabling and Disabling CRS from Autostartup
- 13.17. Checking the Viability of Oracle Clusterware
- 13.18. Converting a Stand-Alone Database to RAC
- 13.19. Bonding Network Interface Cards
- 13.20. Implementing RAC on NFS
- 13.21. Adding Voting Disks
- 13.22. Removing/Moving a Voting Disk
- 13.23. Implementing RAC on OCFS2
- 14. Working Securely Across a Network
- 15. Managing X Window
-
16. Managing Remote Servers with VNC
- 16.1. Downloading the VNC Software
- 16.2. Installing the VNC Software
- 16.3. Manually Starting and Stopping the VNC Server
- 16.4. Automatically Starting the VNC Server
- 16.5. Starting the VNC Viewer
- 16.6. Sharing a VNC Connection
- 16.7. Securing a VNC Connection
- 16.8. 16-8 Accessing VNC via a Proxy Server
- 16.9. Running X Applications with VNC
- 16.10. Troubleshooting VNC
- A. RAID Concepts
- B. Server Log Files
Product information
- Title: Linux Recipes for Oracle DBAs
- Author(s):
- Release date: November 2008
- Publisher(s): Apress
- ISBN: 9781430215752
You might also like
book
Linux and Solaris Recipes for Oracle DBAs, Second Edition
Linux and Solaris Recipes for Oracle DBAs, 2nd Edition is an example–based book on managing Oracle …
book
Oracle RMAN 11g Backup and Recovery
Master Oracle Recovery Master Protect your databases from hardware, software, and operator failures using the detailed …
book
Pro Oracle GoldenGate for the DBA
Take a simple approach to learning the Oracle GoldenGate product. This approach provides the in-depth perspective …
book
Oracle RMAN for Absolute Beginners
Oracle RMAN for Absolute Beginners is a gentle introduction to the use of Oracle's Recovery Manager …