Ocr/voting RAW Disk sequence number change
Dear Gurus,
We are planning to upgrade IBM AIX 5.3 OS technology level upgrade ... and also we are changing the device driver from rdac to sddpcm .
If we do this activity these are the possible changes may occur.......
According to IBM there could be a possibility of RHDISK number , MAJOR and MINOR number changes LIKE /dev/rhdisk0 to /dev/rhdisk1 in this case
Whether this RHDISK number , MAJOR and MINOR number changes will cause any issues on Oracle RAC database particularly on OCR and VOTING disks........
for example currently our OCR LOCATION IS IN : Device/File Name : /dev/rhdisk23 this may change to /dev/rhdisk<25>
Please help mee...
Regards,
Vamsi...
Dear Gurus,
From OCR and VOTING point of view :
currently we have OCR LOCATION :
/dev/rhdisk23------------->Might change to /dev/rhdisk29
currently we have VOTING LOCATION :
/dev/rhdisk24-------------->Might change to /dev/rhdisk30
In this case how oracle will trace new OCR/VOTING raw disk path........How we have to make oracle to understand OCR/VOTING LOCATION is in “/dev/rhdisk29 , /dev/rhdisk30”.....when cluster starts it will go and look in /dev/rhdisk23 for OCR and /dev/rhdisk24 for VOTING .Since it was not there it will fail .
Without OCR/VOTING disk CLUSTER will not start .....
OCR/VOTING disks are safe in "/dev/rhdisk29 , /dev/rhdisk30".......
Even if we take backup of OCR/VOTING disk .....no need to import it in "/dev/rhdisk29 , /dev/rhdisk30".......because OCR/VOTING content was safe...only disk number changes........
In this Scenario
What are the exact commands and steps we need to follow.........Please help me ...
Regards,
Vamsi....
Similar Messages
-
How to determine raw disks configured for OCR/voting disk, ASM spfile
I have a two-node Oracle 10gR2 RAC configuration using raw disks. Basically, raw disks are used for CRS's OCR/voting disks, ASM's ASM spfile and disk groups.
Is there a better way to figure out what raw disks are configured in Oracle using methods other than those shown below:
- To find out votedisk:
# crsctl query css votedisk
0. 0 /dev/ora_crs_vote1
1. 0 /dev/ora_crs_vote2
2. 0 /dev/ora_crs_vote3
- To find out OCR:
# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 525836
Used space (kbytes) : 3856
Available space (kbytes) : 521980
ID : 1603037329
Device/File Name : /dev/ora_ocr_file1
Device/File integrity check succeeded
Device/File Name : /dev/ora_ocr_file2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
- Is there a way to figure out what disk device is used for ASM spfile?
- To find out raw disks configured for disk groups:
while connected to the ASM instance in sqlplus:
SQL> select name,path from v$asm_disk where name like 'DG%';
NAME
PATH
DG_DC_ASM_0000
/dev/rhdiskpower13
DG_DC_ASM_0001
/dev/rhdiskpower14
DG_DC_ASM_0002
/dev/rhdiskpower15
NAME
PATH
DG_DC_ASM_0003
/dev/rhdiskpower22http://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
and
Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1] -
Create raw devices for OCR & Voting Disk for Oracle 10g R2 RACLinux 64 bit)
Hi Friends,
Please let me know the Document to cretae RAW Disk for OCR and Voting Disks (like rpm's required,process tio cretae raw disks) in Oracle 10g R2 on Linux (64 bit)
Regards,
DBhttp://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
and
Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1] -
Defining OCR / Voting disks
I followed this guide
http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVMwareServer2.php#install_grid_infrastructure
to install "clusterware" on my SLES11 maschines.
Question:
In 10g I were able to select which disks a for voting and which are for ocr.
Does it make sense to create different ASM Diskgroups for OCR and Voting, and where can I select which diskgroup should be used ?zekeriya, you are only right for Version 10. Things changed with Oracle 11. Now you cannot store vote and ocr on raw devices, only in ASM or a cluster filesystem. I know it is a chicken-and-egg problem and I have not quite understood how they do it but that's how things work now.
You can store voting disks and the OCR on Oracle Automatic Storage Management (Oracle ASM), or a certified cluster file system.See this link for more details
http://download.oracle.com/docs/cd/E11882_01/rac.112/e10717/votocr.htm#CHDJDFIC
And yes, it'd recommend to use a special diskgroup just for these.
Bjoern -
OCR and vote disk Allocation for shared raw storage with Solaris 10 questio
Hi all,
Current environment is Solaris 10 SPARC 64 bit OS with Hitachi SAN for shared storage and Sun E6900 servers.
For Oracle 10g RAC (10.2) and ASM, I am setting up the vote disk and OCR files on shared raw storage area network.
Assume that I have a 35Gb LUN carved out on raw device for the vote disk and OCR for a 2-node Oracle 10g RAC cluster and since the vote disk and OCR only require 120MB of storage, is there a way to use only a 120MB slice from the LUN or do I need to allocate the entire LUN/raw device to the vote disk?
I am looking for a way to avoid wasting space for the OCR and vote disk with my 10g RAC cluster and we are using raw devices and Oracle 10g RAC Clusterware with Veritas filesystem for the disk management. Can I have several slices on Solaris 10 with raw shared storage (Hitachi) to triple mirror my OCR and vote disk files?
It seems odd to have to use an entire 35GB LUN just for 2 small files: vote disk and OCR. Is there a way to partition a 120MB slice on one of the devices and allocate the rest to ASM?Hi
In our RAC env.
we have 1GB LUN for OCR and Voting Disk and 100GB LUN for ASM disk. we have 4 Node RAC env on AIX with 2 SAN storage on Hitachi system for our Application.
we keept 1st Voting diks on SAN-1 2nd Voting Disk on SAN-2 and third voting on SAN-3.
OCR disk on SAN1 and OCR_MIRROR Disk on SAN-2.
we have ASM DIsk with Normal Redundancy . Failure Group 1 on SAN-1 and
Failure Group 2 on SAN-2
Regards
Bharat -
Reading or changing sequence number in TCP packets
I don't know wether this is feasible,But you're my last chance to figure out something else.Can i read the sequence number that comes inside the TCP header in the incomming packets?This sound illogical but since there is a method for getting the IP of the sender(And that IP exits in the IP header Network layer i),then the sequence number (TCP header inside the Transport layer)must exits in the packet.Can i read it?
-And an even more illogical question? can i change that sequence number or the acknowlege number to form a new packet ? Its like converting a packet to and from a packet object to a string of bits ?
I know excatly where the sequence and acknowledge numbers are located (after how many bits) inside the TCP header?ejp wrote:
first off I'm wanna appply this to javame application and jpcap have some native code i dunno how to use it on a cell phone.You cant.You can migrate the code to work on a mobile phone, in theory. This is unlikely to be worth it even if you succeed.
I was thinking if i can change the acknowledge numberYou can't.Like sticking your hand in a blender. Its simpler to say you can't but I say you shouldn't want to.
i can order the server i'm connected to to send the data from a specific byte no sequentially.Use a protocol that already understands that. HTTP and FTP spring to mind.There are existing protocols for this which work and your phone is likely to support HTTP with XHTML basic already.
-Drop this packet and then form another packet with the same info as if it were formed automatically except replaciong the acknolwedge number with the size of my buffered data + 1.TCP/IP will never let this work even if you could do it, which you can't. You cannot skip data this way. This is not what acknowledgements and sequence numbers are for.
I also know that some protocols support requesting files from a specific byte(like HTTP) but i wanna do it inside the network layer not the application layerWhy?You prefer the blender, I see. -
Backup and Restore OCR,Voting Disk and ASM Disks in new SAN-10g RAC
Dear Friends,
I am using 10g R2 RAC serup on Linux
My OCR,Voting Disk and ASM Disk for DBF Files are on a SAN box
Now i am reorganising SAN by scrapping the entire SAN and cretaing new LUN's (It's a must)
so pleae let me know
1) how do i take backup of OCR and Voting Disk from existing SAN and how do i restore it in new LUN's after SAN reorganisation
2) how do i take backup of existing Database's from existing SAN and how do i restore it in new LUN's after SAN reorganisation.
I will be doing it in Planned downtime only
Regards,
DBFor step 1 you should following metalink doc.
For step 2 here is simple backup command script.
I have done this in windows for you.
D:\app\ranjit\product\11.2.0\dbhome_1\BIN>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 8 21:48:47 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID=1299593730)
RMAN> run
+{+
allocate channel c1 device type disk format 'D:\app\ranjit\rman\%U';
allocate channel c2 device type disk format 'D:\app\ranjit\rman\%U';
backup database;
backup current controlfile format 'D:\app\ranjit\rman\%U';
+}+
Regards -
Determining the Number of raw disks in an ASM Disk group
How can i find the number of raw disks and their storage capacities in an ASM Disk group?
Hi,
Not checking for ASM REDUNDANCY, but just the information you requested:SELECT
DG.NAME,
RDSK.PATH,
RDSK.TOTAL_MB
FROM V$ASM_DISK RDSK, V$ASM_DISKGROUP DG
WHERE DG.GROUP_NUMBER = RDSK.GROUP_NUMBER
ORDER BY 1,2;Regards,
Yoann. -
How to change the sequence number in the test packages?
Hello,
I need to change the sequence number in the test packages. Currently I use "move test case." However you can only move one item at a time.
There is another option to make this change?
Best regards,
ElisabeteHi Elisabete,
Sorry, I've to acknowledge the reply from Fabricius.
That's poor in release 7.0. A former version provided a solution where it was possible to move a testcase even over pages at once. May be SAP changed this functionality because of other problems caused by the former solution.
Therefore I am looking for a business blueprint structure meeting the logical and operational process for little need of changes in sequences. And I create E2E-scenarios / E2E-processes as an additional structure in a project to have an easier approach in the Test Workbench. An other option is to divide test packages into smaller ones.
I hope we can look foreward to a better and more comfortable solution in release 7.1.
Best regards,
Adelbert -
Is it true that ocr and voting disks can be created on ASM in 11g? If yes, during RAC startup how would the crs which starts first be able to access ocr & voting disk on asm which comes up only after crs is up and running.
Thanksuser1824755 wrote:
Is it true that ocr and voting disks can be created on ASM in 11g? If yes, during RAC startup how would the crs which starts first be able to access ocr & voting disk on asm which comes up only after crs is up and running.With 11gr2, you have essentially 2 installs. Grid Infrastructure - that is recommended to be installed in a different o/s user (e.g. grid). This owns the (integrated) CRS and ASM software stack. You will then install RAC/EE/SE as the default oracle o/s user. You can also install it in the same o/s user (using different homes). But separating that instead as different o/s users allows more flexibility in management and admin and security of these different s/w stacks.
CRS and ASM start "together" because of their interdependency.
With OCR and Voting disks on ASM, you will now find that you cannot simply stop ASM like in the past. ASM will thrown an exception saying that it has in-use diskgroups - despite all Oracle db instances using ASM being down. Thus ASM can only be shutdown in conjunction with CRS.. and successfully starting CRS also means that ASM is started. The acmcmd CLI interface has been improved, ACFS replaces the need for using something like OCFS (and managing that as a totally different s/w stack), etc.
ASM and its feature set are maturing very nicely IMO. -
Hi,
Learning about RAC..........please anyone reply it
If ocr & voting is lost means, is the database lost some datas? Is it correct?
For Ex: I had backup of OCR ,VOTING DISK which is taken at 3 Am.
Now 3.45 Am I lost current(running) ocr file ( mirror also) & voting disk.
I lost 45 minutes data?Hi,
OCR Maintains cluster configuration information as well as configuration information about any cluster database within the cluster. OCR is the repository of configuration information for the cluster that manages information about like the cluster node list and instance-to-node mapping information.
VD primary function of the voting disk is to manage node membership and prevent what is known as Split Brain Syndrome in which two or more instances attempt to control the RAC database.
So looking into above functionality we can understand that the above are conf files and not actual data files. So you database does not lost.
Secondly, try to hold a replica copy of OCR/VD and make backups in time.
- Pavan Kumar N -
In application somebody want to change the sequence number. For example first line's number is 1 , second line's number is 2, third line's is 3. If I want to change second line's number from 2 to 3 and third line's number from 3 to 2 at the same time. There is an error about deadlock when I commit them. How can I solute it?
Thanks :)you will always get this deadlock issue unless you do this:
save record 3 as something else (ie: 99999)
save record 2 as 3
save 99999 as 2
hope that is clear. -
Move OCR and Vote Disk to a new SAN
Hi,
Can you guys help me with some links/documents for moving OCR and Vote disk files from old SAN to new SAN.
Both SAN will have ocfs2 formatted 3 partitions on which ocr and votedisk will be placed (normal redundancy).
Oracle version 11g R2,
OS linux 5.5
RAC nodes : 2
Datafiles on ASM
OCR/Votedisk on ocfs2
Regards,
Ajayuser7443016 wrote:
Thanks for the reply, but all the examples were showing either ocfs2 to ASM or raw to ocfs2. could you just point out the high level steps for moving 3 ocr & votedisk files from one san to another(ocfs to ocfs).
Hi Ajay,
Steps will be same . It doesnt matter whether it is raw to ocfs2 or ocfs to ocfs.
There will be change only how do you assign storage for OCR/voting disk.
I have another doubt that, i already have 3 ocr files, can i add more ocr files pointing to another mount point? the same goes with votedisk.
You can use replace option so there is no need to add 4th OCR disk.
i found steps in one of the website: i have few doubts in it, could any one clarify it...All the steps seems to be fine.
Moving OCR
1) create mount point(new san - /u05) in all nodes
2) precreate ocr files in new mount points (i am not sure how to do it? is it just touch and filename, its a ocfs2 file system)on ocfs you need to create file as below :
dd if=/dev/zero of=/ocfs/OCR/ocrnew.dbf bs=1M count=128
Also I would suggest to have a look at :
'ocrconfig -replace ocr' Fails With PROT-16 [ID 444757.1]
RAC Assurance Support Team: RAC Starter Kit and Best Practices (Linux) [ID 811306.1]
Regards
Rajesh -
I need to know how to save my photos to a disk for a client in the order I changed them while working on them. I photographed a party with another photographer and joined both photographers photos. Now I want to keep them in the order the event took place and how I rearranged them.
The exported photos will show on the disk like any sequence of files, sorted by date, name, filetype, etc. To help your client to sort them according to your sequence, rename the files and append a sequence number. You can rename them on export by using an export preset, for example the name format "Custom name with index". That will append a number to the filename, according to the position in the album you are exporting.
-
RHEL4 U5 x64.
2 LUNs. OCR and VOTE, each LUN with 4 paths.
I have configured device mapper, assigned the alisas name to the LUNs, and mapped to the raw, modified udev with rules and permissions.
In clusterware installation, when it asks root.sh, it fails with bellow error.
# sh /u01/crs/10gr2/root.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration
I have followd the document and applied the patch 4679769, but no use, still same error.
What is the issue, what i am missing ?Please check permission on your files (OCR,Voting), "oracle" os user can read:
Example:
$ cat /etc/sysconfig/rawdevices
#Oracle OCR File
/dev/raw/raw1 /dev/sda2
#Oracle Voting File
/dev/raw/raw2 /dev/sda3I have mapped OCR at /dev/raw/raw1 and Voting /dev/raw/ra
and then
$ ls -l /dev/raw/raw1
crw-rw---- 1 root oinstall 162, 1 Jan 13 12:44 /dev/raw/raw1
$ ls -l /dev/raw/raw2
crw-rw---- 1 oracle oinstall 162, 2 Jan 13 12:44 /dev/raw/raw2Please post your files permission. If oracle can not ... (use "chown" to change from root user) $ chown root:oinstall /dev/raw/raw1
If you everything ok about permission... Please post more about Error ;)
Maybe you are looking for
-
How to update software without wi-fi? It shows message that first connect to wi-fi then update even if I have 3G net on my phone i5.
-
Hi all, Just looking for some opinions please. My partner has a Samsung soul phone which she hates, and she likes the idea of an iphone, as I have had one for a year now and rave about it constantly. She has a laptop, and loves music, so uses itunes
-
Printing in Mail Cutting last line on page in half
I have a friend, using a Macbook Pro 15", who has noticed since the last upgrade to 10.9.4 that whenever he prints a multi page document in OS X mail that the last line on the page prints half on one page and half on the next. Default paper size is
-
Need to transfer/migrate production server from HP-Unix to SuseLinux 11.5
Background : We are having ECC 6.0 running on HP Unix What we need to do : want to migrate the entire production application to a new server under o/s SuseLinux 11.5 certified by SAP AG What we are doing : there is a utility called Software Developer
-
Serial to parallel converter in labview
Hi. Does anybody know how to convert serial data to parallel data using labview? I already used shift registers but it's not working.