VM HW lvl 14 allows for per VM EVC settings. We are using vCloud Director and I cannot see an option within VCD to set VM EVC levels. Would it be possible for us to manually set the VM EVC level with...
See more...
VM HW lvl 14 allows for per VM EVC settings. We are using vCloud Director and I cannot see an option within VCD to set VM EVC levels. Would it be possible for us to manually set the VM EVC level within vCenter for a VCD based VM's without affecting / breaking the link for the VM between VCD and vCenter. Thanks
My question is related to the boot.cfg on the customised ISO which points to the kickstart location. In all examples I have seen this is done via a http connection but can we do this via the any othe...
See more...
My question is related to the boot.cfg on the customised ISO which points to the kickstart location. In all examples I have seen this is done via a http connection but can we do this via the any other protocol's? I am struggling to find relevant documentation on what protocol's are supported. Thanks
I have spent the better part of a day unsuccessfully trying to set some option. After reading another post which claimed to work I am now trying: # List the parameters in a hash table $esxcli.stor...
See more...
I have spent the better part of a day unsuccessfully trying to set some option. After reading another post which claimed to work I am now trying: # List the parameters in a hash table $esxcli.storage.nmp.satp.rule.add.CreateArgs() # Fill the hash table (optional params are not required) $sRule = @{ satp = 'VMW_SATP_ALUA' psp = 'VMW_PSP_RR' 'psp-option' = 'iops=250' vendor = 'INF-01-00' model = 'NetApp' description = 'NetApp Custom Rule' } # Call the esxcli command $esxcli.storage.nmp.satp.rule.add.Invoke($SRule) But none of this works, I keep getting an error "Index (zero based) must be greater than or equal to zero and less than the size of the argument list." No matter what I try I am unable to get anything back when trying to set the iops. I am using PowerCLI 13.
I am going to try it but I do believe you when you say it works, the rest after that is just me answering your questions. I will report back if there are any problems.
$vmhost | Get-SecurityPolicy -VirtualPortGroup EPG-CORE-MGMT Get-SecurityPolicy : The input object cannot be bound to any parameters for the command either because the command does not take pipeline...
See more...
$vmhost | Get-SecurityPolicy -VirtualPortGroup EPG-CORE-MGMT Get-SecurityPolicy : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input. At line:1 char:11 + $vmhost | Get-SecurityPolicy -VirtualPortGroup EPG-CORE-MGMT + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (<Hostname>:PSObject) [Get-SecurityPolicy], ParameterBindingException + FullyQualifiedErrorId : InputObjectNotBound,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.GetSecurityPolicy
I have been trying to do this via "$vmhost | Get-VirtualPortGroup" which does not seem to work. So I normally fire up the Powershell ISE and lookup the command option from the side toolbar, the "VMH...
See more...
I have been trying to do this via "$vmhost | Get-VirtualPortGroup" which does not seem to work. So I normally fire up the Powershell ISE and lookup the command option from the side toolbar, the "VMHost" option was not listed there. I will give this method a try, thanks.
I am trying to write a script which gets/sets the security policy for a specific port group on a specific host via a powercli connection to a vCenter. This does not seem to be possible as both comman...
See more...
I am trying to write a script which gets/sets the security policy for a specific port group on a specific host via a powercli connection to a vCenter. This does not seem to be possible as both commands seem unable to accept pipeline input so if I do a "Get-SecurityPolicy" for a specific Port Group it returns the settings for each and every standard port group with the same name present on ANY host in vCenter. I want to get/set the security policy for a specific port group on a specific switch on a specific host. Is this possible? It is part of a build / config script so I do not want to have to disconnect from vCenter and connect directly to the host just to configure this one option and then reconnect back to the vCenter again. Thanks
Seems like this does not work on ESXi7? The part about getting the stack first. It claims the stack is not found. I did not need to get the stack first on ESXi6.x first though with ESXi 7 I appreciat...
See more...
Seems like this does not work on ESXi7? The part about getting the stack first. It claims the stack is not found. I did not need to get the stack first on ESXi6.x first though with ESXi 7 I appreciate you might have to but powercli refuses to see the vmo stack.
It's a dedicated vMo VMK so I don't think it's an issue and I currently have 8 hosts configured this way and it's working. Never the less, I should probably reconfigure them to start using the vMotio...
See more...
It's a dedicated vMo VMK so I don't think it's an issue and I currently have 8 hosts configured this way and it's working. Never the less, I should probably reconfigure them to start using the vMotion stack.
Online research seems to suggest the same, only 1 DG per stack. However if I edit the VMK and choose the "Override default gateway for this adapter" option I can manually set an alternate IP address ...
See more...
Online research seems to suggest the same, only 1 DG per stack. However if I edit the VMK and choose the "Override default gateway for this adapter" option I can manually set an alternate IP address for that VMK and it all works fine. I would just like to try and script this instead of having to remember to add it manually each time. Surely there must be a way to set a DG on a specific VMK using Powercli...
I have a powercli script to configure additional VMK's during a host build and I need to configure the vMo network with it's own default gateway but I am struggling to find a method that sets just th...
See more...
I have a powercli script to configure additional VMK's during a host build and I need to configure the vMo network with it's own default gateway but I am struggling to find a method that sets just the default gateway on a specific VMK. Can anyone provide any assistance please.