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

Re: Domain list order


Re: Active Directory authentication individual users work, groups do not

$
0
0

Did you ever get this resolved? If not, can you link me to the SR#? This sounds like a nested group issue, have you see KB 2079763?

Re: VDP 6.1.2 appliance can't connect to vCenter after initial configuration

$
0
0

. "-Dsecurity.provider.rsa.JsafeJCE.position=last "

Where should this line go in the mcsutils.pm?

 

thanks

 

NM, found where it goes after rereading the thread. Giving it another go. Hopefully no longer stuck at 70%

 

 

vCSA version 5.5.0 Update 3e

5.5.0.30500 Build 4180648


VDP 6.1.2.19

Re: Workstation 10: Windows "Safely Remove" Gone Wild

$
0
0

Our SATA controller has 30 ports, and SATA is just Serial ATA, so they are ATA channels after all.

 

Newer versions of Windows don't do what you are seeing there, when presented with the same hardware emulation.  It is possible that it might be a quirk of Windows 7 with SATA hotplug.

 

If you want to restrict the number of ports implemented in the SATA controller, power off the VM and add the following config option to the .vmx file, for example:

 

    sata0.numPorts = "2"

 

This will of course limit the number of SATA devices you can attach to the virtual machine, but will still allow hotplug on the configured ports.

 

Cheers,

--

Darius

Re: Logoff Task - ipconfig /release

$
0
0

Here is the fix, your App Volumes agent is causing this slow shutdown because it can't talk with the management server.

 

I use this Pre-Shutdown script to do clean-up for me and shut the VM down.

 

Pre-shutdown (RUN AS ADMIN).cmd

--------------------------------------------------------------

REM Run this script before shut down

 

REM AppVol Stop Service

NET START | FIND "App Volumes Service" >nul

IF errorlevel 0 NET STOP "App Volumes Service"

 

REM Delete AppVol SvService.log file

del /F /S /Q "%PROGRAMFILES(x86)%\CloudVolumes\Agent\Logs\svservice.log"

 

REM PAUSE

 

REM Delete files and folders in Temporary Files folder

del /F /S /Q %LOCALAPPDATA%\Temp\*.*

for /D %%i in ("%LOCALAPPDATA%\Temp\*") do RD "%%i" /S /Q

 

REM Delete files and folders in Temporary Files folder in Windows directory

del /F /S /Q %WINDIR%\Temp\*.*

for /D %%i in ("%WINDIR%\Temp\*") do RD "%%i" /S /Q

 

REM Clear Event Logs

FOR /F "tokens1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V

IF (%adminTest%)==(Access) goto theEnd

FOR /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")

goto theEnd

:do_clear

echo clearing %1

wevtutil.exe cl %1

goto :eof

:theEnd

 

REM Set Java (32-bit) Auto Update to disabled

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f

 

REM Set image stamp with today's date

set IMAGESTAMP=[Company Name] Master Image %DATE:~10,4%%DATE:~4,2%%DATE:~7,2%

 

REM Update Image Properties

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v Model /t REG_SZ /d "%IMAGESTAMP%" /f

 

REM Rearm Office 2010

REM "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE"

 

REM Rearm Office 2013

REM "%PROGRAMFILES(x86)%\Microsoft Office\Office15\OSPPREARM.EXE"

 

REM Rearm Office 2016

"%PROGRAMFILES(x86)%\Microsoft Office\Office16\OSPPREARM.EXE"

 

REM Pause

 

REM Flush DNS

ipconfig /flushdns

 

REM Release IP

ipconfig /release

 

REM shutdown

shutdown /s /t 5 /c "Please take a snapshot after the VM is powered down"

----------------------------------------------------------------------------------

 

Take a look at the top of the script and see the bold section for App Volumes. At the bottom of the script, I flush DNS and release the IP.

 

I copy this to the desktop of the Admin account I use to make changes to the master image.

Re: VDI not connecting via home specific Wi-Fi

$
0
0

Is one network routed through the other?

Is the the router and modem separate?

Are both wifi devices routers and/or APs?

Re: Could not connect to one or more vCenter Server systems. Came in today and have no access.

$
0
0

I know it's an old thread, since I faced same issue and resolved it with restarting the following service on the vCenter server:

VMware VirtualCenter Management Webservices.

 

Good luck

Re: Unable to use tags in PowerCli 6.3 on Windows 10

$
0
0

We have 3 brand-new VCSA 6.0u2 instances in the same SSO domain.  Previously running any interation of get-tag, get-tag -name <namegoeshere>, etc worked.  Unfortunately, randomly, it seems to have stopped working.  The tags worked both before and after SRM was installed.


Creating an additional network adapter for existing VM

$
0
0

I'm looking for a script to add an additional network adapter to multiple VMs from a CSV.

I know how to import the CSV, just need the syntax to create the Network adapter port group titled Isolation.

 

The start of my script is:

if ((Get-PSSnapin -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue) -eq $null) {

    Add-PSsnapin VMware.VimAutomation.Core

    }

$vcenter = Read-Host "Enter VI Server IP"

Connect-VIServer $vcenter

 

$VMs = import-csv C:\scripts\vms_PRODTEST.csv

 

foreach ($vmList in $VMs) {

    $vm = Get-VM $vmList.vm

    $vm | Get-NetworkAdapter.....

Thank you.

VCA6-DCV Study Book?

$
0
0

Hi All,

I've just taken the 1V0-621 VMware Certified Associate 6 - Data Center Virtualization Fundamentals Exam and failed it for a second time. This is driving me nuts...I'm really trying hard to pass this and I got an even lower score the second time round - 267 the first time, 240 the second. I'm following along with the training portal process recommended for the exam:


    Software-Defined Data Center (SDDC) - Overview

    Data Center Virtualization Fundamentals [V6]

    Software-Defined Storage Fundamentals

  [  ]  vSphere 6.0 Product Walkthrough

AND

Lesson 4: Working with the vSphere Web Client

 

    How to Navigate the vSphere Web Client

    How to Search using the vSphere Web Client

    How to use Quick Filters in the vSphere Web Client

AND

Lesson 5: Performing Tasks in the vSphere Web Client

 

    Performing Common vCenter Server Tasks in the vSphere Web Client - Part 1

  [  ]  Performing Common vCenter Server Tasks in the vSphere Web Client - Part 2

  [  ]  Performing a Virtual Machine Guest OS install with VMware Tools

 

honestly I think there is some sort of disconnect between the training that is stated as required and what the questions are in the test. An example - 'what two objects can be edited in the distributed switch' (or something along those lines). Where is this shown in the above list of training resources? In addition, a number of training links take me to a youtube video, that is only a few minutes long. Something doesn't seem right here and I don't want to drop a third $120 for this exam. I've already submitted a ticket to the VMware cert support and I didnt get any traction other than 'follow the blueprint.'

 

Is there anyone out there who can recommend a book to study to pass this exam? I cannot find a VCA6-DCV book anywhere, the closest I have found is the following:

 

https://www.amazon.com/vSphere-Foundations-Official-Guide-2V0-620/dp/0789756498/ref=sr_1_1?ie=UTF8&qid=1477615413&sr=8-1…

 

^which is for exam 2v0-621

 

and this

 

https://www.amazon.com/VCA-DCV-Official-Cert-Guide-Virtualization-ebook/dp/B00K7ESIE4/ref=sr_1_1?ie=UTF8&qid=1477615497&…

 

^which is for the old exam and vSphere v5, so it is out of date.

 

Help!

Re: PowerCLI boot a VM into the automatically Boot Menu possible on next restart?

$
0
0

Thanks, but I believe that boots the VM into the BIOS. I'm after the Boot Menu (where you push ESC to get into when the BIOS screen is POSTing).

VMWare Workstation Pro 12.5 crashes immediately after starting

$
0
0

I'm running VMWare Workstation Pro 12.5.0 build-4352439 and it is crashing when I try to run it.

 

Background

I run my VMWare host on Windows 7 64bit OS that has two or three NIC cards.

I don't use the HOST OS for any work so it doesn't have internet connectivity.

I set the default routes to "blank" so only things on the local network can be reached.

I periodically add default routes and install Window and VMWare patches, and then

disable the default routes to leave the HOST OS without internet access.

 

Something happened and I was getting VMWare crashes when using multiple monitors

and then VMWare Workstation Pro would not start up.

The error was:

 

------------------------------------------------------------------------------------------------------------------------

VMware Workstation unrecoverable error: (vmui)

Exception 0xc0000005 (access violation) has occured.

A log file is available in "C:\Users\user1\AppData\Local\Temp\vmware-user1\vmware-ui-2052.log".

You can request support.

 

To collect data to submit to VMWare support, choose "Collect Support Data" from the Help Menu.

You can also run the "vm-support" script in the Workstation folder directly.

We will respond on the basis of your support entitlement.

------------------------------------------------------------------------------------------------------------------------

 

I don't have support, so I'm sending in this question on the forum with the hopes someone can help.

 

What have I done?

 

(1) Update Windows 7 to install all of the latest patches.

(2) Download and install the latest version of VMWare Workstation Pro 12.5 build-4352439.

(3) And opened my previously created VMs.

(4) Everything worked.

(5) I disabled my default router so again VMware's NIC interface would have no route to the internet.

(6) VMWare Workstation Pro crashed when the app was started.

(7) I re-enabled the internet, and it ran.  Hum.

(8) I don't want to have my host OS connected to the internet so I disabled it to collect a log file to submit here for support.

(9) For grins, I ran "VMWare repair" (with No HOST internet connectivity), and this fixed VMWare.  It would start again.

(10) Things ran for several days but the problem has re-occurred.

 

What is odd, is that some days it will startup and run without a problem but other days it won't start ever.

I typically have three to five VMs running so almost always I have one VM UI working, and if I open the VM

I want in that UI, it opens and runs without a problem.

 

Another thing that started happening is that VMs running under a multi-monitor setup would no longer expand

to all monitors.  I have 4 monitors (all 24" 1920x1080 or so) and in a combination of landscape and portrait views.

For years, VMware has worked fine with this configuration.  The last two releases have become less stable.

In most cases, I don't need all 4 monitors for a single VM and so I'll just expand to 2 monitors or 3 in some cases.

But if I expand to the 4th monitor VMWare crashes or says "I can't switch to that mode".  When it crashes the

VM remains running and IFF I'm able to restart VMware I can sometimes re-attach to the running VM.

Other times I can't.

 

I run a combination of:

(1) Windows 7 (has issues expanding to 4 monitors), but goes to 2 monitors reliably and sometimes 3 monitors.  This used to run on all 4 monitors for the last two years.

(2) Windows 10 (works consistently when expanding to 4 monitors)

(3) CentOS 7.2 (fails with 4 monitors, but has worked up to 3 monitors).  Similar to Windows 7.

(4) Some other versions of Linux in which multi-monitor support doesn't work (no VMWare tools support).

 

I'd like to get back to a stable host OS platform, and would like recommendations.

 

NOTE: I don't care if my host OS is Windows or Linux as I don't do any "work" on the host OS, so if there is a multi-monitor version of LINUX that works well with VMWare please let me know, and I'll look to get that system set up and begin using it.

 

I love the VMWare products.  For years they have been wonderful to have and they have supported the multi-monitor setup wonderfully since it was first supported.

Thanks for a great product!

 

Patrick

Re: How can I limit the number of concurrent template deployment operations?

vROPS 6.2 and SNMP

$
0
0

I have imported and configured the SNMP adapter according to this guide: How to use SNMP with vRealize Operations - vMBaggum

I also brought in a MIB for Dell Compellent at the same time. Other than the guide having a chmod where there should be a chown it went fine as far as I can tell.

Now when I ad a Compellent object, no matter which MIB I choose, I get only one predefined ICMP metric and nothing else.

The SNMP adapter Collector log reads as follows:

[296] 2016-10-27 21:38:37,633 ERROR [Collector worker thread 1] (22740) com.integrien.adapter3.snmp.SNMPNodeInfo.getResult - Mib IO Error! Check if correct mib file is used! SNMP Error, please check the MIB variable or Index value oid=1.3.6.1.2.1.7.1 index=0

 

 

Any ideas?

 

Charlie

Re: vROPS 6.2 and SNMP

$
0
0

Also I have tested the Compellent MIB from another MIB walker and the vROPS and Compellent mgmt IPS are on the same subnet.


Re: App Volumes Agent Install Error after updating Windows 7 with October Updates

$
0
0

Ok, so after contacting VMware Support, I've got this solved with the following solution:

 

Error

 

The Security Package KB3033929 is not installed on this 64 bit machine. Please install it from and trying installing AppVolume Agent again.

 

Action Plan

 

Step 1. Open command prompt as administrator

 

Step 2. Navigate to directory which contains AppVolumes Agent 2.11 installer

 

Step 3. Run below silent installation command and verify if the installation completes

 

msiexec.exe /i “App Volumes Agent.msi” /qn MANAGER_ADDR= MANAGER_PORT=

Note :
1. Replace  with AppVolumes Manager FQDN or IP
2. Replace with 80 or 443 according to AppVolumes Manager configuration

This allowed me to install the agent.

 

Apparently this issue will also be resolved in the next version of Appvolumes, 2.12

What is the best options to deploy Virtual Machine (Web+Fileshaering) in VMware with huge storage?

$
0
0

Hi All,

My company run most of their application and web on VMware. We have ~10 hosts running VMware ESXi 5.5. Our SAN storage using Nimble which does not support NFS.

 

Now, we are planning to develop/ deploy a website to support internal process. This website will need huge storage due to the process itself involves multiple departments and file upload, based on internal calculation it may requires up to 10 TB for 3 years retention.

 

We are looking for a solution/sample architecture to deploy a VM with huge storage, we were thinking to deploy VM with small disk size then use NSF for the file upload location but our SAN storage does not support nfs. Our questions:

1. Is it OK to deploy the disk as a normal virtual disk? In example, I will have 1 VMDK for the OS+Apps and 5 VMDK for data with each 2TB stored in different datastores.

2. Or, is it better to use RDM and slice the 10 TB into 1-2TB size and stored into multiple Datastores?

3. Any others options to deploy 10TB disk from SAN to a VM?

 

Please help to share if you have similar application or case. Thanks.

 

Regards,

Ruli A.

Re: Add vNIC to PortGroup Scope Security Group with REST API

$
0
0

I know this is really old post however it helped me a lot to find out the vnic uuid. I was completely lost until I found this thread. Thanks very much

ESXi 6 vs 5 - CD / DVD not visible to virtual machines

$
0
0

Hello friends,

 

the server with ESXi 5.5 I can use the internal CD with virtual machines, but with ESXi 6 does not work.

 

I can list the unit, see the size, but for some reason does not work.

 

I tried to use the method (vmkload_mod iso9660), but when I try to generate the ISO, the error (input / output error).

 

Is there a known problem?

 

Thank you.

Re: Script for disconnecting the network adapter

$
0
0

On the Get-VM you will need to give the Displayname of the VM.

If you can resolve the IP address into this Display name, that would be easiest.

If the DNS entry corresponds with the Display name you could do

 

Import-Csvvms.csv-UseCulture|%{

    Try{

        $name=[system.net.dns]::GetHostByAddress("$($_.ip)")

        Get-VM-Name$name.HostName.Split('.')[0]|Get-NetworkAdapter-VM$ipTab[$_.ip]|where{$_.ConnectionState.Connected} |Set-NetworkAdapter-Connected:$false-Confirm:$false

    }

    Catch{

        Write-Host"IP $($_.ip) does not resolve"

    }

}

 

 

Another option is to get all the VMs and then check which one has the IP address you are looking for.

This requires that the VMware Tools be installed on all the VMs, and that they are all powered on.

Something like this for example:

 

$ipTab= @{}

Get-VM|%{

    $ip=$_.ExtensionData.Guest.IPAddress

    if(!$ipTab.ContainsKey($ip)){

        $ipTab.Add($ip,$_)

    }

}

 

Import-Csvvms.csv-UseCulture|%{

    if($ipTab.ContainsKey($_.ip){

        Get-NetworkAdapter-VM$ipTab[$_.ip]|where{$_.ConnectionState.Connected} |Set-NetworkAdapter-Connected:$false-Confirm:$false

    }

    else{

        Write-Host"No VM with IP $($_.ip) found"

    }

}

 

Viewing all 182084 articles
Browse latest View live




Latest Images