Cannot add the vmkernel nic: a specified parameter was not correct. vSphere CLI + ESXi 4

Hello. I try to add vmknic with frames in my distributed virtual switch.

I read the vSphere command-line Interface Installation and reference Guideguide:

"vicfg-vmknic - a-i DHCP"vmk5"

I see the error message:

Cannot add the vmkernel nic: a specified parameter was not correct.

Vim.Host.VirtualNic.Specification.Ip

What's wrong?

I tried all the combinations of parameters with the same result.

Ok! I've found a workaround.

Since adding a vmkernel remote interface doesn't seem to work with DVS, I simply created one on a standard vSwitch and it then migrated to the DVS. And voila: the value 9000 MTU migrated intact with her! Here are the steps I followed:

1. put the ESX host into maintenance mode - evacuate VMs manually if necessary

2 remove the VMKernel iSCSI/NFS to the DVS interface

3. create a standard virtual switch with no physical cards. He has no need to be a VMKernel VM Networking switch is fine. Make a note of the name you gave to the PortGroup created on the new vSwitch.

4 using the remote control line, add the new interface vkernel specifying an appropriate jumbo MTU (9000) and the PortGroup on the standard new vSwitch. For example:

esxcfg - vmknic.pl - Server

If you get 3 answers, everything works. If you get failures, something has gone wrong. Go back and check that the interface is configured correctly using the command list esxcfg - vmknic.pl-.

Enjoy!

M

Tags: VMware

Similar Questions

  • The specified parameter was not correct: ".."

    Hello

    I am using VMware vCenter Converter Standalone to virtualize a few physical servers on an ESXi server.

    I installed ESXi 4.1.0 on a new server (quad core 2 processors, 48 gb of ram, a mirrored raid (where is the ESXi software) and a raid 5 for virtual servers).  I've already enabled 64-bit virtualization in the bios of the destination server.

    The first server I want to virtualize is a small server (Nothing mission critical).   The software main is executing is SpiceWorks.  I installed VMware vCenter Converter Standalone 4.3.0 Build-292238 on the source server.

    The error that I'm left with after you run the converter is:

    The specified parameter was not correct: ".."

    Let me guide you through the steps of how I get there.

    Launch of vCenter Converter

    Click on Convert Machine

    Under Select Source Type: Tension machine

    Specify the machine 'this local computer '.

    Next

    Select the Destination Type: VMware Infrastructure virtual machine

    Server: xxx.xxx.xxx.xxx

    user name: root

    password: password for root

    Next

    Name: leave the same...

    Next

    Select localhost.localdomain

    SELECT data store: Data1 (it was created on the raid 5 group, 860,75 1 GB of free space)

    Virtual Machine version: Version 7 of the

    Next

    Check the destination parameter... Check

    Let all the suggested default values / (go play with it more that one I get a working basis...)

    Next

    Summary (see bottom of post for summary)

    Finishing

    Special presentation...

    Then I get the error message

    The specified parameter was not correct: ".."

    The error message ends actually in times of double quotes

    If anyone has any suggestions, I would be grateful.

    Thank you.

    -


    Summary

    Information source system

    Source type: slot machine tension

    Name/IP address: the machine where works the VMware vCenter Converter Standalone server

    The CPU limit: None

    The network limitation: None

    Destination system information

    Virtual machine name: xxxxx

    Host/server: xxx.xxx.xxx.xxx

    Logged in as: root

    VM folder: None

    The host system: localhost

    List of resources: by default

    Power after the conversion: No.

    Number of processors: 2

    Physical memory: 3584 MB

    Network: Preserve County NIC

    NIC1 connected

    The VM network

    Type of disk controller: Preserve source

    Storage: The Volume of cloning-based

    Data configuration files store: Data1

    Customization of the destination

    Synchronize changes that occur during cloning: No.

    Install VMware Tools: No.

    Customize the guest operating system: No.

    Delete restore points: Yes

    Reconfigure the virtual machine: Yes

    in step 3 you can check to see if all volumes can be copied?  Just to make sure that it is a disk volume to move...

    The error should be something between the two tick marks, which is not double quotes.

    He complains that a value is null, rather than not null.  So, in step 3, make sure that nothing is missing.

    Kind regards

    Jon Hemming, b.SC., RHCT, VMware vExpert 2009
    http://Twitter.com/vJonHemming

    If your question or problem has been resolved, please click the "right answer".  If someone helped him, please click "useful answer.

  • Converter Standalone 4.3.0 question - Get "the specified parameter was not correct" and no source listed volumes

    Sorry - hopefully an admin can move this to the correct forum. I could find no community forum labeled converter so no idea where to post this message.

    My first time trying to use the converter. Use the latest version of the Converter 4.3.0 to try a P2V by using the source computer. This is a laptop Dell D820 running Windows 7 Ultimate x 64 business. I chose the source machine and all the default settings. Destination product is VMware Workstation 7.x and target files are either local or to a port USB drive (tried both). In the last step, I get a yellow bar with the error "the specified parameter was not correct" "but the following quotes are empty and presume it suppose to say the name of the setting.» The only thing I see that is suspect is that if I click on change in section 'Data copy', the list of volumes and empty and assume that shouldn't be. The sample video to get advice on the use of converter on VMware support sites show a volume listed here. I tried the same approach on a completely different system under Vista SP2 and still no volumes appear so maybe it normal?

    No idea what I am doing wrong? I did export logs and watch and it appears no volume information has been captured (a lot of & lt; destroyed & gt ;) but even once, just guessing.) Any advice would be appreciated greadly.

    Thank you

    Don

    I had the same problem on a Win7 x 64 machine... There was no listed disk to convert.

    I managed to solve the problem by running the converter as an administrator. Right-click on the Desktop Converter icon and select run as administrator.

    The disks appears and you can select which can be the converter.

  • a specified parameter was not correct Vim.Host.VirtualNic.Specification.Ip

    Test network.

    ESX 3.5

    I want to connect ESX to Openfiler. When I try to add VMKernel I get err. : a specified parameter was not correct Vim.Host.VirtualNic.Specification.Ip

    For the IP, I entered the host IP. Clean install. No virtual machine in the inventory.

    Where to look?

    THX.

    You cannot use the same address IP assigned to the path of your host ESX service console - the VI Client is smart enough to know that the IP address is used - try using a different IP address on the same subnet.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful-

  • New-VM with OSCustomizationSpec, error "a specified parameter was not correct."

    I'm doing a script where I read a CSV file with settings to deploy multiple virtual machines. Now, I added functionality to get him to make sysprep with the help of OSCustomizationSpec and when I tested it work very well. After that, I made a few minor, such changes that added "-ResourcePool" and other things I can't remember unfortunately. Or at least I thought they were minor changes which should influence what negatively, but when I run it now I get error "a specified parameter was not correct." I found this thread saying it was a bug in the previous version, but that must have been fixed. I tried a workaround but I still get the same error. The script works well when I remove the "-OSCustomizationSpec" parameter, but it seems nothing wrong with the file I can manually deploy the virtual machines with the file OSCust from the GUI and the same models. And as I said, it worked well earlier when I used this setting. Any ideas on what "parameter", it's wrong?


    PSVersion: 4.0

    PowerCLI Version: VMware vSphere PowerCLI 5.5 Release 2 build 1671586


    The script starts the error message:

    New - VM: 2014-07-14 10:13:13 New - VM the functioning of the entity "model" failed with the following message is displayed: "specified a parameter was not correct. . ' spec.identity.userData.computerName '

    Script.ps1:141 tank: 6

    + New-VM-model $Template"

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

    + CategoryInfo: NotSpecified: (:)) [new-VM], InvalidArgument)

    + FullyQualifiedErrorId: Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed, VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

    And in the GUI:

    Task: Clone virtual machine

    Status: A specified parameter was not correct. spec. Identity . userData.c omputerN soul


    Below is the part of the script New - VM and OSCust:

    New-OSCustomizationSpec-name "PowerCLI" '

    -"Password" AdminPassword"

    -AutoLogonCount 0'

    -ChangeSID: $True '

    -Confirm: $False '

    -DeleteAccounts: $False '

    -Description "only for use with PowerCLI." "

    -FullName $Customer '

    -LicenseMode "NotSpecified" "

    «- NamingScheme «Fixed "»

    -NamingPrefix $VMName '

    OrgName - $Customer '

    -OSType 'Windows' "

    Time zone - 110'

    -'Persistent' type '

    -Workgroup 'WORKGROUP ' | Out-Null

    New-VM-model $Template"

    -Name of the $VMName '

    -VMHost $VMHost '

    -Store data $Datastore"

    -Map $Folder '

    ResourcePool - $ResourcePool '

    OSCustomizationSpec - PowerCLI | Out-Null

    Heck, I'm stupid, I think that it is Monday today!

    Just as you understand, it has something to do with the name of the computer.

    'spec.identity.userData ComputerName'.

    Or more precisely '-NamingPrefix $row.» Nu. Since this is the NETBIOS name, which can contain only letters, numbers and hyphens.

    As previously stated I'm stupid. I had $row. Defined as 'nickey_test01' and underscore name isn't a character allowed. This explains why the script already worked before when I created client VM. Guess I'll have to build in several controls in the script, for fool proof.

    Cheers for the help of Luke.

  • From convert W2K3 comments led to "a specified parameter was not correct" error

    I converted a physical W2K3 server to VI3 (ESX 3.5.0 123623 and VC 2.5 119598) successfully.

    I was able to start the client afterwards, but nothing happened. Customer VI stated that the power has been a success but the machine did not come and showed again that power off.

    Making it the second and most times leads to an error message: "a specified parameter was not correct."

    I checked the hardware settings of the guest and has seen three ports series configured. I deleted the and tried to start it again. Again, the customer VI said that the power has been a success but the machine did not come and he always showed that power off and all suite trying generated this error again.

    I connected to the web interface and tried to start from there, but that has not worked, as well.

    I checked the disk space on the volume of SAN (there is an article stating that this error message appears when there is not enough space left to store the paging file in VC 2.0), but there are a lot of free concerts.

    .vmx:

    #! / usr/bin/vmware

    config.version = '8 '.

    virtualHW.version = "4".

    floppy0. Present = 'false '.

    NVRAM = "IN1CPTAPP005.nvram."

    deploymentPlatform = "windows".

    virtualHW.productCompatibility = "hosted".

    Tools.Upgrade.Policy = "useGlobal".

    powerType.powerOff = "default".

    powerType.powerOn = "default".

    powerType.suspend = "default".

    powerType.reset = "default".

    displayName = "IN1CPTAPP005."

    extendedConfigFile = "IN1CPTAPP005.vmxf".

    numvcpus = '2 '.

    scsi0. Present = 'true '.

    scsi0.sharedBus = 'none '.

    memsize = "4096".

    scsi0:0. Present = 'true '.

    scsi0:0. FileName = "IN1CPTAPP005.vmdk".

    scsi0:0. DeviceType = "scsi-disk" hard

    ide0:0. Present = 'true '.

    ide0:0. FileName = "".

    ide0:0. DeviceType = "atapi cdrom.

    ethernet0. Present = 'true '.

    ethernet0.wakeOnPcktRcv = "false".

    ethernet0.networkName = "internal129.230.149.x".

    ethernet0. AddressType = 'vpx.

    ethernet0.generatedAddress = "00:50:56:a6:26:d6."

    Serial0.present = "false".

    Serial0.yieldOnMsrRead = 'true '.

    Serial0.filename = ' / dev/ttyS0 ".

    serial1. Present = 'false '.

    serial1.yieldOnMsrRead = 'true '.

    serial1. FileName = ' / dev/ttyS1 ".

    serial2. Present = 'false '.

    serial2.yieldOnMsrRead = 'true '.

    serial2. FileName = ' / dev/ttyS0 ".

    guestOS = "winNetEnterprise."

    UUID. BIOS = ' 50 26 c2 cf 94 ea 50 - dd 6f 3A ff c3 e8 ec c0 EB.

    SCHED. CPU. Affinity = "all".

    sched.mem.Affinity = "all".

    scsi0:0. Redo = «»

    UUID. Location = "56 4 d 45 3 c this 36 28-4 b 69 93 d7 e1 93 a5 b5 cc.

    sched.swap.derivedName = ' / vmfs/volumes/48fc3709-252c5c10-6258-0014c26377c1/IN1CPTAPP005/IN1CPTAPP005-11a5b48b.vswp '.

    hostCPUID.0 = "00000005756e65476c65746e49656e69".

    guestCPUID.0 = "00000005756e65476c65746e49656e69".

    userCPUID.0 = "00000005756e65476c65746e49656e69".

    hostCPUID.1 = "00000f4800040800000064bdbfebfbff".

    guestCPUID.1 = "00000f4800010800000020010febbbff".

    userCPUID.1 = "00000f4800040800000064bdbfebfbff".

    hostCPUID.80000001 = "00000000000000000000000120000000".

    guestCPUID.80000001 = "00000000000000000000000120000000".

    userCPUID.80000001 = "00000000000000000000000120000000".

    evcCompatibilityMode = "FALSE".

    ide0:0.startConnected = "false".

    ide0:0.clientDevice = 'true '.

    guestOSAltName = "Microsoft Windows Server 2003, Enterprise Edition (32-bit)"

    .vmxf:

    Any ideas?

    I'm not sure why you're having the problem, but a quick fix is to create a new machine virtual just how you want with no disc, then join the VMDK virtual machine files that usually start.  The fire and see if it works.  It should be fine.  If so, you have some cleanup to do to get all the files in the same directory for the new virtual machine and removing the old VM.  Just pay attention do not remove your VMDK files!

  • Policy in the form of traffic-"a specified parameter was not correct."

    Hello.

    Here's a question for you all the gurus of cutting the code checking the syntax.

    I have a requirement to address the political shaping traffic outside esxcfg so orders need to complete in PS. I jumped directly to the Web of Alan site and found this wonderful example but when I copy / paste, change to vSwitch0 vSwitch1, it returns the message.

    Exception by calling 'UpdatePortGroup' with '2' or the arguments: "it was not correct to specified parameters.

    Vim.Host.PortGroup::Specification:vswitchId ".

    To: tank line: 22:28

    ++ $. mor UpdatePortGroup & lt; & lt; & lt; & lt; ($pgName, $portgrp) +.

    The URL for the code is here: http://www.virtu-al.net/2010/01/13/powercli-automating-traffic-shaping-on-portgroups/

    Any suggestions where I understand will be rewarded with points

    See you soon,.

    Darren.

    Hi Darren,

    I tried the code on my system and changed vSwitch1 to vSwitch0 and got the same error you did. Then I saw that you change to vSwitch0 vSwitch1 in two places in the code, line 3 and line 4. After that I changed both places it worked perfectly.

    Best regards, Robert

  • New-AlarmActionTrigger: A specified parameter is not correct

    Hello world

    I am trying to add a new alarm action to all my alarm vCenter definitions. Nothing complicated and because I'm lazy, I tried using PowerCLI for this. It's my little script:

    Get-AlarmDefinition | % {
      $_ | Get-AlarmAction | Remove-AlarmAction -Confirm:$false
        $_ | New-AlarmAction -Email -To '[email protected]' | % {
      $_ | New-AlarmActionTrigger -StartStatus 'Yellow' -EndStatus 'Red' -Repeat:$false
      $_ | New-AlarmActionTrigger -StartStatus 'Green' -EndStatus 'Yellow' -Repeat:$false
       }
    }
    

    When I run it, the action of the alarm and the two triggers are added. But when you add the alarm fires from "Yellow" to "Red", the following error occurs:

    New-AlarmActionTrigger : 04.07.2015 16:59:25    New-AlarmActionTrigger        A specified parameter was not correct. 
        
    At C:\Users\patrick\AppData\Local\Temp\bcfe38ed-7669-43dd-a588-7e88e59d70c4.ps1:4 char:8
    +         $_ | New-AlarmActionTrigger -StartStatus 'Yellow' -EndStatus 'Red' -Repeat:$fa ...
    +              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [New-AlarmActionTrigger], InvalidArgument
        + FullyQualifiedErrorId : Client20_AlarmServiceImpl_NewAlarmActionTrigger_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Alarm.NewAlarmActionTrigger
    

    Unfortunately I can not know what setting is not correct. The error occurs only for "Yellow" to "Red". No idea what is wrong or what did I miss?

    Thanks for the tips!

    Strange, as far as I know there is no beta 6R2 for now.

    Yes, it should work.

    You might find some clues in the vpxd.log.

    Otherwise, use Onyx to check what really happened to the methods.

  • cannot add the new hard drive more than 2 TB on vsphere upgrade 5

    can someone give me a clue? I can't add new greater than 2 TB drive to my vm on my upgraded vsphere 5.0. My data store is 6 TB and already read by vsphere... I create new virtual machine and add the new drive, but it limits again just 2 TB when I change 4 TB, the error message will appear. I recently added my datastore LUN with VMFS5 version. is there a any mistake I made? Please help me this problem is so frustrating me... i need to create new disk 6 TB to my new file server

    Hello.

    You will need to use a RDM in physical Compatibility Mode to achieve. As weinstein5 said, a VMDK cannot be greater than 2-to-512bytes. You can use the OS to spread over several 2 TB-512bytes VMDK, if that's what you really want.

    Good luck!

  • a specified parameter is not correct: entityID

    Has anyone seen this error before? I have a call in VMware, but I'm waiting for management to answer.

    screenshot.png

    Solved my problem... Had to give up the license via the web client. VMware documentation did not specify this, but as MRS is now Web Client that I guess it makes sense.

  • Cannot add the NFS share to store Cluster data

    Hello

    I have this scenario:

    Server - FREENAS with NFS share

    -cluster with 2 guests

    I added the NFS datastore successfully to each host in the cluster. The problem is when I try to add the NFS Datastore for the Cluster data store, I get the error: a specified poarameter was not correct. datastore.info.type.

    Any suggestions would be much appreciated.

    Thank you.

    Datastore1 and datastore2 data warehouses are data warehouses local? If so, you must remove these storages of data added before the NFS datatore to the cluster, first cause a cluster cannot be VMFS and NFS on the same cluster and second cause without making sense have warehouses of local data within a cluster data store.

  • Cannot add the header HTML - CFWebstore on CF11

    Hello

    I get the error below on a new installation of CFWebstore v6.6 on CF11. I used a previous version of CFWebstore on CF7 and CF9 without problem. Looking for suggestions...

    Cannot add the HTML header. ColdFusion is unable to add the header specified in the output stream. It's probably because you used to define one of the ColdFusion Cookies of Session or authentication cookie. To do this, please use configuration at the application server level. The error occurred on line 213.

    Thanks in advance for any help!

    Gary

    I found this answer:

    To resolve this issue, connect to Coldfusion Admin, go to the memory Variables and uncheck "Disable the update from Coldfusion cookies using tags/functions of Coldfusion." Memorize your settings, and then restart your Web site.

  • Cannot add the printer network Windows 7 64 bit

    My laptop Home Premium 64 - bit of Windows 7 (client) cannot add the network printer that sits on the Windows 7 Ultimate 64 bit computer. A client XP computer easily added the network printer. When you try to add the network printer, the Windows 7 client searches for the driver on the host computer and says "unable to connect to the printer - the operation has failed with error 0x000003e3. I downloaded the driver from the manufacturer of the printer to the client computer. I also disabled the firewall on the computers... Any help would be appreciated.

    Hello

    ·         What is the number and model of the printer that you are using?

    ·         How many computers are connected to the host computer?

    ·         You are on a domain network?

    Method 1:

    You can check the items below that explain how to install a printer in Windows 7.

    Install a printer

    http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    Find and install printer drivers

    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    Method 2:

    a. now follow the document below to add the printer to the Windows 7 computer.

    http://Windows.Microsoft.com/en-us/Windows7/share-a-printer

    b. If the steps above does not help try the procedure below.

    We need to change the port and check. Let us perform the steps below to install this printer and check.

    a. Click Start, click Control Panel, and double click on devices and printers.

    b. click Add a printer.

    c. Select "add a local printer.

    d. Select "create a new port". Select "Local Port" as the port type.

    e. in the "type a port name" box, type the address in the following format.

    \\[IP address of the host computer]------[the share name of the printer]

    And then click Next.

    f. Select the driver in the list of drivers. If no driver available, click the Windows Update button, wait the process finishes and then search for the driver again.

    g. complete the installation.

    For additional help, refer to the article below.

    Printer in Windows problems

    You can also check out the link below that addresses the same issue when you face:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/error-0x000003e3-when-trying-to-install-network/2348b57b-7448-E011-8dfc-68b599b31bf5?msgId=d577ab02-DC48-E011-8dfc-68b599b31bf5

  • get the 1726 error: cannot add the port monitor

    get the 1726 error: cannot add the port monitor hp discovery port monitor (hp photosmart 5525 series) running Windows XP, HP Photosmart 5525

    Could not complete the installation.

    Hi Jeff,

    The computer manufacturing must have created a partition on the disk or provided you CD to restore the computer to the way it was when you bought it. If you have a PC clone, then probably you need to reformat your hard drive and reinstall the operating system. If you have an OEM computer (example: HP, Dell, ETC) there is most likely instructions when you turn on/off press F11 or F12 to return the computer to the computer.

    Note: Do nothing until you have all of your backup data.

  • Cannot add the new log file for the 11g database.

    Salvation of DBA

    I'm not able to add the log file, I receive the error message when the database is added.

    SQL > alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of size of 50 m;
    alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of 50 m of size
    *
    ERROR on line 1:
    ORA-01505: Error adding log files
    ORA-01577: cannot add the log file ' / oracle/DEV/db/apps_st/data/log03a.dbf'-fichier
    already a part of the database

    SQL > select a.group #, a.status, a member of the journal of v$ a, v$ logfile b where a.group # order of b.group = # 1;

    GROUP # MEMBER STATUS
    ---------- ---------------------------------------- ----------
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01a.dbf
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01b.dbf
    /Oracle/DEV/db/apps_st/data/log02a.dbf CURRENT 2
    /Oracle/DEV/db/apps_st/data/log02b.dbf CURRENT 2

    Kindly help me to add the new log file to my database.

    Thank you
    SG

    PGO

    Please see (how can redo log group be dropped when it ever becomes inactive?) [ID] 730827.1).

    Thank you
    Hussein

Maybe you are looking for

  • WiFi radio in xyboard

    The Droid has Xyboard 10.1 radio 2.4 ghz and 5 GHz, built in? I have some terrible reception even though I'm 10 feet away a good router.

  • How to uninstall a printer driver?

    I installed a printer HP 5600 driver & causing my system to reboot. I would like to uninstall it, but I can't find where to do.

  • [HELP] Lynksis WRT54G

    Please I need help with my Lynksis of WRT54G Router. Here is the image. http://img843.imageshack.us/img843/6797/78105566.jpg I go to my IP 192.168 etc but nothings happen at all. Please I need help. What are the steps to understand this. I really app

  • Windows Live Mail problem with location of records

    How can I move M Live Mail folders under "deleted" slot "Inbox" where they belong? My computer uses Vista.   My browser is IE 9.

  • Upgrade Vista to Windows 7, files using the second internal hard drive and Windows Easy Transfer.

    I have a desktop pc with 2 internal hard drives.  A hard drive has the BONE and the second hard disk is a separate partition.  (I do not combine hard drives using RAID.)  If I upgrade Vista to Windows 7, the upgrade will be to reformat hard disks or