OracleASM introduction and installation of Linux5.2 + Oracle10g + ASM Process

Source: Internet
Author: User
ASM is a new feature introduced in Oracle10gR2 to simplify the management of Oracle databases. It is a volume manager provided by Oracle itself and is mainly used to replace the Operating System

ASM is a new feature in Oracle 10g R2 to simplify the management of Oracle databases. It is a volume manager provided by Oracle itself and is mainly used to replace the Operating System

1) The reason for ASM (Automatic Storage Management:

ASM is a new feature in Oracle 10g R2 to simplify the management of Oracle databases. It is a volume manager provided by Oracle itself and is mainly used to replace LVM provided by the operating system, it not only supports single instances, but also supports RAC very well. ASM can automatically manage disk groups and provide effective data redundancy. With ASM (Automatic Storage Management), Database Administrators no longer need to manage and classify thousands of data files in ORACLE, which simplifies DBA workload and greatly improves work efficiency.

2) What is ASM?

ASM provides platform-independent file systems, logical volume management, and soft RAID services. ASM supports strip and disk images, so that the disk can be added or removed when the database is loaded, and the I/O can be automatically balanced to delete the "Hotspot ". It also supports direct and asynchronous I/O and uses the Oracle Data Manager API introduced in Oracle9i (simplified I/O system call interface ).

ASM is implemented and deployed as a separate Oracle instance. It only needs to have a parameter file and can start the ASM instance without any other physical files. Only when it is running, to be accessed by other data. On the Linux platform, you can access ASM only when you run the OCSSD service (which is installed by default by the Oracle installer.

How to change the password of ASM sys

How to copy data files in ASM to the Operating System

Restoration After all Oracle 11g rac asm disks are lost

Oracle 11g from entry to proficient in PDF + CD source code

Installing Oracle 11g R2 using RHEL6 ASM

Oracle 10g manual creation of the ASM Database

Solutions to various problems after installing Oracle 11gR2 in Ubuntu 12.04 (amd64)

How to change the sys password of Oracle 10g ASM

3) install and configure the asm Software

1.: otn find the required installation package for the asm of the corresponding Kernel

2. Install the asm package as a root user:

Ps: kernel-debug kernel-PAE kernel-xen is the previous package required by asm. It can be obtained from the linux installation CD.

3. Hard Disk partitioning

[Root @ localhost temp] # fdisk-l


Disk/dev/sda: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Device Boot Start End Blocks Id System
/Dev/sda1*1 13 104391 83 Linux
/Dev/sda2 14 535 4192965 82 Linux swap/Solaris
/Dev/sda3 536 26108 205415122 + 83 Linux


Disk/dev/sdb: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Disk/dev/sdb doesn' t contain a valid partition table


Disk/dev/sdc: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065*512 = 8225280 bytes


Disk/dev/sdc doesn' t contain a valid partition table
[Root @ localhost temp] # fdisk/dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
Until you decide to write them. After that, of course, the previous
Content won't be recoverable.




The number of cylinders for this disk is set to 26108.
There is nothing wrong with that, but this is larger than 1024,
And coshould in certain setups cause problems:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(E.g., dos fdisk, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w (rite)


Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 1
First cylinder (1-26108, default 1 ):
Using default value 1
Last cylinder or + size or + sizeM or + sizeK (1-26108, default 26108 ):
Using default value 26108


Command (m for help): w
The partition table has been altered!


Calling ioctl () to re-read partition table.
Syncing disks.
[Root @ localhost temp] # fdisk/dev/sdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
Until you decide to write them. After that, of course, the previous
Content won't be recoverable.




The number of cylinders for this disk is set to 13054.
There is nothing wrong with that, but this is larger than 1024,
And coshould in certain setups cause problems:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(E.g., dos fdisk, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w (rite)


Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4): 1
First cylinder (1-13054, default 1 ):
Using default value 1
Last cylinder or + size or + sizeM or + sizeK (1-13054, default 13054 ):
Using default value 13054


Command (m for help): w
The partition table has been altered!


Calling ioctl () to re-read partition table.
Syncing disks.

For more details, please continue to read the highlights on the next page:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.