《oracle asm instance & add asm diskgroup》

摘要:《oracle asm instance & add asm diskgroup》


2009/7/1

Since the upgrade to the oracle 9i oracle 10g, for the company's projects, always wanted to practice ASM and RAC,

Because after the establishment of the ASM has not been very understanding, fiddled West Minato, read many reference data on google, still feel oracle own document written by the most detailed,

The original ASM architecture is also a small oracle database instance,

Purpose is to manage ASM use, it must first establish ASM instance, ASM instance through the establishment of DBCA,

Here's a little description about the process from the File system migrate to the ASM.

Virtual PC: windows xp

oracle Version: 10.0.2

Disk: C 30G, 2 empty disk mount c: asmdisk1, c: asmdisk2 Each 10G

First to establish Cluster Synchronization Services (CSS),

When creating ASM saved managed through DBCA, if not first create CSS, the following prompt will appear.

-----------------------------------------------------------------------------------------

In order to use the "auto-save form management (ASM)", it must be set up and start the "Oracle Cluster Synchronization Service (CSS)".

Please executed from the command prompt "c: oracleproduct10.2.0db_Abinlocalconfig add" command to set the file and start the CSS.

-----------------------------------------------------------------------------------------

Table drills

C:Documents and SettingsAdministrator>localconfig add

Step 1:  creating new OCR repository

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'administrator', privgrp ''..

Operation successful.

Step 2:  creating new CSS service

successfully created local CSS service

successfully added CSS to home

CSS created.

-----------------------------------------------------------------------------------------

The establishment of ASM Disk Group is my biggest headache, because the raw device do not understand how to build, how could not find all the disk.

After a few days of precipitation data and searching, finally a little clue.

raw device is empty disk is not formatted, not the so-called file format, such as FAT32, NTFS. No network of people talking about this stuff, probably the basic common sense, but now I probably

You know the profile of.

Knowing this, when disk management on the windows, there are three options, one is to mount a drive letter to the next,

A mount is NTSF data folder, a is not mounted.

Three in the process of trying, I have tried; and finally add a blank disk in NTFS Data folder to get it.

This time I will be two disks were hung in c: asmdisk1, c: asmdisk2.

After when adding a new disk group, remember to change your search path disk.

  'c:asmdisk1','c:asmdisk2'

Remember separated by a comma.

ASM instance the establishment of a total of ASMGroup1, there are two member this Disk group.

Then through the oracle enterprise manager-> maintenance - ASM>

The original data file, control file, spfile ...... etc

migrate to ASM.

NOTES:

1. During the test encountered an error has been made, the asm instance want to delete rebuild but do not know how to start, hard to find the method.

Delete the asm instance service (oracleasmservice + asm)

oradim -delete -asmsid +asm

Experienced Dear reader should know, just -sid parameters changed -asmsid.

2. The above approach although through the dbca, oem, but the method handmade, I probably knows quite well.

First establish css, asm instance (c: oradim -new -asmsid + ASM)

Establish password asm used with orapwd, pfile (emphasis instance_type = asm must in this parameter profile),

Through create diskgroup, alter diskgroup? Add, you can build something as dbca done.

If you want to migrate to ASM, through the oracle of documents http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#BABJJJDF,

Using rman backup and then restore to ASM.

These are fantasy, will have the opportunity to practice, and then the process Tieshanglai to share with you, I hope you feel free.

Original: Big Box  "oracle asm instance & add asm diskgroup "


Guess you like

Origin www.cnblogs.com/chinatrump/p/11505611.html
ASM