Database Reference
In-Depth Information
It is recommended that you review the details of ASM and the associated SAN on the Oracle Database Appliance
before making any major changes.
Now let's dive into more about the Automatic Storage Management and how it is configured.
Automatic Storage Management Command Line
Another way to interact with ASM is from the command line; a user can access ASM from the command line by
using the asmcmd command-line tool. In order to access ASM from the command line, a user needs to be signed into
the operating systems as the owner of the Grid Infrastructure software. This is typically the grid user. Listing 4-13
illustrates how to get to the asmcmd prompt after logging in as the grid user.
Listing 4-13. Access the ASM from Command Line
[root@patty bin]# su - grid
[grid@patty ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM1
The Oracle base has been set to /u01/app/grid
[grid@patty ~]$ asmcmd -p
ASMCMD [+] >
One thing to notice is that the -p option was used. This option places the [+] at the end of the ASMCMD prompt and
will change every time you change directories. Accessing ASM in this manner allows you to view the files associated
with the database and identify any issues that there may be within ASM. All commands that are used with ASM, on
both windows and UNIX, are UNIX-style commands.
Summary
In this chapter, you looked at how to create and delete databases on the Oracle Database Appliance. We took a quick
look at how to interact with Oracle's Automatic Storage Management. As outlined, the Oracle Database Appliance is
simply a two-node Real Application Cluster that can be configured with many different styles of databases, and it is
flexible enough to enable a business to build and scale using minimal resources.
 
Search WWH ::




Custom Search