- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New on SAN
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
тАО12-07-2006 12:51 AM
тАО12-07-2006 12:51 AM
We run on two rp4440-2 HP-UX 11.11 (v1) with MC/SG 11.16 in a cluster.
We are connected to a SAN:
- IBM DS4800 (SAN)
- SATA disks
- Cisco MDS 9216i (switch)
- HP A6795A Fibre Channel PCI XL2 Adapter
I am new to a san, so we have a question.
a. We installed on the two clusternodes, per node, two FC HBA's;
b. Configured them on the SAN;
c. Then there is a LUN created;
d. insf -e (discoverd the FC HBA's and LUN)
e. Create a VG (LVM).
Now we see on node-1:
- /dev/dsk/c12t0d0 (pri)
- /dev/dsk/c16t0d0 (alt).
Now we see on node-2:
- /dev/dsk/c12t0d0 (pri)
- /dev/dsk/c15t0d0 (alt).
QEUSTION:
How to keep all disk device files, of a VG using a SAN LUN, equal on all nodes in a cluster?
Is there a "best practice" solution?
Regards,
CvB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 01:14 AM
тАО12-07-2006 01:14 AM
Solutioninsf -C disk
discovers disk.
If you want th pathes to be the same the HBA needs to be in the same slot with the same scsi id, though on older scsi this could make problems fo rhte shared storage.
The device files do not need to be equal.
If you want them to be equal,you will need to follow the guidelines above and renumber hardware instance, which is a bit dangerous.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726164
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1033544
SEP
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
тАО12-07-2006 01:28 AM
тАО12-07-2006 01:28 AM
Re: New on SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 03:18 AM
тАО12-07-2006 03:18 AM
Re: New on SAN
What to do as in the /etc/lvmtab the pri and alt disk's are not in the same order on all nodes?
In "man vgimport" they say:
"Do a vgreduce and than a vgextend.
But this can't be done without having the VG connected in RW mode.
How to do this, in a MCSG configuration of two nodes, on the node where the VG in NOT active?
Regards,
CvB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 03:54 AM
тАО12-07-2006 03:54 AM
Re: New on SAN
follows all the steps to create vgs and to configure in the SG in first node executes: to mkdir /dev/vgxx mknod /dev/vgxx/group c 64 0x00001 vgcreate /dev/vgxxx /dev/dsk/cxtxxxx vgexport -s -p -m /tmp/vgxx.map /dev/vgxxx RCP -rp /tmp/vgxx.map node2: /tmp in node2 it executes the following commands: to mkdir /dev/vgxx
mknod /dev/vgxx/group 0x00001 c 64
vgimport -s -m /tmp/vgxx.map /dev/vgxx
it configures scripts of the package to mount and to disassemble they filesystem them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 06:25 PM
тАО12-07-2006 06:25 PM
Re: New on SAN
Yep, that's what we do for some years already, BUT...
The order of the /dev/dsk/cxtxdx devices in the /etc/lvmtab differs between the two nodes.
Because the order of the devices are random after the ├в vgimport├в ?
This can be a problem if the alternate device is first in order than the primary device in the case of a SAN lun?
Right or not right?
Regards,
CvB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 11:35 PM
тАО12-07-2006 11:35 PM
Re: New on SAN
this not and a problem therefore in the record this marked the area of VGRA that marks which VG the record belongs. then the CDT does not matter to be different
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 12:47 PM
тАО12-08-2006 12:47 PM
Re: New on SAN
Use vgexport/vgimport with -f
OR
Simply specify PV paths on the command line to vgimport (you only have two PVs).
There is no need to use vgexport/vgimport -s option.
Once you import the volume group on the adoptive node you can activate it in read-only mode and check that PV paths are in the right order.
# vgchange -a r
# vgdisplay -v
# vgcfgbackup
# vgchange -a n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 02:14 AM
тАО12-12-2006 02:14 AM
Re: New on SAN
I know now how to handle.
Regards,
CvB.