Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 195209 articles
Browse latest View live

vRO workflow copy file from Guest to vCO not working after upgrade from 7.3 to 7.6.

$
0
0

Currently, i'm unable to run the workflow : Copy file from Guest to vCO after i upgrade my vRA-vRO to 7.6 with the error:

Workflow: Copy file from guest to vCO /scriptable task (item1)#10)org.apache.http.conn.ConnectTimeOutException: Connect to xx.xx.xx.xx failed: connect timeout (xx.xx.xx.xx is IP of esxi where VM allocated).

At the beginning, i thought my esxi unable to talk to vro or vcenter during the workflow triggered but everything is fine. I noticed when the workflow run, actually the file from Guest already created in vco but without content. Not sure this one is the product issue or my environment issue. Would like to seek your advise and answer from you if you encountered or running same version as me. Thank you in advance.
Noted: My vCenter Plugin already upgraded to latest version as well and vCenter: 6.5.0.30000 Build 1415654 ESXi: 6.5.0.13932383

 

 

 

 

 


Add VMC on AWS vCenter vCenter link to WS1 App Page

$
0
0

Hello, I have just finsihed up our first vmc on aws deployment at the company and its working great. I was thinking about adding the vCenter link to our internal WS1 App portal so anyone that needs to login can just click on it and it would authenticate. I haven't played with WS1 much so I was wondering if I could get some advice on what data from the vmc on aws side I would need in order to get the link added. Really appreciate it!

I need help with Actions after upgrade of vRO

$
0
0

We moved from vRO 7.1 to 7.4   

The action that isn't working is one that will select a template by version and then pass that on for cloning to VM.   The new version of vRO throws an error that the split is undefined.   I'm not sure why I was hoping someone can help me track this down. 


var filter = '^' + os + '\\-template\\-\\d+\\.\\d+\\.\\d+$'; // string
var targetTypes = ['VirtualMachine'];// string[]
var properties = ['name'];// string[]
var rootObject = null;// Any
var foundObjects = [];
var containerRoot = null
if (typeof rootObject === 'undefined' || rootObject == null || rootObject == '<<null>>') {
    containerRoot = vc.rootFolder
} else {
    containerRoot = rootObject
}
var recursive = true
var containerView = vc.viewManager.createContainerView(containerRoot, targetTypes, recursive)
// create an object spec for the beginning of the traversal;
// container view is the root object for this traversal
var oSpec = new VcObjectSpec()
oSpec.obj = containerView.reference
oSpec.skip = true
// create a traversal spec to select all objects in the view
var tSpec = new VcTraversalSpec()
tSpec.name = 'traverseEntities'
tSpec.path = 'view'
tSpec.skip = false
tSpec.type = 'ContainerView'
// add it to the object spec
oSpec.selectSet = [tSpec]
var propertySpecs = new Array()
for (var t in targetTypes) {
    // specify the properties for retrieval
    var pSpec = new VcPropertySpec()
    pSpec.type = targetTypes[t]
    pSpec.pathSet = properties
    propertySpecs.push(pSpec)
}
var fs = new VcPropertyFilterSpec()
fs.objectSet = [ oSpec ]
fs.propSet = propertySpecs
var retrieveOptions = new VcRetrieveOptions()
var propertyCollector = vc.propertyCollector.createPropertyCollector()
try {
retrieveResult = propertyCollector.retrievePropertiesEx([fs], retrieveOptions)
do {
    if (typeof retrieveResult !== 'undefined' && retrieveResult !== null) {
processObjects(retrieveResult)
if (retrieveResult.token !== 'undefined' && retrieveResult.token !== null) {
    retrieveResult = propertyCollector.continueRetrievePropertiesEx(retrieveResult.token)
} else {
    break
}     
    } else {
      break;
    }
} while(true)
} finally {
    propertyCollector.destroyPropertyCollector()
}
for (i=0;i<foundObjects.length;i++) {
System.log(foundObjects[i]);
}
System.log(foundObjects.length);
vms = new Array()
for (var i in foundObjects) {
    vms.push(Server.fromUri(foundObjects[i]))
}
if(vms.length === 0) {
System.warn("No template could be found for OS '" + os + "'");
return null;
} else {
vms.sort(versionCompare);
var indexToReturn = vms.length - 1;
System.log("The most current " + os + " template is " + vms[indexToReturn].name);
return vms[indexToReturn];
}
function processObjects(retrieveResult) {
    var resultObjects = retrieveResult.objects
    if (typeof foundObjects === 'undefined' || foundObjects === null) {
        foundObjects = new Array()
    }
    var pattern = new RegExp(filter,'i')
    for (r in resultObjects) {
      var objContent = resultObjects[r]
      var id = objContent.obj.value
      var type = objContent.obj.type
      var props = objContent.propSet
      for (p in props) {
        if (pattern.test(props[p].val)) {
var dunesId = "dunes://service.dunes.ch/CustomSDKObject?id='" 
                                      + vc.id + "/" + id +"'&dunesName='VC:" + type + "'"
            foundObjects.push(dunesId)
            break
        }
      }
    }
}
/**
 * Compares two software version numbers (e.g. "1.7.1" or "1.2b").
 *
 * This function was born in http://stackoverflow.com/a/6832721.
 *
 * @param {string} v1 The first version to be compared.
 * @param {string} v2 The second version to be compared.
 * @param {object} [options] Optional flags that affect comparison behavior:
 * <ul>
 *     <li>
 *         <tt>lexicographical: true</tt> compares each part of the version strings lexicographically instead of
 *         naturally; this allows suffixes such as "b" or "dev" but will cause "1.10" to be considered smaller than
 *         "1.2".
 *     </li>
 *     <li>
 *         <tt>zeroExtend: true</tt> changes the result if one version string has less parts than the other. In
 *         this case the shorter string will be padded with "zero" parts instead of being considered smaller.
 *     </li>
 * </ul>
 * @returns {number|NaN}
 * <ul>
 *    <li>0 if the versions are equal</li>
 *    <li>a negative integer iff v1 < v2</li>
 *    <li>a positive integer iff v1 > v2</li>
 *    <li>NaN if either version string is in the wrong format</li>
 * </ul>
 *
 * @copyright by Jon Papaioannou (["john", "papaioannou"].join(".") + "@gmail.com")
 * @license This function is in the public domain. Do what you want with it, no strings attached.
 */
function versionCompare(v1, v2, options) {
    var lexicographical = options && options.lexicographical,
        zeroExtend = options && options.zeroExtend,
        v1parts = v1.name.split('-')[2].split('.');
        v2parts = v2.name.split('-')[2].split('.');
    function isValidPart(x) {
        return (lexicographical ? /^\d+[A-Za-z]*$/ : /^\d+$/).test(x);
    }
    if (!v1parts.every(isValidPart) || !v2parts.every(isValidPart)) {
        return NaN;
    }
    if (zeroExtend) {
        while (v1parts.length < v2parts.length) v1parts.push("0");
        while (v2parts.length < v1parts.length) v2parts.push("0");
    }
    if (!lexicographical) {
        v1parts = v1parts.map(Number);
        v2parts = v2parts.map(Number);
    }
    for (var i = 0; i < v1parts.length; ++i) {
        if (v2parts.length == i) {
            return 1;
        }
        if (v1parts[i] == v2parts[i]) {
            continue;
        }
        else if (v1parts[i] > v2parts[i]) {
            return 1;
        }
        else {
            return -1;
        }
    }
    if (v1parts.length != v2parts.length) {
        return -1;
    }
    return 0;
}

var filter = '^' + os + '\\-template\\-\\d+\\.\\d+\\.\\d+$'; // string
var targetTypes = ['VirtualMachine'];// string[]
var properties = ['name'];// string[]
var rootObject = null;// Any
var foundObjects = [];
 
var containerRoot = null
 
if (typeof rootObject === 'undefined' || rootObject == null || rootObject == '<<null>>') {
    containerRoot = vc.rootFolder
} else {
    containerRoot = rootObject
}
 
var recursive = true
 
var containerView = vc.viewManager.createContainerView(containerRoot, targetTypes, recursive)
 
// create an object spec for the beginning of the traversal;
// container view is the root object for this traversal
var oSpec = new VcObjectSpec()
oSpec.obj = containerView.reference
oSpec.skip = true
 
// create a traversal spec to select all objects in the view
var tSpec = new VcTraversalSpec()
tSpec.name = 'traverseEntities'
tSpec.path = 'view'
tSpec.skip = false
tSpec.type = 'ContainerView'
 
// add it to the object spec
oSpec.selectSet = [tSpec]
 
var propertySpecs = new Array()
for (var t in targetTypes) {
    // specify the properties for retrieval
    var pSpec = new VcPropertySpec()
    pSpec.type = targetTypes[t]
    pSpec.pathSet = properties
    propertySpecs.push(pSpec)
}
 
var fs = new VcPropertyFilterSpec()
fs.objectSet = [ oSpec ]
fs.propSet = propertySpecs
 
var retrieveOptions = new VcRetrieveOptions()
 
var propertyCollector = vc.propertyCollector.createPropertyCollector()
 
try {
retrieveResult = propertyCollector.retrievePropertiesEx([fs], retrieveOptions)
 
do {
    if (typeof retrieveResult !== 'undefined' && retrieveResult !== null) {
processObjects(retrieveResult)
if (retrieveResult.token !== 'undefined' && retrieveResult.token !== null) {
    retrieveResult = propertyCollector.continueRetrievePropertiesEx(retrieveResult.token)
} else {
    break
}    
    } else {
      break;
    }
} while(true)
} finally {
    propertyCollector.destroyPropertyCollector()
}
for (i=0;i<foundObjects.length;i++) {
System.log(foundObjects[i]);
}
System.log(foundObjects.length);
 
vms = new Array()
for (var i in foundObjects) {
    vms.push(Server.fromUri(foundObjects[i]))
}
 
if(vms.length === 0) {
System.warn("No template could be found for OS '" + os + "'");
return null;
} else {
vms.sort(versionCompare);
var indexToReturn = vms.length - 1;
System.log("The most current " + os + " template is " + vms[indexToReturn].name);
return vms[indexToReturn];
}
 
function processObjects(retrieveResult) {
    var resultObjects = retrieveResult.objects
    if (typeof foundObjects === 'undefined' || foundObjects === null) {
        foundObjects = new Array()
    }
    var pattern = new RegExp(filter,'i')
    for (r in resultObjects) {
      var objContent = resultObjects[r]
      var id = objContent.obj.value
      var type = objContent.obj.type
      var props = objContent.propSet
      for (p in props) {
        if (pattern.test(props[p].val)) {
var dunesId = "dunes://service.dunes.ch/CustomSDKObject?id='" 
                                      + vc.id + "/" + id +"'&dunesName='VC:" + type + "'"
            foundObjects.push(dunesId)
            break
        }
      }
    }
}
 
/**
 * Compares two software version numbers (e.g. "1.7.1" or "1.2b").
 *
 * This function was born in http://stackoverflow.com/a/6832721.
 *
 * @param {string} v1 The first version to be compared.
 * @param {string} v2 The second version to be compared.
 * @param {object} [options] Optional flags that affect comparison behavior:
 * <ul>
 *     <li>
 *         <tt>lexicographical: true</tt> compares each part of the version strings lexicographically instead of
 *         naturally; this allows suffixes such as "b" or "dev" but will cause "1.10" to be considered smaller than
 *         "1.2".
 *     </li>
 *     <li>
 *         <tt>zeroExtend: true</tt> changes the result if one version string has less parts than the other. In
 *         this case the shorter string will be padded with "zero" parts instead of being considered smaller.
 *     </li>
 * </ul>
 * @returns {number|NaN}
 * <ul>
 *    <li>0 if the versions are equal</li>
 *    <li>a negative integer iff v1 < v2</li>
 *    <li>a positive integer iff v1 > v2</li>
 *    <li>NaN if either version string is in the wrong format</li>
 * </ul>
 *
 * @copyright by Jon Papaioannou (["john", "papaioannou"].join(".") + "@gmail.com")
 * @license This function is in the public domain. Do what you want with it, no strings attached.
 */
function versionCompare(v1, v2, options) {
    var lexicographical = options && options.lexicographical,
        zeroExtend = options && options.zeroExtend,
        v1parts = v1.name.split('-')[2].split('.');
        v2parts = v2.name.split('-')[2].split('.');
 
    function isValidPart(x) {
        return (lexicographical ? /^\d+[A-Za-z]*$/ : /^\d+$/).test(x);
    }
 
    if (!v1parts.every(isValidPart) || !v2parts.every(isValidPart)) {
        return NaN;
    }
 
    if (zeroExtend) {
        while (v1parts.length < v2parts.length) v1parts.push("0");
        while (v2parts.length < v1parts.length) v2parts.push("0");
    }
 
    if (!lexicographical) {
        v1parts = v1parts.map(Number);
        v2parts = v2parts.map(Number);
    }
 
    for (var i = 0; i < v1parts.length; ++i) {
        if (v2parts.length == i) {
            return 1;
        }
 
        if (v1parts[i] == v2parts[i]) {
            continue;
        }
        else if (v1parts[i] > v2parts[i]) {
            return 1;
        }
        else {
            return -1;
        }
    }
 
    if (v1parts.length != v2parts.length) {
        return -1;
    }
 
    return 0;
}

Virtual machine not working

$
0
0

I have a brand new MacBook Pro running Catalina. I downloaded Fusion for the 30 day free trial. When I set up a virtual machine everything seems to go fine. But when I try to run it, I get an error message (first attachment) that is completely meaningless to me. What the heck is a "Broken pipe"? I click OK and get a 2nd error message (2nd attachment).

 

Can someone tell me what's wrong and how to fix it?

 

Also I notice when Fusion is running, the laptop fan is blowing constantly at top speed. And this is without a virtual machine running since I obviously haven't gotten that far yet. What's going on?

 

Thanks for the help.

Really need some advice to monitor network egress using network insight for vmc on aws

$
0
0

Hello I am using vmc on aws and we want to find out what how much egress are each vmc on aws VMs doing so we can chargeback those costs to the different business groups that use VMs in vmc on aws at my company. I need to be able to monitor exactly how much data moved from vmc on aws to the internet/on prem. I am pretty sure network insight can do that. Am i correct? Would vrops or vra be better? Let me know and thanks so much

Help I need to show my customers their VM stats/health in a dashboard

$
0
0

Hello I need to show my many customers how their VMs are doing by showing them their cpu, memory, network, disk utilization. I am working on a dashboard now but can I also show how much egress they had by VM group of VMs? For the vmc on aws environment I need to charge back egress costs to the VM owners so I need to track how much their VMs are talking from the vpc outwards. Data going to the vpc is free, aws charges for egress only. Can vrops show this? Any help with the overall dashboard showing the basic monitoring would be helpful as well. Really appreciate it. vROPS has a lot of options lol

Visio Stencils for the VMware Validated Designs

Unity: Workstation Pro 15 - unable to start & desktop goes black/unresponsive

$
0
0

Hi.

I can't successfully start Unity mode on my Workstation Pro 15 or VM Player 15.

 

When I try to go into Unity Mode, I get an error:

The virtual machine cannot enter Unity mode.  Check that Unity is supported for this guest operating system and that the latest version of VM Tools is installed.

 

Once I get this error message, the desktop goes black and the only thing I can do is to select "restart Guest".

 

I've tried:

  • removing VMware tools and reinstalling.
  • Repairing VMware tools
  • Verified that the Virtual Machine Settings | Options | Unity menu has all checkboxes checked.
  • Rebooting the Host OS
  • Rebooting the Guest OS

 

I'm running a Windows Pro 10 Guest (created in VM workstation pro 12 and upgraded to VM workstation pro 15) on a system with three monitors.  I'm trying to get the unity to work on one of the external, Displayport connected 1080p Dell monitors.

 

Help!!!


AutoStart: cannot get to work!

$
0
0

Right clicking on my VM but when the HV starts...the VM will not...I only have a single machine on this instance of 6.5.

 

Where to being?

 

Thx.

Shawn2019-12-05_20-45-46.jpeg

SSL Exception when Converter tries to connect to vCenter

$
0
0

Hi,

I want to migrate VMs from vCenter 5.5.0 U1b to vCenter 6.5 U1b using Converter Standalone 6.2.

When Converter tries to connect the source vCenter (5.5) I receive this error:

"A general system error occurred: SSL Exception: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol"

 

The error seems to be related to the certificate.

Could you help me?

 

Thanks

Andrea

vCenter License stale entry

$
0
0

I install the 2 vCenter servers 6.7 in link mode with embedded PSC . i break the link mode. now both server are accessible individuals. but under license-> assets still both vcenter and hosts are visible.

 

vcenter server: vcenter server 6.7 appliance with embedded PSC servers, single SSO.

Replicate to another host only....

$
0
0

Hi,

Environment: VSphere v6.0 Essentials Plus

 

We are currently using Veeam to replicate most of our VMs to a 'backup' host in another building connected via a fiber link.

I hoped I could dump veeam and use VMWare Replication to do the same job, i.e. replicate our VMs from two hosts to a third host so we have complete backups of them.  However it seems for me that Replication require another vsphere site as target.

 

Does it exist a solution for our simple setup only requiring replication of VMs to another host.  Also we only need this replicated once per night with no history.  The replicated VMs must be capable to start and run as their original VMs in case of emergency.

 

Thanks a lot for comments on this

 

regards

 

Tor

Monitor rack which is from different network region and having high latency in vROps Management plugin

$
0
0

HI Team,

 

We are developing Management plugin where we considering the latency for monitoring component is 10 Milliseconds.

But later on the Possible case was found as below :

Possible case : The vROps cluster deployed on India Region (network ) and  Rack deployed in Austin Region (network ).

The latency of RACK from vROps is >= 250 milliseconds. And this latency is two high as we are considering the connection within 10 milliseconds.(for Management pack)

 

 

Is there any way to reduce latency from vROps to the monitoring component. In the scenarios can vROps Remote Collector is the solution to reduce latency ?

 

Please suggest on this.

 

Note : Developing using vROps SDK 7.0

 

Thanks,

Mithun

Sequence contains more than one matching element

$
0
0

Scratching my head on this one. There's 5 vCenters I access on a regular basis and on one of them I started getting this following.

get-cluster

get-cluster : 12/5/2019 3:00:59 PM      Get-Cluster             Sequence contains more than one matching element       

At line:1 char:1

+ get-cluster

+ ~~~~~~~~~~~

+ CategoryInfo          : NotSpecified: (:) [Get-Cluster], VimException

+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetCluster

 

Same error for commands like get-vmhost and quite a few others. Commands like get-vm work fine but anything hosts,cluster,datastore fail.

 

Ideas?

How to check packet is blocked by DFW

$
0
0

in the above topology is vPOD router is physical network. Is there a way in NSX to check the packet received or not at each hop.

 

 

For example Administrator wants to access a app01 on port 4360. How do I verify whether the port is blocked or allowed on firewall. Instead of checking config, is there any operational method to verify like packetracer in cisco ASA firewall.

 

To put in a simple way: Administrator says I am not able to access app01 on port 4360 but we have allowed the port on firewall. Now how we prove that firewall is allowing traffic for app01 on 4360. Is there anything like I can do from nsx edge or some point telnet app01 4360. I need to isolate either problem is nsx network (after vpod router) or in physical network.


no option to specify connection server when installing agent on RDSH

$
0
0

I have a windows 2016 Remote Desktop Session Host server running as a VM on Hyper-V.

when want to install view agent 7.8 or 7.10 on it as unmanaged RDS server, there is no way to specify the connection server.

Tried to run the installer with /v"VDM_VC_MANAGED_AGENT=0", no luck, still no option.

event tried to install silently with /s /v"/qn VDM_VC_MANAGED_AGENT=0 VDM_SERVER_NAME=xxx VDM_SERVER_USERNAME=xxx VDM_SERVER_PASSWORD=xxx". the installation seems successful but still don't see the RDSH registered in connection server.

any idea?

cmd.exe problems - ThinApp 5.2.5 and Windows 10 1809

$
0
0

An error message is displayed when I start cmd.exe set as an entry point.

[The system cannot find message text for message number 0x2350 in the message file for Application.]

 

The same problem occurs when executing commands such as dir.

cmd.png

Does anyone know a workaround ?

 

・ThinApp version : 5.2.5-12316299

・Windows version : Windows 10 Enterprise 1809 build 17763.107

Restricted Groups

$
0
0

Hi

 

Has anyone tried setting local computer groups with UEM in anyway? I have an app that requires users to be in two local computer groups, and right now its the one of the only realy reasons I need to use a GPO(I HATE GPOs ).

Enable 9 bit communication on serial port

$
0
0

Hi,

I have a legacy program that used to run on an MS-DOS machine. The program talks to a number of devices over RS232.  

 

When I make a DOS VM and run the program, the output to the serial port is slightly different. I have carefully analysed the data - it appears that the first 8 data bits between the old and new system are the same. The only difference was the parity bits between the machines differed - although neither the VM or the original system are even, odd, mark of space parity.

 

After consideration I can only conclude that the parity bit is not actually a 9th data bit. While rare, there are some programs that transmit data over 9 bits.

 

My question is this: is there a setting to stop VMware Player getting in the middle of the serial data and transmitting exactly what was sent to it?

 

Thanks

VMware Identity Manager and tagging of desktop pools

$
0
0

Hi, we have a Horizon 7.10 environment with multiple connection servers and desktop pools. We use tagging of connection servers and desktop pools to control what people can get access to. We are looking at adding VMware Identity Manager 19.3 to our environment. Can vIDM do some sort of tagging, similar to what Horizon can do, to control what users see when they log into vIDM?

 

Thanks in advance,

Stewart

Viewing all 195209 articles
Browse latest View live


Latest Images

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