Add VDSwitchPhysicalNetworkAdapter error - 'vmnic must be managed by the same server VC.

I used PowerCli 6.0 R3 on vSphere 6.0 Update 1 b.  I have only a single virtual machine, my VM vCenter which is a Windows Server 2012.  I have also 2 Dell ESXi servers.

I have created a virtual Distributed Switch (vDS), 3 groups of ports vd and have added the first 2 VMHosts service VDS using PowerCli.

My problem occurs when I try to add my vmnic host that need the VDS (10 GB NIC).  I get the following error:

The PhysicalNicImpl - "vmnic6" must be managed by the same VC server that you use to call this operation.

A code snippet is attached.  I appreciate any suggestions on what may cause this error.  You feel something in my environment.

Thank you Luke, you gave me the idea and I was able to understand.

In my script that I was connected to 2 my vCenter server and ESXi hosts and I never specified the vCenter server in cmdlets for a list of the network adapters.  So instead for expansion via vCenter cards, I received the ESXi host and this is why the Add-VDSwitchPhysicalNetworkAdapter complained.

Once, I started from vCenter in as the parameter server, everything started to click.

Difficulty:

$vctServerObj = to connect-viServer $vctIPaddress

$vmHostObj = get-vmhost-name $serverIP - Server $vctServerObj

$adapterList = get-VMHostNetworkAdapter-host $vmHostObj - Server $vctServerObj

{Foreach ($adapter to $adapterList)

$newVDSObj | Add-VDSwitchPhysicalNetworkAdapter - VMHostNetworkAdapter $Server adapter $vctServerObj

}

Tags: VMware

Similar Questions

  • Move-VM error: VM must be managed by the same VI servers as the destination data store

    I work with 2 ESXi servers and a single vCenter server with vSphere 6.0 Update 1 b; and PowerCLI 6.0 Release 2

    I have an a datacenter, cluster, vCenter and a vDS.  I need to pass the vCenter data store to another and get the error message:

    "Move-VM VM you are moving should be handled by the same server of VI as the destination container and the data store.

    Code looks like the following:

    $vctObj = to connect-viserver $vctIPaddress

    $esx1Obj = to connect-viserver $esx1IPaddress

    $esx2Obj = to connect-viserver $esx2IPaddress

    $vmObj = get-vm-name $vmname - Server $vctObj

    $destDSobj = get-datastore-name $destDSname

    Move-vm - vm $vmObj Datastore - $destDSobj - 'End' DiskStorageFormat

    I can migrate successfully from the virtual machine to vCenter data store through the VI Client, but PowerCLI left me speechless.

    Maureen

    Try to use the Server parameter on the Get-Datastore line

  • Error in database creating duplicate in the same server...

    Hello

    I am getting error after creating duplicate database

    DB version 10.2.0.4 =

    $ rman target sys/sys@test nocatalog auxiliary.

    Recovery Manager: Release 10.2.0.4.0 - Production on Mon Sep 28 15:13:32 2009

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    connected to target database: TEST (DBID = 1702666620, is not open)
    using the control file of the target instead of recovery catalog database
    connected to the auxiliary database: CLNTEST (unassembled)

    RMAN > DATABASE of TARGET duplicate to "CLNTEST."

    Starting in double Db to 28 / SEP / 09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid = 156 devtype = DISK

    content of Script memory:
    {
    until the SNA 597629461.
    the value of newname for datafile 1 to
    "/ u01/data_new/clonetest/system01.dbf";
    the value of newname for datafile 2 to
    "/ u01/data_new/clonetest/undotbs01.dbf";
    the value of newname for datafile 3 to
    "/ u01/data_new/clonetest/sysaux01.dbf";
    the value of newname for datafile 4 to
    "/ u01/data_new/clonetest/users01.dbf";
    the value of newname for datafile 5 to
    "/ u01/data_new/clonetest/example01.dbf";
    the value of newname for datafile 6 to
    "/ u01/data_new/clonetest/undotbs02.dbf";
    the value of newname for datafile 7 to
    "/ u01/data_new/clonetest/alweb1.dbf";
    the value of newname for datafile 8 to
    "/ u01/data_new/clonetest/indx1.dbf";
    restoration
    see readonly
    clone database
    ;
    }
    execution of Script memory

    executing command: SET until clause

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 28-SEP-09
    using the ORA_AUX_DISK_1 channel

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2009-09-28 15:13:40
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore


    RMAN > overlap backupset datafile 1;

    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 154 devtype = DISK
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects


    RMAN > overlap backupset datafile 2;

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects


    RMAN > overlap backupset datafile 3.

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects


    RMAN > overlap backupset datafile 4;

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects


    RMAN > overlap backupset datafile 5;

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects



    RMAN > overlap datafile backupset 6;

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects


    RMAN > overlap backupset datafile 7;

    using channel ORA_DISK_1
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
    Cut 2 objects



    Thank you

    Hello

    RMAN from checking if the data target files share the same names that duplicate files are used

    but I use different directory

    / u01/data_new/clonetest of the duplicate database

    / u01/data/BINGO database target

    I think that, when you use no nofilenamecheck clause, RMAN assumes that there is a copy of the backup file also exist at the location of backup of the clone, and in this case there is no backup file it is therefore failed. If you could have copied the location of primary backup file to clone is then probably you could not get the error.

    Kind regards.

  • 1 error windows must now restart because the plug-and-play service taken end unexpectedly__error 2 - windows must now restart because the DCOM Server process Launcher service put end unexpectedly__

    1 error windows must now restart because the plug-and-play service terminated unexpectedly
    error 2 - windows must now restart because the DCOM server process Launcher service terminated unexpectedly
    -every half an hour or 45 minutes such error comes and restarting the laptop... How to solve this problem...

    Hi nevil.fidelis,
     
     
    This seems to be a common problem, I recommend you to follow the discussions below and check if it helps.

    You can follow the procedure posted by Bindu RMicrosoft support, Moderator on Sunday, 24 January 2010, at 20:04.
    http://social.answers.Microsoft.com/forums/en-us/vistarepair/thread/ea20a793-5fe8-4448-9fa2-c3ef45069b87

    For additional help please refer to the following thread also:
    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/aa3373fa-836D-43f2-BCFC-6e566553c818

    You can also check the positions of the TCD in the thread below on
    http://social.answers.Microsoft.com/forums/en-us/vistarepair/thread/0f1a049c-4852-4321-91d7-dc1255f4d7a4
     
    Consider the response posted by Karena R, Moderator Thursday, December 31, 2009 at 01:28
    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/aa3373fa-836D-43f2-BCFC-6e566553c818

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Host process for Windows Services stopped working and was closed & Windows must now restart because the DCOM Server process Launcher service terminated unexpectely

    my computer keeps stopping and restarting itself. I get the same messages of 2 error: host process for Windows Services stopped working and was closed and; Windows must now restart because the DCOM Server process Launcher service terminated unexpectely. How can I fix? I used the norton support, run analyses of many, nothing has helped.

    None of the above works though... I didn't know by another forum to download Hitman 3.5 http://www.surfright.nl/en/downloads/home that he got rid of a virus that norton, Norton 360 and Malwarebytes antivirus support could not. I had no problem since :)

  • I have the last El Captain MAC update fom and an iMac Mid 2015 retina but Lightroom refuses to use the GPU indicating a display error. Has anyone else experienced the same question?

    I have the latest update of El captain and an iMac Mid 2015 retina but Lightroom refuses to use the GPU indicating a display error. Has anyone else experienced the same question?

    I also got an iMac mid 2015 27 "retina and not have problems. But I have another option 'see the add screen pictures"deselected it's the ravages of a single reading. See screenshot of my graphics card.

  • Newbie: Mobile Server and Oracle DB must be on the same server?

    Hello Forum...

    I have problems to install the mobile server (ver. 10.3.0.2.0).

    First of all, I tried to install within an instance of the OAS (ver. 10.1.3.0.0) - I could not set the password of the mobile server oc4j account in enterprise manager server application and is stuck there. Also, I couldn't connect to webtogo as mobile server administrator.

    Second, I have installed the version of stand-alone mobile server, but when I run the 'runmobileserver.bat' I get the following error:

    09/08/22 12:54:21 log9: connect as: MOBILEADMIN
    09/08/22 12:54:21 log9: Mobile Server ID not found, impossible to register.
    09/08/22 12:54:21 log9: java.sql.SQLException: ORA-00942: table or view does not exist

    Like the previous time, I couldn't connect to the webtogo as mobile server administrator. [OS: windows 2003 Enterprise in both cases]

    I was informed by my dba that Oracle mobileserver will work only if it is installed on the same server as the backend database. Is this true?

    Thank you
    j - p.

    Hi J - P,

    When you installed the mobile server in stand-alone mode, repwizard was not performed or has failed.
    Try to rerun repwizard with: $ORACLE_HOME/mobile/server/admin/repwizard
    You can check the log file in $ORACLE_HOME/mobile/server/repository.log to see if there is a critical error,
    the repwizard should save your mobile server, you can consult this table: mobileadmin.mobileserver_instances so you can see your host name and port.

    On the Mobile Server OAS installation, you should not need to use the oc4jadmin password as if you installed OAS 10.1.3 and run the runinstaller lite Oracle to install Oracle lite 10.3.0.2. in the same ORACLE_HOME with run of the OAS, it should automatically deployed the mobile server j2ee application in the OAS.

    Kind regards.
    Marc
    PS: To change the OC4JADMIN password you can use the note: Note.460314.1 Ext/Pub cannot establish a connection with OC4J instance mobileserver on application server

  • HP HP Device Manager Device Manager: multiple active gateways on the same server - possible?

    Hello

    Is this possible? We have 2 different offices on different subnets, but I can tell it is only possible to have an active local gateway at a time?

    I know that I can install a gateway HPDM in each office, but if I could avoid it, it would be preferable.

    Hello

    HPDM uses MAC of the server host as the ID gateway (which must be unique), is not possible you have two gateways installed on the same server host - Agent DM is not able to find out who will speak with.

  • Error message "unable to connect to the proxy server.

    I use Google ChRome as my browser. Unable to connect to the Internet. Error message "unable to connect to the proxy server. I went to the settings and tried to change the proxy settings. When I uncheck the box "use a proxy server" it does not apply only change.when I click OK, it always comes back to the box is checked.

    Chrome uses the Windows / IE settings proxy as do most of the browsers.

  • A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.

    Hello

    I just bought an HP computer, Windows 8 Pro, x64bit. I worked OK for a week and then started to freeze. It freezes all the time. I'll send the error message in the event log. I'd appreciate your help because I've had enough of this gel and I turn it works all the time.

    Log name: System
    Source: Schannel
    Date: 12/07/2013-12:55:12
    Event ID: 36870
    Task category: no
    Level: error
    Keywords:
    User: SYSTEM
    Computer: Aleksey
    Description:
    A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.
    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event">
     
       
        36870
        0
        2
        0
        0
        0 x 8000000000000000
       
        7179
       
       
        System
        Aleksey
       
     

     
        Server
        0x8009030d
        10001
     

    Thank you

    Hi Aleksey,

    I appreciate the efforts that you put to publish the query on this forum.

    Please help me with the following information about this issue:

    (1) is the computer that is connected to a domain network?

    (2) when exactly you receive the error message? It is by accessing any application?

    If the computer is connected to a domain network, I suggest you send the request on 8 Windows IT Pro. Check out the link:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w8itpro

    Please let us know if the computer is not in a domain. We will be happy to help you come.

  • Cannot install the Update Manager in the same virtual Center Server

    Hello

    I'm trying to install the vsphere Update Manager but I crash at the same point...

    I would like to install it in the same server vcenter, (windows server 2012) in order to not create another machine virtual to just install a plugin...

    Thanks in advance

    21-10-2014 10.10.40 2.jpg

    Installed the Update Manager client? Install the updated Client Plugin Manager

  • displacement of the configurations of lab manager between the ESX server host computers / data warehouses

    Hello

    Is it possible to move configurations of lab manager between the ESX server host computers / data warehouses? I don't see an option in the library & gt; Clone library. Thank you!

    Recently, I used SSMove to migrate our datastore LM set a new LUN.  It's really simple to use.  This KB gives complete instructions on SSMove http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1006694&sliceId=1&docTypeID=DT_KB_1_1&dialogID=8456583&stateId=0%200%209407965

    See you soon

    Paul

  • Satellite A200 - 26 d - error code 19 Device Manager on the USB ports

    I decided to try Windows 7, but the usb ports do not work in Device Manager all the usb root hubs have a yellow triangle and the State of the device says "Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged. (Code 19) ».

    I tried to uninstall via the Device Manager and restart the computer and download and reinstall the drivers for vista, because I can't seem to find the drivers for Windows 7, but none of this fixed anything. I was wondering if there was something else I could try or if I could get a link for the correct drivers.

    Hey JP317!

    If it didn t work removing the USB ports in Device Manager and restart the laptop, you should try to update the chipset drivers because they are usually a part of it.

    So check the site Web of Intel for an update and you should also find Windows 7 drivers.

    If you have any other questions, please let us know!

  • Windows 7 Pro PPTP VPN 807 error and does not connect to the remote server, XP machine connect without problems

    I'm just set up my new windows 7 laptop (Dell Precision M4400) running windows 7 Professional and VPN are not working, they're always bombing with error 807.  "The connection between your computer and the VPN server was interrupted."

    I created a PPTP connection in order to connect to my workplace and connecting I continually receive an 807 error.

    To check my internet etc is work that I have connected to the same place through my existing XP laptop computer (DELL precision M4300) which has the same VPN settings.  Everything connects aok.

    I'm also running ESET as my anti-virus and firewall and that you have disabled it to test (normally I have no problem running this and is also running on my XP laptop).  I also confirmed that windows firewall is turned off.

    I connect wireless at home, internet works fine, firewall has not changed at each end (I manage both ends) and such noted works for my machine also running more XP wireless.

    Hello

    Welcome to Microsoft Windows 7 answers Forum!

    Note to resolve this problem, we have a support professionals who are well equipped with the knowledge on Windows 7 issues, do please visit the link provided below.

    http://social.technet.Microsoft.com/forums/en/w7itprovirt/threads

    Hope this information is useful.

    Thank you, and in what concerns:

    Suresh Kumar-Microsoft Support.

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think

  • AR error "AR could not communicate to the DDE server.

    I've updated from Win 7 to win 10. I have AR DC and it was working fine before the upgrade. Now when I try to use the AR, I get the following error message: "AR could not communicate to the DDE server". After reading several posts on the forums, I tried to clean up the permissions for AR DC. AR DC started working but only once. He went immediately to the same error message. I tried to reinstall AR DC but I still get the same error message.  Can anyone help? Thanks John

    Hi johnm72885013,

    The error you see "Acrobat could not connect to a DDE server" occurs usually when Acrobat/Reader finds an already running instance of Acrobat/Reader software, tries to 'talk' to it, but this other instance does not. This can happen if there is a 'guillotine' or misconduct Acrobat/Reader running (perhaps in running in background because he doesn't close properly).

    If you are uncomfortable with the task manager of Windows (via Ctrl-Shift-Escape), then try and kill any what Acrobat.exe or AcroRd32.exe instances running in the background that may have disappeared.

    Kind regards

    Nicos

Maybe you are looking for

  • application like Firefox to download a-squared

    To access the Salon.com, a page came pretending to be Firefox (with the logo of Firefox and fonts) and on a security issue that it an immediate fix. Norton Antivirus reported dangerous executable. The url specified when hovering mouse links quite obv

  • Need driver XP VGA for Satellite C655-S9521D

    Hi, I installed XP OS on my laptop Satellite C655-s9521d... I found all drivers accept VGA driver please help Post edited by: hishtog

  • HP Pavilion a6330f desktop PC: is it possible to update my Network Interface Card?

    Is it possible to replace and modernize the Network Interface Card that I have (10/100 Base-T Network Interface)?  If Yes, do you have a recommendation indicating what replacement card should I buy?  The network interface that I have now I cannot tak

  • MS Office teacher & 2002 edition will run on windows 7 Home Premium?

    My existing operating system is MS Windows XP Home Edition Version 2002 Service Pack 3. It also has MS Office teacher & edition 2002, everything that I want to keep (I have yet 2 licenses for the software).My question is I am about to buy a new Dell

  • Ntbackup freezes

    Ntbackup is working properly until recently (after installing .NET upgrades).  now, it freezes in the Preparing to backup using snapshot. It is on a stand-alone computer using xp pro sp3 running all upgrades.  the shadow copy service is set to automa