Home » Other » General » ASM - Confusions about concepts
ASM - Confusions about concepts [message #243788] Sat, 09 June 2007 00:33 Go to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
Hi friends,
I am studying the ASM feature of oracle 10g.
While studying concepts, i am getting some questions.
Please help me solve these confusions.

First thing is : ASM provides mirroring facility.
So in that case, do we need to multiplex the important files like redo logs or control files or just can relay on that mirroring ?
Re: ASM - Confusions about concepts [message #243801 is a reply to message #243788] Sat, 09 June 2007 02:02 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
ASM divides files into extents, and spreads the extents for each file evenly across all of the disks.
ASM uses an index technique to track the placement of each extent. When your storage capacity
changes, ASM does not re-stripe all of the data, but moves an amount of data proportional to the
amount of storage added or removed to evenly redistribute the files and maintain a balanced load
across the disks. This is done while the database is active.

Quote:
do we need to multiplex the important files like redo logs or control files or just can relay on that mirroring ?



You means failover group?
  • Attachment: asm.bmp
    (Size: 1.30MB, Downloaded 1310 times)
Re: ASM - Confusions about concepts [message #243805 is a reply to message #243801] Sat, 09 June 2007 02:37 Go to previous messageGo to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
hi DreamzZ,

Yes, i ment failgroup.
Using high or normal redundancy, we can set the level of mirroring we need. So do we then need to multiplex the files if we are using this?

I am studing ASM from the oracle documentation.
I already has a test database created. And now i want to set ASM
I found from many site about the creation of ASM instance using DBCA while creating database. But i already had created database....
Now i have created the ASM instance manually by follwing the steps :
- create the initASM.ora file for it
- export oracle_sid=ASM
- login as sysdba and start asm instance in nomount mode.
- then try to create diskgroup using create diskgroup command.
but error come saying permission denide..
I loged in to os as oracle user, having all the permission..

Are these steps right to get my database using ASM?
How should i proceed to solve the error while creating disk group?

Thanks for reply..

Regards..
Re: ASM - Confusions about concepts [message #243806 is a reply to message #243805] Sat, 09 June 2007 02:42 Go to previous messageGo to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
Forget to specify..
Oracle : oracle 10g release 1
OS : RHEL 4

And another thing:
While searching on google, i found some article saying about ASMLib for setting ASM. While some document says about simple steps like 'create asm instance, setting it's init para, createing diskgroups and then setting database to use the asm'

Would you help me to understand the difference between these two?

Regards..
Re: ASM - Confusions about concepts [message #244151 is a reply to message #243806] Mon, 11 June 2007 14:08 Go to previous messageGo to next message
harshad.gohil
Messages: 157
Registered: April 2007
Location: USA
Senior Member
Dipali,

It's like this way..... When you create ASM instance it has it's own disk gorup and failure group... ASM instance content more then one database datafiles and other files.... ... Once ASM isntance is got created, you have to configure or move your files from existing to ASM... That's what it mean.

You can create ASM instance through DBCA..... ASM is bit diffrent then database creation....

HTH..
Re: ASM - Confusions about concepts [message #244156 is a reply to message #244151] Mon, 11 June 2007 14:34 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
one more thing did you install any file system on diskgroups or not?
you dont have any files system on diskgroups.

check the ownership for these disk groups must be oracle:dba or wutever your user is.


http://www.oracle.com/technology/tech/linux/asmlib/install.html

http://www.lsi.com/documentation/storage/business_solutions/24739-00_RevB_Oracle_Linux.pdf

[Updated on: Mon, 11 June 2007 14:40]

Report message to a moderator

Re: ASM - Confusions about concepts [message #244504 is a reply to message #244156] Wed, 13 June 2007 02:28 Go to previous messageGo to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
hi friendz,

I tried to install ASMLib package for my linux server.
i am using RHEL AS 4.0.
Have sucessfully install Support and library package.
but one package could not be installed. It is ASM package. And it shows error message during dependancy checking that, kernel-smp package needed.

Packages installed :
oracleasm-2.6.9-5.0.5.EL-2.0.0-1.x86_64.rpm
oracleasmlib-2.0.2-1.x86_64.rpm
oracleasm-support-2.0.3-1.x86_64.rpm

Error during package install :
oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.x86_64.rpm
Error msg shows that it need oracleasm-2.6.9-5.0.5.EL package to be installed. I have done it though..

I could not solve this package.
Please Help.
Re: ASM - Confusions about concepts [message #244685 is a reply to message #244504] Wed, 13 June 2007 14:07 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
Quote:
kernel-smp package needed.


check this package is installed or not
pkginfo -i pkname.

Quote:
Error during package install :
oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.x86_64.rpm
Error msg shows that it need oracleasm-2.6.9-5.0.5.EL package to be installed. I have done it though..


check the package size and OS type weather 64 bit or 32bit.
Re: ASM - Confusions about concepts [message #244765 is a reply to message #244685] Thu, 14 June 2007 01:22 Go to previous messageGo to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
hi Dreamz

I apply from command promp

pkginfo -i kernel-smp

Error : command not found... Sad
Re: ASM - Confusions about concepts [message #244781 is a reply to message #244765] Thu, 14 June 2007 01:59 Go to previous message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
Hello friends
This is what i did:

[root@ncpldbdev ~]# rpm -Uvh /u01/asmlib/oracleasm-2.6.9-5.0.5.EL-2.0.0-1.x86_64.rpm
Preparing... ########################################### [100%]
package oracleasm-2.6.9-5.0.5.EL-2.0.0-1 is intended for a x86_64 architecture
package oracleasm-2.6.9-5.0.5.EL-2.0.0-1 is already installed
[root@ncpldbdev ~]#
[root@ncpldbdev ~]#
[root@ncpldbdev ~]#
[root@ncpldbdev ~]# rpm -Uvh /u01/asmlib/oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.x86_64.rpm
error: Failed dependencies:
kernel-smp = 2.6.9-5.0.5.EL is needed by oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.x86_64
[root@ncpldbdev ~]#


Please help me solve this..
Previous Topic: Oracle 11g Database official release
Next Topic: Cross platform Migration-Oracle 8.1.7 on z/os to Oracle 10G on AIX
Goto Forum:
  


Current Time: Wed Apr 24 13:37:16 CDT 2024