How to add more target iSCSI with static discovery

Try to add multiple entries of static discovery for a set of hosts in the cluster. I can add the first entry by running the following PowerCLI

Get-vmhost 'vdi1.vdi.sf.local ' | Get-VMHostHba-Type iScsi. New-IScsiHbaTarget-address '172.27.32.30' nomiscsi - iqn.2010 - 01.com.solidfire:bbup.desktop01.2514 - ChapName VDI-desktop computers - ChapPassword j0iT18i17Vp4su > r ChapType - required - static type

However, whenever I try to add the following entries to static discovery (I have 22 to add to the same discovery IP address) I get the following error message:

New-IScsiHbaTarget: 27/10/2014-09:17:28 new-IScsiHbaTarget the specified target

'172.27.32.30:3260' already exists.

On line: 1 char: 62

+ get-vmhost 'vdi1.vdi.sf.local ' | Get-VMHostHba-Type iScsi. New-IScsiHbaTarget...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo: InvalidArgument: (:)) [new IScsiHbaTarget], VimException)

+ FullyQualifiedErrorId: Client20_StorageServiceImpl_TryValidateUniqueIScisTargetAddress_NonU

niqueAddress, VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.Storage.NewIScsiHbaTarget

Can I add multiple static targets to a single iSCSI server IP address just right with esxcli, but I'd rather this fact directly in PowerCLI without using $esxcli if possible.

the discovery of iscsi adapter statictarget esxcli add - a vmhba38 - a 172.27.32.30:3260 - n iqn.2010 - 01.com.solidfire:bbup.desktop01.2514

esxcli iscsi Portal adapter defined target - a vmhba38 - 172.27.32.30 auth chap d United-a-n VDI-Desktops - required l - n iqn.2010 - 01.com.solidfire:bbup.desktop01.2514 - S j0iT18i17Vp4su > r

the discovery of iscsi adapter statictarget esxcli add - a vmhba38 - a 172.27.32.30:3260 - n iqn.2010 - 01.com.solidfire:bbup.desktop02.2515

esxcli iscsi Portal adapter defined target - a vmhba38 - 172.27.32.30 auth chap d United-a-n VDI-Desktops - required l - n iqn.2010 - 01.com.solidfire:bbup.desktop02.2515 - S j0iT18i17Vp4su > r

I must be missing something simple. Any help is very appreciated.

As far as I know, it is not possible with the current construction of PowerCLI to set several iScsiNames on the same target.

You use the $esxcli I'm afraid.

Tags: VMware

Similar Questions

  • How to add more application under the new tab shortcuts when we right click on the desktop.

    How to add more application under the new tab shortcuts when we right click on the desktop.

    Hello

    I suggest you to post your questions in the forums 'Development of the User Interface for Windows Desktop' for better assistance.

    Here is the link: http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/threads

  • Oracle 10g EM (how to add a target)

    Hi all

    I have configured em 10 gr 2 oracle to prod db, but I want to add another target IE cloned a (IE on the same machine RHEL4.0)

    How to add the target to oracle 10g EM, please let me know if anyone knows.
    Thank you
    KK

    There is a way to add another target in the console database. But even in this case, at one point, only one target would be maintained. If you want to manage multiple targets in a single unified window, then wages, Console is the way forward not free database console.

    HTH
    Aman...

  • How to add more than one electronic signature on a model

    Hi, I searched online and on the Bulletin Board in regard to trying to add more than one additional signature area to the I am working on a form template, which requires more than one signature. I went through the whole process and placed all the boxes of signature for each participant (3 in total), but whenever I send on should be dealt with by my colleagues and we have try to sign, it only allows us to do an e-signature and not the other 2 signatures that must be included with the paperwork. Please can someone advise if there is a step that I might be missing?

    Thank you.

    Hi karlac94348387 ,

    Please provide the application & version of the OS installed on your system.

    Also share you workflow & name of the application using what document is signed.

    If you submit this form using Acrobat application place digital signature fields, make sure that save you the form with Reader features Extended so that if other users have only the Reader app they can fill out the form as well. (File > save as other > Reader Extended PDF > allow more tools)

    You can also place electronic signature fields after the role definition for all participants for the respective fields using "send to the signature" (if you have Acrobat Pro DC continuous version), more on this please refer to the article:- adding form fields. Tutorials

    Send agreements and collecting signatures

    Let me know how it goes.

    Kind regards

    Christian

  • How to add the new page with the new preferences marginal?

    Hello

    can someone tell me? How to add new page with specific preferences marginal? is it possible to add the margin setting when adding page?

    Part of engineering substances comes with Google when necessary. (I think)

    nt-considered-harmful http://blog.boyet.com/blog/javascriptlessons/javascript-for-c-programmers-the-with-stateme / ... and much more can be found "with statement considered as harmful.

    There is nothing wrong with the definition of the properties on one line, except that it becomes progressively harder to read, understand, maintain, and update:

    myDoc = app.activeDocument;
    var myLastPage = myDoc.pages.add(LocationOptions.AT_END, undefined, {marginPreferences:{bottom:"6p", left:"6p", right:"4p", top:"4p"} });
    

    Note that since you are using "LocationOptions.AT_END", you don't have to use a reference to any page. This is only necessary when you want to insert a page anywhere except at the end or the beginning.

  • How to add more variables to a read/write control?

    See how the read/write control is connected to global variables? I want to add more variables, I created the globals (some are listed in the table above), but as you can see that they are not available in the read/write control. How can I add them? I also tried to create a new read/write control, but as you can see that didn't help.

    Any help would be appreciated.

    Hi count3r5tr1ke,

    It seems that you are referencing a particular bitfile in open FPGA reference. I think that even when you save your FPGA VI, VI real time still referencing an older bitfile. Have you tried re - compile and referring to the new bitfile once finished compiling? A sure way to make sure that you have the most up-to-date bitfile is to check the VI option when you right-click on the FPGA Open reference and select Configure the reference open FPGA. When this option is checked, if you make changes to the FPGA code, it will force you to re - compile the FPGA VI before you reference it on the real-time side.

    Best regards,

  • How to add more than one VPN in an existing VPN config

    Dear team

    I would like to ask your help fast... am not a Cisco guru, but I would like to know if I can get help on how to add a VPN to an existing one. My company already implemented a VPN site to site with a dealer or partners where they are or sharing some data them and make transactions, but the question is, I am now about to add 2 several other company so that I can create another tunnel VPN to each of them without risk of breakage or unplug the old one that is running. How can I do, can someone help me to implement it?

    Thanks in advance for your help.

    use Cisco 1841 version 7.

    1. now I want to know, is who should I ask for an IP access list? Should I create or I have to ask my partner to put it for me so I can put it in.

    The access list consists of the IP / subnets on your local network and the Remote LAN.  If the source of the ACL will be your local LAN and destination will be the Remote LAN.

    access-list 101 extended allow ip

    2. is the name given by my partner transfer or I have to create it myself.

    The name of game of transformation is locally important.  However, it specifies the encryption standards 2 phase so this part will have to be coordinated with the peer.

    Crypto ipsec transform-set RIGHT aes - esp esp-sha-hmac

    in the foregoing turn together, RIGHT is just a big local name so you can reference it in a card encryption.  ESP esp-ae-sha-hmac is the part of encryption that should be agreed between you and your counterpart. According to the image that you posted would use you esp-3des esp-sha-hmac.

    3. because I see that the strategy of the first customer VPN (partner) is set on 10 policy should I do also each VPN on 10 policy or the policy number is not serious.

    The policy number is a sequence number and is matched in a top to bottom fashion until a match is found.  If no match is found, then Phase 1 will not end and establish the tunnel.  This is important if you have several peers and some of them use different phase 1 settings.  If this is the case, you will need to use different sequence for each policy numbers.

    4. I have also seen that we have life time security association 2 phases one to use?

    Both are used, and they are both at their default values, you don't need to do any configuration for those.

    --

    Please do not forget to select a correct answer and rate useful posts

  • How to add more pictures to the picture puzzle gadget in Windows 7 Home premium?

    I'm tired of the same images in the picture puzzle gadget, which I enjoy. I'm not a developer - just a non-geek user. It seems to me that the puzzle photo should have a feature that allows the user to add more photos or replace with new ones for the originals, & a "reset" button that restores its original. Any ideas?

    Hello

    I'm not even sure who you could contact to get this Gadget changed?

    If you like the puzzle-Gadgets, there are about 130 of these gadgets on the Gallery website. Here is a link.

    http://Gallery.live.com/results.aspx?BT=1&PL=1&DS=2&La=en&tier=0&St=3&p=1&q=puzzle&c=0

    Kind regards.

  • How to add more credits to monthly polan

    So I have the monthly fee of 10 images, but this month I need to get more than 10, how to add credits in monthly?

    Thank you!

    Hey Christos,

    After using your credits, you can buy more images needed individually.

    EBQ

  • How to add the software iSCSI adapter in vSphere, ESXi 5.0?

    Hello

    Please give me the steps to add the software iSCSI adapter in vSphere, ESXi 5.0.

    Thank you.

    Hello

    In an earlier version of VMware ESXi software iSCSI adapter was included in the list of the storage card, but is not in the case of VMware ESXi 5.0. In ESXi 5.0 iSCSI adapters are not listed by default and must be activated first before we go away from configuration.

    How to add iSCSI adapter in ESXi 5 check the link below

    http://www.google.co.in/#sclient=psy&hl=en&source=hp&q=How+to+add+Software+iSCSI+Adaptor+in+vSphere+ESXi+5.0+Site%3A+blog.srinfotec.com&pbx=1&oq=How+to+add+Software+iSCSI+Adaptor+in+vSphere+ESXi+5.0+Site:+blog.srinfotec.com&aq=f&aqi=&aql=&gs_sm=e&gs_upl=9181l21561l0l21875l33l30l4l0l0l0l736l10898l3-8.7.7.1l23l0&bav=on.2,or.r_gc.r_pw.&fp=1ad7a99e02298f12&biw=1366&bih=647

    or

    http://blog.srinfotec.com/?p=178

    concerning

    Rohit

  • How to add more net type drawings of PS

    I would like to know what is the way the more time efficient to add text to the designs of Photoshop?

    The only way I know how to add the post scripts is to make the text in Illustrator, then the tool type in PS when you have a book of 44 pages, it's really annoying.

    Someone at - it suggestions?

    I'd appreciate the help.

    Thank you

    FM

    You take it back.

    Set your type in InDesign (or Illustrator, if you can't manage InDesign) and bring your graphics from inside Photoshop.

  • How to add more line by line?

    Hi all

    Please let me know how to add addition line by line as the title:

    DEPTNO num1, num2, num3 total num
    1100 20 30
    1200 20 10
    1300 40
    1400 30


    your suggestion would be greatly appreciated.

    Something like that?

     SELECT deptno,num1,num2,num3, num1+num2+num3 "Tot"
     FROM ....
    
  • Merge with VB Script ascii_diadem_9.1_or_later.zip .csv files: how to add the column/channel with filename

    Hello

    I use ascii_diadem_9.1_or_later.zip to merge the data from several .csv files.

    The problem is that I am so some weird futuristic timestamps in a channel

    which do not appear in the original .csv files:

    How to adjust the VB Script automatically adds a new channel to the a .csv resulting

    file with the original name of the .csv file for debugging purposes?

    Any help is greatly appreciated!

    Thanks, Katharina

    Hi Katharina,

    What happens when you drag your tiara BROWSER or Windows Explorer data files in the data portal?  See all date/time values in a table in VIEW of this channel?  The problem may be that you do not have a use but which properly load your data files.  The example is designed to show you how to concatenate several files of data together, but assumes that you could provide / have your own use.  If you use work already, then look for these lines to the top of the VBScript and substituting the name of your use "CSV".  If your files have a file extension different "*.csv", then you must also change the line "FileExt '.

    FileExt  = ' CSV files, *.» CSV »  ' « *. DAT; *. CSV '.
    Use = "CSV" ' "' or 'SpecificDataPluginName '.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How to add more images to a recorded book?

    How can I put more pictures in a recorded book?

    Hi noangel88,

    Switch back to the library module, find photos and drag them on the recorded book that is stored in the Collections Panel. Then they will be available to add to the book.

    Kind regards

    Tanuj

  • I share the same target iSCSI with multiple hosts?

    I have an iSCSI LUN target that appears when I discovered the storage for an ESXi host, but when I discovered the storage for another host, it does not appear. I added the suitable adapter software network and iSCSI on the second host, dynamic analysis and he sees the same iSCSI target, however when I go to 'Add a storage' there is no displayed LUN.

    I'm obviously missing something, I just can't understand what it is.

    Any help would be greatly appreciated!

    Storage Area Network - FC and iSCSI - do not automatically appear LUN to all hosts that connect to them. This is also called masking and prevents accidental access to LUNS of the host that is not allowed access to that LUN. You must configure the storage system, access to the LUN - once you do this for the other hosts will be displayed in the list and you will be able to access all hosts logic unit number.

    To avoid trampling of the ESXi put a lock on the VMDK so that a subsequent host will not be able to power of the virtual machine and write than disj virtuak

Maybe you are looking for