Pages

Tuesday, March 29, 2016

FCoE Notes

QLA HBA - 
Host Connectivity

  • On QLogic CNAs, set the Link Down Timeout to 60 seconds (the default is 30 seconds) in the Advanced HBA Parameters. This is necessary to ensure proper recovery or failover if a link fails or becomes unresponsive.


    Switch Configuration

    fka-adv-period


    VFC down due to FIP keepalive misses
    The VFC goes down due to FIP keepalive misses.
    Possible Cause
    When FIP keepalives (FKA) are missed for a period of approximately 22 seconds, this means that approximately three FKAs are not continuously received from the host. Missed FKAs can occur for many reasons, including congestion or link issues.
    FKA timeout : 2.5 * FKA_adv_period.
    The FKA_adv_period is exchanged and agreed upon with the host as in the FIP advertisement when responding to a solicitation.
    Observe the output from the following commands to confirm FKA misses:
    •  show platform software fcoe_mgr info interface vfc <id>
    •  show platform software fcoe_mgr event-history errors
    •  show platform software fcoe_mgr event-history lock
    •  show platform software fcoe_mgr event-history msgs
    •  show platform fwm info pif ethernet <bound-ethernet-interface-id>
  • Solution
    Sometimes when congestion is relieved, the VFC comes back up. If the symptom persists, then additional analysis is required. The possible considerations are:
    • The host stopped sending the FKA.
    • The switch dropped the FKA that was received.
  •  



      

Saturday, March 26, 2016

VMtools - parameters

/v /qb-! REINSTALLMODE=vomus ADDLOCAL=All REMOVE=Hgfs,WYSE,Audio,BootCamp,Unity,VShield REBOOT=ReallySuppress

/v /qb-! REINSTALLMODE=vomus ADDLOCAL=All REBOOT=ReallySuppress
/S /v "/qn /l*v ""%TEMP%\vmtools-inst.log"" REBOOT=ReallySuppress ADDLOCAL=ALL REMOVE=Hgfs,WYSE,Audio,BootCamp,Unity,FileIntrospection,NetworkIntrospection"


/S /v "/qn /l*v ""%TEMP%\vmtools-inst.log"" REBOOT=ReallySuppress ADDLOCAL=ALL REMOVE=Hgfs,WYSE,Audio,BootCamp,Unity"

Friday, March 18, 2016

What's new in PowerCLI 6.3 R1

PowerCLI 6.3 R1 introduces the following new features and improvements:

Get-VM is now faster than ever!
The Get-VM Cmdlet has been optimized and refactored to ensure maximum speed when returning larger numbers of virtual machine information. This was a request which we heard time and time again, when you start working in larger environments with thousands of VMs the most used cmdlet is Get-VM so making this faster means this will increase the speed of reporting and automation for all scripts using Get-VM. Stay tuned for a future post where we will be showing some figures from our test environment but believe me, it’s fast!


New-ContentLibrary access
New in this release we have introduced a new cmdlet for working with Content Library items, the Get-ContentLibraryItem cmdlet will list all content library items from all content libraries available to the connection. This will give you details and set you up for deploying in our next new feature…. 
The New-VM Cmdlet has been updated to allow for the deployment of items located in a Content Library. Use the new –ContentLibrary parameter with a content library item to deploy these from local and subscribed library items, a quick sample of this can be seen below:

$CLItem = Get-ContentLibraryItem TTYLinux
New-VM -Name "NewCLItem" -ContentLibraryItem $CLItem -Datastore datastore1 -VMHost 10.160.74.38
Or even simpler….
Get-ContentLibraryItem -Name TTYLinux | New-VM -Datastore datastore1 -VMHost 10.160.74.38

ESXCLI is now easier to use
Another great feature which has been added has again come from our community and users who have told us what is hard about our current version, the Get-Esxcli cmdlet has now been updated with a –V2 parameter which supports specifying method arguments by name.
The original Get-ESXCLI cmdlet (without -v2) passes arguments by position and can cause scripts to not work when working with multiple ESXi versions or using scripts written against specific ESXi versions.

A simple example of using the previous version is as follows:
$esxcli = Get-ESXCLI -VMHost (Get-VMhost | Select -first 1)
$esxcli.network.diag.ping(2,$null,$null,“10.0.0.8”,$null,$null,$null,$null,$null,$null,$null,$null,$null)

Notice all the $nulls ?  Now check out the V2 version:

$esxcli2 = Get-ESXCLI -VMHost (Get-VMhost | Select -first 1) -V2
$arguments = $esxcli2.network.diag.ping.CreateArgs()
$arguments.count = 2
$arguments.host = "10.0.0.8"
$esxcli2.network.diag.ping.Invoke($arguments)

Get-View, better than ever
For the more advanced users out there, those who constantly use the Get-View Cmdlet you will be pleased to know that a small but handy change has been made to the cmldet to enable it to auto-complete all available view objects in the Get-View –ViewType parameter, this will ease in the use of this cmdlet and enable even faster creation of scripts using this cmdlet.

Updated Support
As well as the great enhancements to the product listed above we have also updated the product to make sure it has now been fully tested and works with  Windows 10 and PowerShell v5, this enables the latest versions and features of PowerShell to be used with PowerCLI.
PowerCLI has also been updated to now support vCloud Director 8.0 and vRealize Operations Manager 6.2 ensuring you can also work with the latest VMware products.

More Information and Download
For more information on changes made in vSphere PowerCLI 6.3 Release 1, including improvements, security enhancements, and deprecated features, see the vSphere PowerCLI Change Log. For more information on specific product features, see the VMware vSphere PowerCLI 6.3 Release 1 User’s Guide. For more information on specific cmdlets, see the VMware vSphere PowerCLI 6.3 Release 1 Cmdlet Reference.

You can find the PowerCLI 6.3 Release 1 download HERE. Get it today!


Thursday, March 10, 2016

vCPU Hot Add and Hot Remove

To enable vCPU Hot Remove, you'll need to enable vCPU Hot Add.
I was able to do so by adding both of these settings into the VMX (or just enable Hot Add via UI and then add Hot Remove option into VM Adv Settings)
vcpu.hotadd = "TRUE"
vcpu.hotremove = "TRUE"

Monday, March 7, 2016

http get

GET / HTTP/1.1
Host: www.vmware.com
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)


GET / HTTP/1.1
Host: kb.vmware.com
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)