Adding a virtual ports GRPE distributed and obtaining his object reference managed

I added a group of virtual ports to the DVS using the AddDVPortgroup_Task (...) method.

Now, I want to recover the object managed this group to port reference.

Is it possible to get the task itself or what I need to do another discovery of the dvs for this?

Thank you

VSphere API documents - AddDVPortgroup_Task, the task does not return the reference to the newly created DVPortgroup. I know that some functions participated once, it's 'info.result' contains the object that has been created, but in the case of DVPortgroup, you will need to ask for it.

=========================================================================

William Lam

VMware vExpert 2009

Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

VMware developer community

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • NPIV Virtual Port and WWN VM

    Hi guys,.

    Looking at doc NPIV for VCAP-DCA. Little confusion of Virtual Port, NPIV and VM WWN.

    Some study guide talks on up to 4 virtual port by virtual computer. I understand the virtual port pair is WWN assigned to the virtual machine that can be used as vHBA to the FC fabric. In my lab 5.5, I can assign up to 16 pairs WWN on a virtual machine (8 HW).

    I can see the limit of 4 virtual port in the v4.1 document, but couldn't find it in v5 and v5.5. This limit removed from v5 and later?

    Thank you.

    VMware vSphere 4 - ESX and vCenter Server

    Each virtual machine can have up to 4 virtual ports. Active NPIV VMS are assigned exactly 4 WWN NPIV related, which is used to communicate with the physical host bus adapters through virtual ports. As a result, virtual machines can use up to 4 physical HBA to purposes are NPIV.

    Documentation Centre of vSphere 5.5

    In fact, it is given in the documentation of 5.5. You might have missed it. Here is the link for it

    Documentation Centre of vSphere 5.5

    You can have up to 16 WWN. "The documentation States" ""you can create 1 to 16 pairs WWN, which may be mapped to the first from 1 to 16 physical FC HBA on the host. "

  • vCenter log files entries for the new virtual machine or distributed groups of ports

    All,

    I can't find the entries for the new virtual machine or distributed groups of ports in the vpxd.log file.

    Any suggestions?

    Thank you

    This kind of info are in the DB vCenter.

    Not in the logfile (used for debugging purposes).

  • HP Pavilion HPE h8-1375ea: adding PART 3 ports for HP Pavilion.

    I plan to change the noisy (continually chirruping) 3 TB Hitachi HARD drive mounted in series in my system and install two 480/500 GB SSD - probably of Sandisk or Kingston.  One will be the master (operating system and data) the other will purely be a weekly "clone" of the master.

    The mobo in my bench is the Formosa Pegatron, which, as far as I can see, only has SATA 2 ports equipped.  For most of the speed the SSD, I need use 3 SATA 6GBs.

    Can anyone advise as to the best, reasonable price, good performance SATA 3, 4 ports (I might consider 2 port) controller card PCI-e which fits into my system.  I didn't need RAID or Duo Hyper.

    Thank you very much.

    Ken.

    Hi Ken,

    I don't know what you mean by adding 3 SATA ports.  The Formosa motherboard has six SATA ports.

    HP never acknowledged the documentation that indicates that grouped four SATA ports are 3.0 or 6.0 GB/s. However, the Z75 chipset should be able to support up to six SATA III ports.  If you have a processor of IVY bridge, then you should be able to test the port speed using a SATA III HD or SSD.

  • How to set up a "dummy" or "virtual" port

    Hi, I'm relatively new to Labview programming.  I work with the NI USB-6212.  I was wondering if it is possible to create a "dummy" or "virtual" port, so I can finally create a port for example line output. port0/line16.  Basically I want some bits to go to this line and the "status quo".

    Any suggestion would be appreciated.

    Thank you

    VK

    There are several ways to address the issue and how you will use this 'virtual' Port is one of the choice between the methods.

    The easiest way is to create a USB-6212 simulation:

    Interfaces and select Max devices

    Right click > create new > DAQmx simulated device or modular instrument

    Expand + M series: DAQ and select NI USB 6212.

    You'll be able to create scales channels etc. that are appropriate for a tasks OR USB 6212 assistant DAQmx will treat it as if it was true, and you can try the task and, LabVIEW code call a task on a simulated device will work just fine.

    The down side is when you actually get material its often difficult to retarget the tasks for using the real device (no option to send the task... no option to replace the device with...) Do not hesitate at the idea of Kudos. If you need to change the task or swap device names and which is not infallible.

    Another option that I use for my development (and, I code by intention... very rarely have any material or simulated in my cube)

    must care not the configuration of the task until I integrate with hardware.  Allows to set the example that I have in my current project:

    With the exception of the name of the task that this exact code is part of the project I opened today.  This AE wraps completely all I want to do with this task.  Now, I have the code to fall in my application and can create the easilly task on the target computer.  Notice of Here.vi? I'll just go through the hierarchy of the project and find all instances. Create the task and TEST IT on the live system.  When all instances of here.vi went my code is error free and integrated with the hardware running.

    [edit] it is what happens with a break in three hours while you answer.  Tim beats you to it

  • Unpluging printer creates Virtual Port Mismatch

    Ive installed my printer Dymo 450 turbo twin perfectly. its been working for months. However, once I took my Dell Latitude mobile E5520 and reconnected the USB physical port EVEN on my computer, the print spooler has the wrong virtual port assigned.

    Of;

    Devices and printers >(right-click dymo) properties > Hardware tab > Usb printing support

    The location is listed as "Port_ #0001.Hub_ #0004.

    (this will be mapped to the virtual port USB004, OK?)

    But on the.

    Devices and printers > printer properties (click right dymo) > Ports tab >

    Virtual port USB002 is selected.

    the only other choice options are;

    USB001 (which is a zebra printer work)

    USB002 (not working dymo)

    USB005 (brother laser work)

    No other ports are listed.

    I tried to create a Local Port called USB004 without success.

    Ive also tried to go into Device Manager and restart-disable-reactivation USB Printer Support for Port_ #0001.Hub_ #0004

    also tried to update the driver to USB print media in the wizard.

    Without success.

    How do I add USB004, or re - map the printer to use the correct virtual port?

    I can post pictures if necessary but not sure about the site policy, so I'm not going until asked.

    a little history about me,

    IM the head of the company and am VERY familiar with Windows behind the scenes, the registry, the sysadmin and the CLI.

    I'm looking for a solution to the problem, but MORE importantly! I'm looking for WHY the solution WORKED. I believe that in mounting "teach a man to fish".

    I work Monday to Friday 9-5 and answered answers in a very timely manner. Feel free to request any additional information or clarification of the measures taken.

    Hi Erik,

    Please contact Microsoft Community.

    Advanced issues such as issues related to the virtual Port are supported in the TechNet Forums. I suggest you send the request in the following link.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itprohardware

    Hope this information helps.

  • USB 0001 virtual port for UsB not found

    When inatalling a Xerox Phaser 8560DN to my laptop HP Win 7 professinal it does not find the virtual USB 0001 port for UsB. I installed the printer even to other laptops and no prblem. When you come to select the port the virtual prot is tehre but not so much in this laptop and HP peole say it is not their problem. Any suggestions on what to do?

    Hello

    You don't see any other virtual ports except USB 0001?

    Follow these steps and check if that helps:

    1. go in Control Panel.
    2 Select all Control Panel items.
    3. open devices and printers.
    4. at the top of the window, select Add a printer.
    5. Select Add a local printer.
    6. If you want to choose a Printer Port, select use an existing port.
    7. in the drop-down list, select USB001 or USB0002 (virtual printer to USB Port).
    8. Select the next button.
    9. in the manufacturers section, select HP.
    10. in the printers section, search for your printer model and select it.

    Note: If your printer does not appear in the list of HP, select nearest LaserJet series model number.

    Click the Windows Update button. WU get the database driver for all HP printers.

    Note: the search may take a while.

    When the search is complete, go back to the HP section and your printer should now appear there. Select it and click the next button.

    Your printer appears in the printer name box, click Next again and the printer will be installed.

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • WWPN-derivation-virtualized-port

    So I'm digging the Cisco C210 boxes.  I have several held so far.

    Just got a B series.    I feel like I'm back to Catholic school being scolded!   Hate me this thing! :-)

    I went through a laboratory firefly book to familiarize yourself with the configuration.    I "think" I have everything set up properly...

    I created a service profile, so I could in a few clicks apply to all four of my servers.  When I apply I get

    descr = "Service configuration profile Server1 failed for wwpn-derivation-virtualized-port"

    Good old google wasn't able to help me with this one.  I'm old-school Call Manager and person of Contact Center.  This virtualization stuff is very recent.  No experience with SAN.

    Is anyone able to tell me that I may have missed the error?

    Thanks in advance!

    Del

    Del,

    What WWPN pool is configured for the HBAs in your service profile?

    We can if expected this error message when we use the option 'Default material' and that the blade is installed with Cisco M81KR adapter (it does not have burnt in address WWPN)

    If this is the case, then try to create a WWPN pool and configure the service profile / HBAs to use WWPN from the pool.

    http://www.Cisco.com/en/us/docs/unified_computing/UCS/SW/GUI/config/Guide/2.0/b_UCSM_GUI_Configuration_Guide_2_0_chapter_011111.html#task_106F15198C034D1BA1923DCCE2897F9F

    HTH

    Padma

  • define an id scsi for a disc newly added for virtual machines via script

    Hi Experts,

    I used the script below to add disks to several virtual machines
    http://blog.mattvogt.NET/2013/03/14/PowerCLI-mass-add-hard-disks/

    But currently our requirement for change as if we must add 3 2 GB drives, the disks must the controller use SCSI (1:0) - (1:2)

    And next bunch of disks, for example, should use use SCSI (2:0) - (2:2).

    Y at - it an option to set the SCSI ID when adding new disks.
    Please let me know if there is nothing we can achieve through scripts.

    Thanks in advance.

    Kind regards
    Sourav

    Try this new version, it works for me in my test environment

    ### Get VM/Disk Count/Datastore information ### $vmname = Read-Host "VM Name to add disks to"$num_disks = Read-Host "number of disks to add"$ds = "Oracle DB Farm Datastore Group"$format = Read-Host "Disk Format (thin, thick, EagerZeroedThick)"$size = Read-Host "Disk Size (GB)"
    
    $vm = Get-VM $vmname$datastore = Get-DatastoreCluster -Name $ds
    
    ### Add $num_disks to VM1..$num_disks | %{  Write-Host "Adding disk $_ size $size GB and format $format to $($vm.Name) on datastore $datastore"
    
      if($_ -eq 1){      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format      $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}      $ctrl = New-ScsiController -Type Paravirtual -HardDisk $hd  }  else{      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format -Controller $ctrl    $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}  }}
    
  • Route based on the ID of the virtual Port of departure

    Hi all

    Our client uses 'Route based on originating Virtual Port ID' to balance the load. Ayone know the ESX CLI command that shows the Virtual Machine <>= vmnic in this setting?

    There was a network problem in the customer environment, and I need to know what VM is linking to what (vmnic) uplink on the vswitch about? Or ESX does not show this explicit mapping through any tool?

    Thanks in advance.

    Dumlu

    Hello

    You can use esxtop, then hit low case n to change the network settings view. The 3rd column is the team of Teddy bear used by the virtual machine.

    Concerning

  • Random virtual machines after vMotion and Storage vMotion network loss

    Hi all -

    I have a couple of tickets open with VMware and our supplier of SAN, EqualLogic, on this issue.  Since the configuration of our production and DMZ clusters we noticed that the virtual machines will sometimes drop network connectivity after a successful vMotion and Storage vMotion.  Sometimes, although much less frequently, virtual machines also spontaneously lose network overnight.  What happened only a few times.  The strange thing is that the other guests on the VM host are fine - they lose any network.  Actually, I can do no more than 3 computers virtual host to another, and 2 of 3 can switch correctly, so that we lose the network.  The work around?  Simply 'disconnect' from the virtual NETWORK card 'reconnect' and the virtual machine will start the return packets.  I can also switch the VM troubled return to the host State and it will find the network.  I can it reboot and re - win network.  I can re - install the virtual card completely, and she re - win network.

    VMware has seen a lot of mistakes of SAN in our log files in order to update us our SAN firmware to the latest version.  That seems to have fixed that but we still have the issue.  Here are some of the specifications - all environments are virtually identical except for memory:

    Of PowerEdge R810

    NICs Broadcom 5709

    EqualLogic SAN running 5.0.5 F/W

    We use frames.  ESXi is fully patched.  I haven't seen a boss or not, it is only some guest operating system that loses the network, but we are a Windows environment.

    When a virtual machine loses the network, we can not:

    • Ping to it
    • Ping it
    • Ping him at the virtual machines on the same host or vSwitch
    • Ping outside our network
    • resolve DNS, etc..

    I followed some KBs VMware without success, including:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1003839
    http://KB.VMware.com/selfservice/microsites/search.do?cmd=displayKC & externalId = 1002811 (port security is not enabled)

    -All the VMware tools have been updated to the latest version correct and corresponds to the ESXi host
    -Connected to the service ESXi console, I cannot ping the VM problem by name of host or IP address, but I can ping do not affected by the issue of the OTHER virtual machines.  I can also pings the service console.
    -Connected to the troubled virtual machine itself, I cannot ping other virtual machines, I can't resolve host names, I cannot ping by IP.  The machine virtual CAN ping itself by IP, but not hostname.  I cannot ping other virtual computers on the same virtual switch or network by either IP or host name.  I can't ping the vSwitch network management.
    -All vSwitches are configured in the same way and the same.
    -Notify the switches is set to yes
    -There are a lot of available virtual ports
    -We tried the E1000 and VMXNET virtual cards with no difference.
    -All cards are configured to negotiate, but we tried to force individuals speeds as well as with no difference

    I appreciate your help.  I have problems getting anywhere on this issue with the sellers.

    wkucardinal wrote:

    Still having the issue...

    Sometimes, it might be useful to really check that all uplinks VMNIC for all VLAN does work them. Try this is to create a new portgroup on the vSwitch used by your virtual machines on the host of the first, put a test VM on the portgroup, then go into the NIC teaming policy from the new portgroup and select "Override switch command failover."

    Then down vmnic all except one in unused, then only a single VMNIC is active. Then set the portgroup VLAN to a production of VLAN and try to see if we could ping some expected from the different addresses. If it works, then move VMNIC work until unused and move up to another asset. Try again, and this for all the vmnic. If it works, then you have verified that the configuration of VLANS and other settings are correct on the physical switch in the face of this host ports.

    If several VLANs, repeat the process for all other productions VLAN. Then repeat on the other hosts.

    While that may take some time, occurs if everything is properly configured on the physical switches. When occurs a vMotion virtual machine gets a new "Port code" and is assigned to a new outgoing VMNIC. If there is an error of configuration on one or more physical ports that might seem random, but may still happen on VLAN x on y VMNIC. Given that Port ID policy you use indeed spread randomly VMs on the vmnic these problems may be difficult to diagnose. (Make a disconnection of the VM vNIC gives the virtual machine a new port-ID, which it will move to a new outgoing VMNIC, which might seem to solve the problem.)

  • What is a virtual port storage system

    VMware now supported the harbour active/active, active/passive, and virtual storage system. What is virtual port storage system, you can give me same example?

    in san guide old version, I can see the storage mode, indicate it is active/active or active/passive, find the last guide of san, not to mention that the online guide compat?

    A link to ' [storage virtual port | ]. "[http://virtualgeek.typepad.com/virtual_geek/2009/04/are-you-Stuck-with-a-single-Really-Busy-Array-port-When-using-ESX-script-for-Balancing-Multipathing-in-ESX-3x.html].

  • WSD port for printers and TCP/IP ports monitor, what is the difference?

    There are a lot of discussions on IP etc. addresses for printer problems. There is no mention of a new feature for the port for printers, WSD port for plug-and-play printers, I assume that the IP addresses have no importance with WSD, my printer is vaguely configured for the WSD port and TCP/IP port, can someone please expain

    Here is a description I found

    The WSD Port Monitor is a new printer port monitor in Windows Vista and Windows Server 2008.  This port monitor supports printing on network devices that are designed to include Web Services for devices (WSD) technology.  Services Web for devices allows devices connected to the IP-based network announce their functionality and to provide these services to customers using the Web Services Protocol.  Clients and devices WSD communicate on the network using a series of SOAP (Simple Object Access Protocol) messages on UDP and HTTP (S).  WSD for devices offers a plug-and-play network experience that is similar to the installation of a USB device.  Services Web for devices also defines a security profile that can be extended to provide additional protection and authentication by using certificates based on the device.

    WSD is not a port, but a port monitor.  A port monitor looks at information from the TCP/IP port and makes routing or changes based on what happens in the port.

    This link has some in the description of the depth of the WSD port monitor:

    http://blogs.technet.com/b/askperf/archive/2008/02/11/WS2008-the-WSD-port-monitor.aspx

    Back to the comparison of the IP address as a P.O. box.  Once the letter arrives in the POST box, someone needs to come empty the box or letters are going no where.

    When the data comes in the TCP/IP port a port monitor is where I look for that to happen.  The WSD port monitor would take over this function from the standard TCP/IP port monitor.

  • Visa read write on port series independently and at the same time!

    Hi all!

    I need to read and write data to and from a serial port (rs232) independently and simultaneously .

    I'm sorry that I can not put a picture of that, but it's very simple:

    I used "set up the serial port" and forwarded to two while loops, the resource reference.

    a loop is reading data and the other loop is writing data to the port.

    the problem is when the playback loop (function serial reading) waiting for data - it blocks the other loop to run (writing of the serial function is blocked).

    I searched the forum and find this visa open function has 'duplicate session' option - that's what I need?

    If true, can someone explain exactly how to wire and use it in the right direction?

    Thank you very much.

    Guy.

    OK, I found an example that solved my problem: a VI called   serialduplicatesessions.

    The file is associated.

    Here is the link for all cases: http://zone.ni.com/devzone/cda/epd/p/id/1727

  • Ports 5821 5800 and 5900-5921

    Hello

    Can I get an entry on Ports 5800-5821 and 5900-5921. It is necessary at the launch of the e-courses through Learning Manager Portal.

    https://www.microsoftelearning.com/eLearning/courseDetail.aspx?CourseID=194999

    Ganesh Kulkarni

    Your message is in the forum for people needing help with the anti-malware program from Microsoft Security Essentials (MSE).

    Think that ask you for help to

    http://www.Microsoft.com/learning/en/us/help/assisted-support.aspx

Maybe you are looking for

  • Re: Satellite P200 - 1 FT fully formatted, recovery

    Hello Forum Toshiba, I have a problem with my laptop (Satellite P200 - 1 '). I hope you can help me :-) I want to sell my laptop and so I wanted to completely remove my all data on the hard drive. I used a tool called dban (http://www.dban.org) and i

  • Update pkg3.505AAA

    What is having someone else cause access to Netflix, or a internet video applications with software update pkg3.505AAA? Since I did it I have more access to them. I have internet access, but not applications. Including Quirocity. Its for a 55HX929 XB

  • Image Podcast issue: error message

    I've worked with people very intelligent two for two days and we cannot figure out how to get our podcast released on iTunes. We have the site host (software library). We posted on Tumblr. We put it through a feedburner to extract the RSS. We did our

  • How do I change the sidebar on the right side of the screen to the bottom of the screen?

    How do I change the sidebar on the right side of the screen to the bottom of the screen? I called Best Buy to help me with the problem, but they were unable to help because they did not have the answer for me.

  • What should I do when Windows Update is blocked for 3 days, saying "do not turn off your computer.

    Windows Vista Home, automatic installation of updates 3 days ago, when it froze. He said 'do not turn off your computer', but ctrl + alt + delete does not work, so what do I do? I can't use all the controls while the update is frozen. If it's a diffe