- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Create logical voulme on ASM with MC/SG cluste...
Operating System - HP-UX
1753499
Members
4434
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 08:42 AM
тАО02-01-2011 08:42 AM
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 08:51 AM
тАО02-01-2011 08:51 AM
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
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 12:42 PM
тАО02-01-2011 12:42 PM
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...
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:21 PM
тАО02-01-2011 02:21 PM
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.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP