
ssearchasearchchsearch searchd Advicenaked iesearch% Advice Btubebyporn.comtsearchesearch Advicenaked Naked dsearchi Szh e
Naked asearchesearch searchBsearche Naked r Advicenaked h Tags Szh e Szh Sex mn Better +S Naked /searchf Better l Szh . The initial parameters to use for the file
are:
UNIX
$ORACLE_BASE/admin/+ASM/pfile/init.ora ########################################### # Automatic Storage Management ########################################### # _asm_allow_only_raw_disks=false # asm_diskgroups='TESTDB_DATA1' # Default asm_diskstring values for supported platforms: # Solaris (32/64 bit) /dev/rdsk/* # Windows NT/XP \\.\orcldisk* # Linux (32/64 bit) /dev/raw/* # HPUX /dev/rdsk/* # HPUX(Tru 64) /dev/rdisk/* # AIX /dev/rhdisk/* # asm_diskstring='' ########################################### # Diagnostics and Statistics ########################################### background_dump_dest=/u01/app/oracle/admin/+ASM/bdump core_dump_dest=/u01/app/oracle/admin/+ASM/cdump user_dump_dest=/u01/app/oracle/admin/+ASM/udump ########################################### # Miscellaneous ########################################### instance_type=asm compatible=10.1.0.4.0 ########################################### # Pools ########################################### large_pool_size=12M ########################################### # Security and Auditing ########################################### remote_login_passwordfile=exclusive
Microsoft Windows
%ORACLE_BASE%\admin\+ASM\pfile\init.ora ########################################### # Automatic Storage Management ########################################### # _asm_allow_only_raw_disks=false # asm_diskgroups='TESTDB_DATA1' # Default asm_diskstring values for supported platforms: # Solaris (32/64 bit) /dev/rdsk/* # Windows NT/XP \\.\orcldisk* # Linux (32/64 bit) /dev/raw/* # HPUX /dev/rdsk/* # HPUX(Tru 64) /dev/rdisk/* # AIX /dev/rhdisk/* # asm_diskstring='' ########################################### # Diagnostics and Statistics ########################################### background_dump_dest=C:\oracle\product\10.1.0\admin\+ASM\bdump core_dump_dest=C:\oracle\product\10.1.0\admin\+ASM\cdump user_dump_dest=C:\oracle\product\10.1.0\admin\+ASM\udump ########################################### # Miscellaneous ########################################### instance_type=asm compatible=10.1.0.4.0 ########################################### # Pools ########################################### large_pool_size=12M ########################################### # Security and Auditing ########################################### remote_login_passwordfile=exclusive
After creating the $ORACLE_BASE/admin/+ASM/pfile/init.ora file, UNIX users should
create the following symbolic link:
$ ln -s $ORACLE_BASE/admin/+ASM/pfile/init.ora $ORACLE_HOME/dbs/init+ASM.ora
Identify RAW Devices
This article does not use Oracle's ASMLib I/O libraries.
If you plan on using Oracle's ASMLib, you will need to install and configure
ASMLib, as well as mark all disks using:
A task that must to be performed for Microsoft Windows users is to tag
the logical drives that you will want to use for ASM storage. This is done using a new
utility that is included with Oracle Database 10g called asmtool. This tool can
be run either before or after creating the ASM instance. asmtool is responsible
for initializing the drive headers and marks drives for use by ASM. This really assists in
reducing the risk of overwriting a usable drive that is being used for normal operating system
files.
Starting the ASM Instance
If you are running in Microsoft Windows, you will need to manually create a new Windows service to run the new instance.
This is done using the ORADIM utility which allows you to create both the instance and the
service in one command.
UNIX
Microsoft Windows
Notice also that we created a server parameter file (SPFILE) for the ASM
instance. This allows Oracle to automatically record new disk group names
in the asm_diskgroups instance parameter, so that those disk groups
can be automatically mounted whenever the ASM instance is started.
Now that the ASM instance is started, all other Oracle database instances
running on the same node will be able to find it.
Verify RAW / Logical Disk Are Discovered
Available (candidate) disks for ASM are discovered by use of
the asm_diskstring instance parameter. This parameter contains the path(s) that
Oracle will use to discover (or see) these candidate disks. In most cases, you shouldn't have
to set this value as the default value is set for the supported platform. The following
table is a list of default values for asm_diskstring on supported platforms
when the value of the instance parameter is set to NULL (the value is not set):
Before starting the ASM instance, we should identify the
RAW device(s) (UNIX) or logical drives (Windows) that will be used
as ASM disks. For the purpose of this article, I have four RAW devices setup on Linux:
# ls -l /dev/raw/raw[1234]
crw-rw---- 1 oracle dba 162, 1 Jun 2 22:04 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Jun 2 22:04 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Jun 2 22:04 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Jun 2 22:04 /dev/raw/raw4
Attention Linux Users!
/etc/init.d/oracleasm createdisk <ASM_VOLUME_NAME> <LINUX_DEV_DEVICE>
.
For more information on using Oracle ASMLib, see
"Installing Oracle10g Release 1 (10.1.0) on Linux - (RHEL 4)".
Attention Windows Users!
Once the instance parameter file is in place, it is time to start the ASM instance.
It is important to note that an ASM instance never mounts an actual database. The
ASM instance is responsible for mounting and managing disk groups.
Attention Windows Users!
# su - oracle
$ ORACLE_SID=+ASM; export ORACLE_SID
$ sqlplus " as sysdba"
SQL> startup
ASM instance started
Total System Global Area 75497472 bytes
Fixed Size 777852 bytes
Variable Size 74719620 bytes
Database Buffers 0 bytes
Redo Buffers 0 bytes
ORA-15110: no diskgroups mounted
SQL> create spfile from pfile='/u01/app/oracle/admin/+ASM/pfile/init.ora';
SQL> shutdown
ASM instance shutdown
SQL> startup
ASM instance started
You will notice when starting the ASM instance, we received the error:
C:\> oradim -new -asmsid +ASM -syspwd change_on_install
-pfile C:\oracle\product\10.1.0\admin\+ASM\pfile\init.ora -spfile
-startmode manual -shutmode immediate
Instance created.
C:\> oradim -edit -asmsid +ASM -startmode a
C:\> set oracle_sid=+ASM
C:\> sqlplus " as sysdba"
SQL> startup pfile='C:\oracle\product\10.1.0\admin\+ASM\pfile\init.ora';
ASM instance started
Total System Global Area 125829120 bytes
Fixed Size 769268 bytes
Variable Size 125059852 bytes
Database Buffers 0 bytes
Redo Buffers 0 bytes
ORA-15110: no diskgroups mounted
SQL> create spfile from pfile='C:\oracle\product\10.1.0\admin\+ASM\pfile\init.ora';
File created.
SQL> shutdown
ASM instance shutdown
SQL> startup
ASM instance started
ORA-15110: no diskgroups mounted
This error can be safely ignored.
At this point, we have an ASM instance running, but no disk groups to speak of.
ASM disk groups are created using from RAW (or logical) disks.
kAdvice Naked Advicenaked X Advice Naked Szh Tags Better Sex Advice Naked ORACLE - DBA Tips Cornerv k c c Youtube Advice Naked Advice Naked
rAdvice Naked Advicenaked X Advice Naked Szh Tags Better Sex Advice Naked ORACLE - DBA Tips Cornerw i y y Webcam y y Fuck Singles
Operating System
Default Search String
Solaris (32/64 bit)
/dev/rdsk/*
Windows NT/XP
\\.\orcldisk*
Linux (32/64 bit)
/dev/raw/*
HP-UX
/dev/rdsk/*
HP-UX(Tru 64)
/dev/rdisk/*
AIX
/dev/rhdisk/*