<?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: Dynamically Adding and Swapping Tape's Between VM's in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254730#M523697</link>
    <description>Found Solution Given by Eric</description>
    <pubDate>Wed, 08 Sep 2010 15:40:06 GMT</pubDate>
    <dc:creator>WW393114</dc:creator>
    <dc:date>2010-09-08T15:40:06Z</dc:date>
    <item>
      <title>Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254724#M523691</link>
      <description>Hello Team,&lt;BR /&gt;&lt;BR /&gt;Can any one help in dynamically swap tape between VM's in 4.2 version. i am getting the following error when i am trying to add tape&lt;BR /&gt;&lt;BR /&gt;hpvmmodify: Unable to dynamically create device tape:scsi:0,1,0:attach:/dev/rscs i/c0t3d0 - Protocol error.&lt;BR /&gt;hpvmmodify: Guest needs to be restarted (using hpvmstop followed by hpvmstart) f or all changes to take effect</description>
      <pubDate>Wed, 08 Sep 2010 08:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254724#M523691</guid>
      <dc:creator>WW393114</dc:creator>
      <dc:date>2010-09-08T08:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254725#M523692</link>
      <description>Bonjour,&lt;BR /&gt;&lt;BR /&gt;You try to add the tape to virtue bus/device 0/1 with scsi ID 0.&lt;BR /&gt;&lt;BR /&gt;Not sure, but using scsi ID 0 could mean that you have no other device on the same bus/device 0/1. Right ?&lt;BR /&gt;&lt;BR /&gt;In this case the virtual scsi HBA at 0/1 doesn't yet exist. If the virtual HBA doesn't exist, you can't online add new devices to this virtual HBA [ the same way than in physical world : if you have no scsi adapter you can't add any physical device to it ;-) ].&lt;BR /&gt;&lt;BR /&gt;In other words, you can online add devices to a virtual HBA only if there is at least one device already connected to the specific virtual bus/device you want to use.&lt;BR /&gt;&lt;BR /&gt;What you can do, is creating each VM with a "foo" device connected at 0/1. For exemple a virtuall null LVD : dvd:scsi:0,1,0:null:/depotcd&lt;BR /&gt;&lt;BR /&gt;Then you should be able to online add a tape at : tape:scsi:0,1,1:attach:/dev/rscsi/c0t3d0&lt;BR /&gt;&lt;BR /&gt;Note than with HPVM 4.2 you can now share tape among VMs. Check chapter 7.1.3 Attached Device Support in AVIO from "HP Integrity Virtual Machines 4.2 - Installation, Configuration, and Administration", document c02023903.pdf&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 08 Sep 2010 09:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254725#M523692</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2010-09-08T09:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254726#M523693</link>
      <description>Hello .. i did not understand what you mentioned.. i am attaching the hpvmstatus of the vm and ioscan ouput pls let me know how to add tape to VM&lt;BR /&gt;&lt;BR /&gt;# hpvmstatus -p 2&lt;BR /&gt;[Virtual Machine Details]&lt;BR /&gt;Virtual Machine Name VM #  OS Type State&lt;BR /&gt;==================== ===== ======= ========&lt;BR /&gt;sflqly                   2 HPUX    On (OS)&lt;BR /&gt;&lt;BR /&gt;[Authorized Administrators]&lt;BR /&gt;Oper Groups             :&lt;BR /&gt;Admin Groups            :&lt;BR /&gt;Oper Users              :&lt;BR /&gt;Admin Users             :&lt;BR /&gt;&lt;BR /&gt;[Virtual CPU Details]&lt;BR /&gt;#vCPUs Entitlement Maximum&lt;BR /&gt;====== =========== =======&lt;BR /&gt;     4       10.0%  100.0%&lt;BR /&gt;&lt;BR /&gt;[Memory Details]&lt;BR /&gt;Total    Reserved&lt;BR /&gt;Memory   Memory&lt;BR /&gt;=======  ========&lt;BR /&gt;  18 GB     64 MB&lt;BR /&gt;&lt;BR /&gt;[Storage Interface Details]&lt;BR /&gt;Guest                                 Physical&lt;BR /&gt;Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device&lt;BR /&gt;======= ========== === === === === === ========= =========================&lt;BR /&gt;disk    avio_stor    0   0   0   0   0 disk      /dev/rdsk/c2t0d2&lt;BR /&gt;disk    avio_stor    0   0   0   1   0 disk      /dev/rdisk/disk111&lt;BR /&gt;disk    avio_stor    0   0   0   3   0 disk      /dev/rdisk/disk118&lt;BR /&gt;disk    avio_stor    0   0   0   4   0 disk      /dev/rdisk/disk119&lt;BR /&gt;disk    avio_stor    0   0   0   5   0 disk      /dev/rdisk/disk120&lt;BR /&gt;disk    avio_stor    0   0   0   6   0 disk      /dev/rdisk/disk123&lt;BR /&gt;disk    avio_stor    0   0   0   7   0 disk      /dev/rdisk/disk126&lt;BR /&gt;disk    avio_stor    0   0   0   8   0 disk      /dev/rdisk/disk127&lt;BR /&gt;disk    avio_stor    0   0   0   9   0 disk      /dev/rdisk/disk132&lt;BR /&gt;disk    avio_stor    0   0   0  10   0 disk      /dev/rdisk/disk135&lt;BR /&gt;disk    avio_stor    0   0   0  11   0 disk      /dev/rdisk/disk138&lt;BR /&gt;disk    avio_stor    0   0   0  12   0 disk      /dev/rdisk/disk143&lt;BR /&gt;disk    avio_stor    0   0   0  13   0 disk      /dev/rdisk/disk144&lt;BR /&gt;disk    avio_stor    0   0   0  14   0 disk      /dev/rdisk/disk147&lt;BR /&gt;disk    avio_stor    0   0   0  15   0 disk      /dev/rdisk/disk150&lt;BR /&gt;disk    avio_stor    0   0   0  16   0 disk      /dev/rdisk/disk153&lt;BR /&gt;disk    avio_stor    0   0   0  17   0 disk      /dev/rdisk/disk156&lt;BR /&gt;disk    avio_stor    0   0   0  18   0 disk      /dev/rdisk/disk158&lt;BR /&gt;disk    avio_stor    0   0   0  19   0 disk      /dev/rdisk/disk161&lt;BR /&gt;disk    avio_stor    0   0   0  20   0 disk      /dev/rdisk/disk165&lt;BR /&gt;disk    avio_stor    0   0   0  21   0 disk      /dev/rdisk/disk167&lt;BR /&gt;disk    avio_stor    0   0   0  22   0 disk      /dev/rdisk/disk171&lt;BR /&gt;disk    avio_stor    0   0   0  23   0 disk      /dev/rdisk/disk174&lt;BR /&gt;disk    avio_stor    0   0   0  24   0 disk      /dev/rdisk/disk176&lt;BR /&gt;disk    avio_stor    0   0   0  25   0 disk      /dev/rdisk/disk180&lt;BR /&gt;disk    avio_stor    0   0   0  26   0 disk      /dev/rdisk/disk183&lt;BR /&gt;disk    avio_stor    0   0   0  27   0 disk      /dev/rdisk/disk186&lt;BR /&gt;&lt;BR /&gt;[Network Interface Details]&lt;BR /&gt;Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address&lt;BR /&gt;========= ========== ========== ======= === === === =================&lt;BR /&gt;vswitch   avio_lan   vswitch2   1         0   2   0 da-dd-2e-6d-bd-c4&lt;BR /&gt;&lt;BR /&gt;[Misc Interface Details]&lt;BR /&gt;Guest                                 Physical&lt;BR /&gt;Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device&lt;BR /&gt;======= ========== === === === === === ========= =========================&lt;BR /&gt;serial  com1                           tty       console&lt;BR /&gt;# ioscan -fnC tape&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;tape      0  0/2/1/0.3.0  stape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c0t3d0BEST&lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c0t3d0BESTb&lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c0t3d0BESTn&lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c0t3d0BESTnb&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2010 09:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254726#M523693</guid>
      <dc:creator>WW393114</dc:creator>
      <dc:date>2010-09-08T09:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254727#M523694</link>
      <description>What you are doing is specifying a new adapter or virtual hba. This is NOT a hot-pluggable device, and hence requires the VM to reboot to "insert" the new "card"&lt;BR /&gt;The same wqould apply if you were to add a new vNIC to another vswitch.&lt;BR /&gt;&lt;BR /&gt;Try doing it using:&lt;BR /&gt;tape:scsi::attach:/dev/rscsi/c0t3d0&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2010 09:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254727#M523694</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2010-09-08T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254728#M523695</link>
      <description>In fact you have no bus/device 0/1.&lt;BR /&gt;&lt;BR /&gt;So try :&lt;BR /&gt;&lt;BR /&gt;- mkdir /depotcd, an emty directory&lt;BR /&gt;- add offline a device that point to it :&lt;BR /&gt;&lt;BR /&gt;hpvmmodify -P sflqly -a dvd:scsi:0,1,0:null:/depotcd&lt;BR /&gt;&lt;BR /&gt;- start the VM&lt;BR /&gt;&lt;BR /&gt;Now you should be able to add online the tape with :&lt;BR /&gt;&lt;BR /&gt;hpvmmodify -P sflqly tape:scsi:0,1,1:attach:/dev/rscsi/c0t3d0 &lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 08 Sep 2010 09:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254728#M523695</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2010-09-08T09:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254729#M523696</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;         Thanks .. Method Worked... Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Only a small Change for adding the tape we need to use &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hpvmmodify -P sflecc -a tape:scsi::attach:/dev/rscsi/c0t3d0&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for every one&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254729#M523696</guid>
      <dc:creator>WW393114</dc:creator>
      <dc:date>2010-09-08T10:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254730#M523697</link>
      <description>Found Solution Given by Eric</description>
      <pubDate>Wed, 08 Sep 2010 15:40:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254730#M523697</guid>
      <dc:creator>WW393114</dc:creator>
      <dc:date>2010-09-08T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254731#M523698</link>
      <description>I would like to clarify a point, because in fact I am afraid you had some chance ;-)&lt;BR /&gt;&lt;BR /&gt;You said :&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;. Only a small Change for adding the tape we need to use &lt;BR /&gt;.&lt;BR /&gt;. hpvmmodify -P sflecc -a tape:scsi::attach:/dev/rscsi/c0t3d0&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;The syntax you used lets HPVM choose the virtual bus/device on which your tape is attached. If you want to always be able to add/remove dynamically a device you MUST control which bus/device will be use.&lt;BR /&gt;&lt;BR /&gt;What probably happened is that your disks are attached to bus/device 0/0 which is an AVIO_STOR virtual HBA. So, you can't attach an SCSI tape to this HBA.&lt;BR /&gt;&lt;BR /&gt;Then, as I suggested, you have attached a "foo" cdrom to bus 0/1 in VIO SCSI mode. So you have created a new SCSI HBA, with one slot occupied by the pseudo cdrom and 14 (15 ?) empty slots.&lt;BR /&gt;&lt;BR /&gt;Then, when you added the SCSI tape, HPVM automatically chose an SCSI HBA with empty slots. Because the bus/device 0/1 has empty slots, the tape can be added online.&lt;BR /&gt;&lt;BR /&gt;Now suppose that for some reasons all the slots on virtual HBA 0/1 are occupied ? It will not work online.&lt;BR /&gt;&lt;BR /&gt;That is one of the reasons (among many others) why my advice for anybody dealing with HPVM is to always control virtual bus/device adressing.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 09 Sep 2010 11:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254731#M523698</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2010-09-09T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Adding and Swapping Tape's Between VM's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254732#M523699</link>
      <description>Hello Eric,&lt;BR /&gt;&lt;BR /&gt;           I am adding the tape to Vm's using &lt;BR /&gt;hpvmmodify -P sflecc -a tape:scsi::attach:/dev/rscsi/c0t3d0.&lt;BR /&gt;&lt;BR /&gt;Now dynamically adding tape is possible and also i am able to swap.. but we are facing problems taking automatic backup using SAP.&lt;BR /&gt;&lt;BR /&gt;Back Fails giving following error&lt;BR /&gt;&lt;BR /&gt;BR0205I Backup volume initialization&lt;BR /&gt;BR0058I BRBACKUP action ID: beebveaw&lt;BR /&gt;BR0059I BRBACKUP function ID: tib&lt;BR /&gt;BR0102I Following backup device will be used: /dev/rmt/0mn BR0131I All volumes get the name SCRATCH BR0129I Force option set - no label checking during initialization BR0134I Unattended mode with 'force' active - no operator confirmation allowed&lt;BR /&gt;&lt;BR /&gt;BR0207I Volume in device: /dev/rmt/0mn will be initialized with name: SCRATCH&lt;BR /&gt;&lt;BR /&gt;BR0280I BRBACKUP time stamp: 2010-09-09 13.00.07 BR0226I Rewinding tape volume in device /dev/rmt/0m ...&lt;BR /&gt;BR0278E Command output of 'LANG=C mt -f /dev/rmt/0m rew':&lt;BR /&gt;/dev/rmt/0m: No such device or address&lt;BR /&gt;BR0280I BRBACKUP time stamp: 2010-09-09 13.00.08 BR0279E Return code from 'LANG=C mt -f /dev/rmt/0m rew': 1 BR0213E Winding tape volume in device /dev/rmt/0mn failed BR0219E Initialization of volume SCRATCH in device /dev/rmt/0mn failed&lt;BR /&gt;&lt;BR /&gt;BR0206I End of backup volume initialization BR0280I BRBACKUP time stamp: 2010-09-09 13.00.08 BR0054I BRBACKUP terminated with errors&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But once i use insf -e command buackup is running fine&lt;BR /&gt;&lt;BR /&gt;After insf -e&lt;BR /&gt;--------------&lt;BR /&gt;BR0205I Backup volume initialization&lt;BR /&gt;BR0058I BRBACKUP action ID: beebvgfm&lt;BR /&gt;BR0059I BRBACKUP function ID: tib&lt;BR /&gt;BR0102I Following backup device will be used: /dev/rmt/0mn BR0131I All volumes get the name SCRATCH BR0129I Force option set - no label checking during initialization BR0134I Unattended mode with 'force' active - no operator confirmation allowed&lt;BR /&gt;&lt;BR /&gt;BR0207I Volume in device: /dev/rmt/0mn will be initialized with name: SCRATCH&lt;BR /&gt;&lt;BR /&gt;BR0280I BRBACKUP time stamp: 2010-09-09 13.24.38 BR0226I Rewinding tape volume in device /dev/rmt/0m ...&lt;BR /&gt;&lt;BR /&gt;BR0202I Copying /oracle/SM1/sapbackup/.tape.hdr0 BR0203I to /dev/rmt/0mn ...&lt;BR /&gt;&lt;BR /&gt;BR0209I Volume in device /dev/rmt/0mn has name SCRATCH&lt;BR /&gt;&lt;BR /&gt;BR0280I BRBACKUP time stamp: 2010-09-09 13.24.46 BR0226I Rewinding tape volume in device /dev/rmt/0m ...&lt;BR /&gt;&lt;BR /&gt;BR0206I End of backup volume initialization BR0280I BRBACKUP time stamp: 2010-09-09 13.24.49 BR0052I BRBACKUP completed successfully.&lt;BR /&gt;&lt;BR /&gt;So i added insf -e command in cron tab. for 2 days it worked fine but again backup has failed.&lt;BR /&gt;&lt;BR /&gt;Could you pls suggest me ...</description>
      <pubDate>Tue, 14 Sep 2010 12:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamically-adding-and-swapping-tape-s-between-vm-s/m-p/5254732#M523699</guid>
      <dc:creator>WW393114</dc:creator>
      <dc:date>2010-09-14T12:23:28Z</dc:date>
    </item>
  </channel>
</rss>

