Hello Parmarr,
No we have heard nothing from VMWare.
I tried to raise the issue with VMWare multiple times without success.
VMware Support Request # 17502966107
Hello Parmarr,
No we have heard nothing from VMWare.
I tried to raise the issue with VMWare multiple times without success.
VMware Support Request # 17502966107
Unsable!!! Crashes all the time!!! I have been worried about it. Worried to lost some work that I spent a day developing.
The VMWare Fusion never was stable. It`s a shame!
Once i have the Invoke-VMscript output, I will know which /dev/sdX is which SCSI-ID.
Then I can match it up with the UnitNumber from (get-view $vm).config.hardware.device, and using the Key value, I can get which VMDK file it is.
For example, /dev/sdb here is has UnitNumber 1 (id=1), then I will get the key value 2001 and look up the VMDK.
/dev/sg1 [=/dev/sdb scsi2 ch=0 id=1 lun=0]
CapacityInKB : 6291456
CapacityInBytes : 6442450944
Shares : VMware.Vim.SharesInfo
StorageIOAllocation : VMware.Vim.StorageIOAllocationInfo
DiskObjectId : 9-2001
VFlashCacheConfigInfo :
Iofilter :
VDiskId :
Key : 2001
DeviceInfo : VMware.Vim.Description
Backing : VMware.Vim.VirtualDiskFlatVer2BackingInfo
Connectable :
SlotInfo :
ControllerKey : 1000
UnitNumber : 1
PS > $vm.ExtensionData.Layout.Disk
Key DiskFile
--- --------
2000 {[ca02sanp10-sata-crypt08] ca02webp22/ca02webp22_6.vmdk}
2001 {[ca02sanp10-sata-crypt08] ca02webp22/ca02webp22_1.vmdk}
2002 {[ca02sanp10-sata-crypt08] ca02webp22/ca02webp22_2.vmdk}
2003 {[ca02sanp10-sata-crypt09] ca02webp22/ca02webp22_3.vmdk}
I'm not sure if this will work, but i will try it out. I'm a perl person, so I don't know how easy it is to match regular expression within powershell. Time to do some learning.
Hi all,
I need a PowerCLI script: for each of the ESXi hosts connected to a vCenter, for each fibre channel HBA on that ESXi host: list the fibre channel WWNs and WWPNs of that HBA.
I'm not sure where to start.
Thanks in advance for your help!
-Chris
First... Metal-based Graphics Acceleration? Freakin' awesome!
Does it increase the DX Version supported?
On, and automated Disk Cleanup? Nice!
We are running ESXi 5.5 and Vcenter 5.5 and I was trying to add a host and it show (disconnected) state.
However the VMWare host is running and up and I'm able to ssh to it. The single VM running on the VMHost is also running.
Is there a service that is running/or not running on VMWare host that should be?
/etc/init.d/vpxa ?
The best way to do it is to create a new VM and then use the migration wizard during installation (prior to creating a new user), point it at the target disk, and let it convert everything over. If you have the original disk, I'd point it at that - or a USB clone. DMG clones are hit or miss.
It doesn't get much easier than importing a package but here are the guts of what is going on:
// the workflow takes any object so I created a wrapper workflow to pick a vm then pass that into the main workflow.
var obj = obj;
var properties = [];
var other = [];
var methods = obj.class.getMethods();
for (var methodIndex in methods) {
if (methods[methodIndex].getName().substring(0, 3) == "get" && methods[methodIndex].getModifiers() == 1) {
properties.push(methods[methodIndex].getName().substring(3).charAt(0).toLowerCase() + methods[methodIndex].getName().substring(3).slice(1));
}
else {
other.push(methods[methodIndex].getName());
}
}
System.log("Attributes: " + properties.sort());
System.log("other: " + other.sort());
for each (var prop in properties) {
System.log(prop + " ::: " + obj[prop]);
}
function getAllMethods(object) {
return Object.getOwnPropertyNames(object).filter(function(property) {
return typeof object[property] == 'function';
});
}
System.log(getAllMethods(obj));
Hi, ok I have manually do the job. It works but what a pain.
Thanks anyway.
Yves
Keep in mind that VDP is being discontinued after vSphere 6.5
Existing users can migrate to Dell's Avamar.
So as a general interest follow up question:
What 3rd party backup solutions are people using?
I have a 8 node cluster . The issue is what i am facing is we have 6 Vms on one particular VLAN 103 and if i migrate any of the Vms in VLAN 103 to this particular host ESXI - 06 , the VM looses network connectivity.
It is not reachable and even after a vmconsole if i try to ping the gateway it shows request time out. If i go to the networking tab in Monitor for this particular HOST ESXI - 06 - physical N/w adaptors i can see in the observed IP range the VLAN 103. Can any help me on how to actually start with this issue.
If the VMs for VLAN 103 is migrated to any of the other hosts in the cluster , it just works perfectly.
Using Standard Switch config.
Anyone ??
Sreec can you please advise as i would be most grateful.
I am willing to compensate anyone that can provide a working solution.
I run into this problem a lot. My setup:
1) Workstation 12.5.7
2) Windows 10 x64
3) 4k monitor at 150% scaling
4) 1080p monitor at 100% scaling
When I RDP into the host, then scaling (of both the UI and guest) starts to get screwy and unpredictable. It seems to help if I power off the 4k monitor when not in use (before I RDP).
Function Get-SnapshotCreator { Param ( [string]$VM, [datetime]$Created ) (Get-VIEvent -Entity $VM -Types Info -Start $Created.AddSeconds(-10) -Finish $Created.AddSeconds(10) | Where-Object {$_.FullFormattedMessage -eq 'Task: VirtualMachine.createSnapshot'} | Select -ExpandProperty UserName).Split("\")[-1] } $csv = import-csv <Location> foreach($vm in $csv){ Get-Cluster |Get-VM $vm | Get-Snapshot | select VM,` @{Name="SnapShotName";Expression={ $_.Name}}, @{Name="CreatedBy";Expression={ Get-SnapshotCreator -VM $_.VM -Created $_.Created }}, PowerState, @{Name="SnapShot Description";Expression={ $_.Description}}, @{Name="SizeGB";Expression={ [math]::Round($_.SizeGB,2) }}, Created, @{Name="Cluster";Expression={ Get-Cluster -VM $_.VM | select -ExpandProperty name }} }
Chris,
Here is something to get you started :
Get-Cluster | Get-VMhost | Get-VMHostHBA -Type FibreChannel | where {$_.Status -eq "online"} | Select @{N="Cluster";E={$cluster}},VMHost,Device,Status,@{N="WWN";E={"{0:X}"-f$_.PortWorldWideName}}
Hi expert
I have a question about Location Base printing.
Which domain controller do I need to register TPVMGPoACmap.dll file?
All domain controllers that have trust relationships or one of the domain controllers to which the virtual desktop belongs?
Trying to install the 2017 Tech Preview and am getting this during the installation,
Service 'VMware Authorization Service'
(VMAuthdService) failed to start. Verify that you have
sufficient privileges to start system services.
In the event log it shows event ID 7024
The VMware Authorization Service service terminated with the following service-specific error:
%%6000009
Running Windows 10, 1703 Build 15063.483, latest updates. 12.5.7 was uninstalled and the system was rebooted twice before the install was attempted. Folder permissions have been verified. Done all the old things from the previous versions. WMI is running, UAC is off,
Will try again in a bit after I look into this more but just wanted to see if others were getting this as well.
Hi vijayrana968,
As your instruction, I installed web client, but when I login to URL https://hostname/ui. There are no value on Host CPU and Host memory ( all VMs are power on).
This actually works for me using either the Swagger (on/off is no quotes) and/or API (via cURL) interface. Have you tried killing the vmrest and restarting it, maybe it was just acting up. I've had a few cases where it did some weird stuff. If you can repro, we definitely should get more logs
I'm not exactly sure about what this is used for, but it seems to allow you to disable the REST API endpoint (see example below, once its "off", you can no longer use API until you re-enable).
Disable REST API endpoint
┌─[lamw] - [~] - [2017-07-18 07:46:11] └─[0] <> curl -X PUT -d 'off' -H "Content-Type: application/vnd.vmware.vmw.rest-v1+json" http://192.168.30.122:8697/api/daemon { "state": "off" }
Try to query REST API
┌─[lamw] - [~] - [2017-07-18 07:46:18] └─[0] <> curl http://192.168.30.122:8697/api/vms { "Code": 3, "Message": "The server is currently unable to handle the request" }
Enable REST API endpoint
┌─[lamw] - [~] - [2017-07-18 07:46:20] └─[0] <> curl -X PUT -d 'on' -H "Content-Type: application/vnd.vmware.vmw.rest-v1+json" http://192.168.30.122:8697/api/daemon { "state": "on" }