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

Problems with an Usb interface in a virtual machine

$
0
0

Hello,

 

I use a car diagnostic software in a virtual machine, which works with an usb-interface from FTDI.

 

The host system is Windows 7, guest is Linux Mint 17.3. In normal case the diagnostic software detects this usb-interface every time when the program is starting. This is not happening reliable when I start the diagnostic software in the virtual machine. I have to close the program an restart it to achieve the interface detection a lot of times.

 

When I plug in an usb stick the diagnostic software detects the usb interface reliable every time, after I have passed this stick through to the virtual machine. There is no difference which usb stick I use. Without an usb stick it is impossible to achieve a reliable detection of the usb interface.

 

Despite the reliable detection of the usb interface with usb sticks I have noticed that there are short connection loses when the program logs data.

 

What can I do in order to achieve a reliable detection without usb sticks? How can I avoid these very short connection loses?

 

Thank you!


scroll bar missing issue in vRO 7.0.1

$
0
0

The vertical scroll bar is missing in the presentation of some  workflows, while other workflows are good. All workflows are developed in the same way, so it's strange. The issue is very similar as https://communities.vmware.com/message/2249553#2249553, however, the workaround methoned in that page is not work.

 

1.png

 

Any idea/clues will be very appricated! Thanks a lot!!

Connect-VIServer without prompting for user

$
0
0

Hello.

 

We have more than one vSphere, each with its own vCenter. When I connect to the Prod vCenter by Connect-VIServer, it just connects successfully using the currently logged in user credentials.

This behavior changes when connecting to the other vCenters. It prompts for a username and password. If I then insert the logged in user credentials, it connects successfully.

 

I need that all of them allow to connect using the logged in user credentials, specially because I need to run a script by scheduled task, but it's not working for this reason.

Do you know how do I fix this?

 

Thank you!

PowerShell: How to get the name of my ESXi

$
0
0

How to get the ESXI Name? what I tried:

 

    Add-PsSnapin VMware.VimAutomation.Core -ErrorAction  "SilentlyContinue"

    $User =

    $Password =

    $ESXiServer = "IPAddress"

    Connect-VIServer $ESXiServer -User $User -Password $Password

 

    $Datacenter = Get-Datacenter

    $Datastore = Get-Datastore

    $DataStoreLocation = $Datastore.ExtensionData.info.url 

    $Datastore = Get-Datastore

 

"`get-vm`" gives me the VMs which are on m Hyper-V. <br/>

"`get-vmhost`" gives me the name of my Computer.

 

I do not know how to get the name of my ESXI server!!

Power On virtual machine:A general system error occurred: No connection could be made because the target machine actively refused it

$
0
0

Hi,

 

I am running VCenter 6.0 and VSphere 6. The vcenter version is the Windows installable. I installed missing patches on the server (2012 R2), but when I try to start a VM (either one I created after the restart or any created before the restart), I get this error:

 

Power On virtual machine:A general system error occurred: No connection could be made because the target machine actively refused it

Time:

 

 

Please advise. SQL Server is online too and is functioning fine.

 

 

Thanks

Stuck at Running swapob jd start.

$
0
0

Hello i think i have very big problem.

 

Today when i try to start my server it stucks at

 

Starting up services
Running swapob jd start

 

The problem is there over 10 minutes. Can you please tell me what can i do now, why this does not want to start?

 

Thanks in advance!

AppVolumes 2.1.0 assignment issue

$
0
0

AppStacks work as intended when assigning them to a user but will not attach with assigned to a computer, AD group, or OU.  Any ideas on what the issue could be?  Currently I am in a 6u2 test environment with horizon 7 linked clone desktops running windows 7 and AD running at a functional level of 2008r2.

Storage Scan Failure ESXi 5.5

$
0
0

Hey everyone, I'm kinda stumped here. I'm getting an issue when scanning my iSCSI software adapter on any of my hosts. I have 3 in a cluster config, any ideas? I've rebooted two of my hosts in hope to alleviate the issue, they still persist. Hope I'm posting in the right place, thanks!

 

Call "HostStorageSystem.RescanHba" for object "storageSystem-2171" on vCenter Server "VCENTER" failed.

An unknown error has occurred.


VMs not being placed on correct vsphere clusters - vRA 7.0.1 using embedded vRO 7

$
0
0

We have 2 data centers with 2 clusters each. On the request form, data center location is selected via a pull-down menu, depending on this selection, the next pull-down (cluster-name) is populated with the clusters found in the selected data center.

The VMs are not being deployed in the selected clusters.

 

The locations.xml is edited to reflect the 2 datacenter locations and associated with compute resources.

 

Trying to create property relationships for vRA using script actions.

 

Definition 1 -
Vrm.DataCenter.Location

Label: Datcenter location

Data type : String
DIsplay advice: Drop Down Box
PreDefined Values - BOS - BOS(value)/ SD - SD(value)

 

Definition 2 -
VirtualMachine.Admin.Clustername
Label - cluster name
Data Type - String
Display Advice - Dropdown
External Values
Pointed to my vRO Action item

 

Below is the simple vRO script action. This workflow is for VirtualMachine.Admin.Clustername property definition and is bound to Vrm.DataCenter.Location.

Return type: Array/string

 

if(datacentercluster)

{

    switch(datacentercluster){

        case "BOS":

            return["BOS-TEST","BOS-PROD"]

            break;

        case "SD":

            return["SD-DEVTEST","SD-PROD"]

            break;

        };

}

else

{

    return ["Please select Datacenter"]

};

 

Is there something that I am missing here or is it related to the reported bug for resource mapping?

 

Thanks for any help.

vDS does not come back after power outage

$
0
0

I have a cluster that lost power and the vDS does not come back, I'm not sure how to troubleshoot that?

 

 

Thank you

CentOS 7 VM's will not connect to the network

$
0
0

Good Day VM Guru's

 

I just started using ESXi 6 and I created a Windows Server 2012 VM and gave it on a VLAN and I can ping anywhere in my network. I create a CentOS 7 VM and gave it an IP on the same VLAN and I cannot even ping the Gateway, I have re-verified all my configurations and all is good. Has anyone had this issue aor know where I might find my answer.

VLAN Pruning - To prune or not?

$
0
0

Recently our Network Architect posed for our new batch of server ports that we should have all VLANs trunked from our expensive Cisco 4500 switches to our ESXi hosts. This was also stated as being the "Best" business practice which I have not been able to find any documentation that supports that statement.

 

Up until now we have pruned out any VLANs that ESXi was not going to have VMs attached to but of course everytime we need a new VLAN we will need to get the Network admins to insert a new VLAN on the trunk ports. Although there are pluses and minuses to doing it this way I have my concerns.

 

  1. Traffic. VLANs are designed to breakup the broadcast domains so if all VLANs are on the trunk port to the ESXi host all the broadcast traffic will be passed on the wire requiring the ESXi vSwitch to decide what to do with the packet. That just seems like more work that ESXi has to do when we have $45K switches that can process that and only allow necessary traffic. I've been told by our Network admin that passing all VLANs on the trunk port to ESXi will cause less traffic. How can that be if more VLANs are allowed to pass through the trunk port to the ESXi host vSwitch?. At this time we are using the less sophisticated ESXi Standard vSwitch as opposed to the more intelligent Distributed vSwitch.
  2. Security. Generally when you configure VLANs on a network you restrict certain VLANs (subnets) from talking to one another. It would seem that there are definite security risks allowing all VLANs to be accessible for anyone to create a port group and a VM on a VLAN that was intended for that purpose.
  3. Troubleshooting. What troubleshooting nightmares will allowing all VLANs to the ESXi host introduce? With more VLAN traffic on the wire to the ESXi host now we will have to be involved with WireShark captures and figuring out any Network issues with ESXi that may arise.

 

The more I research and think about what has been said and discussed this seems to be a personal "Preference" rather then a "Best Practice". I do agree having all the VLANs trunked to the ESXi hosts would only be great for the reason of not having to request additional VLANs be added by the Network admins. Otherwise my above concerns still exist.

 

Thoughts? Opinions?

How do I find my helper-wf's name?

$
0
0

Given the simplified scenario. In my real code I have many other inputs for action "logme" which makes it "impossible" to just write the code every time, hence actions and helper workflows.


vCO Action "logme" - contains simple code: 'System.log(workflow.currentWorkflow.name);'
inside
vCO workflow "log-wf" - contains the "logme" action
inside 
vCO workflow "change-config" - changes a configuration element and uses log-wf to log the wf name (well that was the intention, for simplify troubleshooting/know where to look).
inside
vCO workflow "main-wf" - calls on change-config when needed.

What I want is that when I run "main-wf" and it calls on "change-config" the wf-name of "change-config" should be written in the System.log.

I've tried with
- workflow.name => "log-wf"
- workflow.currentWorkflow.name => "log-wf"
- workflow.rootWorkflow.name => "main-wf"

As you can see I'm either getting the "main-wf" wf name or the initial workflow that uses the action. Is there another workflow.?.name "option" I can use? Kinda like "rootChildWorkflow" or something?

Options to migrate VM's from old hardware to new hardware, different vCenter

$
0
0

I have about 225 VM's that I need to migrate from older hardware/SAN managed by a 5.1 vCenter, to new hardware/SAN managed by a version 6 vCenter.  The two environments are in the same physical location and have basic network connectivity between them, but otherwise are totally separate.  I have looked into different options to move the VM's, but I can't seem to come up with a good method for moving that many VM's relatively efficiently. 

What are my options here?

We own Veeam Backup and Replication - could that be utilized?

 

Thanks.

VVOL issues

$
0
0

Hi Admins,

 

Have some issues with VMware VVOLs ....

Some time ago we played around with VVOLs and finally got it to work.  After some testing we decided that VVOLs wasn't something for us at that point, so servers were migrated to regular vmfs datastores.

 

A few months ago we made our vCenter a subordinate CA and we also replaced the certificates on our ESX hosts , after this the configured  VVOL datastore went "inaccessible" (No running VMs)

Didn't bother so much about is at the time being but now i would like to have to work again.


Found out that the configured storage provider was inactive in the webclient , i then removed it , and then added it again. (All green in the webclient)

 

1.png

When i try to add a VVOL datastore all seems initially be good , but after a few seconds the VVOL datastore has warnings saying "Inactive"

2.png


From my 3par :


3.png


This is kinda strange i think, above VMs are deleted or up and running on other vmfs datastores , i have now running VMs on this storage container.


Environment :

vSphere 6 build  3825889

HP 3par 3.2.2 (MU2)


Suggestions?


Cheers

Tyler



High average write latency on ESXi 6.0 u2 (SSD)

$
0
0

Hi,

we're having trouble with one of our ESXi 6.0 update 2 hosts. It is very strange.

The host has 2 datastores. Both are RAID1 made of 2 SSDs each, on an LSI 9260-4i controller without bbu.

Datastore 1 is having a high average write latency of 25+ms but only when idle (see screenshot). When i put some work on it (for example copying large files around) the latency goes to normal below 10ms.

Datastore 2 is having no problems at all. No matter if idle or not.

We have a second ESXi host with nearly the same hardware which has no problems either.

Any ideas?

Player 12: How to enable Enhanced Keyboard during silent installation

$
0
0

Does anybody know how to enable/disable the Enhanced Keyboard Drivers during silent installation?

 

Cheers Marcus

vCenter with Windows Server Failover Clustering - failed to lock the file

$
0
0

Hello all,

 

I'm currently working on a MSCS vCenter cluster. As described in the  "VMware vCenter Server 6.0 Availability Guide" it should be possible to add the RDM disks to both VMs.

If I try to start the second vCenter VM it throws the error "Failed to lock the file". For me this message looks right because the first VM has a lock on the RDM disks. But for the clustering I need both VMs to be connected to the RDMs.

 

Is there anything I have missed?

 

=> http://www.vmware.com/files/pdf/techpaper/vmware-vcenter-server-6.0-availability-guide.pdf page 24.

 

Regards & Thanks for the help,

Soph1

Retrieve all SRM information

$
0
0

Does anyone have a script that will gather up all SRM information for me, I'm looking to query SRM and get at least the following:

Folder:    Recovery Plan:  Protection Group:   VM:   LUN:    VM Priority:     protected IP:    Recovery IP:

 

Thanks in advance!

how App Services push the application in the VM

$
0
0

Just want to understand the whole flow that how App Services push the application in the VM? and which port number and and protocol required for the communication.

portquery.png

Viewing all 181080 articles
Browse latest View live


Latest Images

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