- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: AutoRAID setup - luns, volume group
Disk Enclosures
1748289
Members
3090
Online
108761
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
Go to solution
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
тАО05-06-2003 11:31 AM
тАО05-06-2003 11:31 AM
I have a K460/AutoRAID12H setup. The 12H has 9GB drives, hot spare, dual HSC SCSI controllers. It will be hosting an Oracle 8.1.6 database.
I set up the box following info from messages posted here.
I set up two LUNs of 22MB each. I'm stuck on how best to proceed.
In SAM I went to Disk and File Systems. I highlighted both LUNs and selected create volume group using LVM.
A post from another thread said to create one volume group and three logical volumes striping the disks and using alternate paths.
Can I do that from SAM or do I need to use the shell? My concern is getting the alternate hardware paths correct for maximum performance.
I set up the box following info from messages posted here.
I set up two LUNs of 22MB each. I'm stuck on how best to proceed.
In SAM I went to Disk and File Systems. I highlighted both LUNs and selected create volume group using LVM.
A post from another thread said to create one volume group and three logical volumes striping the disks and using alternate paths.
Can I do that from SAM or do I need to use the shell? My concern is getting the alternate hardware paths correct for maximum performance.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 01:37 PM
тАО05-06-2003 01:37 PM
Solution
Forget SAM, use the command line. The real key is to create 2 LUN's (as you have done). LUN0's primary path should be through Controller X (alternate Y) and LUN1's primary path should be through Controller Y (alternate X).
The number of LVOL's is up to you but I would go with at least two. One for datafiles and indices and the other for redo/archivelogs.
Stripe across both LUN's in 64K chunks. This will fully utilize both external SCSI paths.
How to create a logical volume group on an AutoRAID with striping across 2 LUN???s
This will create a logical volume group that will strip across LUN???s and use both the X and Y controllers. The key is to set up 2 equally sized LUN???s on the AutoRAID. For our purposes these will be LUN 0 and LUN 1 each 64GB in size for a total volume group of 128GB. Controller X is assigned a SCSI address of 0 and Y is assigned a SCSI address of 1.
Node Primary Path Alternate Device LUN Size (MB)
Wile /dev/dsk/c8t0d0 /dev/dsk/c9t1d0 0 64000
Wile /dev/dsk/c9t1d1 /dev/dsk/c8t0d1 1 64000
Prepare to create a volume group vg06 on the node ???wile???.
umask 022
cd /dev
mkdir vg06
chmod 755
cd vg06
mknod group c 64 0x060000
Create two physical volumes using the above LUN???s.
pvcreate /dev/rdsk/c8t0d0
pvcreate /dev/rdsk/c9t1d1
Create the vg06 volume group using LUN 0 and activate it.
vgcreate /dev/vg06 /dev/dsk/c8t0d0 /dev/dsk/c9t1d0
vgchange -a y /dev/vg06
Extend volume group vg06 by adding LUN 1.
vgextend /dev/vg06 /dev/dsk/c9t1d1 /dev/dsk/c8t0d1
Make new logical volumes striping across 2 devices with 64K blocking.
lvcreate -i2 -I64 -L 60000 -n lvol1 /dev/vg06
lvcreate -i2 -I64 -L 12000 -n lvol2 /dev/vg06
lvcreate -i2 -I64 -L 3000 -n lvol3 /dev/vg06
(Unused blocks are available for future use.)
Make filesystems for the three logical volumes.
newfs -F vxfs /dev/vg06/rlvol1
newfs -F vxfs /dev/vg06/rlvol2
newfs -F vxfs /dev/vg06/rlvol3
Make mountpoints for the three filesystems.
mkdir -p -m 755 /PrdOra/oradata
mkdir -p -m 755 /PrdOra/oradata2
mkdir -p -m 755 /PrdOra/app
Mount the three newly created filesystems.
mount -F vxfs /dev/vg06/lvol1 /PrdOra/oradata
mount -F vxfs /dev/vg06/lvol2 /PrdOra/oradata2
mount -F vxfs /dev/vg06/lvol3 /PrdOra/app
Make a backup of the volume group configuration.
vgcfgbackup /dev/vg06
You should also make /etc/fstab entries for these filesystems.
If you are running 11.0, I would mount the datafiles/indices with convosync=direct,mincache=direct,nodatainlog
but if you are running 11.11, I would run "cooked" files for everything.
The number of LVOL's is up to you but I would go with at least two. One for datafiles and indices and the other for redo/archivelogs.
Stripe across both LUN's in 64K chunks. This will fully utilize both external SCSI paths.
How to create a logical volume group on an AutoRAID with striping across 2 LUN???s
This will create a logical volume group that will strip across LUN???s and use both the X and Y controllers. The key is to set up 2 equally sized LUN???s on the AutoRAID. For our purposes these will be LUN 0 and LUN 1 each 64GB in size for a total volume group of 128GB. Controller X is assigned a SCSI address of 0 and Y is assigned a SCSI address of 1.
Node Primary Path Alternate Device LUN Size (MB)
Wile /dev/dsk/c8t0d0 /dev/dsk/c9t1d0 0 64000
Wile /dev/dsk/c9t1d1 /dev/dsk/c8t0d1 1 64000
Prepare to create a volume group vg06 on the node ???wile???.
umask 022
cd /dev
mkdir vg06
chmod 755
cd vg06
mknod group c 64 0x060000
Create two physical volumes using the above LUN???s.
pvcreate /dev/rdsk/c8t0d0
pvcreate /dev/rdsk/c9t1d1
Create the vg06 volume group using LUN 0 and activate it.
vgcreate /dev/vg06 /dev/dsk/c8t0d0 /dev/dsk/c9t1d0
vgchange -a y /dev/vg06
Extend volume group vg06 by adding LUN 1.
vgextend /dev/vg06 /dev/dsk/c9t1d1 /dev/dsk/c8t0d1
Make new logical volumes striping across 2 devices with 64K blocking.
lvcreate -i2 -I64 -L 60000 -n lvol1 /dev/vg06
lvcreate -i2 -I64 -L 12000 -n lvol2 /dev/vg06
lvcreate -i2 -I64 -L 3000 -n lvol3 /dev/vg06
(Unused blocks are available for future use.)
Make filesystems for the three logical volumes.
newfs -F vxfs /dev/vg06/rlvol1
newfs -F vxfs /dev/vg06/rlvol2
newfs -F vxfs /dev/vg06/rlvol3
Make mountpoints for the three filesystems.
mkdir -p -m 755 /PrdOra/oradata
mkdir -p -m 755 /PrdOra/oradata2
mkdir -p -m 755 /PrdOra/app
Mount the three newly created filesystems.
mount -F vxfs /dev/vg06/lvol1 /PrdOra/oradata
mount -F vxfs /dev/vg06/lvol2 /PrdOra/oradata2
mount -F vxfs /dev/vg06/lvol3 /PrdOra/app
Make a backup of the volume group configuration.
vgcfgbackup /dev/vg06
You should also make /etc/fstab entries for these filesystems.
If you are running 11.0, I would mount the datafiles/indices with convosync=direct,mincache=direct,nodatainlog
but if you are running 11.11, I would run "cooked" files for everything.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 02:50 PM
тАО05-06-2003 02:50 PM
Re: AutoRAID setup - luns, volume group
Thanks Clay. Your info from other posts is what path I've been trying to follow.
I used SAM to create the original luns, volume group, logical volume.
I was able to specify the stripe across both luns and block size of 64K. I think I have everything set up correctly.
I have:
hw-path #-paths vg-name size desc
8/0.1.0 2 vg10 22457 HP AutoRAID LUN
8/4.0.1 2 vg10 22457 HP AutoRAID LUN
lvdisplay -v /dev/vg10/lvp01 shows
PV Name LE on PV PE on PV
/dev/dsk/c5t1d0 512 512
/dev/dsk/c6t0d1 512 512
Is that enough info to tell if I got it right?
I used SAM to create the original luns, volume group, logical volume.
I was able to specify the stripe across both luns and block size of 64K. I think I have everything set up correctly.
I have:
hw-path #-paths vg-name size desc
8/0.1.0 2 vg10 22457 HP AutoRAID LUN
8/4.0.1 2 vg10 22457 HP AutoRAID LUN
lvdisplay -v /dev/vg10/lvp01 shows
PV Name LE on PV PE on PV
/dev/dsk/c5t1d0 512 512
/dev/dsk/c6t0d1 512 512
Is that enough info to tell if I got it right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 09:51 PM
тАО05-06-2003 09:51 PM
Re: AutoRAID setup - luns, volume group
Should be ok.
/dev/dsk/c5t1d0 512 512 ... HBA c5, Y, LUN 0
/dev/dsk/c6t0d1 512 512 ... HBA c6, X, LUN 1
Eugeny
/dev/dsk/c5t1d0 512 512 ... HBA c5, Y, LUN 0
/dev/dsk/c6t0d1 512 512 ... HBA c6, X, LUN 1
Eugeny
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