Quantcast
Channel: VMware Communities: Message List
Viewing all 230966 articles
Browse latest View live

Re: vCenter Server Migration from SQL Express to SQL Full Version


Re: Native VLAN

$
0
0

For the vSphere distributed Switch to enable trunk you have to add VLAN range.

Either it could be  default 0-4094 or any other specific VLAN range which exist in your network.

You can use 4095 to enable Trunk on SS.

 

Note, when you enable Trunk on PortGroup, then you need to do the VLAN tagging inside VM Guest OS Network configuration (VGT Mode).

 

Sample configuration of virtual machine VLAN Tagging (VGT Mode) in ESX (1004252) | VMware KB

 

Assign a VLAN to a portgroup(s). The supported VLAN range is 1-4094.

Reserved VLAN IDs:

  • VLAN ID 0 (zero) Disables VLAN tagging on port group (EST Mode)
  • VLAN ID 4095 Enables trunking on port group (VGT Mode)

 

from KB - Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB

 

 

Wireshark to sniff the traffic

 

It really depends on where you are putting your Wireshark system.

e.g. if I want to snip all traffic for VMs from PortGroup-X which is VLAN 10 then I can enable Promiscuous mode for this PortGroup and add Wireshark VM in this PG.

Promiscuous mode will broadcast VM traffic to all ports in that PG.

 

Note, Port mirroring and Promiscuous mode are two different things.

 

 

-

Haridas Vhadade

Re: ESXi 6.0 CENTOS 7 VM network issues

$
0
0

are you running all three VMs in same ESXi host?

You have connected all VMs to same PortGroup?

are you using VLANs?

 

 

-

Haridas Vhadade

Re: VM Disk Resizing challenge with Array based replication

$
0
0

Hi,

 

Can you link to the KB article you mention?

 

I'm not aware of any limitations with resizing virtual machine disk files when they are being replicatied by the array. I mused to work for a company that used Nimble Arrays doing ABR with SRM and I now work for a MSP and we have a number of customers doing ABR and disks are resized without any issues.

 

Cheers, Matt.

Re: SRM and PSC

$
0
0

An install of SRM is still a one-to-one mapping to a vCenter server.

 

During the SRM installation, you do enter the details of the PSC, but at the very next step the installer will present you with a list of vCenter servers that are registered with that PSC and ask you which vCenter server you would like to pair with.

 

Cheers, Matt.

Re: how use remediate-inventory and get baseline ?

$
0
0

Then the message "Unable to connect to the remote server" could indicate that the Update Manager instance can not be reached.

Does the Update Manager tab work correctly from the vSphere client and/or Web client?

Re: How to Convert Virtual Machines from Hyper-V server to VMware ESXi using Vcenter Converter tools

$
0
0

Hi vHaridas,

 

Thanks a lot for your reply,

 

Hyper-V Version: Microsoft Hyper-V 2012 R2

 

VM OS: Windows Server 2008 R2 Enterprise

 

I have already downloaded the latest version of Vcenter converter and also tried, but it doesn't work (Got a same error which i have mention in the discussion)

 

Let me try the Power ON VM option. then will get back to you.

 

Thanks & Regards,

Arunkumar Shanmugasundaram

Re: Workstation 12.5.0 crash 0xC0000374 (heap corruption) in VMX

$
0
0

Sorry, I don't understand why but with USB 2.0 today it didn't crashed... it's very weird.

 

I rebooted 40 times : no crash.


Re: get cluster utilization info

$
0
0

Try like this

Note that some of the metrics you are using require Statistics Level 4 for Historical Interval 3 (Past Month)

 

$days=30

$start= (Get-Date).AddDays(-$days)

$stat="cpu.usage.average","mem.usage.average","mem.vmmemctl.average",

  "mem.shared.average","mem.active.average","mem.swapused.average"

 

$report=foreach ($clusterinGet-Cluster) {

    $esx=Get-VMHost-Location$cluster

    Get-Stat-Entity$esx-Start$start-Stat$stat|

    Group-Object-Property {$_.Entity.Name} |

    select @{N="Cluster";E={$cluster.Name}},

        @{N="VMHost";E={$_.Name}},

        @{N="Total memory";E={$_.Group[0].Entity.MemoryTotalGB}},

        @{N="Total CPU";E={$_.Group[0].Entity.NumCpu}},

        @{N="Average memory used";E={$_.Group |Where {$_.MetricId -eq"mem.usage.average"} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}},

        @{N="Average CPU used";E={$_.Group |Where {$_.MetricId -eq"cpu.usage.average"-and$_.Instance -eq""} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}},

        @{N="Average memory ballooning";E={$_.Group |Where {$_.MetricId -eq"mem.vmmemctl.average"} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}},

        @{N="Average shared memory";E={$_.Group |Where {$_.MetricId -eq"mem.shared.average"} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}},

        @{N="Average active used";E={$_.Group |Where {$_.MetricId -eq"mem.active.average"} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}},

        @{N="Average memory swapped";E={$_.Group |Where {$_.MetricId -eq"mem.swapused.average"} |

          Measure-Object-PropertyValue-Average|Select-ExpandPropertyAverage}}

}

 

$report|export-csv"c:\scripts\clusterreport.csv"-notypeInformation

 

Re: Enable Storage DRS

$
0
0

Try with this Where-clause

 

foreach($dscinGet-DatastoreCluster){

  $defaultVM=$dsc.ExtensionData.PodStorageDrsEntry.StorageDrsConfig.PodConfig.DefaultVmBehavior

  foreach($vmin ($dsc.ExtensionData.PodStorageDrsEntry.StorageDrsConfig.VmConfig |where{!$_.Enabled})){

    Get-View-Id$vm.Vm -PropertyName|

    Select @{N='DSC';E={$dsc.Name}},

      Name,

      @{N='Enabled';E={$vm.Enabled}},

      @{N='Behavior';E={

        if($vm.Behavior){$vm.Behavior}

        else{"Default ($($defaultVM))"}

      }}

  }

}

 

 

Try with this to switch the Disabled ones to Enabled

 

$si=Get-ViewServiceInstance

$srmMgr=Get-View-Id$si.Content.StorageResourceManager

 

foreach($dscinGet-DatastoreCluster){

  $spec=New-ObjectVMware.Vim.StorageDrsConfigSpec

  foreach($vmin ($dsc.ExtensionData.PodStorageDrsEntry.StorageDrsConfig.VmConfig |where{!$_.Enabled})){

    $vm.Enabled =$true

    $spec.VmConfigSpec +=$vm

  }

  $srmMgr.ConfigureStorageDrsForPod($dsc.ExtensionData.MoRef,$spec,$true)

}

 

Syslog server in VCSA

$
0
0

Hi All,

 

Need to know couple of things

 

We are planning to deploy a new VCSA 6 and then later add 46 ESXi / 800 VM’s to it ; it there a way I can redirect the ESXi logs to VCSA Appliance – can I make VCSA a syslog server to collect esxi logs?

 

Second ; considering the above point is not applicable then can I install Syslog msi file (only) on a Windows 2008 R2 Server and point all my 46 ESXi hosts to forward log files on it?

 

I do not have any third party syslog server nor I have approval to create one

 

 

Thanks in advance

Vaibhav

Syslog in VCSA

$
0
0

Hi All,

 

Need to know couple of things

 

We are planning to deploy a new VCSA 6 and then later add 46 ESXi / 800 VM’s to it ; it there a way I can redirect the ESXi logs to VCSA Appliance – can I make VCSA a syslog server to collect esxi logs?

 

Second ; considering the above point is not applicable then can I install Syslog msi file (only) on a Windows 2008 R2 Server and point all my 46 ESXi hosts to forward log files on it?

 

I donot have any third party syslog server nor I have approval to create one

 

 

Thanks in advance

Vaibhav

Re: VM Disk Resizing challenge with Array based replication

Re: Enable Storage DRS

$
0
0

It seems I forgot some line in the "Enable" script.

Try this new version

 

$si=Get-ViewServiceInstance

$srmMgr=Get-View-Id$si.Content.StorageResourceManager

 

foreach($dscinGet-DatastoreCluster){

  $spec=New-ObjectVMware.Vim.StorageDrsConfigSpec

  foreach($vmin ($dsc.ExtensionData.PodStorageDrsEntry.StorageDrsConfig.VmConfig |where{!$_.Enabled})){

    $vmSpec=New-ObjectVMware.Vim.StorageDrsVmConfigSpec

    $vmSpec.Info =$vm

    $vmSpec.Info.Enabled =$true

    $spec.VmConfigSpec +=$vmSpec

  }

  $srmMgr.ConfigureStorageDrsForPod($dsc.ExtensionData.MoRef,$spec,$true)

}

 

Re: VMWare Fusion 6.0.6 and MacOS Sierra?

$
0
0

I also cannot get Fusion 6.0.6 to work with Sierra.  When I start a VM, I get this: "Internal error".  This same exact VM on El Capitan works fine (tested on a different MacBook).

 

I even tried creating a new virtual machine, and get same error.  VERY Frustrating.


Can't Uninstall Applications through Horizon View Client

$
0
0

I have a test network where we've installed Active Directory, DNS and Horizon View 7.

 

I'm able to create a desktop pool, add a Virtual Machine to the pool and assign a user.

 

When I log into the VM through Horizon View I can open things as administrator, and perform some other administrative tasks.

 

However, when I try to uninstall a program I get the following:

"Error 1730. You must be an administrator to remove this application. To remove this application you can log on as an administrator, or contact your technical support group for assistance."


Any ideas why I have some administrative privileges but not others?

Re: v12.5.0: vmrun command fail, response is Error: The operation is not supported for the specified parameters

$
0
0

I've had the issue with RHEL6.8. I think vmrun is looking for a newer version of zlib.

 

I've had some success with:

 

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/vmware/lib/libz.so.1"

 

and then do your vmrun command.

Re: can't consolidate disk

$
0
0

Hi, no the unmount of the cdrom changed nothing. I contacted the vmware support, the first thing they ask me to do is to retry the consolidation when the VM is powered otf, but they asked me to rename the .vmsd file before the consolidation. Since I don't have a good time frame during the week to do this, the client asked me to try it next weekend.

 

My gut feeling tells me it will not work but I guess it's worth a try. I'll post next week.

 

Regards

Re: How to Convert Virtual Machines from Hyper-V server to VMware ESXi using Vcenter Converter tools

Re: View Manager Admin Session Timeout

$
0
0

I have my session timeout set to 999,999 but, it still times out every 10 minutes or so

Viewing all 230966 articles
Browse latest View live




Latest Images