I got the virtual printer to install now. How it happened is the weirdest thing. I plugged in a external CD/DVD driver to install Quickbooks. I clicked on the CD drive. Then it showed as virtual printer install. So I clicked on that and everything worked. Weird how that worked.
Re: Can't print after install fusion 11.
Re: The disk 'Windows-cl1.vmdk' has one or more internal errors that cannot be fixed
The mentioned dd command i.e. the count would result in a .bin file which contains user data, so that's not what you want I guess.
Although this file seems to be severely damaged, I would like to take look at it.
As a first step - to find out the file's metadata size - please run:
dd if="Windows-cl1.vmdk" of="Metadata-cl1.bin" bs=1536 count=1
André
Re: Accessing system files through vcenter
I was trying to setup key based login instead of password method, but things went wrong and now when I want to ssh to the esxi node, I get public key error (access denied) and I can not even use password for sshing. See this .
I can access the esxi web page (where I see administrations and VMs) by directly entering the node's ip or vcenter.
If there is no way, I have to directly use KVM and monitor to enter the direct terminal of the node but it takes some days.
If I can bring up a terminal from the esxi web page, I guess it will be fine. But didn't find such option in the menus.
Re: Adding CPU to an exsiting VM.
Now I get daily alerts from 2 Host complaining about CPU usage being high.
Are you sure it's about the hosts (physical ESXi hosts), or is it about two virtual machines (guests)?
I go into "edit" and try to click on the drop down box but it doesn't allow me to add CPUs.
Hot-adding CPUs and/or memory is only possible for guest operating systems which support this. For other operating systems this would result in a blue screen (Windows), or panic (Linux).
André
Re: Can't share Mac printer with Windows in VMWare Fusion 11
I see you resolved your issue: Can't print after install fusion 11.
Re: Datastore Name & Multipath Policy Report
Hi orian,
To have a clear view open the MOB (Managed Object Browser) of your vCenter (https://vCenter/mob/) and navigate on each property. Navigate to content.rootFolder.childEntity.hostFolder.childEntity From 'host' properties click on one host.
To see the multipath information you need to navigate further on the below path: host.configManager.storageSystem.fileSystemVolumeInfo.storageDeviceInfo.multipathInfo.lun[]
For each LUN you have lun.policy.policy
There isn't a direct link between your requested output.
The main reason is due to the fact that a datastore can have many extents (LUNs).
Take a look on LucD PowerCli script to see how is the relation between Host, Datastore and MultipathPolicy.
https://communities.vmware.com/thread/177612?start=15&tstart=0
Re: Use Invoke-VMScript to lock remote machine
@LucD Thank you for the reply. As you know Host user and Host-password parameters are deprecated. So is it possible to lock the interactive session using Guest credentials? I would like to lock the console session-1 (output of query session).
I looked https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FInvoke-VMScript.html but looks like there is no parameter which accepts "session".
Re: An error occurred while quiescing the virtual machine. See the virtual machine's event log for details.
Hello,
I did several tests before asking the VMware team for help and found that the following is strictly the case:
When we take a snapshot on the console an error is generated but it does not report any warning of quiesc.
When the backup tool performs its task, the same error occurs and generates a quiesc warning.
In research the documentation cites that this is an old problem of Windows 2008 with Esxi 5.5 that can occur in future versions.
It is interesting that when we add the new SCSI controller, the warning does not happen when the backup routine is performed.
Reading further, the VMware documentation says that for cases like SQL PVSCSI is indicated, but we are dependent on the driver and VMtools and this is complicated.
So the questions remain:
Our version is 6.7 U3
1 - How many controllers can I use on the VM? Are there four SCSI?
2 - What would be the best disk organization for an SQL server? We have already found documentation that says that DB on a disk 1 / SCSI 1, LOG disk 2 / SCSI 2 and TEMPDB disk 3 / SCSI 3, in my understanding is very precious. You don't need that much!
Our concern is that we are limited to the number of disks per controller and we will not be able to grow in the future with more disks as we have this restriction of 7 disks per controller to avoid this error in the backup routine.
Thank you.
Re: "Clone virtual machine, no customization" - cross vCenters
Below you can find the code I used for cloning cross vCenters. Maybe is useful for somebody.
var transform = null; if (thinProvision == true) { transform = VcVirtualMachineRelocateTransformation.sparse; } else if (thinProvision == false) { transform = VcVirtualMachineRelocateTransformation.flat; } if (datastore == null) { datastore = vm.datastore[0]; } relocateSpec = System.getModule("com.vmware.library.vc.vm.spec").getRelocateSpec(datastore,null,datastoreHost,datastoreResourcepool,transform); /// Build ServiceLocator for cross-vCenter vMotion var vCreds = new VcServiceLocatorNamePassword(); vCreds.username = vcUsername; vCreds.password = vcPassword; var vcSL = new VcServiceLocator(); var destVcSdk = datastoreVcenterSdk vcSL.instanceUuid = destVcSdk.about.instanceUuid; vcSL.url = destVcSdk.name.toString(); vcSL.credential = vCreds; relocateSpec.service = vcSL; cloneSpec = System.getModule("com.vmware.library.vc.vm.spec").getCloneSpec(null,null,relocateSpec,powerOn,template); System.log("VM clone to Template started!"); System.log("to vCenter: " + datastoreVcenterSdk.id); var task = vm.cloneVM_Task(datastoreVmFolder, vmTemplateName, cloneSpec); var actionResult = System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task,true,2); System.log("VM clone to Template completed!"); // System.Log // var actionResultToString = actionResult.toString() var regex = new RegExp("vm-\\d+","i"); //RegEx for VM Id var vmId = actionResultToString.match(regex); // VM Id vmTemplate = Server.findForType("VC:VirtualMachine" , datastoreVcenterSdk.id + "/" + vmId); System.log(vmTemplate.name + " on vCenter " + vmTemplate.sdkId); System.log("____________");
Re: vSAN on Nested ESXI nt able to create the VSAN cluster
Hello Raymundo,
The main 'gotcha' I have noted from nested vSAN labs (and specifically when adding/creating Disk-Groups) is not providing sufficient memory to the hosts to do so.
I did notice as well in 7.0 vs previous versions that it is way stricter on this - in older versions you might get away with the bare minimum (provided the DGs are tiny) but in 7.0 if providing the same amount of available memory run into either not being able to create DGs or have them drop off or fail to mount on boot etc.:
Bob
Re: Use Invoke-VMScript to lock remote machine
I did refer to the Guest credentials in my previous reply.
It seems that there is an option with the tsdiscon command (introduced in Windows 2000).
That command takes a sessionId for the session you want to lock.
You have to provide the user that has the session open.
$userName='lucd'
$guestUser='administrator'
$guestPswd='VMware1!'
$cred=New-Object-TypeName pscredential -ArgumentList $vicred.User,(ConvertTo-SecureString-String $viCred.Password-AsPlainText -Force)
$code=@'
`$line = Invoke-expression -Command 'query session' | where{`$_ -match '$userName'}
`$sessionId = (`$line -split '\s+')[3]
Invoke-Expression -Command "tsdiscon `$sessionId"
'@
$sInvoke=@{
VM=$vmName
ScriptType='powershell'
ScriptText=$ExecutionContext.InvokeCommand.ExpandString($code)
GuestCredential=$cred
}
Invoke-VMScript@sInvoke
Esxi 6.7 Update 3 Upgrade zu 7.0
Hallo,
Ich habe heute meine ESXI Home Edition von 6.7 Update 3 via USB Stick auf Version 7.0 Upgedraded.
Hat alles erfolgreich Funktioniert. Nach einem Neuen Neustart kam die Meldung No Hypervisor found.
Habe dann eine Neuinstallation vorgenommen.
Dabei viel mir auf ich habe jetzt einen Virtueller Flash, ist das Neu ? Habe nichts angeklickt.
Des weiteren kann ich die esxi nicht mehr in die Domäne einbinden, via CLI Username oder Passwort falsch !!!!!
Im AD habe ich den Computer schon gelöscht, brachte keine besserung.
Re: Airwatch and conditional access with Azure AD and Intune
Hi Mark,
Was it hard getting it going with the per-app VPN? Was there any documentation you followed for this?
Thanks
Re: Airwatch and conditional access with Azure AD and Intune
Hi Ichijima,
I looked at that document and contacted VMware support today on it and they said that These are Microsoft preview APIs, so integration will fail. As of now, we are not aware, when MS is planning on fixing this as MS hasn't provided this information to us.
I have a ticket into MS support to see what they have to say.
As when trying to add the VMware Workspace One mobile compliance in the Azure AD it only has Airwatch and not the WS1 UEM. I think our tenant needs to be flighted(not sure what that means).
I guess I wait to hear what MS says.
Thanks
These are Microsoft preview APIs, so integration will fail.
As of now, we are not aware, when MS is planning on fixing this as MS hasn't provided this information to us.
Configuring High Availability
Topic Name : Configuring High Availability
Publication Name : vRealize Automation 8.1 Reference Architecture Guide
Product/Version : vRealize Automation/8.1
Question :
what is the meaning of fulll stop in the following paragraph? You can configure high availability on VMware components by deploying clusters full stop. However, not all VMware components support high availability.
Re: Parallel run of scripts for multiple vCenter and common output file
Thanks Luc ,let my try it
Re: Use Invoke-VMScript to lock remote machine
Thank you so much LucD this worked like a charm
Player 15.5.2 with Win10 Aril 2020 (2004) not presenting USB devices
Anyone else seeing this issue? Same machine with Win10 1909 would prompt when new USB devices are connected and list devices to connect to VM, USB devices work on host but are no longer presented to Player
vSAN cluster requirement to add new nodes
Hi,
is there any rule for CPU quantity, memory for adding new nodes in a vSAN cluster?
Thank you.
Cluster CPU and Memory over subscription
Can some one please assist me with this.
We want to calculate CPU and Memory over subscription in a cluster using PowerCLI.
Thanks