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

Configuring a PowerShell workflow in vRO and then having it as a blueprint in vRA

$
0
0

Hello,

 

I'm currently running vRO/vRA 7.3.1.  I've created a blueprint in vRA which has been nice, but I'd like to do more with it.  I have some PowerShell scripts that I'd like to setup as a workflow in vRO and then have them as a blueprint somehow in vRA (if possible) so anybody on my team or in the company if needed could just click and run a script.  I have created a PowerShell machine (2k12 R2) that has PowerShell 5.1 on it.  I've run the New-VICredentialStoreItem on there for a particular vCenter to test with.  Below is the code I'm using for the script:

 

$creds = Get-VICredentialStoreItem -File C:\vicredentials.xml

Connect-VIServer -Server $creds.Host -User $creds.User -Password $creds.Password

$log = Read-Host "Enter log name i.e. VRM.txt"

$GetVM = Get-VM -location VRM | sort Name

$GuestCredential = Get-Credential #Provide Guest OS credentials

$obj = foreach ($vm in $GetVM)

{

   $string = "query user /server:$vm"

   Invoke-VMScript -vm $vm -ScriptText $string -ScriptType Powershell -GuestCredential $GuestCredential | Format-List | Out-File $log -append

 

Basically I'd like to setup a workflow somehow to just list the particular vCenter this would apply to, then ask the user for the name of the log file they want and then have it pass that into the script.  They would also pass the credentials for the machines (a service account, or maybe that's in the workflow, but hidden somehow).  The script would run and somehow (I'm not sure if this is possible in vRO/vRA) the file is created and the user can access it somehow after vRA has completed it..  Perhaps I create a share they can get to that the script puts it there.  I tried looking around on google for this, but whatever I tried really didn't work, so I'm stuck.  I'm not sure if this is possible or not, but since this is the simplest script I have I want to try it first before moving onto ones that require more input from the user.  Any help is appreciated.

 

Thanks


How to shutdown VMs during host poweroff, without using autostart

$
0
0

I have a scenario whereby I have a single ESXi host, and would like VMs to gracefully shutdown when a shutdown command is issued to the host.

 

For reasons I won't go into, I do not wish for VMs to autostart when the host is powered on.

 

Is it possible to configure autostart to stop VMs during a host shutdown, but not have them startup during host power on?

 

Cheers

Eds

Help scripting graceful shutdown of VMs via SSH

$
0
0

Hello,

 

I would like to script the graceful shutdown of my running VMs by connecting to my host using SSH and running some commands.

 

I have the appropriate command to shutdown a VM gracefully as:

vim-cmd vmsvc/power.shutdown VMID

 

What I need assistance with, is to try and use:

vim-cmd vmsvc/getallvms

To try and only return a list of VMs currently running, and to also filter out one specific VM (which the script will effectively be run from).

 

Is there a way to either do this directly in the commands, or can I capture the output of vim-cmd and interpret it in a script to achieve this?

 

Cheers

Eds

MAX NFC connection buffers for network backup

$
0
0

Hi,

 

VDDK documentation suggests  "sum of all NFC connection buffers to an ESXi host cannot exceed 32MB".  Every while and then we see NBD_ERR_INSUFFICIENT_RESOURCES error coming while backup is running sometimes even with less no of VM backups running.

 

I am running into some queries due to this -

Can we verify this value on ESXi server?

 

Can we verify how much is in-use while backup job is running?

Can this be increased from ESXi server?

 

How can we find answers why we might be seeing NBD_ERR_INSUFFICIENT_RESOURCES and ways to avoid it?

 

Appreciate your responses!!

 

Thanks!!

 

 

 

 

Fusion VMWare Win 10 on Mac Pro 2013 with OSX 10.12.6 reset password for my live account doesn't allow login

$
0
0

Hi,

 

I reset both my live accounts passwords, but I still cannot log into VMWare Fusion on my Mac.

When Fusion comes up, it has the user pre-configured and I cannot change it. I can only enter my password. There are no links such as "Forgot my password"

on the login screen. There is a user icon, my full name, and the password dialogue. That's it.

I've entered the Live password but get the error:

That password is incorrect. Make sure you're using the password for your Microsoft account.

Can't create a vm with VC:HostFolder.createVM_Task()

$
0
0

When I try to create a vm using VC:HostFolder.createVM_Task() I get an error "The operation is not supported on the object".  I've only been successful when using VC:VmFolder.createVM_Task().  Can anyone confirm using the methods on the host folder of other folder types works from vRO?  All the canned examples also always use a VmFolder for the task creation.  I have a situation where VmFolders are not always specified so I'd like to simply deploy to the host.  I'd like to at least know this works for someone else out there before I spend too many more hours troubleshooting the issue.

 

Paul.

Adaptec 6805 + ESXi 6 + Maxview

$
0
0

I've been putting together a whitebox esxi 6 host for my lab at home, and was attempting to get adaptec's maxview setup so that I can utilize the utility to grow the raid 6 array as I slot more drives into the case. I followed the provided instructions having already folded the latest drivers for the Adaptec card into the ISO as part of the install to have the array  visible during the installation

 

esxcli software vib list | grep aacraid  gets me the following

 

scsi-aacraid               6.0.6.2.1.41024-1OEM.600.0.0.2494585  Adaptec_Inc                                                       VMwareCertified 2016-01-26

 

I disabled the watchdog server

 

and set the software acceptance level

 

esxcli software acceptance set –-level=CommunitySupported

 

and I successfully I install the vib's downloaded with the install package for Maxview VMWare (msm_vmware_v2_00_21811)

 

esxcli software vib install --no-sig-check -v /tmp/vmware-esx-provider-arcconf.vib

 

esxcli software vib install --no-sig-check -v /tmp/vmware-esx-provider-arc-cim-provider.vib

 

and reboot per the documentation, however after the reboot, the storage controllers are no longer recognized and the most of the GUI is unavailable.

 

Access to the shell via SSH is much slower and specific commands may or may not run.

 

I can reinstall ESXi and leave the datastores alone and on the post install reboot they come back.

 

Any Help would be appreciated. . .

ESXi installation, SSD drive not recognized.

$
0
0

Hello,

I'm trying desperately to install ESXi 6.7 on my mini-server but apparently my SSD is not recognized.

 

During the installation, I do not even have the window to propose me the installation on a disk, it starts directly in standalone on the USB key.

In addition, if I connect to the web client and I try to add a datastore, it does not offer me any disk, it's empty.

 

My motherboard is an Asus N3150I-C and my SSD is a PNY 120Gb CS900.

 

A compatibility problem? Someone sees a solution?

 

Thank you


How can I delete the default PCI device (00:0f.0 VGA compatible controller: VMware SVGA II Adapter)?

$
0
0

How can I delete the default PCI device (00:0f.0 VGA compatible controller: VMware SVGA II Adapter)?

esxi_video_pci.png

blade with 2 pcpus and 18cores/cpu

$
0
0

Need to setup 2 VMs with 16cores each running on hardware that has

 

2cpus and 18cores/proc (total 56cores)

 

any issues ?

Bridge Is not happening :(

$
0
0

hi Community,

 

I am using VMWare workstation 14 pro, and I am using an image of a firewall on the VM, for that, I want to bridge the VMware network with my pc wifi network.

I tried so many time but it's not working.

help me to resolve the issue.

thanks in advance,

how to deal with a zombie vmdk file ?

$
0
0

how to deal with a zombie vmdk file ?

Add new software components to existing deployments in vRA 7.3

$
0
0

Greetings,

 

We've noticed in vRA when additional software components get added to an existing blueprint, they do not become associated with existing deployments in vRA...

 

This means that existing deployments are unaware of the newly created software components even when they have been added to the blueprint that was used for creating the deployment...

 

For example, if I create a deployment to build some VMs using a blueprint, and then add another software component to the same blueprint, the deployment will not be aware that the new software component exists and will not run the Uninstall lifecycle stage of the new software component when the deployment is destroyed...

 

When want to be able to add/maintain automation during the destroy phase using software components for existing deployments as well as new but because of this limitation it appears that new software components will simply be ignored by vRA...

 

Is there a way to apply or synchronize a number of software components to existing deployments in vRA?

 

Thanks!

What command do I use to change the IP of an ESXi host?

$
0
0

Hello,

 

I have to re-ip a bunch of ESXi hosts into a different subnet.  I've got a script that will connect to vCenter, let me select the datacenter, select the host, remove the host from vCenter (as the host is also having a fqdn change), disconnect from vCenter, connect directly to the host and then try to reconfigure the host.  I understand it can't be all done in one command, but I'm not sure why it's failing, or what the exact command is.  Is it Set-VMHostNetwork or Set-VMHostNetworkAdapter?  What I have is this:

 

$ESXIP = Read-Host "Enter new IP address"

Write-Host "Configure new management network"

Get-VMHost "$ESXhost" | Set-VMHostNetworkAdapter -VirtualSwitch "vSwitch0" -PortGroup "Management Network" -IP "$ESXIP" -SubnetMask "255.255.255.0" -ManagementTrafficEnabled:$true -Confirm:$false | out-null

Write-Host "Configure new DNS servers"

Get-VMHost "$ESXhost" | Get-VMHostNetwork | Set-VMHostNetwork -DnsAddress 8.8.8.8,8.8.8.8 -DnsFromDhcp $false

Write-Host "Change VMkernel Gateway"

$net = Get-VMHostNetwork

$net | Set-VMHostNetwork -VMKernelGateway 1.2.3.4 | out-null

 

But I always seem to get a failure on the setting of the IP, which of course stops it from doing the gateway:

 

Set-VMHostNetworkAdapter : Parameter set cannot be resolved using the

specified named parameters.

At C:\Users\emcclure\Desktop\GenScripts\GenUpdateHostIPSettings.ps1:39 char:25

+ ... $ESXhost" | Set-VMHostNetworkAdapter -VirtualSwitch "vSwitch0" -PortG ...

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

    + CategoryInfo          : InvalidArgument: (:) [Set-VMHostNetworkAdapter],

    ParameterBindingException

    + FullyQualifiedErrorId : AmbiguousParameterSet,VMware.VimAutomation.ViCor

   e.Cmdlets.Commands.Host.SetVMHostNetworkAdapter

 

I'd figure after this I'd either want to reboot the host or somehow get the network to restart and then add it back to vCenter with the new fqdn.  But how to get the above to work?  Any help appreciated.  Thanks in advance.

Failed to open kernel extension "com.vmware.kext.vmci": No such file or directory for Fusion 8.5.10 with macOS High Sierra 10.13.5

$
0
0

After a power outage on my Imac I receive this message when trying to open Windows 8 in Fusion.  I attached my problem report with the details. I have researched the knowledge base but I don't find anything specific for this issue.   I appreciate any support you can provide.  Thank you!  Michael 


Who and When? from vREALIZE

$
0
0

I have seen the object explorer of last created VM's and the log insight report for dates and times. I was wondering if there was a report to show Who built the VM and when ? Bonus points if it ties into the notes of the VM to show date/time and user creation.

Am I holding my breath ? or should get to creating this.

macOS 10.14 Mojave Developer Preview/Beta guest...

$
0
0

... Just to say that it works surprisingly well, in Fusion 10.1.2 (and probably also in 8.5.10): it's also rather snappy (on a 2013 MacBook Pro); and HiDPI works out of the box, after installing the Tools.

 

Only one major glitch: some persistent visual artifacts in the menu extras, in the Finder tabs and in Dashboard, both in normal and dark mode...

Does Intel Core i3-8300 (or i3-8100) support "VMX Unrestricted Guest"?

$
0
0

Hello,

 

Because I got burned when I tried to install VMWorkstation-Pro 14 on my perfectly good 2009 vintage Intel Core i7 system I need to know for sure whether the new basic system I'm thinking of putting together will support "VMX Unrestricted Guest" and whatever else v14 requires.  I've been looking at the Intel Core i3-8300 generation 8 CPU that was launched in Q2'18 with the thought of installing it on a compatible Asus motherboard (PRIME H370M-PLUS).  From the generalization I see on the vmware website regarding system requirements for v14 it appears that it should work, but when I look at the i3-8300 (or i3-8100) specifications on the Intel site I see no mention of anything I would recognize as relating to something called "VMX Unrestricted Guest".  A lot of this type of thing is heavily couched in buzzwords as far as I'm concerned so it may actually address this issue.  The Intel CPU specifications do mention something they call "Intel Trusted Execution Technology", which these CPUs don't support, but that may mean something entirely different.  What terms might chip makers actually use to mean the same thing as "VMX Unrestricted Guest"?

 

If anyone knows for sure that v14 works with either the i3-8300 or i3-8100 or has any other comments I'd appreciate that information.

 

Thanks,

Ray

ISCSI on ESXI

$
0
0

Hello All,

 

We have a requirment to connect ISCSI storage to few ESXi servers; the storage should be shared across all the ESXi servers. SO my query is which of the below is the best practice to create ISCSI targets

 

1) Create single ISCSI target and add all the ESXi hosts under this.

2) Create different ISCSI targets for each ESXi hosts.

 

An early response is much appreciated.

 

Thanks

Aj

live migration of virtual machines from vcenter 5.1 to standalone ESXi 6.7

$
0
0

I am trying to do a live migration of Virtual machines running on vSphere cluster 5.1U1 to standalone ESXi 6.7. I tried using vmware converter however stuck with SSL error

 

SSL exception: error:140000DB:SSL routines:SSL routines:short read

 

Has anyone experienced this situation and would please suggest an alternate way to bypass this error.

 

Cheers

Viewing all 207710 articles
Browse latest View live


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