- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RAW disk partion on HP UX
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО06-24-2010 12:01 AM
тАО06-24-2010 12:01 AM
RAW disk partion on HP UX
I have two HP rx 3300 boxes with OS HP UX B 11.31 & I need to create following raw disk partion to be used for Oracle RAC installation
1 GB( 5 nos)
2 GB(10 nos)
& these partions to be sahred over both nodes
I have 2 146 GB RAW disk each mounted on every box which I can use for above slices.
Can you please tell me how can I create partions over raw disks & use them as a shared storage.
Thanks in advance
Regards
Saransh Soni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 12:58 AM
тАО06-24-2010 12:58 AM
Re: RAW disk partion on HP UX
You will have to use LVM here...
LVM is the default file system administration tool in HPUX.
Firstly, you will have to create physical volumes to write the LVM hearders on to the physical/raw disks that you have.
then create a volume group using those PVs. Hence you will have 2*146= 292GB volume groups on both servers.
Within these volume groups you can create your logical volumes as needed. Create 15 logical volumes (i.e. 5 LVs of size 1gb and 10LVs of size 2GB)
Finally create a filesystem on these LVs and mount them.
Hence the order would be
insf
pvcreate
mknod
vgcreate
lvcreate
newfs
mount
For detailed info about LVM refer
http://docs.hp.com/en/5187-0701/ch04s01.html
Regards,
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 01:11 AM
тАО06-24-2010 01:11 AM
Re: RAW disk partion on HP UX
you cannot share that Raw Partitions on both boxes because, each system having separate hard disk and if you want share the same Raw Partitions you have to use some storage boxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 02:25 AM
тАО06-24-2010 02:25 AM
Re: RAW disk partion on HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 12:02 PM
тАО06-24-2010 12:02 PM
Re: RAW disk partion on HP UX
You need to use lvm to create your disk areas (raw, with no filesystem format), and mark them as shared (pvchange). And then just mount them on both servers.
Orrrr, you can just skip lvm altogether if you just want to present the LUNs on both machines, but don't want to "partition" the drives and use them entirely as whole disks. That's what lvm is for - to "partition" the drives, but it's more than that, it can also take multiple disk areas and combine them into one disk area for presentation in an lvol. Meaning you could use parts of a disk to present as a volume, or you can use multiple disks to present as one volume, or you can use parts of many disks and then take just those parts and present them as one volume.
To summarize: if you want raw volumes to multiple machines just present them to each server. If you want to use this disks in various ways and slice/dice/join them present them to each system, and then use lvm to use them (as shared) and slice them up. Both of these two choices mean that you're NOT using a filesystem, and that the volumes are RAW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 03:03 AM
тАО06-25-2010 03:03 AM
Re: RAW disk partion on HP UX
Using internal disks does not really make sense for such cluster.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 09:18 AM
тАО06-25-2010 09:18 AM
Re: RAW disk partion on HP UX
For setup oracle rack you need something like this.
First you need shared disks presented to both servers
Then you need your to create your phisycal volumes
- pvcreate -B /path_to_the_disks
Then you need to create your VG's
- vgcreate /dev/vg_name /dev/dsk/disk1 /dev/dsk/disk2 etc
Then you need to create your raw devices
- lvcreate -L lvol_size -n raw_device_name /dev/vg_name
Then you nee to active your vg em shared mode:
- vgchange -c y -S y /dev/vg_name
- vgchange -a s /dev/vg_name
If you need to setup a cluster with oracle rack you need to import the configuracion of the vg em the other node:
EX:
In the node 1 do
- vgexport -s -v -p -m /tmp/vg_name.map /dev/vg_name
- scp /tmp/vg_name.map node2:/tmp/vg_name.map
In the no 2
- mkdir /dev/vg_name
- mknod /dev/vg_name/group c 64 0x12000 ( the 12 is the corresponding number in the vg's id on node 1 in the directory /dev/vg_name/group
- vgimport /tmp/vg_name.map dev/vg_name
- at least vgchange a y /dev/vg_name
Best Regards.