11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

364 CHAPTER 9 ■ STORAGE MANAGEMENTNow, let’s connect as the ckim user created in the earlier example. The user ckim now hasprivileges to perform sysasm-related tasks. In the following code, user ckim will unmount andremount all the diskgroups in the ASM instance:[oracle@rac<strong>11</strong>]$ sqlplus ckim/oracle123 as sysasmSQL*Plus: Release <strong>11</strong>.1.0.6.0 - Production on Tue Sep <strong>11</strong> <strong>11</strong>:22:05 2007Copyright (c) 1982, 2007, <strong>Oracle</strong>. All rights reserved.Connected to:<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g Enterprise Edition Release <strong>11</strong>.1.0.6.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> alter diskgroup data dismount;Diskgroup altered.SQL> alter diskgroup fra dismount;Diskgroup altered.SQL> alter diskgroup data mount;Diskgroup altered.SQL> SQL> alter diskgroup fra mount;Diskgroup altered.In <strong>Oracle</strong> <strong>Database</strong> 10g ASM, the sysoper privilege has similar privileges as the sysdba role;however, in <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g ASM, the sysoper privilege has similar restrictions and privilegesenforced on the database side. The following are commands granted to the sysoper privilege:• startup and shutdown• alter diskgroup mount and alter diskgroup dismount• alter diskgroup online disk and alter diskgroup offline disk• alter diskgroup rebalance• alter diskgroup checksysoper is restricted from all the privileges required to create or drop diskgroups or diskssuch as create diskgroup, add/drop/resize disk, and so on. These privileges still require thesysdba or sysasm privilege. sysoper is restricted from privileges that create or destroy objects inthe ASM instance.<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g Enterprise Manager <strong>Database</strong> Console provides full support for usermanagement of the ASM instance on the Users tab. This screen lists all the users who haveadministrative privileges against the ASM instance, as depicted in Figure 9-1.In the upper-right corner of the screen, you will notice a button to create users. You will beprompted to enter the username, password, and list of roles to assign, as shown in Figure 9-2.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!