Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add the raw devices

SOLVED
Go to solution
Galal
Advisor

How to add the raw devices

hostname : hp_data1

Machine Model : 9000/800/rp7410

MACHINE_SERIAL :DEH44145P3

VG Name /dev/vgora
VG Write Access read/write
VG Status available, shared, client
PE Size (Mbytes) 4
Free PE 18475

hostname:hp_data2

Machine Mdoel : 9000/800/rp7410

MACHINE_SERIAL : DEH44145P4

--- Volume groups ---
VG Name /dev/vgora
VG Write Access read/write
VG Status available, shared, server
PE Size (Mbytes) 4
Free PE 18475

under volume group /dev/vgora we have to create two raw files
1./dev/vgora/rmosa_raw_ac_i_2_2gb
2. /dev/vgora/rmosa_raw_sa_2_3gb
The main issue regarding this volume group is:
Is it shared?can we directly create the logical volume?have we to shutdown all packages currently running, Service Guard etc...????
Is it a lengthy procedure and highly sensitive???
2 REPLIES

Re: How to add the raw devices

Well your clue here is:
MACHINE_SERIAL :DEH44145P3
VG Status available, shared, client <<<<
MACHINE_SERIAL : DEH44145P4
VG Status available, shared, server <<<<

So thsi IS a shared VG, using SLVM.
To make any changes on this VG you will have to shutdown at least one of the packages, possibly both, depending on whether you have the correct OS and/or patches for SNOR (Single Node Online Reconfiguration).

Take as read of this document:
http://docs.hp.com/en/7389/LVM_SNOR_whitepaper.pdf
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Hasan Atasoy
Honored Contributor
Solution

Re: How to add the raw devices

hi galal;

1. stop oracle on both side.
2. "crsctl stop crs" on both side. to stop oracle clusterware.
3. vgchange -a n vgora on second node.
4. vgchange -a n vgora on first node.
5. vgchange -a e vgora on first node.
6. lvcreate -n mosa_raw_ac_i_2_2gb -L 2048 vgora
7. lvcreate -n mosa_raw_sa_2_3gb -L 3072 vgora
8. vgexport -p -v -s -m /tmp/vgora.map vgora
9. rcp /tmp/vgora.map hp_data2:/tmp/
10. in socond node.
11. ll /dev/vgora/group ( note group minor number . let say 0x0?0000)
12. vgexport vgora
13. mkdir /dev/vgora
14. mknod /dev/vgora/group c 64 0x0?000 ( previously noted minor number )
15. vgimport -v -s -m /tmp/vgora.map vgora
16. vgchange -a n vgora ( on both node )
17. vgchange -a s vgora ( on both node )
18. crsctl start crs
19. start oracle


check please for writing mistakes.
and please assign points.