create diskgroup in ASM
HelloI called asmca command in $prompt and I tried to create the disk group...
I have two raw storage devices located under/dev/raw/raw1 and/dev/raw/raw2...
How can I discover these two raw devices and create the disk in ASM configuration group
Please help me...
Were you running post install stepd grid below? Follow-up audit thread on how to address this problem.
ORA-29701: unable to connect to the Cluster Manager
Salman
Tags: Database
Similar Questions
-
How to create a new diskgroup in ASM?
Hi experts,
We use IBM AIX 5.3 L OS on IBM servers.
Database Oracle EE 10 G 10.1.0.4.0.
RAC and ASM
Currently there are 3 diskgroup (file system) in my DB suppose that
+ ABC
+ DEF
+ IGS
Now, I want to add a new Diskgroup (file system)
Say
+ XYZ
and I want to tranfer some files of the operating system for the ASM so that these files are stored in
+ XYZ
I m new on ASM please suggest me in detail.
Thank you and best regards,Cool_DBA wrote:
Hi experts,We use IBM AIX 5.3 L OS on IBM servers.
Database Oracle EE 10 G 10.1.0.4.0.RAC and ASM
Currently there are 3 diskgroup (file system) in my DB suppose that
+ ABC
+ DEF
+ IGSNow, I want to add a new Diskgroup (file system)
Say+ XYZ
and I want to transfer some files from the operating system to the ASM so that these files are stored in
CREATE DISKGROUP XYZ NORMAL REDUNDANCY
FAILGROUP controller1 DISK
"/ devices/a1" NAME diskA1 SIZE 250 G FORCE,
"/ devices/a2."
"/ devices/a3.
FAILGROUP controller2 DISK
"/ devices/b1.
"/ devices/b2.
"/ devices/b3";Use RMAN to copy the data file or the tablespace of BONE to your ASM disk group
RMAN > backup as copy tablespace test "+ XYZ" format
RMAN > tablespace switch test to copy; (Controlfile updated to use the new location)SQL > select file_name in dba_data_files where nom_tablespace = 'TEST ';
(CheckCan remove the
-
Can store backups RMAN in a diskgroup in ASM?
RDBMS version: 11.2.0.4
OS: Oracle Linux 6.6
RAC environment
Can store backups RMAN in a diskgroup in ASM? If so, is it recommended?
Yes, you can:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '+diskgroupname';
It depends on your requirements and backup strategy.
-
How to create a no - ASM ASM DR 2 nodes (OMF)
All,
I have a need to create a DR on a virtual machine to a single node to a DB of RAC 2 nodes that would be used only as a reporting env. Unfortunately, Google has not given results in this direction. When I read the docs of the oracle, it seems that this is not possible. Someone at - it created such a DR and has steps for him?
References that are in conflict:
Ref 1: If data source files use OMF, you cannot rename using
DB_FILE_NAME_CONVERT
. "Use of storage no-ASM" address details and options of data managed by OMF files- You use the
LOG_FILE_NAME_CONVERT
parameter to name the standby redo logs if the main and backup databases use different naming conventions for the log files. - You cannot use the
SET
NEWNAME
orCONFIGURE
AUXNAME
commands to rename the standby redo log files. - You cannot use the
LOGFILE
section of theDUPLICATE
command to specify the names of files to the standby redo log files.
Courses in typical errors include:
From backup 26 January 16
using channel ORA_DISK_1
channel ORA_DISK_1: from data file copy
copy of the control file ensures
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 26/01/2016 05:15:04
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of the backup command on 26/01/2016 05:15:04 channel ORA_DISK_1
ORA-17628: error Oracle 19505 returned by remote Oracle Server
Thanks in advance for your suggestions.
aBBy
As I understand it, your question is mainly with primary OMF and OMF - not on the physical database. If so, then the show a duplicate RMAN by defining "db_file_name_convert" isn't a valid option. Pending reason - this setting on the database, and then run the duplicate would lead to the creation of OMF files on the eve.
The best approach would be to use the "set newname for data file" (if the number of data file is less) or you can go with the 'set newname for the database' option too.
Happens to your other concern about how the day before would work if 'db_file_name_convert' is not defined. It's true, if a data file is added on the primary (I'm talking about the OMF files), the file would not be reflected or automatically created on the standby database (even if you set standby_file_management true) as 'db_file_name_convert' is not defined. In this case, manual intervention is necessary. An entry could be created for the newly added 'no FILE NAME"data file on the database pending and which will have to be renamed according to the system non - OMF file you want. Thus, overall, to solve OMF datafiles on the primary database no omf files of the database data pending, you need manual intervention.
You can see the messages of this kind in the alerts log:
WARNING: OMF is enabled on this database. Creating a physical
standby controlfile, when OMF is enabled on the primary
database, requires manual intervention by RMAN to solve the OMF
the data file paths.
HTH
-Jonathan Rolland
- You use the
-
We can configure ASM instance on all RAC nodes at the same time?
790066 wrote:
Thanks for your reply.Do we not have ASM instance centralized for all nodes?
If so it must be created on the shared device or something else?Normally, data will reside in SHARED STORAGE , and ASM & RBDMS instances will be in stand alone systems...
Diskgorup ASM will be shareable to all instances... not the instance can be shareable
Hope you understood.
Thank you
read this. http://download.Oracle.com/docs/CD/B28359_01/server.111/b31107/asmcon.htm
Published by: CKPT January 4, 2011 13:23
-
How to add ASm diskgroup in ASM 10.1.0.4.0 oracle
Hi experts,
We use IBM AIX 5.3 L OS on IBM servers.
Database Oracle EE 10 G 10.1.0.4.0.
RAC and ASM
Currently there are 3 diskgroup (file system) in my DB suppose that
+ ABC
+ DEF
+ IGS
Now, I want to add a new Diskgroup (file system)
Say
+ XYZ
and I want to tranfer some files of the operating system for the ASM so that these files are stored in
+ XYZ
I m new on ASM please suggest me in detail.
Thank you and best regards,Even if it were possible to store these files in ASM using XDB, you wouldn't be able to see without ASM out back for display.
You'd better hide files by setting their permissions file or by using access control lists.
See you soon
Jay
http://www.grumpy-DBA.com
-
create dblink to asm of the RDBMS instance
Have a metric solution on a database that queries all RDBMS instances for different indicators, applications, and administration and reported to the users/admins via apex.
You want to use to report the news datagroup ASM but need a dblink to ASM to run the query of the RDBMS instance, is it possible? I can check it in EM or run a query on the host itself or the same sqlplus via sysasm connection but would like to do if possible a procedure, but would need a link
You can do that, because a link needs a dictionary of data at the other end to authenticate.
I did it using Java in the RDBMS instance to connect to the instance of the ASM, and then run any query/DML/DDL. I can't give you the (intellectual property) code, but you could contact my employer (details in my profile) to see if he would release it.
--
John Watson
Oracle Certified Master s/n
-
Hello friends,
I want to create diskettes for installation of the DSO.
I question my drive using diskpart utility on my server in the window.
DISKPART > list disk
Disc # status size free Dyn Gpt
-------- ---------- ------- ------- --- ---
* Disk 0 online 68 GB 0 B
It shows 0 free b on the drive.
DISKPART > list partition
Partition # type Offset size
------------- ---------------- ------- -------
Partition 1 primary 27 GB 32 k
Partition 2 primary 41 GB 27 GB
In Partition 1 15 GB of free space and partition 2 30 GB of free space available.
DISKPART > list volume
Volume # Ltr Label Fs Type size status Info
---------- --- ----------- ----- ---------- ------- --------- --------
0 E DVD-ROM 0 B sound volume
Volume 1 C NTFS Partition healthy system of 27 GB
Volume 2 D NTFS Partition GB 41 healthy
I want to create a new partition on the drive. so, how can I do. ??
Thanks in advance.
--
Pradip Patelthe SHRINK operation does not support older versions of diskpart (for example, in Windows XP, Windows Server 2003)
You can try a few other tools 3rd part for this -
Cannot create the ASM Diskgroup ORA 15020 and ORA-15018
Hello team,
Could not create the ASM diskgroup with the following error:
SQL > create diskgroup redundancy data_asm1 external disk ' / dev/sdf *;
create diskgroup redundancy data_asm1 external disk ' / dev/sdf. "
*
ERROR on line 1:
ORA-15018: diskgroup cannot be created.
ORA-15020: discovered in double disc ASM 'DATA_ASM1_0000 '.
ASM Diskstring
SQL > show parameter asm_diskstring
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
asm_diskstring string/dev/oracleasm/disks/DISK *, /dev / sd *
Please let me know how to solve this problem
Kind regards
Hello
check your disc diskgroup status grid +. display result
1 res ora of $ crsctl State. GRID.dg or $ crsctl status res ora.grid.dg
Note the distinction uppercase / lowercase of the crs resource
2. run below as a user of the grid. (necessary to set SID = + ASM? If not already preset)
ASMCMD > lsdg
Tobi
-
Hello
Oracle RDBMS version 11.2.0.3.0
OS: OEL 6.3
Stand-alone server of the grid Infrastructure.
MY question: I want to connect existing disks to ASM instance. What commands to create new disks existing diskgroup using without erasing the data on disks?Hello
My recommendation is to create the ASM using ASCMA instance.Because the step below is valid only up to 11.1 or less, for 11.2 is missing a few extra steps.
Now the steps for manual creation of DSO;
1. create the file password for manually creating an ASM instance.
orapwd file = $ORACLE_HOME/dbs/orapw + ASM Password123 = 5 entries = passwordIn this way the user ASMSNMP will not be created and you must manually assigns a role SYSASM to the SYS user. ASMCA do automatically.
2. create the needed directories:
mkdir Pei $ORACLE_BASE/admin / + ASM
CD $ORACLE_BASE/admin / + ASM
mkdir bdump
mkdir udump
mkdir cdump
mkdir pfileThese directories are obsolete on 11.2, now Oracle use ADR to store logs.
3. create the file init + ASM.ora under the $ORACLE_HOME/dbs:
asm_diskgroups = 'DATA', 'FRA '.
asm_diskstring = "/ dev/oracleasm/discs / *'"
background_dump_dest ='/ u01/app/admin / + ASM/bdump "
core_dump_dest ='/ u01/app/admin / + ASM/cdump '
instance_type = "asm".
LARGE_POOL_SIZE = 12 M
user_dump_dest ='/ u01/app/admin / + ASM/udump 'ASMCA value target memory at least 272 M
4 - export ORACLE_SID = + ASM
Instance ASM 5-start in editing mode:sqlplus / as sysasm
Create spfile from pfile;
Startup mount
Show disc setting6 - Mount starts;
change fra diskgroup Steed;
change the data diskgroup medium;Missing a few steps here.
ASMCA will activate/configure "ora.asm" (by adding the SPFILE and some PARAMETERS on OLR) resources and all dependent resources and create DISKGROUP resources.
If you do not have config, ASM will be not started/stoped/restarted automatically.Once again... Is recommended to create an ASM Instance using ASMCA and a SMALL Lun (1 GB) to store only the ASM SPFILE when creating and then just get the other DISKGROUP.
When you activate your database or add the DISKGROUP resources on Oracle Restart, and ASM must exist to work properly
Published by: Levi Pereira April 11, 2013 13:31 -
ASM >; ALTER DISKGROUP >; error: ORA-00905: lack of keyword
Oracle 10.2.0.3.0 on RHEL 5 database
SQL > create diskgroup data4
external redundancy 2
3 disc "ORCL:DATA4";
DiskGroup created.
SQL > ALTER DISKGROUP DATA4 SET the ATTRIBUTE "compatible.rdbms" = "10.1 ';
ALTER DISKGROUP DATA4 SET the ATTRIBUTE "compatible.rdbms" = "10.1 '."
*
ERROR on line 1:
ORA-00905: lack of keyword
Is not the correct syntax? Please help... Thank you!
SQL > alter diskgroup DATA4 set attribute "au_size" = "4 M";
alter diskgroup DATA4 set attribute "au_size" = "4 M"
*
ERROR on line 1:
ORA-00905: lack of keywordCipherDBA wrote:
Hi, Aman-I have check the syntax before posting this message. I always get the error message, even if I believe that my syntax is correct.
SET the ATTRIBUTE 'attributeName' = "attribute_value".
Have you seen my 2nd answer where I asked that you are sure that 4 M size to THE East actually possible in 10g ASM (10203 your version) as far as I KNOW, this has begun to 11.1 from which can reach the size of the AU to a default value of 1 M 64 M. And this must explain the reason why your order is a failure since it was added in 11.1 Reference sql of the DSO. See 2nd link I gave.
Aman...
-
ASM Diskgroup with 1 disk? Is this possible?
setenv ORACLE_SID + ASM
sqlplus "/ as sysdba".
SQL > startup nomount
SQL > create diskgroup data disk ' / dev/dsk/c0t5d1s4 ";
SQL > shutdown immediate
SQL > startup mount
^^
I saw once on the google site a syntax as above. I was under the assumption that, for alteast disks 2 ASM are required (assuming normal redundancy); But here we can see one disc is defined.
Sorry, I don't have an ASM Setup to test this, so would you need advice from people.By default, ASM tries to create a normal redundancy disk group. Therefore, he expected to have at least 2 groups of disks.
But yes, even with one disk, you can create a disk group, but you must expressly state that it will be external redundancy.++
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsSQL > create diskgroup abc disk ' / dev/raw/raw6 ";
create diskgroup abc disk ' / dev/raw/raw6.
*
ERROR on line 1:
ORA-15018: diskgroup cannot be created.
ORA-15072: command requires at least 2 groups of failure, discovered only 1
++++++
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining optionsSQL > create diskgroup abc disk ' / dev/raw/raw3 ';
create diskgroup abc disk ' / dev/raw/raw3 '.
*
ERROR on line 1:
ORA-15018: diskgroup cannot be created.
ORA-15072: command requires at least 2 groups of failure, discovered only 1SQL > create diskgroup redundancy abc external disk ' / dev/raw/raw3 ';
DiskGroup created.
+++ -
Hi all
REDUNDANCY NORMAL == NEED 2 GROUPS of FAILURE (I'm clear)
I am trying to create diskgroup with REDUNDANCY NORMAL (only with 2 raw devices).
Command line == > I can't create disk with REDUNDANCY NORMAL group
Through DBCA == > I can.
select GROUP_NUMBER, name, ALLOCATION_UNIT_SIZE AU_SZ, STATE, TYPE, TOTAL_MB, FREE_MB, OFFLINE_DISKS from v$asm_diskgroup; GROUP_NUMBER NAME AU_SZ STATE TYPE TOTAL_MB FREE_MB OFFLINE_DISKS ------------ ------------------------------ ---------- ----------- ------ ---------- ---------- ------------- 1 ASM_DG_DATA 1048576 MOUNTED NORMAL 20472 14142 0 2 ASM_DG_FRA 1048576 MOUNTED EXTERN 10236 7143 0
SQL> create diskgroup DATA NORMAL REDUNDANCY 2 failgroup disk1 Disk 3 '/dev/raw/raw5' name data1, 4 '/dev/raw/raw6' name data2; create diskgroup DATA NORMAL REDUNDANCY * ERROR at line 1: ORA-15018: diskgroup cannot be created ORA-15072: command requires at least 2 failure groups, discovered only 1
But through dbca, I can create diskgroup only with 2 drives
SQL> select GROUP_NUMBER, name, ALLOCATION_UNIT_SIZE AU_SZ, STATE, TYPE, TOTAL_MB, FREE_MB, OFFLINE_DISKS from v$asm_diskgroup; GROUP_NUMBER NAME AU_SZ STATE TYPE TOTAL_MB FREE_MB OFFLINE_DISKS ------------ ------------------------------ ---------- ----------- ------ ---------- ---------- ------------- 1 ASM_DG_DATA 1048576 MOUNTED NORMAL 20472 14142 0 2 ASM_DG_FRA 1048576 MOUNTED EXTERN 10236 7143 0 3 ASM_DATA 1048576 MOUNTED NORMAL 40946 40844 0
SQL> select a.disk_number, b.group_number, a.path, b.name, b.type from v$asm_disk a, v$asm_diskgroup b where a.group_number=b.group_number; DISK_NUMBER GROUP_NUMBER PATH NAME TYPE ----------- ------------ ---------------------- ------------------------------ ------ 0 3 /dev/raw/raw6 ASM_DATA NORMAL 1 3 /dev/raw/raw5 ASM_DATA NORMAL 0 2 /dev/raw/raw3 ASM_DG_FRA EXTERN 1 1 /dev/raw/raw2 ASM_DG_DATA NORMAL 0 1 /dev/raw/raw1 ASM_DG_DATA NORMAL
...
..
My question/confusion is only 2 discs,
I can create a diskgroup (redundancy = normal) using DBCA, but similar operation cannot perform through command line.
DB version: 10.2.0.5 on RHEL
Shows your screenshot of the ASMCA you assign disk/dev/raw/raw5 in FailGroup FG1 and disk/dev/raw/raw6 in FailGroup FG2 - two * different * FailGroups. Each disc is in a separate FailGroup.
Your Interactive SQL command specifies only 1 FailGroup when there is to specify two FailGroups.
Hemant K Collette
-
Create the ASM disk groups instance is not found
HelloI just started to learn Oracle, very inexperienced database in Oracle.
I have a problem to create an ASM instance. My environment is SUSe Linux Enterprise 11 64-bit, I am creating an instance ASM 11.2.0
1. when I create ASM instance, I couldn't find ASM disks, if an ASM Instance could not be created.
2. when I search on the internet on the creation of the ASM disk, it seems that I need to connect to the instance ASM as ASMSYS, but I have not an ASM instance is runing so ASM DISK groups has not can be created.
I feel that I'm at an impasse.
Could someone help me?
Thank you.
You may need to configure the udev subsystem to set permissions of the device and configure the parameter diskstring ASM or install Linux ASMLib, that supports both and more. In any case, you will need to provide more details and probably do some research to learn more about the basic concepts. To install Oracle ASM is not click and play.
-
What is the correct procedure to abandon diskgroup asm is rac?
Hello
I would like to table a diskgroup in asm to the CCR? What is the correct procedure?
1 should I disassemble the diskgroup firstly in 2 node?
2 alter diskgroup xxx drop command to run in the 2 nodes or just 1 node?
3. after droping command, is there any other procedures to be done?
No matter what doc to follow?
Thank you
AndrewHi André,.
860523 wrote:
Thank you very much. Oracle 10.2, if I unmount the diskgroup, I want something offline, or what is the procedure before changing disgroup xxx disassemble?You MUST remove (using DBCA) or move (using RMAN) all databases stored on the diskgroup (if exists) before giving up DISKGROUP.
(1) check if there are any database using the DISKGROUP.
The query above must return no rows.SQL> SELECT D.NAME,C.INSTANCE_NAME,C.DB_NAME,C.STATUS FROM GV$ASM_DISKGROUP D , GV$ASM_CLIENT C WHERE D.GROUP_NUMBER=C.GROUP_NUMBER AND D.NAME = '
'; no rows selected If the above query returns rows you remove and stop must all first trial or move the database to an another DISKGROUP.
(2) remove the Diskgroup all instances of ASM, except one.
ALTER DISKGROUP
DISMOUNT; (3) decline diskgroup of the ASM instance, that the diskgroup is still mounted
DROP DISKGROUP
; -- If no files on DISKGROUP DROP DISKGROUP INCLUDING CONTENTS; - If exits files on DISKGROUP Just it.
Kind regards
Levi Pereira
Maybe you are looking for
-
Satellite L755D-10J - cannot start Windows
Have had bad laptop free for about 20 months but now me black screen with white writing directed"Windows Boot Manager" Windows could not start. A recent hardware or software change might be the cause. To solve the problem: 1. Insert your Windows inst
-
Wanting to update the graphics card for a m8517c
Could someone tell me if I am able to update graphics in my HP m8517c Here is a link to my system specs... http://support.HP.com/us-en/document/c01486309 I want graphic better due to the fact that a lot of my boys want to play PC games does not work
-
WRT54G2 wireless router disconnects randomly
I have a Linksys router and a modem provided by Charter Communications WRT54G2. Sometimes when I'm on the internet or someone is playing games online, the connection will be randomly fizzle out for half an hour at some of them. It says its connected
-
How to prevent my monitor turn off?
I know this question has been asked repeatedly, but often the proposals remained without answers of the user. Therefore, accept my apologies for asking it again. Windows 7 x 64 is running. All goes well, until all of a sudden the screen turns off. Th
-
BlackBerry application compatibility
I'm developing an application with Blackberry blackberry JDE 4.7.0, can I use the same output files COD for touch and non-touch smartphones?