Book Image

Oracle 11g R1 / R2 Real Application Clusters Handbook

Book Image

Oracle 11g R1 / R2 Real Application Clusters Handbook

Overview of this book

RAC or Real Application Clusters is a grid computing solution that allows multiple nodes (servers) in a clustered system to mount and open a single database that resides on shared disk storage. Should a single system (node) fail, the database service will still be available on the remaining nodes. RAC is an integral part of the Oracle database setup: one database, multiple users accessing it, in real time. This book will enable DBAs to get their finger on the pulse of the Oracle 11g RAC environment quickly and easily. This practical handbook documents how to administer a complex Oracle 11g RAC environment. It covers all areas of the Oracle 11g R1 RAC environment, with bonus R2 information included, and is indispensable if you are an Oracle DBA charged with configuring and implementing Oracle11g. It presents a complete method for the design, installation, and configuration of Oracle 11g RAC, ultimately enabling rapid administration of Oracle 11g RAC environments.Packed with real-world examples, expert tips, and troubleshooting advice, the book begins by introducing the concept of RAC and High Availability. It then dives deep into the world of RAC design, installation, and configuration, enabling you to support complex RAC environments for real-world deployments. Chapters cover RAC and High Availability, Oracle 11g RAC Architecture, Oracle 11g RAC Installation, Automatic Storage Management, Troubleshooting, Workload Management, and much more. By following the practical examples in the book, you will learn every concept of the RAC environment and how to successfully support complex Oracle 11g R1 and R2 RAC environments for various deployments in real-world situations.
Table of Contents (20 chapters)
Oracle 11g R1/R2 Real Application Clusters Handbook
Credits
About the Authors
About the Reviewers
Preface

ASMCMD enhancements


ASMCMD is a command-line utility located under the $GRID_HOME/bin location, which can be used in either interactive or non-interactive mode to manage ASM instance operations. In Oracle 11g R2, ASMCMD supports most of the ASM operations that were performed through a set of SQL statements. The newly added functionality includes an Oracle ASM instance startup/shutdown, disk group operations (create, mount, drop), template operations, Oracle ASM file access control user and group operations, ASM Dynamic Volumes (ADVM) operations, and so on.

Before you execute the asmcmd at a command prompt on the host, ensure that you have properly set ORACLE_SID and ORACLE_HOME environmental variables. For interactive mode, use asmcmd p at a command prompt and for non-interactive mode, use the asmcmd command.

The following examples demonstrate the usage of ascmd commands to stop/start ASM instance.

On the command prompt, type the following command:

asmcmd p

Once the command is successfully...