Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 176561 articles
Browse latest View live

how do I install vmware tools in a VM running in player on an Ubuntu host?

$
0
0

I have an Ubuntu host ( Ubuntu 14.04.2 LTS )

I have a Fedora VM ( 4.0.4-301.fc22.x86_64 ) and I would like to install vmware tools on this vm.

When I select from player VirtualMachine -> Reinstall VMware Tools...

I get a prompt in a box on the screen.  It says:

The following software is available for download:

VMware Tools for Linux version 9.9.3

  What would you like to do?

X Cancel   |  Download and Install

 

Of course I choose Download and install (kind of stupid question -- why would I want to cancel?)

Then instead of downloading the tools that I want to install, it says:

Your permission is needed to install a VMware update.

Please enter the root password to proceed.

Password: ___________

 

okay.  Now which root password is it looking for?  The VM or the host?

I try the VM and it does not work -- "incorrect password... try again."

... well Ubuntu does not have a root user.  So I try the password for the user with root privileges

"incorrect password... try again."

 

Then it fails out.

Not very satisfying.

 

The instructions I have found in my searches just tell you to take the step of getting the tools package and then (well, none of the rest of it matters if the tools are not available to me).

 

Suggestions?  Tips?


Bad MT performance XP vs modern Windows

$
0
0

VM Workstation 11.1.2 on host Kubuntu Linux 15.04 64 bits, Intel Q6600 quad core with 8GB RAM.

 

Since long time ago (years) I'm experiencing a significative performance difference among a Win XP 32 bits guest vs. most recent Windows versions (Vista an up, both 32 and 64 bits). This is preventing me from using Workstation with Windows 7 and up.

 

A single thread task consisting on firing successive processes and obtaining its output takes 3x times more on the modern Windows than on the XP guest. On another type of task (running a compiler's test suite, which executes thousands of short-lived processes, running as much processes on parallel as available CPUs), modern Windows guests also require 3x times more. This is assigning all host CPUs to the virtual machine (only one virtual machine is on at any given moment). If only one CPU is assigned to the virtual machine, individual processes take less time to run but the overall time required by the parallelizable tasks is worse.

 

For comparison, the Windows XP guest takes 35 seconds to run the test suite, a Windows 8.1 64 bits guest takes 100 seconds, which is almost the same as it takes on an old Atom N270 Netbook.

 

The Windows XP guest uses binary translation and this special settings:

 

MemTrimRate = "30"
mainmem.backing = "swap"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
monitor.idleLoopSpinUS = "100"

 

Tried the Windows 8.1 machine with the same settings, with and without binary translation, and performance improved when only one CPU is required, but for the parallel tasks it remained the same.

 

Any idea on how can I obtain a similar performance from the Windows 7+ guests as from the XP guest?

 

BTW, memory assigned to the guest is not an issue, there is plenty of free memory at all times.

Call Refresh "Recent Tasks" window from HTML Bridge plugin?

$
0
0

Is there a way to refresh "Recent Tasks" window or call Global Refresh from HTML Bridge plugin?

From my HTML Bridge plugin I am submitting VMware Task like reconfigure VM and I want the task to show up immediately in "Recent Tasks" windows. For this I need to call "Recent Tasks" window refresh or Global Refresh. Is there a way to do this?

Thanks

Windows 10 and autoresize guest screen resolution

$
0
0

2015-08-01 12.08.23.jpg

Resolution don't auto change like in previous Windows OS.

Here is photo with 2 black bars, left and right at fullscreen mode.

 

Version 7.1.2 (2779224)

After Upgraded to Win 10 VM's won't open in VMware Workstation Preview

$
0
0

After upgrading to Win10 my VM's in VMware Workstation preview won't turn on.  I re-installed Workstation preview and everything is working again.

How to set an MTU of 1600 for test Lab at home for NSX on Vmware workstation

$
0
0

HI .

 

I am setting up a home lab to build an NSX lab . I am currently running 3 Esxi hosts on VMware Workstation 11 . All the three esxi hosts are running 4 Ethernet adapters each on them .

 

To setup the VXlan setup for my home lab i have modified the .vmx file of the virtual machine and modified the device to vmxnet3 and it works .

 

ethernet1.connectionType = "custom"

ethernet1.virtualDev = "e1000"

ethernet1.wakeOnPcktRcv = "FALSE"

ethernet1.addressType = "generated"

ethernet2.present = "TRUE"

ethernet2.vnet = "VMnet1"

ethernet2.connectionType = "custom"

ethernet2.virtualDev = "vmxnet3"  --------------------- Changed to vmxnet3

 

VMxnet3 adapter type is not supported for VMware workstation and also one of my host has crashed multiple times with the below error message in the log file.

 

2015-08-02T13:37:48.254+10:00| vcpu-4| I120: Ethernet3 MAC Address: 00:0c:29:a4:7d:8c

2015-08-02T13:37:48.261+10:00| vcpu-4| I120: VMXNET3 user: Ethernet3 Driver Info: version = 16908544 gosBits = 2 gosType = 1, gosVer = 0, gosMisc = 0

2015-08-02T13:37:48.527+10:00| vcpu-5| I120: VMXNET3 hosted: Packet has no eop, scanned 1, tx ring size 512, txd valid 0.

2015-08-02T13:37:48.527+10:00| vcpu-4| I120: Ethernet3 MAC Address: 00:0c:29:a4:7d:8c

2015-08-02T13:37:48.536+10:00| vcpu-4| I120: VMXNET3 user: Ethernet3 Driver Info: version = 16908544 gosBits = 2 gosType = 1, gosVer = 0, gosMisc = 0

2015-08-02T13:37:51.436+10:00| vmx| I120: E1000: E1000 rx ring full, drain packets.

2015-08-02T13:37:53.636+10:00| mks| I120: MKS-SWB: Number of MKSWindows changed: 1 rendering MKSWindow(s) of total 2.

2015-08-02T13:37:55.565+10:00| vmx| I120: VMXVmdbCbVmVmxExecState: Exec state change requested to state poweredOff without reset, soft, softOptionTimeout: 20000000.

2015-08-02T13:37:55.565+10:00| vmx| I120: Stopping VCPU threads...

2015-08-02T13:37:56.567+10:00| svga| I120: SVGA thread is exiting

2015-08-02T13:37:56.571+10:00| mks| I120: MKS-SWB: Number of MKSWindows changed: 0 rendering MKSWindow(s) of total 1.

2015-08-02T13:37:56.575+10:00| mks| I120: GDI-Backend: stopped by HWinMux to do window composition.

2015-08-02T13:37:56.575+10:00| mks| I120: MKS-SWB: Number of MKSWindows changed: 0 rendering MKSWindow(s) of total 0.

2015-08-02T13:37:56.575+10:00| vmx| I120: MKS thread is stopped

 

 

Can someone guide me how to setup an NSX lab on VMware workstation and use 1600 MTU for VXlan traffic. Any help is much appreciated .

VMware vSphere: Troubleshooting Workshop [V6]

$
0
0

Hello, I want to enroll this course but think its not available.my question si do you know ans approximatively date of starting tkis workshop 6 course?Best regards

Photon Linux の時計を日本時間(JST)にする。

$
0
0

VMware Photon Linux は、デフォルトで UTC 設定になっています。

そこで、タイムゾーンを日本時間にしてみました。

 

デフォルトだと、UTC です。

※NTP 同期設定は、デフォルトから設定変更しています。

Photon Linux での NTP サーバとの時刻同期。(systemd-timesyncd / ntpd)

root [ ~ ]# cat /etc/photon-release

VMware Photon Linux 1.0 TP1

root [ ~ ]# date

Mon Jun  1 23:55:15 UTC 2015

root [ ~ ]# timedatectl

      Local time: Mon 2015-06-01 23:55:23 UTC

  Universal time: Mon 2015-06-01 23:55:23 UTC

        RTC time: Mon 2015-06-01 23:55:23

       Time zone: UTC (UTC, +0000)

     NTP enabled: no

NTP synchronized: yes

RTC in local TZ: no

      DST active: n/a

 

タイムゾーンには、Asia/Tokyo があります。

root [ ~ ]# timedatectl list-timezones | grep -i tokyo

Asia/Tokyo

 

Asia/Tokyo に設定変更します。すぐにJST で時刻表示されるようになります。

root [ ~ ]# timedatectl set-timezone Asia/Tokyo

root [ ~ ]# date

Tue Jun  2 08:55:53 JST 2015

 

timedatectl では、「Local time」が JST になります。

root [ ~ ]# timedatectl

      Local time: Tue 2015-06-02 08:55:59 JST

  Universal time: Mon 2015-06-01 23:55:59 UTC

        RTC time: Mon 2015-06-01 23:55:59

       Time zone: Asia/Tokyo (JST, +0900)

     NTP enabled: no

NTP synchronized: yes

RTC in local TZ: no

      DST active: n/a

 

以上、Photon を JST にしてみる話でした。


vib module for agent is not installed vsan health-domain-c20 - VSAN 6.0 Health Check Error

$
0
0

I am working on a lab enviornment and got following error while enabling Health Plugin in VSAN6.0. Even I installed VIB manually on all the ESX Server but still keep getting the error and not able to enable Health Plugin

 

vib module for agent is not installed vsan health-domain-c20

 

Any help

 

Thanks

PR

Problem with VSAN Health Check Plugin installation

$
0
0

Hi!

 

After executing - /usr/lib/vmware-vpx/vsan-health/health-rpm-post-install.sh

 

I get this output:

/usr/lib/vmware-vpx/vsan-health/health-rpm-post-install.sh --force

/usr/lib/vmware-vpx/workflow/bin

2015-05-15T21:32:05.625Z   Getting value for install-parameter: workflow.int.ser   vice-port

2015-05-15T21:32:05.633Z   Getting value for install-parameter: workflow.int.jmx   -port

2015-05-15T21:32:05.643Z   Getting value for install-parameter: vpxd.int.sdk-por   t

2015-05-15T21:32:05.650Z   Getting value for install-parameter: vpxd.int.sdk-tun   nel-port

2015-05-15T21:32:05.658Z   Getting value for install-parameter: rhttpproxy.ext.p   ort1

2015-05-15T21:32:05.665Z   Getting value for install-parameter: rhttpproxy.ext.p   ort2

{'vpxd_sdk_tunnel_port': '8089', 'rhttpproxy_https_port': '443', 'rhttpproxy_htt   p_port': '80', 'workflow_service_port': '8088', 'vpxd_sdk_port': '8085', 'PASSWO   RD': '', 'workflow_jmx_port': '19999'}

2015-05-15T21:32:05.673Z   Getting value for install-parameter: syslog.ext.port

2015-05-15T21:32:05.682Z   Getting value for install-parameter: vc.home.path

2015-05-15T21:32:05.690Z   Getting value for install-parameter: vc.conf.path

2015-05-15T21:32:05.691Z   VSAN Health service firstboot started

2015-05-15T21:32:05.702Z   User %s already exists, skipping creation.

2015-05-15T21:32:05.710Z   Getting value for install-parameter: rhttpproxy.cert

2015-05-15T21:32:05.710Z   WARNING Value for install-parameter rhttpproxy.cert i   s empty

Traceback (most recent call last):

  File "/usr/lib/vmware-vpx/firstboot/vsanhealth_firstboot.py", line 292, in Mai   n

    res = vsanhealth_fb.get_rp_cert_info()

  File "/usr/lib/vmware/site-packages/cis/firstboot.py", line 185, in get_rp_cer   t_info

    thumbprint, ssl_trust, crt = get_certinfo(rp_cert_file)

  File "/usr/lib/vmware/site-packages/cis/tools.py", line 184, in get_certinfo

    f.readFile(cert_file)

  File "/usr/lib/vmware/site-packages/cis/utils.py", line 1028, in readFile

    loErrMsg = localizedString(errMsg, file_name, e)

TypeError: localizedString() takes at most 2 arguments (3 given)

2015-05-15T21:32:05.712Z   VSAN Health firstboot failed

Traceback (most recent call last):

  File "/usr/lib/vmware-vpx/firstboot/vsanhealth_firstboot.py", line 343, in <mo   dule>

    Main()

  File "/usr/lib/vmware-vpx/firstboot/vsanhealth_firstboot.py", line 333, in Mai   n

    if eInfo and eInfo.detail:

UnboundLocalError: local variable 'eInfo' referenced before assignment

vmware-vpxd: Stopping vpxd by administrative request. process id was 9301

success

vmware-vpxd: VC SSL Certificate does not exist, it will be generated by vpxd

Waiting for the embedded database to start up: success

Executing pre-startup scripts...

vmware-vpxd: Starting vpxd by administrative request.

success

vmware-vpxd: Waiting for vpxd to start listening for requests on 8089

Waiting for vpxd to initialize: .success

vmware-vpxd: vpxd has initialized.

Last login: Fri May 15 21:18:53 UTC 2015 on console

Stopping VMware vSphere Web Client...

Stopped VMware vSphere Web Client.

Last login: Fri May 15 21:32:20 UTC 2015 on pts/1

Starting VMware vSphere Web Client...

Waiting for VMware vSphere Web Client......

running: PID:30348

2015-05-16 00_48_38-vSphere Web Client.png

As the result - no buttons.

 

As far as i understand - there is some problems with certificate.

So, help me with troubleshooting, please.

Thank you.

Collection of vCAC 6 and vROM 6 not possible

$
0
0

Hi,

 

The vCenter connection works. But the vROM is not identified.

 

No vCAC Objects are collected.

 

Has anyone a working environment like this?

Backup Script that removes clone older than 7 days

$
0
0

Hi everyone,

 

I am fairly new to powercli and powershell but I am trying to learn.  I have tailored a backup script that works for my environment but I'd like it to do a little more.  Right now the script keeps the cloned VMs in my inventory, I'd like for it to remove the new clones (backups) from inventory so they just sit on the "Backups" datastore.

 

I have added the following to try to achevie this, but I am not sure if it's correct.

 

"# Remove Clone from vCenter Inventory

    Get-VM –VM (Get-VM -Name $customer.MasterVM) -Name $cloneName | Remove-VM -confirm:$False"

 

 

Secondly when the script runs I'd like for it to first check the if there are any clones older then 7 days, if so delete that clone from the datastore before starting a new backup.

 

Here is my script, I appreciate the help from the community.

 

# Add the vmware snapin for powershell

Add-PSSnapin VMware.VimAutomation.Core

 

 

# Import Backup CSV

$backupinfo =  Import-Csv C:\Powershell-scripts\devbackups.csv

 

 

#Set Date format for clone names

$date = Get-Date -Format "yyyyMMdd"

 

 

#Set Date format for emails

$time = (Get-Date -f "HH:MM")

 

 

# Your vcenter server and credentials

$vcenter = "vcenter"

$username = "root"

$password = "password"

 

 

# Establish Connection

connect-viserver -server $vcenter -user $username -password $password

 

 

foreach ($customer in $backupinfo)

{

  $vm = Get-VM $customer.MasterVM

 

 

  #Send Start Email

  C:\Powershell-scripts\backupstartedemail.ps1

 

 

  # Create new snapshot for clone

  $cloneSnap = $vm | New-Snapshot -Name "Clone Snapshot"

 

 

  # Get managed object view

  $vmView = $vm | Get-View

 

 

  # Get folder managed object reference

  $cloneFolder = $vmView.parent

 

 

  # Build clone specification

  $cloneSpec = new-object Vmware.Vim.VirtualMachineCloneSpec

  $cloneSpec.Snapshot = $vmView.Snapshot.CurrentSnapshot

 

 

  # Make linked disk specification

  $cloneSpec.Location = new-object Vmware.Vim.VirtualMachineRelocateSpec

  $cloneSpec.Location.Datastore = (Get-Datastore -Name $customer.BackupDS | Get-View).MoRef

  $cloneSpec.Location.Transform =  [Vmware.Vim.VirtualMachineRelocateTransformation]::sparse

 

 

  $cloneName = "$vm-$date"

 

 

  # Create clone

  $vmView.CloneVM( $cloneFolder, $cloneName, $cloneSpec )

 

 

  # Write newly created VM to stdout as confirmation

  Get-VM $cloneName

 

 

  # Remove Snapshot created for clone

  Get-Snapshot -VM (Get-VM -Name $customer.MasterVM) -Name $cloneSnap | Remove-Snapshot -confirm:$False

  

    # Remove Clone from vCenter Inventory

    Get-VM –VM (Get-VM -Name $customer.MasterVM) -Name $cloneName | Remove-VM -confirm:$False

 

 

  #Send Complete Email

  C:\Powershell-scripts\backupcompletedemail.ps1

}

#Disconnect from vCentre

Disconnect-VIServer -Confirm:$false

 

 

Thank you for the help.

ESXi 6.0.0 not detecting internal storage?

$
0
0

Hello, I'm evaluating ESXi 6.0.0 on a 12 core MacPro6,1. However the ESXi installer does not detect the internal 1TB SSD. I verified the drive is working and is detected by EFI. The installer will detect and install to drives I plug in externally, but not the internal drive.

 

Any thoughts on how to get it to work?

Workstation 11 and Windows 10 Resolution Problem

$
0
0

Hello,

 

I have workstation 11 and i have installed Window 10.

For same reason i have now a Microsoft Basic Display Adapter and the resolution can't be higher then 1152 x 864

 

What must I do.

 

I have tried to set Accelerate 3D to Off

Memory Stress

$
0
0
I have generated a virtual machine stress report and export it to csv file. In the virtual machine column there is memory stress, memory recommendation and memory amount. There is few virtual machine that has more memory amount compared to the recommended memory amount, however still it caught with memory stress. How  could we interpret it. I have attached teh screenshoot for you expert advise. thanks

Windows 10 Enterprise Unity Issue

$
0
0

I upgraded my Windows 8.1 Ent. to Windows 10.

 

When I enter Unity mode, I see the whole desktop and icons using up one of my workspaces.

 

Is this a known issue? I have uninstalled and reinstalled VM tools.

multiple vcenters - single sso or multiple sso

$
0
0

Untitled.pngI got 3 vcenters all located in different geographical sites. Is it best to create 3 different sso domains or just one?

 

If I do just one, then my psc will have to be located in just one site?

 

can i do a sso domain (vsphere.local) across all 3 sites and have them replicate?

vROPS Report Snapshots Older than X

$
0
0

Greetings all-- Please forgive me if this seems like a silly question.  We are new to vROPS (vROM?) and I'm working on trying to build a report that will show me a report of VMs with Snapshots over "x" days.  Does anyone know if this is possible?

 

I've seen and built ones that show will show diskspace used of a snapshot-- but nothing were I can simply have a report that says, "hey-- you've got a snapshot older than 7 days"...

 

Greatly appreciate any help here in advance.

 

Thanks!

Horizon View Agent 6.0.2 Windows 8.1 Desktops - Adjusting screen size scale causes mouse pointer to be stuck in top-left corner

$
0
0

Hello,

 

I'm having some issues when I try to adjust the size scaling option in Windows 8.1 virtual desktop with View agent 6.0.2. When I try to change the scaling thru Control Panel -> Display -> Change the size of all items option (the Toggle Display Settings Control option is disabled per VMware KB: Settings tab is not available in the display control panel of a Horizon View desktop in local mode when t…). After I do this, the mouse pointer suddenly gets locked to the top-left corner, and I'm unable to move the mouse pointer out of that corner as the mouse pointer keeps jumping itself back into it. When I change the scaling back to the original (using keyboard to change the setting), the mouse pointer behavior returns to normal.

 

Anyone else having this issue?

how to find lun storage information

$
0
0

I would like to know how to find lun is coming from which storage for example in our enviroment we are using hitach AMS( low performance ) and Hitachi HUS( high performance) .it is getting confused to find out is it coming from AMS/HUS storage.

 

 

how to find out lun coming storage product information.

 

 

 

Regards

Maniee.

Viewing all 176561 articles
Browse latest View live


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