Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 193198 articles
Browse latest View live

SCRIPT TO CHANGE STATIC IP

$
0
0

I have a VBScript that changes the IP address but it wont work inside the VM workstation (windows 10).

Has anybody done this before?

 

code:

***************************************************************

Set objShell = CreateObject("WScript.Shell")

objShell.Run "%COMSPEC% /k ipconfig"

 

 

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _

    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

 

Set colNetAdapters = objWMIService.ExecQuery _

    ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")

 

strAnswer = InputBox("Please enter your static IP Address:")

If TypeName(strAnswer) = "Empty" Then

WScript.Quit

End If

Wscript.Echo strAnswer

strIPAddress = Array(strAnswer)

 

 

 

 

strAnswer = InputBox("Please enter your Gateway Address (255.255.255.0):")

If TypeName(strAnswer) = "Empty" Then

WScript.Quit

End If

Wscript.Echo strAnswer

strSubnetMask = Array(strAnswer)

 

 

 

 

strAnswer = InputBox("Please enter your Gateway IP Address normaly close to your IP address:")

If TypeName(strAnswer) = "Empty" Then

WScript.Quit

End If

Wscript.Echo strAnswer

strGateway = Array(strAnswer)

strGatewayMetric = Array(1)

 

For Each objNetAdapter in colNetAdapters

    errEnable = objNetAdapter.EnableStatic(strIPAddress, strSubnetMask)

    errGateways = objNetAdapter.SetGateways(strGateway, strGatewaymetric)

    If errEnable = 0 Then

        WScript.Echo "The IP address has been changed."

    Else

        WScript.Echo "The IP address could not be changed. Try righ clicking and running with 'Elevated Privleges'"

    End If

Next

**************************************************************************


setting a scsi id for a newly added disk for VMs through script

$
0
0

Hi Experts ,

I was using the below scripts to add multiple disks to multiple VMs
http://blog.mattvogt.net/2013/03/14/powercli-mass-add-hard-disks/

But currently our requirement change like if we need to add 3 disks of 2 gb , the disks must the controller Use SCSI (1:0) - (1:2)

And next bunch of disks for example should use Use SCSI (2:0) - (2:2).

Is there any option for setting this SCSI ids while adding new disks.
Please let me know if there is any way we can accomplish through scripts.

Thanks in Advance.

Regards,
Sourav

Painfully Slow Logon Times

$
0
0

I'm working with a customer that is transitioning from persona to UEM. Some end users are experiencing horribly slow login times. Upwards of 15-20 minutes and we're not sure what's causing it. One user waited 33 minutes. I've attached some log files and GPO configurations. If you need any more information please let me know I'm hoping to get this resolved for them as soon as possible.

Select upgrade data

$
0
0

Author : Chris Bedford

URL : http:////docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vcenter.upgrade.doc/GUID-168482DD-CFCB-46F6-B622-6E7572E377CE.html

Topic Name : Stage 2 - Transfer the Data and Set up the Newly Deployed vCenter Server Appliance With an Embedded Platform Services Controller

Publication Name : vCenter Server Upgrade

Product/Version : VMware vSphere/6.7

Question :

Problem: The default partition '/' has only 3.5 GB of available space.  Enter a new export directory on the source machine below.  Question How to extend storage for export or refer to external storage?

EGS throughput

$
0
0

Hi,

 

 

What is the max Bw throughput på Edge Service gateway if I have 40 GB NICs?

Datastore Backup

Composer will not install in Windows 2016 Server

$
0
0

Hi all,

 

I was trying to install Horizon 7.7 on Windows 2016, and for some reason the installation fails.    Virtualisation Based Security is not enabled (and was never enabled on this VM).

The install fails with an event 7000.  I've tried it joined to a domain, not a domain member.  On windows 2012 R2 composer installs without an issue..    The only thing I haven't tried is upgrade the Windows 2012R2 box to Windows 2016 and  see what happens.

 

image001.png

 

Are there any other people here that have the same experience with installing Horizon composer 7.7 on Windows 2016 Server?

Any advice will be greatly appreciated

 

Thank you

kind regards

Marino

VMWARE Bridge Protocol is missing on Windows 10 machine (version 1709)

$
0
0

I have several users that are missing the VMWARE bridge protocol after their machines were upgraded to windows 10 1709.  I have tried multiple versions of vmware workstation, including the latest release with the same result.  I have noticed this has been happening to a lot of people, but i have not come across any fixes that corrected the problem.  I have tried to manually install it, but got the following error message:

 

could not add the requested feature.  the error is:  Access is denied.

 

 

Has any encountered this and has a solution?


VM Hardware version support

$
0
0

Is there any increased security risk in running vmx7 VMs on ESXi6.0 than running version11?

 

Need to understand if I am just missing speed improvements or their are actual risks. I've read VMware Knowledge Base  but it doesn't mention if you stop getting any patches to the VM Hardware version of VMs.

Limit USB Device to one instance

$
0
0

I  have VMWare Workstation 14 pro running on server hardware with Windows 7 on it.  I have 8 VM's running on that system.  I am about to build another system for my home automation based on OpenHAB and will need to use one of these:

 

https://www.amazon.com/Aeotec-Z-Stick-Z-Wave-create-gateway/dp/B00X0AWA6E

 

So I plug this into the host computer.  How do I make sure this USB device ONLY is recognized by the one virtual and is there something special I should be enabling or disabling on all the hosts?  Note my virtual machines are a combination of Linux and Windows based environments.

 

Thanks for your input.

 

Steve

How to have Headphones and Speakers working at the same time

$
0
0

Hi all,

We are doing a pilot to our customer for 50 VDI clients. Client device is WinXP SP3/Win7 PC. Guest OS is Win7 with PCoIP protocol . The issue is related to audio redirection when using headsets. In brief, customer uses a softphone and need to have audio outs in both the headset and pc speaker, so that the operator hear the phone ring even without the headset worn . This behavior is working using the physical pc with its own o.s., but with virtual desktop, audio is redirect only to one of two channels (or headset or pc speaker).

The headset is correctly seen by host and guest o.s. and the issue is not strictly related to softphone software, but in general, to redirect audio output to two channels (headphone and pc speaker) at the same time.

The environment is:

Host o.s. WinXP SP3 or Win7

Guest o.s. Win7

Horizon infrastructure (connection srv, composer, agent, client 6.0.0)

Horizon Feature Pack and Teradici audio driver

USB headset

 

Does anyone have any idea to solve the problem ?

thanks in advance

Best regards

Davide

ESXi 6.7 Unsupported CPU - Ideas for workarounds

$
0
0

Hi All,

 

With the recent release of vSphere 6.7 many of us who built home lab environments just hit a dead end on the upgrades due to CPU incompatibilities. Taking the fact that some of us have built quite extensive versions of the labs with rather expensive equipment, it makes a situation even more difficult, since if we would like to upgrade all the back-end equipment then this would require tremendous financial support which we usually can't get out of nowhere. So I was thinking about some potential workarounds with hopes that some of you may pop into this discussion and provide additional ideas.

 

In my lab I have various types of machines some of which are fully supported at this time for running ESXi 6.7 but the question of "until when ?" is always out there. So far I managed to run most of my hardware up till ESXi 6.5 without any issues regardless of the warning message that my CPU's are falling into the scope of unsupported stuff, but oh well we never care about such warnings when it comes to home labs right ?

 

Anyway so my stuff is organized as follow. I have one ESXi Cluster based on Xeon E5-2620 CPU's which runs absolutely fine with ESXi 6.7, however I have another ESXi Cluster based on older Intel Core i7-950 CPU's and I'm using it for testing some vCloud Director related VCD features. Unfortunately this second cluster definitely doesn't fall into the scope of upgrading it to ESXi 6.7 and for my worst luck it just refused to boot up when I tried to enforce it to v6.7 via the offline-depot upgrading method. The machines were always getting back to the black screen stating that my CPU type is unsupported.

 

Personally I'm not very happy with VMware's decision on completely dropping out the older CPU's because this seriously limits the options for home labs and frankly I don't even think we usually test the most complex features requiring the additional hardware support. Of course I agree to some extend with the decision to limit support for extremely old machines and especially when it comes to production environment, but on the contrary I have another very old ESXi cluster based on Intel Core 2 Quad Q9550 CPU's which still totally works with ESXi 6.5 and I'm using it occasionally for testing out vCloud Edge related services. So I found it kinda unnecessary that VMware went too drastic on this decision instead of letting the home-lab users to test out on their own equipment what may or may not work. Anyway...

 

So in my case upgrading the hardware from scratch on at least two cluster of 3 machines to new generation is totally going to drain my finances and therefore I started to look for some workarounds to this. My main idea here was to try the nested-virtualization method by installing ESXi 6.7 on the top of ESXi 6.5 layer and enforce the VM via CPUID modifications to actually think that it does have a supported CPU class underneath. I took the approach by making a test VM on one of my Intel Core i7-950 CPU based machines (still running ESXi 6.5). When I boot the VM and try to install ESXi 6.7 the obvious result was this one:

 

 

At this point I decided to play around a bit with the EAX registers and implement a mask that would enforce ESXi 6.7 to think the VM has a different CPU model and stepping. Since my knowledge on CPUID implementation is somewhat limited I just decided to take the EAX register from one of my Intel E5-2620 based hosts instead:

 

 

Once I applied the mask, I was able to install ESXi 6.7 without any issues. I didn't even have to rebrand the CPU via the 0x80000002 registers in order to be able to install the new OS, so it seems that ESXi 6.7 is primarily looking at the CPU Family ID, model and stepping for the initial CPU identification procedure.

 

 

While this method is not ideal at all (in fact it's a very ugly workaround) at least it provided the option to install the new OS and therefore to put hands on the basic functionality. Not sure if this method is suitable for nested virtualization, but if I get some time I'll definitely test it out. I suppose the EAX registers could be tweaked a bit better in order to be able to support certain set of features, so if anyone has a good idea on how to craft a better CPUID EAX registers purely for lab uses with as much compatibility on features as possible, feel free to put your magic in this thread.

 

Any other workarounds on running ESXi 6.7 on unsupported CPU's are also very much welcomed.

Traffic flow with UAG and Radius

$
0
0

Hi,

 

I'm planning on setting up a new architecture for VMware Horizon 7 VDI with UAG in DMZ and 2FA solution RADIUS-based. I would like to know more about the authentication in UAG instead of Connection Servers and RADIUS.

 

My understanding is now, the connection servers will not be part of the authentication process, only the UAG will communicate with the Radius server which will accept or deny the request (by asking the AD itself). So in this case, the Connection Server will not communicate with the AD anymore and will only receive request from the UAG once the user has been authenticated, right ?

 

I believe this diagram could summarize the communication flow :

 

screenshot.59.png

Unable to login to appliance with console user, i must of tired a million time,

$
0
0

i cannot start the setup.

using the default account and password

CLI User

consoleuser

ark1nc0ns0l3

 

I deployed running VMWare-vRealize-Network-Insight-3.9.0.1536339775-platform.ova

Cloud pod architecture & Replica server

$
0
0

Hi

 

We have 2 horizon 7.4 connection servers on different hosts, if we join them using the cloud pod architecture option, do we still need the replica servers.


How to view individual host in version 6 like we could with 5

$
0
0

I have vsphere and can see all my collected hosts but how do I view the individual hosts so I can see the guest server outside of the manager?

esxiをまるっとバックアップを取る方法はありますか?

$
0
0

esxiのバージョンアップを行うにあたり、バックアップを取る計画を立てているのですが、configファイルを取る以外にesxiをまるっとバックアップを取る方法はありますか?

Horizon Instant clones with NVidia GPU

$
0
0

HEllo,

 

Does anybody in this community use NVidia Grid Tesla M10 Graphics with your VDI environment? The reason I'm asking is that I would like to see what your experience is with it?

 

We seem to be struggling with some funky issues graphics related. For example, the primary screen gets switched over to wrong screen even though on the zero client is set with the correct primary screen. Another issue is that sometimes resolutions seem to jacked but if I go to Nvidia control panel and change it and then revert everything seems to be fine. Another one is if we use Blast then 2 out of 3 times only one screen gets connected instead of 3 but in the control panel all of them are visible.

"Remote access for ESXi local user account 'root' has been locked for 120 seconds..."

$
0
0

Hello everyone

 

I got the following message every hour:

 

"Remote access for ESXi local user account 'root'  has been locked for 120 seconds..."

 

I found a lot of information how to figure this out:

 

Security.AccountLockFailures. Maximum number of failed login attempts before a user’s account is locked. Zero disables account locking.

Security.AccountUnlockTime. Number of seconds that a user is locked out.


But I didn't get out where to find the source IP who is trying to access our ESXi hosts. Isn't it in /var/log/auth.log ?

 

Thank you for your input.

VASA provider session expire

$
0
0

Hello,

 

We register our VASA provider successfully and a sessionID is returned from VASA Provider to vSphere.  After sometime VASA provider has sessionId expired, so the VASA provider returns 'Invalid Session' fault to vCenter calls.   Per VASA developer guide, vCenter suppose to call 'setContext()' to recreate the session...but this is not happening. vCenter keeps calling provider with the same sessionID even though VASA Provider returned 'invalid session'

 

" When the VASA provider receives a VASA function call that is associated with an expired session

identifier, the Provider throws an InvalidSession fault. The vCenter Server will call the setContext

function again to establish a new session context."

 

Any ideas?

appreciate your help

--

Thanks

BP

Viewing all 193198 articles
Browse latest View live


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