RAC 10gR2 Specifying the shared logical Volumes for OCR and Vote Disks

  • From: Naqi Mirza <naqimirza@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 19 Jan 2007 10:11:47 -0800 (PST)

Hi,
Most of my rac deployments have been either over ocfs or qfs - basically 
cluster filesystems. So with this deployment of RAC 10gR2 on HP-UX, with shared 
logical volumes for the clusterware files (ocr and vote), I need a bit of help 
- if possible.
Ok, that said, here are the details:
.

1. HP-UX 11.23 (PA-RISC) 64 Bit
2. HP  Serviceguard Extensions for RAC 11.17
3. Oracle RDBMS 10.2.0.2
4. Database  storage to be deployed using SLVM over ASM
.
We basically have a volume group configured for the oracle clusterware files: 
VG_RAC_CRS
Now, This volume group contains two logical  volumes one for the ocr and the 
other for the vote disk. The confusion I have is if i 'cd' into this volumes 
group as follows:
.
cd /dev/vg_rac_crs 
The 'ls -l' command shows 4 files, a combination of block and character files  
for each type of file (ocr and vote). An 'ls' listing of this is as  follows:
.
# ls -l
total 0
crw-r--r--   1 root       sys         64 0x080000 Jan 11 18:30 group
brw-r-----   1 root       sys         64  0x080002 Jan 11 18:32 lv_rac_crs_ocr
brw-r-----   1 root       sys         64  0x080001 Jan 11 18:32 lv_rac_crs_vote
crw-rw----   1 oracle     dba         64  0x080002 Jan 11 18:32 rlv_rac_crs_ocr
crw-rw----   1 oracle     dba         64  0x080001 Jan 11 18:32 rlv_rac_crs_vote
.
Lets take the OCR files only (since  the same will apply to the vote disk). 
Which of the above files do i need to  specify for my ocr storage? Is it the 
block or character file? 
The block file  is called: lv_rac_crs_ocr
Whereas the character file is  named: rlv_rac_crs_ocr
Which one do I need to specify for the ocr file?
Note, I did initially go with the rlv_rac_crs_ocr file, taking it as the shared 
raw logical volume (the initial r had me at hello). Now when I used this, the 
install proceeded fine on the first node. However when it came to running the 
root.sh on the second node, i received the following message:
.
cp: /dev/vg_rac_crs/rlv_rac_crs_ocr no such device or address
.
Thing is, the output I have listed above is from the first node - however if i 
perform the same, on the second node (where the error occurred the same 
/dev/vg_rac_crs/rlv_rac_crs_ocr is found. 
Now I did run the SAM utility on the first node and found that the volume group 
vg_rac_crs was shown as mounted there. However when I ran SAM on the other 
node, it did not show this volume group as mounted. Could this be the issue? 
Not being a sysadmin it could be that SAM is not clusteraware and therefore 
only shows one group mounted from one node (this doesn't sound right, but sure 
i can be wrong).
.
Finally, I did also try using /dev/vg_rac_crs/lv_rac_crs_ocr, and the oui 
stoopped with a message stating I need to specify a shared device - which i 
guess solves the confusion over which type of file to use.
So any help with the above would be much appreciated.
Thanks

Naqi



        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

Other related posts:

  • » RAC 10gR2 Specifying the shared logical Volumes for OCR and Vote Disks