Cloning of Oracle ASM disks
Hello
We will virtualize a server physical Linux having an Oracle ASM database. The physical server will remain intact and the new will be virtual under test. How to meet the LUNS / volumes on which the DSO has database of data? I guess we can clone them via SAN, but do not know what's next on the virtual server.
Thank you very much.
Since you are using ASM, the SPFILE is also the ASM. You will need to clone the operating system disks, trees and ASM software and introduce them to the VM Oravcle. This will give you admin/diag directories as well as password files. The TNS files and the listener must exist as well.
On the oracle VM, start the listener. Then start ASM. You need perhaps to remove localconfig and localconfig add tips to clear clusterware and reset the ASM. When you start ASM, if the ASM mount is the same, the asm_diskstring shall not be changed. He should see the clone disks ASM and climb very well, otherwise change the asm_diskstring to indicate where are the disks ASM, ASM bounce and they are expected to rise.
Once the DSO is started and starts up, you should be able to start the database without any problems.
Tags: VMware
Similar Questions
-
Installation of Oracle 11 g R2 grid does not detect the ASM disks
Hi guys,.
I'm trying to install Oracle 11 g R2 RAC and as part of the installation of the grid, the Setup program does not detect the ASM disks.
Here are the outputs for some commands.
[root@rac1 ~] # oracleasm scandisks
Reload from disk partitions: fact
Cleaning up stale ASM disks...
ASM disks scanning system...
Instantiation of disk 'ASMDATA2 '.
Instantiation of disk 'ASMDATA1 '.
[root@rac1 ~] # oracleasm listdisks
ASMDATA1
ASMDATA2
[root@rac1 ~] # ls - ls/dev/oracleasm/disks
Total 0
0 brw - rw - 1 grid asmadmin 252, 3 14 May 17:18 ASMDATA1
0 brw - rw - 1 grid asmadmin 252, 2 14 May 17:18 ASMDATA2
I already tried to reconfigure Oracleasm (oracleasm configure - i) but no luck.
I would be really grateful for the help here as its been a few days now and want to complete the installation as soon as possible
Concerning
Praveen
Thank you Ricardo, I see now the disks after you change the path from discovery to/dev/oracleasm/disks
-
Reinstallation of Oracle 11 g 2 RAC grid problem - ASM disk group
People,
Hello.
I want to install Oracle 11 g RAC 2 with 2 Virtual Machines (rac1 and rac2 which BONES are Oracle Linux 5.6) in VMPlayer.
I was installing Infrastructure of grid using runInstaller in the first rac1 VM from step 1 to step 9/10.
On 9/10 in the wizard step, by chance, I touch the mouse, and the wizard disappeared.
The grid in the 2 VMs installation directory is the same: / u01
I have to make sure that everything is correct, delete the directory/U01 to 2 virtual machines and install again the grid in rac1.
I realized that this is not the right way to remove/U01. The right way is to follow the tutorial
http://docs.Oracle.com/CD/E11882_01/install.112/e22489/rem_orcl.htm#CBHEFHAC
But I have deleted/U01 and must correct one by one. I reinstall the grid and get the error message in step 5 of 9 as follows:
[INS - 30516] Please specify unique disk groups.
[INS-3050] ASM disk group empty.
Cause - the installer has detected the name of Group of disk already exists on the system.
Action - specify the different disk group.
In the wizard, the old disk group name is 'DATA' and his candidate records (5 ASMDISKs) are gone. I try to use another name "DATA2", but no ASMDISKs are "candidate records. For "All discs", it is impossible to select all ASMDISKs.
I want to use the same disk group ASM 'DATA' and do not want to create a new disk group.
My question is:
How to make previous ASM disks and his group of 'DATA' therefore "Candidate records" who can use again?
Thank you.Hello
If you use oracleasm, then rebuild again asm disks.oracleasm deletedisk
http://sabdarsyed.blogspot.com/2007/07/installing-configuring-Oracle-ASM-on.HTML should help. (use only delete and create orders without having to reinstall again)
-
If you use network storage, configure ASM disks with external redundancy groups
Hi Experts,
If you use network storage, configure ASM disks with external redundancy groups. Don't use groups of Oracle ASM failure. Oracle failure groups consume cycles additional CPU and can run in unpredictable ways after suffering from a disk failure. When you use external redundancy, disk failure are transparent to the database and do consume no additional database CPU cycle, because it is discharged on storage processors.
This does not mean
- RAID 1 + 0 for diskgroup + REDO1
- RAID 1 + 0 for diskgroup + REDO2
- RAID 5 for diskgroup + DATA
- RAID 5 for diskgroup + FRA
Is this one suggested, the recommended best practices for oracle on VMWARE?
Thank you and best regards,
IVW
Hello
You can check the storage analysis as well...
http://www.Dell.com/downloads/global/solutions/tradeoffs_RAID5_RAID10.PDF
discussion of the Oracle
https://asktom.Oracle.com/pls/asktom/f?p=100:11:P11_QUESTION_ID:359617936136
-
Not see asm disks when installing network
Hi all.
I have install oracle database rac on RHEL 5.5 11.2.0.4.
When I install the oracle grid, grid can't see the disks asm (oracleasm listdisk work)
[installation root@webcenter-db01] # oracleasm listdisks
CRS1
CRS2
CRS3
DATA1
DATA2
REDO1
REDO2
REDO3
But install grid 11.2.0.1, grid see all asm disks.
I don't know why.
Thanks for your help
Hoan.
Hello 1026384,
If disks are displayed in the list during installation of the network infrastructure, then try to give the /dev/oracleasm/discs / * in the window change the disk discovery trail .
Thank you best regards &,.
DAS Pinto
-
Antivirus with ASM disk considerations
Hi all
We are currently running Oracle 10 g on Windows Server 2008 R2 using file storage system. We seek to upgrade to 11g and use of ASM disks rather than the file system. I am aware that there are many considerations here, but I have been asked specifically about how RAW disks and our antivirus will interact. For the moment, we use the Center Endpoint Protection system on the database server, and then exclude us certain types of files associated with Oracle (DBF, CTL etc.). This configuration meets the DBA and infrastructure. Once we start using ASM if, something will have to change because we will not be able to exclude specific file types.
I would be interested in advice / opinion that anyone was around that. More precisely:
1. is it possible for a disc of ASM to be infected by a virus?
2. the AV software is even capable of preventing infections on ASM disks? (maybe its not relevant according to the answer to the first question)
3. we are likely to see some performance issues with AV software running on our database server, because the current set up described above works fine but is replaced by ASM disks?
Any help or advice welcome
Thank you
Andrew
Disc GROSS means that there is no file system. No virus software can analyze the volumes of the ASM, which can only be used by an Oracle database and what data structure is known only for Oracle. Unless you install any ACF volume, which allows the storage of ASM data that can be accessed by the operating system, software Anti Virus cannot analyze data.
However, the Anti Virus software can interfere with e/s of Oracle applications, which you will certainly not want and that has really no sense. Unfortunately, any installation which is connected to the Internet without any protection against the malware running MS Windows is a suicide. To be honest, I never want to install and run the Oracle database on a MS-Windows Server and see no valid reason for it. There are much better alternatives, such as Oracle Linux, which is also free.
-
Hi all, I want to install Oracle 11 g Linux for autonomous database.so grid infrastructure I can install DSO as a user of grid and also created the disks as a user of the grid. Now., during the creation of the db in oracle user disks don't leave to use. Since the grid is the owner. How can I trobleshoot it. Please, share your ideas.
Thank you
Hello
I guess you also created ASM diskgroup to the database. If you are able to create diskgroup, nothing wrong with permissions on the disks.
Problem creating database, is to your own database software (oracle) is a member of the group 'asmdba '? If not, add it. I don't think that any other special permissions must be granted to the user oracle.
[oracle@XXXXXXX1 ~] $ id
UID = 54321 (Oracle) gid = 54321 (oinstall) groups = 54321 (oinstall), 54322 (dba), 54323 (oper), 54325 (asmdba)
Salman
-
RunInstall does not show the ASM disks
Hello
I googled arleady for so long but I can't find the solution for my problem.
I'm under runInstall of the Oracle Grid Infrastructure installation program. When it comes to "Create the ASM disk groups", the window does not show one of my starts created previously, even if I change the discovery trail to ' / oracleasm/dev/discs / * "Please help!
[dev root@grid1] # / usr/sbin/oracleasm listdisks
DATA01
DATA02
FRA01
FRA02
OCRVOTE01
OCRVOTE02
OCRVOTE03
[dev root@grid1] # / usr/sbin/oracleasm-discover
ASMLib /opt/oracle/extapi/64/asm/orcl/1/libasm.so using
[Library ASM - Generic Linux, version 2.0.4 (KABI_V2)]
Disk discovery: ORCL:DATA01 [31455232 blocks (16105078784 bytes), maxio 512]
Disk discovery: ORCL:DATA02 [31455232 blocks (16105078784 bytes), maxio 512]
Disk discovery: ORCL:FRA01 [20969472 blocks (10736369664 bytes), maxio 512]
Disk discovery: ORCL:FRA02 [20969472 blocks (10736369664 bytes), maxio 512]
Disk discovery: ORCL:OCRVOTE01 [10477194 blocks (5364323328 bytes), maxio 512]
Disk discovery: ORCL:OCRVOTE02 [10483712 blocks (5367660544 bytes), maxio 512]
Disk discovery: ORCL:OCRVOTE03 [10483712 blocks (5367660544 bytes), maxio 512]
[dev root@grid1] # / usr/sbin/oracleasm querydisk DATA01
Disk 'DATA01' is a valid ASM disk
[records root@grid1] # pwd
/ dev/oracleasm/Disks
[records root@grid1] # he's
Total 0
BRW - rw - 1 grid asmadmin 8, 65 4 Mar 11:18 DATA01
BRW - rw - 1 grid asmadmin 8, 81-4 Mar 11:18 DATA02
BRW - rw - 1 grid asmadmin 8, 97-4 Mar 11:18 FRA01
BRW - rw - 1 grid asmadmin 8, 113 4 Mar 11:18 FRA02
BRW - rw - 1 grid asmadmin 8, 17 4 Mar 11:16 OCRVOTE01
BRW - rw - 1 grid asmadmin 8, 33-4 Mar 11:17 OCRVOTE02
BRW - rw - 1 grid asmadmin 8, 49-4 Mar 11:17 OCRVOTE03
[records root@grid1] # rpm - qa | grep oracle
oracleasm-support - 2.1.8 - 1.el6.x86_64
oracleasmlib - 2.0.4 - 1.el6.x86_64
oraclelinux-release-6Server - 6.0.2.x86_64
oraclelinux-release-notes-6Server - 14.x86_64
kmod-oracleasm - 2.0.8 - 4.el6_6.x86_64
Oracle-logos - 60.0.14 - 1.0.2.el6.noarch
to clarify this, please login as user "grid" and run the command
id
This will show you if id is a member of the Group asmadmin.
Martin
-
Adding a device to ASM disk using asmtool
Hello
I create ASM disks.
Background: Oracle enterprise linux 6. I'd partition the shared disks (SCSi) during the installation of Linux (don't know what to do, I just did).
Now if I run oracleasm createdisk, it is said that the devices are busy. No, I removed the mounts of the devices in/etc/fstab. Now createdisk said that "the device is not a partition. Now I use asmtool command instead:
/ usr/sbin/asmtool - c-l/dev/oracleasm n OCRVOTE s/dev/sdc - a force = yes
That works fine, but I need to add more then one device to drive OCRVOTE. If I do
/ usr/sbin/asmtool - c-l/dev/oracleasm n OCRVOTE s/dev/sdd - force = yes
It is said: asmtool: unable to create 'OCRVOTE' ASM disk: file exists
Hello
You're basically labelling records at the level of the BONE.
This name must be unique.
You must give the label name different labelling while.
/ usr/sbin/asmtool - c-l/dev/oracleasm - n OCRVOTE1 s/dev/SDS - a force = yes
Then use ASM diskgroup in the future.
Kind regards
Loriette
-
ASM disk added without scan on the second node
Hi all
Oracle Version: 11.2.0.3
I need a help for a problem with the addition of ASM disks.
It is a node two CARS and a disk group was filled.
A drive was available as UNUSED001 and so we renamed it ran scan disk and disk added to the diskgroup on node1.
But, as we have not run scan disk on the second node, the name is still the poster as UNUSED001 and assigned to diskgroup showing as a MEMBER.
In addition, the renamed disk shows as a MEMBER but not attributed with any diskgroup.
Usually, when this heppens we have to restart the node to solve the problem, but would like to get idea if this can be fixed without bouncing nodes.
I restarted node and that fixed the issue.
Closing this thread.
Thank you guys.
-
I think I have I need help to get my right to ASM storage. Recently I changed businesses and the new place is a House of Windows, so Oracle databases are all on 2008 R2 machines. I run Oracle RAC on both physical and virtual before, but only in Linux/Unix environments (up to now, I still prefer) so I'm still learning some of the ins and outs. This company seeks also to travel to the RAC, ASM is in the mix. To start my tests, I have implemented an ASM instance for a single host that will eventually become a pole of development taking into multiple databases. However, before I set up data bases, the host is locked up. I think it has something to do with the configuration of the disk, because while the entrapment took place while the virtual machine is idling, several crashes occurred when I try to drop a disc from the asmca utility. I followed the Oracle documentation for Windows platforms, but this documentation does not offer overview of storage on vmware virtualization.
Here is my configuration:
VMware: vSphere 5.5
OS: Windows 2008 R2 Standard
Memory: 12G
Storage: OS: 60G; ASM: 20G, 5G, 5G
Oracle Grid: 11.2.0.4 (more January 2014 CPU)
Oracle database: 11.2.0.4 (more January 2014 CPU)
Other details (perhaps important, perhaps not):
(1) I have a large pages activated
(2) drives are supplied thin. Note, I always thick-stocked my ASM, but our admin SR records. HE made a policy that all disks must be supplied thin for efficiency. I don't know if this could cause a problem.
(3) the 3 ASM disks are running using the paravirtualized SCSI driver
(4) the host also has an OEM 12 c Agent installed and running.
I'm new on the Windows platform when it comes to Oracle (I managed a lot of SQL Server DBs), blocks do not appear to produce any type of data in the logs.
Just for someone who comes across this post on the forum, update the ESET software kept interfering with the DSO, so I'm back in business. In response to the previous notice, I am the first full-time, home s/n they hired, and what I learned to work with is regardless of the parade of consultants put in place in recent years. Sometimes you gotta work with what you have. It's kinda a mess overall, to say the least, but I'm slowly getting it resolved. Linux is in the cards, but not in this series of changes.
-
11 GR 2 Grid Infrastructure install - with normal redundancy ASM disk group requires 3 disks?
HelloI want to install 11 GR 2 grid Infrastructure in a new environment in cluster - 2 nodes). I use the 11.2.0.4 GI Installer on Oracle Linux 6.5 x 86-64
However when it is in the installer of GI, it comes to choose the storage Option - I choose ASM disk groups.
Then change the path of discovery to pick up my candidate ASM disks.
I enter the disk group name SIR give Normal redundancy, choose 2 discs of candidate and then press < next > to Setup.
However, I gives me the message
[INS-30510] Insufficient number of ASM disks selected
The number of selected disks was inadequate for the level of redundancy selected
For a disk group with redundancy level "Normal" disks at least "3" are recommended
I always thought that Redunancy Normal required only 2 discs and high redundancy requires 3 disks?
No idea what is gpoing?
Thank you
Jim
Consult the following notes for how to move:
Concerning
Thomas
-
Difference between ADVM Volume and filesystem ACFS ASM disk group
Q1. What is the difference between an ASM disk group and a Volume of ADVM?
In my opinion, an ASM disk group is actually a logical volume to the database (including the FRA files) files.
11 GR 2 appears to have introduced the notions of volumes ADVM and filesystems ACFS.
11 GR 2 ASM disk group can contain:
- ASM disks
- Volumes ADVM
- Filesystems ACFS
Q2. ADVM volumes appear to be dynamic volumes.
However is it therefore not effectively overlaying a logical volume (the volume ADVM) under ASM disk group (conceptually a logical volume as well)?
Even worse, if you left the ASM disk group redundancy in hardware RAID / SAN level (as recommended Oracle), you actually have 3 layers of logical disk? (ASM on top of ADVM on top of RAID/SAN)?
Q3. If it is 2 layers of logical disk (i.e. on top of ADVM ASM), what makes this better than 2 layers using a 3rd party volume manager (for example the DSO at the top of the 3rd party LVM) - something Oracle encourages against?
Q4. ACFS file systems, seem to be file systems clustered for not including ORACLE_HOMEs database files, application exe etc (but NOT GRID_HOME, OS root, OCR or voting records)
Can you create / modify filesystems ACFS using ASM.
The diagram of topology of oracle for ASM in ASM 11 GR 2 administration guide, says ACF in ASM. I'm not sure about that if ACFS belongs to ASM or ASM is located at the top of the ACF?
Q5. Connected to the 4th quarter. There seems to be a number of different ways, ACFS file systems can be created? Which of this is the valid methods?
- Thanks to ASM?
- through native OS file system creation?
- through OEM?
- through acfsutil?
my head explodes
Any help and clarification appreciated
Jim
Q1 - volume ADVM is a type of special file created at the DG of the DSO. Once created, it creates a block device on the BONE itself which can be used as any other block device. http://docs.Oracle.com/CD/E16655_01/server.121/e17612/asmfilesystem.htm#OSTMG30000
Q2 - the asm disk group is a group of disks, not really a logical volume. It combines the attributes of both when it is used for purposes of database as the database and some other applications know how to talk about Protocol 'ASM '. However, you won't find all the versatile applications that can do. In addition, some clients prefer to deal directly with files and devices of volume systems which ADVM is forced to make. In your thinking, you have 3 layers of logical disk, but each of them provides features and different attributes. This is not a bad thing, though, as each has a slightly different purpose - os file system\device, specific database and storage-centric.
Q3 - ADVM is specifically developed to extend the features of the DSO for use by General applications of BONE. It includes the performance of database features and is tuned to work well in this situation. Because it is developed in-house, it benefits from the design of ASM model. In addition, rather than having to communicate with several vendors for support, your support is limited to calling Oracle, a single window.
Q4 - you can create and modify filesystems ACFS by using command line tools and the ASMCA. Creation and modification of logical volumes coming through SQL (ASM), asmcmd and ASMCA. EM can also be used for the two elements. ACFS is located at the top of the ADVM, which is a file in an ASM disk group. ACFS is aware of the characteristics of the ASM\ADVM volumes and tunes it's IO make best use of these features.
Q5 - several ways:
1) connect to ASM with SQL, use 'alter diskgroup add volume' as Mihael points out. This creates an ADVM volume. Then, put in shape volume using the "mkfs" (* nix) or acfsformat (windows).
(2) use ASMCA - a GUI to create volume and a file system. Probably the easiest if your head is explosion.
(3) use "asmcmd" to create a volume and 'mkfs' to put in shape file ACFS system.
Here is information on the ASMCA, with examples:
http://docs.Oracle.com/CD/E16655_01/server.121/e17612/asmca_acfs.htm#OSTMG94348
Information about the command line tools, with examples:
-
Add more space to the ASM disk group
Hi all
I am new to the DBA role and also in a process of learning. I need your help in putting a space at the ASM disk group. My VMware admin will add disk space to the virtual machine, and then the Linux admin will add space on Linux servers. Finally, I think I need to rebalance the database disk group to view the extra space. I'm not sure of what all the steps involved in this process. I like to read the Oracle Documentation, but I'm blurry and hesitant. Please let me know the steps to follow to add the ASM disk group space.
We use
Oracle DB version 11.2.0.3.0
Linux version: 2.6.18 - 238.12.1.el5
Thanks for your help
No....
You don't need any instance restart. More when you add a disk to a diskgroup, all rac nodes can see.
just...
You should add a node and watch v$ asm_operation...
Concerning
-
[FATAL] [INS-30508] Invalid ASM disks.
Dear gurus
Please help to solve the no disk error invalid asm on solaris
Oracle Grid 11.2.0.3.0
Solaris10 with EMC Powerpath Partition
-bash - $3.2. / runInstaller-silent - responsefile /aaa/Oracle11g_SunSPARC_64bit/grid/response/grid_install.rsp
From Oracle Universal Installer...
Check the Temp space: must be greater than 180 MB. Real 90571 MB passed
Check the swap space: must be greater than 150 MB. Real 90667 MB passed
Preparations for the launch of Oracle Universal Installer from/tmp/OraInstall2013-09-15_12-17-47 PM. Please wait...-bash - $3.2 [FATAL] [INS-30508] ASM invalid records.
CAUSE: The disk [/ dev/rdsk/emcpower2a, / dev/rdsk/emcpower6a, / dev/rdsk/emcpower8a] were not valid.
ACTION: Choose or enter valid ASM disks.
A log of this session is currently registered as: / tmp/OraInstall2013-09-15_12-17-47PM/installActions2013-09-15_12-17-47PM.log. Oracle recommends that if you want to keep this log, you must move it from the temporary location to a more permanent location.
Thank you for your reply and your time
We had the problem of our self
[/ dev/rdsk/emcpower2a, / dev/rdsk/emcpower6a, / dev/rdsk/emcpower8a]
above default partition take slice 0
We see link below
Create the ASM Partitions in Solaris and add them as records of ACEs
In architecture, Sparc, solaris disk is subdivided into 8 slices.
This is the current configuration of these eight slices:
slice 0: contains the files and directories that make up the operation
System *.
Unit 1: Swap, provides virtual memory or swap space.
Unit 2: refers to the disk set, by convention. The size of this
slice cannot be changed.* *.
Unit 3: / export, holds different versions of the operating system.
Unit 4: / export/swap. Provides virtual memory space for the customer
systems. ***
slice 5: large chocks software added to a system.
Unit 6: / usr. Contains commands for operating system - also known under the name
executables - designed to be run by the users.
Group 7: / home. Contains files created by users.
* Cannot be used as ASM disk. The use of this installment involves alteration of the disc
and can make the disc unusable.
* Should not be used as ASM virtual disk, slice refers to the entire disk
(Including the partition tables).
Is the range recommended to use for ASM disk.
in accordance with the recommendation of the DSO we had used unit 4 the same
so we had to diagnose details and came to know that must be used
[/ dev/rdsk/emcpower2e, / dev/rdsk/emcpower6e, / dev/rdsk/emcpower8e]
e make the unit 4
We had use below evolution silent file and it works fine
oracle.install.asm.diskGroup.disks=/dev/rdsk/emcpower2e,/dev/rdsk/emcpower6e,/dev/rdsk/emcpower8e
newspapers of the sample
INFO: From Threads drive output for process/tmp/OraInstall2013-09-17_05-03-21 PM/ext/bin/kfod
INFO: Parsing 2560 CANDIDATE/dev/rdsk/emcpower2e oracle oinstall
INFO: Process/tmp/OraInstall2013-09-17_05-03-21 PM/ext/bin/kfod came out with code 0
INFO: Waiting for threads processor out to leave.
INFO: Parsing 2560 CANDIDATE/dev/rdsk/emcpower6e oracle oinstall
INFO: Parsing 2560 CANDIDATE/dev/rdsk/emcpower8e oracle oinstall
Maybe you are looking for
-
Photos color printing has suddenly deteriorated - why?
Print 16 ~ 4 x 6 color prints of Photos last night without problem. Now, it can reach very degraded prints, with what appears to be excessive black ink, with wetlands where black is color. Color prints copies and text n & B without difficulty. Have P
-
where do the files saved as PDF download saved?
can not find registered where they are saved PDF files? How can I access them?
-
problem with the microphone on individual 1410/2410
Hello!I'm trying to use an app of internet phone (Skype) and I realize that people who call me hear me at all when I speak near the satellite 1410 2 speakers, while I hear very well the people who call me for test.Can you help me configure the microp
-
So I found a palm treo 300 in a thrift store and bought for like $ 7. After popping open the case and hanging on to an old charger electric razor, got to work. I installed the synchronization program on my computer, put everything in place and works.
-
Can I run product recovery with a yellow mark on Device Manager?
It was suggested that my CD/DVD-rom has been infected by the virus. There is a yellow exclamation mark shown against the CD-rom. I would like to reinstall my laptop (Equuim) by running again the Toshiba product recovery. It is possible with the CD/DV