Sponsored Content
Operating Systems HP-UX Getting multipath information Post 302974756 by Peasant on Friday 3rd of June 2016 12:17:32 AM
Old 06-03-2016
Probably the most important information is HPUX version.

In 11.31 (HPUXv3), HP introduced agile multipath naming (/dev/disk/diskN), which represents a multipath device.

On v3 all you need is :
ioscan -m rsf

If you see multiple devices (cXtXdX - depending on SAN configuration, number of storage ports exposed etc.) for one /dev/disk/diskN in the output your multipath works.
You will use agile device name in your configuration (/dev/[r]disk/diskN).

In older releases, as vbe mentioned, multiple device files will represent one LUN from storage in older format (cXtXdX).
You must use all devices in your configuration to be multipath-ed.

Hope that helps
Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. Solaris

Software Multipath

Hello everybody... I have a Server conected to a Disk Array through 2 canals of FiberChannel... I've installed RedHat Advance Server 3 and of course i see two device files that refer the same disk: for example: /dev/sda and /dev/sdb are refered to the same Lun... This is the same case for a new... (2 Replies)
Discussion started by: lenux78
2 Replies

2. UNIX for Dummies Questions & Answers

Linux Multipath Enhancement

Hi.. when i delete a Lun from a Array on a SAN, and again when i create a Lun it shows that the newly created Lun has the ID of the Old deleted Lun which is leading to data corruption. All this is handled by the Multipath software. can anybody help. (0 Replies)
Discussion started by: Praveen13
0 Replies

3. Red Hat

how to combine nics for DM Multipath

I don't undestand how to combine 4 nics in order to use DM Multipath. Do I have to install each nic with its IP address? If yes, do I need a group IP address? This concept is not clear for me. The connection beetwen the server (DELL Poweredge T710) and the SAN through iscsi works well, I used... (1 Reply)
Discussion started by: gnupinux
1 Replies

4. Red Hat

Help with Multipath

Hi All, When I execute multipath -ll command that time display only 3 path (mpath1,mpath2 and mpath5), not display other 2 path (mpath3 and mpath4). I have configure 5 path in /etc/multipath.conf file. What is the reason behind it. Please help me. Please find below the output : ... (5 Replies)
Discussion started by: mnmonu
5 Replies

5. Red Hat

Help with Multipath

Hi All, When I execute "multipath -ll" command that time display only 3 path (orafra2,oradata2 and oradata1), not display other 2 path (orafra1 and data1). I have configure 5 path in "/etc/multipath.conf" file. What is the reason behind it. Please help me. Please find below some output for... (4 Replies)
Discussion started by: mnmonu
4 Replies

6. Ubuntu

Multipath-Tools

Hello, i have a problem with the multipath tools configuration. i can't remove the local disk paths. the multipath.conf archives configuration is: --------------------------------------------------------- $ cat /etc/multipath.conf blacklist{ devnode cciss devnode fd ... (0 Replies)
Discussion started by: FeeII
0 Replies

7. Red Hat

Question about multipath

hi, I've a question about multipath. One server uses this configuration: mpath02 (3600d000ff0d510cae5b8df4d01000000) dm-2 FSC,FibraCAT_SX \_ round-robin 0 \_ 0:0:3:2 sdq 8:64 \_ round-robin 0 \_ 1:0:2:2 sdw 8:160 \_ round-robin 0 \_ 1:0:5:2 sde 65:16 \_ round-robin... (0 Replies)
Discussion started by: davyp74
0 Replies

8. Red Hat

Multipath Query

Hi, I am running RHEL6 on a physical node (HP Proliant). If it normal for the root device to get listed in the "multipath -ll" output? (Listed below as dm-4, HP LOGICAL VOLUME). i.e. asm-data (360a98000424a414b453f443548503644) dm-3 NETAPP,LUN size=768G features='4 queue_if_no_path... (0 Replies)
Discussion started by: Duffs22
0 Replies

9. UNIX for Advanced & Expert Users

Different multipath softwares for RAC

Hi, I have a RAC installation on 2 solaris 11 nodes. (With ASM) Disks' mpath are managed by EMC Powerpath on both nodes. I want to migrate mpath software to Solaris multipath without downtime. My plan is first migrate node1 to solaris mpath, then after some days migrate node2 to sol.mpath. My... (5 Replies)
Discussion started by: vlkkck
5 Replies

10. Red Hat

Multipath configuration not being detected

Hi, In a RHEL 5 box, I have just added new multipath configurations in /etc/multipath.conf : blacklist_exceptions { wwid "360002ac0000000000000008e0001ee00" wwid "360002ac0000000000000008f0001ee00" wwid "360002ac000000000000000900001ee00" wwid... (0 Replies)
Discussion started by: anaigini45
0 Replies
GMULTIPATH(8)						    BSD System Manager's Manual 					     GMULTIPATH(8)

NAME
gmultipath -- disk multipath control utility SYNOPSIS
gmultipath create [-ARv] name prov ... gmultipath label [-ARv] name prov ... gmultipath configure [-APRv] name gmultipath add [-v] name prov gmultipath remove [-v] name prov gmultipath fail [-v] name prov gmultipath restore [-v] name prov gmultipath rotate [-v] name gmultipath prefer [-v] name prov gmultipath getactive [-v] name gmultipath destroy [-v] name gmultipath stop [-v] name gmultipath clear [-v] prov ... gmultipath list gmultipath status gmultipath load gmultipath unload DESCRIPTION
The gmultipath utility is used for device multipath configuration. The multipath device can be configured using two different methods: ``manual'' or ``automatic''. When using the ``manual'' method, no meta- data are stored on the devices, so the multipath device has to be configured by hand every time it is needed. Additional device paths also won't be detected automatically. The ``automatic'' method uses on-disk metadata to detect device and all it's paths. Metadata use the last sector of the underlying disk device and include device name and UUID. The UUID guarantees uniqueness in a shared storage environment but is in general too cumbersome to use. The name is what is exported via the device interface. The first argument to gmultipath indicates an action to be performed: create Create multipath device with ``manual'' method without writing any on-disk metadata. It is up to administrator, how to properly identify device paths. Kernel will only check that all given providers have same media and sector sizes. -A option enables Active/Active mode, -R option enables Active/Read mode, otherwise Active/Passive mode is used by default. label Create multipath device with ``automatic'' method. Label the first given provider with on-disk metadata using the specified name. The rest of given providers will be retasted to detect these metadata. It reliably protects against specifying unrelated providers. Providers with no matching metadata detected will not be added to the device. -A option enables Active/Active mode, -R option enables Active/Read mode, otherwise Active/Passive mode is used by default. configure Configure the given multipath device. -A option enables Active/Active mode, -P option enables Active/Passive mode, -R option enables Active/Read mode. add Add the given provider as a path to the given multipath device. Should normally be used only for devices created with ``manual'' method, unless you know what you are doing (you are sure that it is another device path, but tasting its metadata in regular ``automatic'' way is not possible). remove Remove the given provider as a path from the given multipath device. If the last path removed, the multipath device will be destroyed. fail Mark specified provider as a path of the specified multipath device as failed. If there are other paths present, new requests will be forwarded there. restore Mark specified provider as a path of the specified multipath device as operational, allowing it to handle requests. rotate Change the active provider/path to the next available provider in Active/Passive mode. prefer Change the active provider/path to the specified provider in Active/Passive mode. getactive Get the currently active provider(s)/path(s). destroy Destroy the given multipath device clearing metadata. stop Stop the given multipath device without clearing metadata. clear Clear metadata on the given provider. list See geom(8). status See geom(8). load See geom(8). unload See geom(8). SYSCTL VARIABLES
The following sysctl(8) variable can be used to control the behavior of the MULTIPATH GEOM class. kern.geom.multipath.debug: 0 Debug level of the MULTIPATH GEOM class. This can be set to 0 (default) or 1 to disable or enable various forms of chattiness. kern.geom.multipath.exclusive: 1 Open underlying providers exclusively, preventing individual paths access. EXIT STATUS
Exit status is 0 on success, and 1 if the command fails. MULTIPATH ARCHITECTURE
This is a multiple path architecture with no device knowledge or presumptions other than size matching built in. Therefore the user must exercise some care in selecting providers that do indeed represent multiple paths to the same underlying disk device. The reason for this is that there are several criteria across multiple underlying transport types that can indicate identity, but in all respects such identity can rarely be considered definitive. For example, if you use the World Word Port Name of a Fibre Channel disk object you might believe that two disks that have the same WWPN on different paths (or even disjoint fabrics) might be considered the same disk. Nearly always this would be a safe assumption, until you real- ize that a WWPN, like an Ethernet MAC address, is a soft programmable entity, and that a misconfigured Director Class switch could lead you to believe incorrectly that you have found multiple paths to the same device. This is an extreme and theoretical case, but it is possible enough to indicate that the policy for deciding which of multiple pathnames refer to the same device should be left to the system operator who will use tools and knowledge of their own storage subsystem to make the correct configuration selection. There are Active/Passive, Active/Read and Active/Active operation modes supported. In Active/Passive mode only one path has I/O moving on it at any point in time. This I/O continues until an I/O is returned with a generic I/O error or a "Nonexistent Device" error. When this occurs, that path is marked FAIL, the next path in a list is selected as active and the failed I/O reissued. In Active/Active mode all paths not marked FAIL may handle I/O same time. Requests are distributed between paths to equalize load. For capable devices it allows to utilize bandwidth of all paths. In Active/Read mode all paths not marked FAIL may handle reads same time, but unlike Active/Active only one path handles write requests at any point in time. It allows to closer follow original write request order if above layer needs it for data con- sistency (not waiting for requisite write completion before sending dependent write). When new devices are added to the system the MULTIPATH GEOM class is given an opportunity to taste these new devices. If a new device has a MULTIPATH on-disk metadata label, the device is used to either create a new MULTIPATH GEOM, or been added the list of paths for an existing MULTIPATH GEOM. It is this mechanism that works reasonably with isp(4) and mpt(4) based Fibre Channel disk devices. For these devices, when a device disap- pears (due e.g., to a cable pull or power failure to a switch), the device is proactively marked as gone and I/O to it failed. This causes the MULTIPATH failure event just described. When Fibre Channel events inform either isp(4) or mpt(4) host bus adapters that new devices may have arrived (e.g., the arrival of an RSCN event from the Fabric Domain Controller), they can cause a rescan to occur and cause the attachment and configuration of any (now) new devices to occur, causing the taste event described above. This means that this multipath architecture is not a one-shot path failover, but can be considered to be steady state as long as failed paths are repaired (automatically or otherwise). Automatic rescanning is not a requirement. Nor is Fibre Channel. The same failover mechanisms work equally well for traditional "Parallel" SCSI but may require manual intervention with camcontrol(8) to cause the reattachment of repaired device links. EXAMPLES
The following example shows how to use camcontrol(8) to find possible multiple path devices and to create a MULTIPATH GEOM class for them. mysys# camcontrol devlist <ECNCTX @WESTVILLE > at scbus0 target 0 lun 0 (da0,pass0) <ECNCTX @WESTVILLE > at scbus0 target 0 lun 1 (da1,pass1) <ECNCTX @WESTVILLE > at scbus1 target 0 lun 0 (da2,pass2) <ECNCTX @WESTVILLE > at scbus1 target 0 lun 1 (da3,pass3) mysys# camcontrol inquiry da0 -S ECNTX0LUN000000SER10ac0d01 mysys# camcontrol inquiry da2 -S ECNTX0LUN000000SER10ac0d01 Now that you have used the Serial Number to compare two disk paths it is not entirely unreasonable to conclude that these are multiple paths to the same device. However, only the user who is familiar with their storage is qualified to make this judgement. You can then use the gmultipath command to label and create a MULTIPATH GEOM provider named FRED. gmultipath label -v FRED /dev/da0 /dev/da2 disklabel -Brw /dev/multipath/FRED auto newfs /dev/multipath/FREDa mount /dev/multipath/FREDa /mnt.... The resultant console output looks something like: GEOM_MULTIPATH: da0 added to FRED GEOM_MULTIPATH: da0 is now active path in FRED GEOM_MULTIPATH: da2 added to FRED SEE ALSO
geom(4), isp(4), mpt(4), loader.conf(5), camcontrol(8), geom(8), mount(8), newfs(8), sysctl(8) AUTHORS
Matthew Jacob <mjacob@FreeBSD.org> Alexander Motin <mav@FreeBSD.org> BSD
April 18, 2012 BSD
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy