<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ioinit &amp;amp; VxVM devices in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986004#M616772</link>
    <description>I have given the procedure for the same in the below mentioned thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027043" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027043&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have a look. &lt;BR /&gt;</description>
    <pubDate>Tue, 20 Jun 2006 04:03:11 GMT</pubDate>
    <dc:creator>Mridul Shrivastava</dc:creator>
    <dc:date>2006-06-20T04:03:11Z</dc:date>
    <item>
      <title>ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4985998#M616766</link>
      <description>Hello! &lt;BR /&gt;&lt;BR /&gt;I've got two rx4640 with identical HW, using 4 paths to see LUNs on EVA.&lt;BR /&gt;&lt;BR /&gt;I used ioinit and now my HW addresses, Instance&lt;BR /&gt;numbers and devices files are synchronized, so&lt;BR /&gt;'ioscan -funC disk' gives me the same results on both machines, but with VxVM:&lt;BR /&gt;&lt;BR /&gt;#vxdisk list # first&lt;BR /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;BR /&gt;c5t0d1       auto:none       -            -            online invalid&lt;BR /&gt;c5t0d2       auto:none       -            -            online invalid&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;# vxdisk list # second&lt;BR /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;BR /&gt;c9t0d1       auto:none       -            -            online invalid&lt;BR /&gt;c9t0d2       auto:none       -            -            online invalid&lt;BR /&gt;&lt;BR /&gt;# vxdisk path # first&lt;BR /&gt;SUBPATH                     DANAME               DMNAME       GROUP        STATE&lt;BR /&gt;...&lt;BR /&gt;c5t0d1                      c5t0d1               -            -            ENABLED&lt;BR /&gt;c7t0d1                      c5t0d1               -            -            ENABLED&lt;BR /&gt;c9t0d1                      c5t0d1               -            -            ENABLED&lt;BR /&gt;c11t0d1                     c5t0d1               -            -            ENABLED&lt;BR /&gt;c5t0d2                      c5t0d2               -            -            ENABLED&lt;BR /&gt;c7t0d2                      c5t0d2               -            -            ENABLED&lt;BR /&gt;c9t0d2                      c5t0d2               -            -            ENABLED&lt;BR /&gt;c11t0d2                     c5t0d2               -            -            ENABLED&lt;BR /&gt;&lt;BR /&gt;# vxdisk path # second&lt;BR /&gt;SUBPATH                     DANAME               DMNAME       GROUP        STATE&lt;BR /&gt;...&lt;BR /&gt;c9t0d1                      c9t0d1               -            -            ENABLED&lt;BR /&gt;c5t0d1                      c9t0d1               -            -            ENABLED&lt;BR /&gt;c7t0d1                      c9t0d1               -            -            ENABLED&lt;BR /&gt;c11t0d1                     c9t0d1               -            -            ENABLED&lt;BR /&gt;c9t0d2                      c9t0d2               -            -            ENABLED&lt;BR /&gt;c5t0d2                      c9t0d2               -            -            ENABLED&lt;BR /&gt;c7t0d2                      c9t0d2               -            -            ENABLED&lt;BR /&gt;c11t0d2                     c9t0d2               -            -            ENABLED&lt;BR /&gt;&lt;BR /&gt;How do I fix that?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jun 2006 01:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4985998#M616766</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-06-19T01:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4985999#M616767</link>
      <description>Borut,&lt;BR /&gt;&lt;BR /&gt;I actually do not see what the issue is. &lt;BR /&gt;&lt;BR /&gt;You're using an EVA which is friendly to industry standard multi-pathing solutions like VxVM DMP right? Is this an EVA4/6/8K or an upgraded EVA 5K/3K?&lt;BR /&gt;&lt;BR /&gt;With VxVM, once your diskgroups (vxvm lingo for volume group)  are carved, ANY changes to cXtYdZ matters not as long as VxVM sees the members of the group. The "ordering" of which path is treated as "primary" in your listing from vxdisk list again matters not as VxVM DMP is "intelligent" enough to decide which is the primary due to its awareness of the innards of the array.&lt;BR /&gt;&lt;BR /&gt;Let me know if you still have issues.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jun 2006 09:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4985999#M616767</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2006-06-19T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986000#M616768</link>
      <description>Hello Borut,&lt;BR /&gt;&lt;BR /&gt;What you are seeing are the VXVM objects  which are in the VXVM database..generated against the iodevices.. if there is no data on the disks mentioned above, then you can remove them and initialize them again to reflect the new device files... else you can do the following&lt;BR /&gt;&lt;BR /&gt;# vxdg deport &lt;DGNAME&gt;&lt;BR /&gt;# vxdctl enable&lt;BR /&gt;# vxdisk list&lt;BR /&gt;# vxdg import &lt;DGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;This should help..else let me know...&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;albert&lt;/DGNAME&gt;&lt;/DGNAME&gt;</description>
      <pubDate>Mon, 19 Jun 2006 20:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986000#M616768</guid>
      <dc:creator>Albert_31</dc:creator>
      <dc:date>2006-06-19T20:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986001#M616769</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Sorry, guys, no issue here.&lt;BR /&gt;&lt;BR /&gt;Just wanted to know why VxVM chooses different&lt;BR /&gt;primary paths with two machines with completely&lt;BR /&gt;identical HW configuration ...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 00:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986001#M616769</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-06-20T00:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986002#M616770</link>
      <description>when did you do the ioinit procedure?</description>
      <pubDate>Tue, 20 Jun 2006 01:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986002#M616770</guid>
      <dc:creator>Albert_31</dc:creator>
      <dc:date>2006-06-20T01:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986003#M616771</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Well, Albert. I wanted to achieve device&lt;BR /&gt;euity between the two machines when creating&lt;BR /&gt;LVM group for lock disk. Just want some&lt;BR /&gt;discipline (perhaps sometimes in the&lt;BR /&gt;wrong places :-)  ).&lt;BR /&gt;&lt;BR /&gt;I also checked the disks with VxVM's tools&lt;BR /&gt;('vxdisk list') and I wanted to have the&lt;BR /&gt;same view there also, so I did the ioinit on&lt;BR /&gt;node 2 and synchronized disk instance numbers to HW addresses, then recreated device files&lt;BR /&gt;(insf)...&lt;BR /&gt;&lt;BR /&gt;VxVM still shows the same ...&lt;BR /&gt;&lt;BR /&gt;But what is interesting is that when I did &lt;BR /&gt;some tests to a CFS disk (without dmp), both nodes used the same path - c9t0d2&lt;BR /&gt;(vxdmpadm iostat).&lt;BR /&gt;&lt;BR /&gt;Of course, don't want to waste anybody's time, I was just curious how VxVM&lt;BR /&gt;picks the primary path... &lt;BR /&gt;&lt;BR /&gt;I know, I'll have some more reading to do&lt;BR /&gt;(RTFineM).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 03:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986003#M616771</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-06-20T03:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986004#M616772</link>
      <description>I have given the procedure for the same in the below mentioned thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027043" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027043&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have a look. &lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 04:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986004#M616772</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-06-20T04:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986005#M616773</link>
      <description>The ioconfig command provides the mapping between instance numbers used&lt;BR /&gt;by the kernel and the information the I/O system uses to communicate with&lt;BR /&gt;peripheral devices (hardware paths). Two copies are maintained&lt;BR /&gt;(/stand/ioconfig and /etc/ioconfig).&lt;BR /&gt;&lt;BR /&gt;At boot time the ioconfig information is stored in the io_tree kernel data&lt;BR /&gt;structure (see ioinit(1M)). The only purpose of the ioconfig is to maintain&lt;BR /&gt;configuration information when the system is not running. Even if hardware is&lt;BR /&gt;removed from the system all mappings keep in place. This guarantees that no&lt;BR /&gt;new device file names will appear after such changes. If removed hardware is&lt;BR /&gt;added back to the system the original mapping can be reused, since it is still&lt;BR /&gt;present in the ioconfig files.&lt;BR /&gt;&lt;BR /&gt;Usually we want to change mappings for disk and lan devices. For lan devices&lt;BR /&gt;we change directly the corresponding lan instance numbers. For disk devices we&lt;BR /&gt;need to take care of the ext_bus instance numbers. The numbers of&lt;BR /&gt;such 'External Busses' (aka card instances) are responsible for the 'c'&lt;BR /&gt;numbers being part of disk device names.&lt;BR /&gt;&lt;BR /&gt;Look at the following extract of an ioscan -fn:&lt;BR /&gt;&lt;BR /&gt;ext_bus 3 2/0/1 c720 CLAIMED INTERFACE Built-in SCSI&lt;BR /&gt;target 0 2/0/1.3 tgt CLAIMED DEVICE&lt;BR /&gt;target 1 2/0/1.5 tgt CLAIMED DEVICE&lt;BR /&gt;disk 4 2/0/1.5.0 sdisk CLAIMED DEVICE SEAGATE&lt;BR /&gt;ST15150N&lt;BR /&gt;/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;The ext_bus instance number (3) is responsible for the 'c3' in&lt;BR /&gt;'c3t5d0'. The target (t5) and the LUN (d0), which affect the rest of&lt;BR /&gt;the name, are not changeable by software. Instead they map directly to the&lt;BR /&gt;underlying hardware configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WARNING: Remapping instances is inherently dangerous and may result in an unbootable system, if not performed with care. Thus it is advisable to take a backup (e.g. using make_tape_recovery) of the system before attempting any of these procedures. It is also advisable to save the current &lt;BR /&gt;/etc/ioconfig file, e.g to &lt;BR /&gt;/etc/ioconfig.bak. Usually it is possible&lt;BR /&gt;to recover from failures by copying that file back to /etc/ioconfig and &lt;BR /&gt;/stand/ioconfig before rebooting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This procedure requires one reboot and works without additional tools.&lt;BR /&gt;&lt;BR /&gt;1. Extract a configuration template from the current ioscan output.&lt;BR /&gt;Execute the following command:&lt;BR /&gt;&lt;BR /&gt;# ioscan -f | grep -e INTERFACE -e DEVICE | \&lt;BR /&gt;grep -v target | \&lt;BR /&gt;awk '{print $3, $1, $2}' &amp;gt; /infile&lt;BR /&gt;&lt;BR /&gt;2. Edit /infile and change the ext_bus and lan instances as desired.&lt;BR /&gt;No class is allowed to get more than one line for the same instance!&lt;BR /&gt;&lt;BR /&gt;3. Bring down the system gracefully to run level 1.&lt;BR /&gt;&lt;BR /&gt;# init 1&lt;BR /&gt;&lt;BR /&gt;4. Apply the ioconfig change:&lt;BR /&gt;&lt;BR /&gt;# /sbin/ioinit -f /infile -r&lt;BR /&gt;&lt;BR /&gt;The system will reboot immediately if the change is successful.&lt;BR /&gt;Warnings like 'Input is identical to kernel' can be ignored.&lt;BR /&gt;&lt;BR /&gt;If unsuccessful, the most likely error to happen is:&lt;BR /&gt;"ioinit: Instance number X already exists for class XXX"&lt;BR /&gt;&lt;BR /&gt;The problem is that your desired instance assignment conflicts with&lt;BR /&gt;an existing instance number. If that instance is bound to hardware&lt;BR /&gt;that is no longer visible in ioscan, then you are in trouble and&lt;BR /&gt;need to perform the Procedure II or III.&lt;BR /&gt;&lt;BR /&gt;5. Once the system reboots, verify that all the instance numbers&lt;BR /&gt;were changed as expected. It may be necessary to re-import volume&lt;BR /&gt;groups to ensure that /etc/lvmtab contains the correct&lt;BR /&gt;entries. The lan configuration may need to be changed also. &lt;BR /&gt;&lt;BR /&gt;Be sure to have the ioinit(1M) patch installed:&lt;BR /&gt;10.20: [PHCO_16407/PACHRDME/English] (or greater)&lt;BR /&gt;11.00: [PHCO_12555/PACHRDME/English] (or greater) &lt;BR /&gt;&lt;BR /&gt;If the above mentioned procedure fails then try this one:&lt;BR /&gt;&lt;BR /&gt;Reliable, requires two reboots and works without additional tools.&lt;BR /&gt;&lt;BR /&gt;1. Extract a configuration template from the current ioscan output.&lt;BR /&gt;Execute the following command:&lt;BR /&gt;&lt;BR /&gt;# ioscan -f | grep -e INTERFACE -e DEVICE | \&lt;BR /&gt;grep -v target | \&lt;BR /&gt;awk '{print $3, $1, $2}' &amp;gt; /infile&lt;BR /&gt;&lt;BR /&gt;Make sure to store infile to the root file system!&lt;BR /&gt;&lt;BR /&gt;2. Edit /infile and change the ext_bus and lan instances as desired.&lt;BR /&gt;No class is allowed to get more than one line for the same instance!&lt;BR /&gt;&lt;BR /&gt;3. Move away the current ioconfig files and Shutdown/Reboot:&lt;BR /&gt;&lt;BR /&gt;# mv /stand/ioconfig /stand/ioconfig.sav&lt;BR /&gt;# mv /etc/ioconfig /etc/ioconfig.sav&lt;BR /&gt;# shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;4. Due to the missing ioconfig files the system will come to an&lt;BR /&gt;ioinitrc prompt. Now recreate new ioconfig files from scratch.&lt;BR /&gt;This prevents you from running into possible assignment conflicts.&lt;BR /&gt;&lt;BR /&gt;(in ioinitrc)# /sbin/ioinit -c&lt;BR /&gt;&lt;BR /&gt;5. Apply the ioconfig change with your prepared infile:&lt;BR /&gt;&lt;BR /&gt;(in ioinitrc)# /sbin/ioinit -f /infile -r&lt;BR /&gt;&lt;BR /&gt;The system will reboot again now if the change was successful.&lt;BR /&gt;Warnings like 'Input is identical to kernel' can be ignored.&lt;BR /&gt;&lt;BR /&gt;6. Once the system reboots, verify that all the instance numbers&lt;BR /&gt;were changed as expected. It may be necessary to re-import volume&lt;BR /&gt;groups to ensure that /etc/lvmtab contains the correct&lt;BR /&gt;entries. The lan configuration may need to be changed also.</description>
      <pubDate>Tue, 20 Jun 2006 04:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986005#M616773</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-06-20T04:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: ioinit &amp; VxVM devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986006#M616774</link>
      <description>Thanks, guys.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 04:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioinit-amp-vxvm-devices/m-p/4986006#M616774</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-06-20T04:24:55Z</dc:date>
    </item>
  </channel>
</rss>

