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

Re: For Each Loop and Set-VMNetworkAdapter


Re: For Each Loop and Set-VMNetworkAdapter

$
0
0

I have the impression you are connected to multiple vSphere servers at once.

Can you display the contents of $global:defaultviservers in the script to check?

 

Update: you could perhaps also add the -Verbose switch on the Connect-ViServer and Disconnect-ViServer to see what is happening there.
And perhaps show the output of the script

Re: For Each Loop and Set-VMNetworkAdapter

$
0
0

Yeah thats my impression as well, which is why I included the Disconnect-VIServer command.

 

Ill run the verbose options through and see what it says.

Windows Server 2012 on ESXi slow to respond on network after reboot

$
0
0

Running guest Windows Server 2012 R2 with Exchange 2016 in an ESXi 6.0 host. The issue I'm experiencing is a long time it takes for the server to start responding after each reboot. The guest will reboot, come up, allow me to log in and interact with it. However, it will takes several minutes (~10) past that before the server starts responding to external clients, even an RDP login. The built-in soft firewall is disabled on the domain network since I have a hardware firewall at the gateway.

 

When I log into the console right after a reboot but before the server is responsive on the network, any network-relate features such as the "Network and Sharing Center" or "Windows Firewall" don't come up. Blank windows just sit there for a few minutes in a "loading" phase and then they come up simultaneously to the server becoming responsive on the network.

 

I have another 2012 Server on the SAME esxi host and that one works fine! It's just this one with Exchange on it.

 

Guest: 2 x QuadCore Intel Xeons 2.266GHz / 32 GB RAM / 500 GB Storage

Re: For Each Loop and Set-VMNetworkAdapter

$
0
0

$global:defaultviservers shows two vCenters connected.

 

Do I need to force a Disconnect-VIServer?

Re: For Each Loop and Set-VMNetworkAdapter

$
0
0

force, no..  just use Disconnect-VIServer $newhost -confirm:$false   as Luc shared earlier.

Re: Is it normal for the vmkdump folder to contain a dumpfile?

$
0
0

I just got into the same situation;

Folder: "vmdkdump" & File: ""xxxxx-xxxxx-xxxxxx-xxxxx.dumpfile" stuck in one of 16 LUNs I was deleting.

 

I tried all my tricks but nothing worked out, so this is what I did if anyone needs to get rid of this file in order to remove datastore from a host.

 

NOTE:

Make sure you delete the ".dumpfile" & "vmkdump" before removing the datastore.

Enable SSH on all the host to find out which one got the "Active value of true and Configured value of true" It is an "active core dump file"

 

So how to find out?

1. Run the following command from all the host until one of them display "Active value of true and Configured value of true"

 

EXAMPLE:

[root@K-YOUR HOST:~] esxcli system coredump file list

Path                                                                                                                                                         Active  Configured              Size

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

/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx/vmkdump/xxxxx-xxxxx-xxxxxx-xxxxx.dumpfile    true     true              2542796800

 

So how to remove it?

2. Run the follwing 2 commands from the host that displays "Active value of true and Configured value of true"

esxcli system coredump file set -u

esxcli system coredump file remove -f /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx/vmkdump/xxxxx-xxxxx-xxxxxx-xxxxx.dumpfile

 

3. Finally delete the folder: "vmkdump" from the datastore & Unmount/Detache the datastore. DONE!

 

For more info follow this link: Removing the ESXi coredump to file (2090057)

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2090057

 

Raul.

VMware VDI Administrator

http://ITCloudStream.com/

Re: vCenter Appliance and Windows AD

$
0
0

"Just Join" the VCSA to the domain implies creating a dependence of the VCSA on the domain! No domain may equal no VCSA!

 

I much prefer using LADP or LDAPs as that allows AD authentication without creating a dependence!. 


Horizon 7.0.3 upgrade to 7.1 Cant Access Admin or Client Web Page

$
0
0

Hey All,

 

I am upgrading my Horizon View environment from 7.0.3 to the new 7.1 and am having issues getting to the view admin after the upgrade. I am leaning towards the Certs i created causing this uses but the View Blast GW is started and i know that pauses if it doesn't like the cert or if its not exportable.

 

Basically after upgrade my CS is 7.1 , but when i go to the page to grab the client or hit it through HTML 5 or go to the / admin site it cant be reached. All my services are started and i thought i may have been an issue w/ me not being patience for the page to display but its been a while and its not working. My cert is using the Friendly name of VDM and is a Web Server Cert issued by an internal Domain CA.

 

Any ideas?

 

Thanks all

Re: SSL VPN Plus - vCloud Director 8.20 / NSX 6.2.5

$
0
0

To me this seems like a bug until unless someone is having some suggestion for me. Planning to report this internally to VMware Account Team and filling a VMware SR

Can't exit remote ESXi shell

$
0
0

Hey all, I was just trying to update my ESXi hosts and I've hit a snag -- I neglected a closing " at the end of the update command. The command never ran and now I can't exit the shell. I accessed this host using a program called mRemoteNG that I use for all of my remote server access and I use the SSH v2 protocol for accessing my VMware devices.

 

I've tried quit, exit, Quit, Exit, CTRL-C, CTRL-Z, ESC and repeatedly pounding on my keyboard. I Googled this and found nothing so I'm guessing it's a simple key combination for people who have been using VMware longer than I have. SO, how do I exit the shell?

 

Thanks,

 

Joe B

Re: USB "device not found error" when adding to VM - ESXi 6.5

$
0
0

There's probably a stale entry in your VM configuration (vmx) file.

 

Please open the vmx file and see if it contains the following entry:

 

usb.autoConnect.device0 = "path:0/1/5"

or

usb_xhci.autoConnect.device0 = "path:0/1/5"

 

If so, remove it.

 

Thanks,
Lance

Re: Upgrading Patch for ESXi 5.5 Server

$
0
0

1. Host should be on maintenance mode.

2. No need any backup , but you can take management IP information.

3. If you are using distributed switch , then first upgrade vcenter server

Loosing paths on a tertiary SAN causes management on all ESXi Hosts to become unavailable.

$
0
0

I am facing a strange issue on a cluster of ESXi 6 Hosts, where one of my tertiary iSCSI SAN devices crashes and I loose management of all ESXi hosts until the tertiary SAN is restored. The SAN in question is not used for running VMs or mission-critical data. In fact it is just a bunch of 4TB Nearline disks for archive purposes.

 

Here's what happens:

  1. Archive SAN goes down
  2. Management of all ESXi Hosts becomes unavailable, but the VMs on other storage devices remain online and in-production
  3. All ESXi show disconnected in vCenter
  4. As soon as Archive SAN is restored (almost instantly) ESXi Management is restored and hosts show connected in vCenter

 

Other details:

  • We have a separate air-gap network for iSCSI, including switches. The Archive SAN and production SANs do share the same Storage Network
    • LUNs on other SANs remain in-production and functional with little to no performance degredation during Management Event
  • We have separate networks for vSphere Management and VMs in production
  • vSphere logs and scratch are redirected to a SAN other than the Archive SAN and reamin online during Management Event.

 

What could be up. How could one measly iSCSI SAN take out the management of all of my ESXi Hosts?

 

THX,

Re: Fusion not working, windows cannot be activated, and unable to load any Windows programs on my MacBook Pro

$
0
0

Regarding Issue #1, this is expected, to a degree. Windows will detect it is running on new hardware because it is running on virtual hardware instead of the Mac's physical hardware. However, once you install VMware Tools, Windows would ask about re-activating, and upon activating it should not ask again because of what we do with VMware Tools in saving the activation information.

 

As for the second issue... Could you be a little more specific? How are you trying to install a Windows app and what errors are you seeing when trying to do this?

Installing A Windows app in Windows should be the same as on a physical computer. Use Edge or whatever browser in the VM, download your app (within Windows), double-click it (within Windows), run through the installer, then find it on the Start menu when you're done. What part of that process is breaking down in your case?


Re: Can't exit remote ESXi shell

$
0
0

Fixed it. Well, kind of. I used PuTTY to log in again, ran ps -N --tree | grep ssh and found two sshd sessions. I chose the larger... PID, killed it and I'm ready to go. 

 

Hopefully someone will find this when they are in the same situation.

 

Joe B

Re: deduplication and Compression overview shows no savings at all

$
0
0

DING DING! I found a lot of "proportionalCapacity = 100" and "proportionalCapacity =  [0, 100]". Not sure what the [0,100] means but I tested a new policy and it updated the vm to 0. Instead of moving all my machines to the new policy i just edited the current policy (changed iops limit from 0 to 0) and reapplied to all the vms (in stages). So far we're showing a ratio of 1.55x (almost 7TB saved!). Thanks!

Re: "File - failed to get objectId" in hostd logs

Re: vSan disk errors when migrate

$
0
0

GreatWhiteTec: What should the recommended cache tier size for the ssd be? I dont really get how it could be wrong, the setup should be HP:s Ready Hodes HY6 that are an HP package built for vSphere and with vSan. The builtin drivercheck in vcenter did first say that storage controller driver was not ok so i upgraded to the compatible version then was everything compatible but that was before the errors started.

I'm running the latest 6.5. I will try the HCIBench.

 

BOB, Your right, the site works now!

Capacity as shown in vsan physical discs:

SAS: 189GB (HP 1TB 6G SAS 7.2K 2.5in SC MDL - 832514-B21)

SSD: 931GB (HP 200GB 12G SAS ME 2.5in EM SC H2 - 779164-B21)

Re: deduplication and Compression overview shows no savings at all

$
0
0

Hello jbax,

 

Glad to hear that worked, I advised creating a new identical policy (in all but name) as I have had mixed results with just re-applying same policy though it looks that adding a new rule-set is enough to do the trick, so good to know for future.

Did you also see a large corresponding decrease in the % 'Reserved' on disks as seen via RVC vsan.disks_stats?

 

Bob

 

-o- If you found this comment useful or answer please select as 'Answer' and/or click the 'Helpful' button, please ask follow-up questions if you have any -o-

Viewing all 150956 articles
Browse latest View live




Latest Images