Operating System - HP-UX
1753499 Members
4434 Online
108794 Solutions
New Discussion юеВ

Re: Create logical voulme on ASM with MC/SG cluster

 
Kwahae_1
Regular Advisor

Create logical voulme on ASM with MC/SG cluster

Please help. I am trying to create an ASM logical volume on a two node MC/ServiceGuard Cluster. I need to create an ASM logical volume eg /dev/vgocsdb/lvfvo with size of 150GB. What commands do I use on both nodes to do this?

Thanks in advance.

vgdisplay output:

ocsdb1:/>vgdisplay -v vgocsdb
--- Volume groups ---
VG Name /dev/vgocsdb
VG Write Access read/write
VG Status available, shared, client
Max LV 255
Cur LV 3
Open LV 3
Max PV 255
Cur PV 2
Act PV 2
Max PE per PV 12800
VGDA 4
PE Size (Mbytes) 32
Total PE 14396
Alloc PE 9407
Free PE 4989
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- ---

ocsdb2 Server
ocsdb1 Client

--- Logical volumes ---
LV Name /dev/vgocsdb/crs
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgocsdb/vote
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1

LV Name /dev/vgocsdb/vgocsdb
LV Status available/syncd
LV Size (Mbytes) 300000
Current LE 9375
Allocated PE 9375
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c16t0d0
PV Name /dev/dsk/c17t0d0 Alternate Link
PV Name /dev/dsk/c18t0d0 Alternate Link
PV Name /dev/dsk/c19t0d0 Alternate Link
PV Status available
Total PE 9598
Free PE 191
Autoswitch On

PV Name /dev/dsk/c16t0d1
PV Name /dev/dsk/c19t0d1 Alternate Link
PV Name /dev/dsk/c18t0d1 Alternate Link
PV Name /dev/dsk/c17t0d1 Alternate Link
PV Status available
Total PE 4798
Free PE 4798
Autoswitch On
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Create logical voulme on ASM with MC/SG cluster

Shalom,

My limited understanding of Oracle ASM is you don't do any of the above process.

You merely have the disk presented by the SAN, make sure both(or all) nodes have access, and carefully use ioscan/insf to recognize the disk. Change the ownership of the devices to the oracle/dba(app owner whatever it is in your shop).

Don't insf -e

This will change permissions on existing Oracle ASM containers and take down your database.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alzhy
Honored Contributor

Re: Create logical voulme on ASM with MC/SG cluster

You simply create the logical volume on the active node just like you would on any SG/CLuster.. then propagate the map over and vgimport(?) on the other node.

So you are using the ASM on LVM Logical raw volumes recipe eh? May I know what kind of SAN Array are you using?

There is one worrisome config that I observ in your post though... Just like ASM on VxVM volumes recipe -- best practice is to have each LVOL reside wholly on one PV and not span or concat to the other PVs. Hopefully it's not much of a drag in your configuration but Oracle specifically has that best practice as doing so adds the volume manager (LVM/VxVM) as a drag to ASM...

Hakuna Matata.
Kwahae_1
Regular Advisor

Re: Create logical voulme on ASM with MC/SG cluster

Using Clarrion CX700 SAN Array and both nodes are active so how I Ivcreate on active nodes? Thanks for the best practice tip.