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

Re: How can I add additional disk space to this VM?

$
0
0

More than 100 redo logs? Wow, I've never seen more... You should check what's causing this (likely an issue during backup).

In this case - depending on the VM's provisioned virtual disk size(s), and the free disk space on the datastore - it might be an option to clone the virtual disk(s) using the vmkfstools command line tool. If you want to go this way, please provide a complete list of files in the VM's folder (i.e. the output of ls -lisa), and the free disk space on the datastore.

 

André


Re: Different Way of VCSA-6 Installation

$
0
0

The VCSA will be deployed as a new virtual machine, i.e. it needs an ESXi host on which it will run like any other VM.

 

André

Re: After spinning up new vSphere 6 appliance and adding first host to it - Error: There are vCenter Server systems with expired or expiring licenses in your inventory

$
0
0

Welcome to the Community,

 

the message should disappear as soon as you add, and assign a vCenter Server license to the vCenter Server instance.

 

André

Re: Configuring different IP addresses for test as opposed to a recovery

$
0
0

After reading the SRM documentation regarding IP customization i found this extra comment which I was not aware of:


"You associate customization settings with protected virtual machines. As a result, if the same protected virtual machine is a part of multiple recovery plans, then all recovery plans use a single copy of the customization settings. You configure IP customization as part of the process of configuring the recovery properties of a virtual machine."


So it looks like you cannot define two different IP addresses for a protected virtual machine. I am not sure if this is only applicable if you define the IP addresses manually because the documentation also states "You can specify a single subnet-level IP mapping rule for a selected configured virtual network mapping on the protected and recovery sites.". This implies to me that it is possible to define different IP addresses rules if you use IP customization rules.


Have you tried using IP customization rules instead of manually configuring the IP address?

Re: Compact mode installation fails on Post Deployment

$
0
0

Hi!

 

can you deploy a template/create a VM on the selected datastores?

Re: 8.5 Keeps crashing

$
0
0

This is happening to me too. Unity mode has proven to be unusable for awhile now. Currently I'm on macOS Sierra, but Unity has been crashing VMWare Fusion since at least macOS Yosemite.

There's always a pattern at the beginning too. Whenever I switch to Unity mode, it will crash the first time I hit Ctrl-C to copy something. 100% of the time, it will crash on the first Ctrl-C I attempt. Once I re-open VMWare, Ctrl-C will work fine. Then VMWare Fusion (unity mode) works for about 45 minutes or an hour, then Fusion will randomly crash again.

 

Like someone in this thread stated, it only takes a few seconds to restart. But come on...this is no way to work.

 

This bug, along with the mouse scrolling issue that's plagued Unity mode for awhile (Issues with scrolling in Fusion VMs after installing Sierra) are infuriating and make me want to just abandoned VMWare altogether. You guys got to get these fixed or I'll need to look at other virtualization options. I can't work like this.

Block ssh and ICMP for VMs on VDS

$
0
0

Hi,

Can I stop ssh or ping to some VMS fro VDS PortGroup ?

Re: Reverting back to 8.1.1

$
0
0

Thanks, that worked and I am able to work in Unity mode again!

 

I may never update Fusion again as that caused quite a loss of productivity for me. I still can't believe that VMWare would release an upgrade with such a major bug.


Re: Manual Uninstall of Guest Introspection?

$
0
0

Some news here?!

In my case, I can't delete Guest Introspection service.The VMs of Guest have been deleted, but the service still in manager (failed status).

When I start resolve or delete operation, a job of Uninstall vibs is performed in host, with failed/timeout and failing operation.

 

Any ideas?

nsx.jpgnsx2.jpg

Re: getVcSelectorInfo() returns null in globalview-html sample

$
0
0

I'm not sure what the js framework has to do with this. Having '.html' in the url refers to the values in the 'plugin.xml',

URL's can end is so many ways, why do they have to end with .html? For example, my urls look like


               <url>/vsphere-client/chassisa/resources/#/chassis-summary</url>

 

Why is the .html at the end a requirement?

 

which is the one that you have downloaded?

I downloaded the lastest vsphere-client-sdk (the sdk for the flex client) and that resolved by previous issue.

 

Thanks,

Virat

Vmware workstation Pro with Vagrant, nothing but problems...

$
0
0

Hi,

 

I just purchased VMware workstation pro and 'vagrant for vmware', but I am experiencing nothing but problems.

Trying to use the Homestead box with vagrant. First time I installed, it booted properly, but each time the PC wakes from sleep mode, I can't get into the machine. I either get something like:

 

"The host only network with the IP '192.168.10.10' would collide with

another device '192.168.10.10'. This means that VMware cannot create

a proper networking device to route to your VM. Please choose

another IP or shut down the existing device."

 

Or, when I start the machine in vmware, it boots, but the vhosts won't load. They time out or I get "No input specified" when opening a page. So each time I need to re-install everything.

 

How do I receive support for this? I need this to work urgently.

fedora 24 guest: the default sound device cannot be opened

$
0
0

I'm running a dell 780 desktop with windows 10 64 bit and vmware workstation 12 player. I've installed a fedora 24 64 bit guest machine and I've got a problem with the sound device so...

the default sound device cannot be opened

a device id has been used that is out of range for your system

failed to connect virtual device sound

The sound device in windows 10 shows up as a High Definition Audio Device and it works fine. I've been trawling google but can't find a solution that works for fedora 24. In the fedora 24 guest the sound device shows up as: Analogue Output: ES1371/Creative Labs CT2518/ES1373 (AudioPCI 64V/128 / CreativeCT4810/CT5803/CT5806 [Sound Blaster PCI]

In vmware settings the sound card is set to auto-detect with a dot in 'use default host sound card'.

Can anyone help get the sound working?

FAILED: A general system error occurred, Network is unreachable connect, (return code 2)

$
0
0

Good afternoon, I have been trying to convert 2 servers for about a week now. They are running Redhat 5.5. I have been running into all sort of issues. In the beginning the servers would not query and i got passed that but now i have been stuck with this message since yesterday. I have looked at the Forums and I still have not moved anywhere. All I am trying to do is convert 2 old servers to my new esxi server.  Please help!! The converter gets to about 3 percent and then Fails.


FAILED: A general system error occurred: connect (`129.166.9.205'): Network is unreachable connect (`129.166.9.205'): Network is unreachable connect (`129.166.9.205'):
Network is unreachable Network error. Host 129.166.9.205 key can't be retrieved. (return code 2)


I will attach my log if that will help.


Re: Move-VM between datacenters on same vCenter

$
0
0

LucD. This worked flawlessly.

 

Here is an example set of code.

 

 

 

 

$vmName = "NRFVORION1"

$tgtDatastore = "ISCSIOBRSERVER"

$tgtCluster = "GD SVRM"

$tgtPool = "Resources"

 

 

 

 

Set-PowerCLIConfiguration -DefaultVIServerMode single -Confirm:$false

Connect-VIServer -Server 10.40.30.242 -User "administrator@vsphere.local" -Password "mypwhere"

$clus1 = Get-Cluster -Name $tgtCluster

$vm = Get-VM -Name $vmName

$ds = Get-Datastore -Name $tgtDatastore -RelatedObject $clus1

$esx = Get-Cluster -Name $tgtCluster | Get-VMHost | Get-Random

$rp = Get-ResourcePool -Name $tgtPool -Location $tgtCluster

 

$spec = New-Object VMware.Vim.VirtualMachineRelocateSpec

$spec.Datastore = $ds.ExtensionData.MoRef

$spec.Host = $esx.ExtensionData.MoRef

$spec.Pool = $rp.ExtensionData.MoRef

$vm.ExtensionData.RelocateVM($spec,"defaultPriority")

 

 

 

 

 

 

Disconnect-VIServer -Server * -Force -Confirm:$false

 

 

 

One thing i noted was some devices do not move with say serial devices or printers hooked up.

 

I get error

 

 

Exception calling "RelocateVM" with "2" argument(s): "Currently connected

device 'Serial port 1' uses backing '/dev/char/serial/uart0', which is not

accessible."

At C:\sms\movevm.ps1:20 char:1

+ $vm.ExtensionData.RelocateVM($spec,"defaultPriority")

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

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

 

There is a uart0 on the other server. I am trying to remove the port and readd it. If you have an example how to fix that. I would greatly appreciate your expert knowledge. :-)

Re: Block ssh and ICMP for VMs on VDS

$
0
0

If you're on 5.5 or later you can use the traffic filtering feature of the VDS, which allows you to define basic ACLs based on Layer 2 and 3 Source/Destination as well as layer 4 ports. Note that you need to use the Web Client to access these settings in the VDS.

Refer to the documentation for more information on how to enable traffic filtering:

Filter Traffic on a Distributed Port Group or Uplink Port Group

 

I would prefer implementing a proper firewall though.


Re: Error handling help

$
0
0

Just tried it and it still fails as it cant resolve host yet if I check the dns entry it exists, and if I run the command to set syslog it works.  I just don't get why it doesn't work consistently, which is why I added the error handling to say if syslog fails go back and add the DNS then continue down to add syslog again (that's the part I don't know how to carry out) Its driving me nuts.

 

Any ideas?

Convert ESXi to raid

$
0
0

Hi,

 

I have this simple ESXi 6 server running with two different disks.

  • disk1, datastore1, 120GB, contains the ESXi hypervisor.
  • disk2, datastore2, 1TB, contains a couple of VM's.

I bought 2 extra identical disks and I'm planning to make both disks redundant and create a seperate raid1 set for disk1 and a seperarate raid1 set for disk2. So effectively I now got:

  • disk1 + extra new disk for a raid1 set
  • disk2 + extra new disk for another raid1 set.

I wish to have the exact same setup with the only difference to have both disks running redundant.

 

  1. My approach would be to shutdown the VM's.
  2. Backup the ESXi settings.
  3. Browse datastore2 and download all seperate VM folders to my workstation.
  4. Once downloaded I would shutdown the host, physically add the disks and rebuild two raid arrays in the BIOS (wiping all data with it).
  5. After building the raid arrays I would reinstall ESXi on datastore1 which is now 2 disks running in RAID1. I would also possibly import the previously exported host settings (not sure about this step though).
  6. Then after the reinstallation of ESXi on virtual disk 1 I would fire up vSphere client, browse datastore2 which is now 2 disks running in RAID1 and upload the previously downloaded VM folders.
  7. Following that I would browse datastore2, open each VM folder and add the .vmx files to the inventory. After that I should be done.

 

Can anyone please advise me if this will work? I'm not looking for a very complex solution. As I'm not that experienced with ESXi, my aim is to go for a fairly easy but reliable approach while keeping all VM's.

 

Thanks in advance

Re: Move-VM between datacenters on same vCenter

$
0
0

I did find some documentation on grammatically removing it. but it cannot do it with a powered on status.

 

 

 

Function Get-SerialPort {
    Param (
        [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True)]
        $VM
    )
    Process {
        Foreach ($VMachine in $VM) {
            Foreach ($Device in $VMachine.ExtensionData.Config.Hardware.Device) {
                If ($Device.gettype().Name -eq "VirtualSerialPort"){
                    $Details = New-Object PsObject
                    $Details | Add-Member Noteproperty VM -Value $VMachine
                    $Details | Add-Member Noteproperty Name -Value $Device.DeviceInfo.Label
                    If ($Device.Backing.FileName) { $Details | Add-Member Noteproperty Filename -Value $Device.Backing.FileName }
                    If ($Device.Backing.Datastore) { $Details | Add-Member Noteproperty Datastore -Value $Device.Backing.Datastore }
                    If ($Device.Backing.DeviceName) { $Details | Add-Member Noteproperty DeviceName -Value $Device.Backing.DeviceName }
                    $Details | Add-Member Noteproperty Connected -Value $Device.Connectable.Connected
                    $Details | Add-Member Noteproperty StartConnected -Value $Device.Connectable.StartConnected
                    $Details
                }
            }
        }
    }
}

Function Remove-SerialPort {
    Param (
        [Parameter(Mandatory=$True,ValueFromPipelinebyPropertyName=$True)]
        $VM,
        [Parameter(Mandatory=$True,ValueFromPipelinebyPropertyName=$True)]
        $Name
    )
    Process {
        $VMSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
        $VMSpec.deviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec
        $VMSpec.deviceChange[0] = New-Object VMware.Vim.VirtualDeviceConfigSpec
        $VMSpec.deviceChange[0].operation = "remove"
        $Device = $VM.ExtensionData.Config.Hardware.Device | Foreach {
            $_ | Where {$_.gettype().Name -eq "VirtualSerialPort"} | Where { $_.DeviceInfo.Label -eq $Name }
        }
        $VMSpec.deviceChange[0].device = $Device
        $VM.ExtensionData.ReconfigVM_Task($VMSpec)
    }
}

If i can remove the connected status i can migrate the vm and then edit it to be connected without issue.

vmware workstation with old printer

$
0
0

host is windows 7. guest is windows xp. i have an old printer a fargo dtc300, it doesnt have the win7 drivers and it never will the company never producted them. win7 see's the printer attached via usb but can't find a driver for it. i have the winxp driver for the guest but that thin print thing seems to be getting in the way. thinks theres a printer on serial one.  i think i need to disable thin print. somehow connect the usb port that the printer is connect to directly to winxp then install the driver and it should see the printer connected to the usb port. cant quite get it. can someone help ?? surely someone has had to connect an old printer up to windows 7 without the drivers for win7, then connect it to a winxp guest where you do have the drivers.

Re: Convert ESXi to raid

$
0
0

Welcome to the Community,

 

some thoughts about this:

  • only real hardware RAID is supported by ESXi, i.e. no BIOS integrated software (fake) RAID (please check the compatibility)
  • rather than downloading/uploading the VMs, either backup/restore them, or export/import them as OVF (from the vSphere Client's File menu)
  • step 5: although it should work to restore the host's configuration, you may consider to quickly configure the host manually (assuming you don't have a complex configuration)

 

André

Viewing all 246952 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>