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

Custom tags on VM placeholders as part of vSphere Replication or SRM?

$
0
0

Hi all

 

I can't seem to find an answer anywhere on this, so hoping someone might be able to help.

 

I have an environment that uses vSphere Replication to replicate VM's from site A to site B. SRM is also in place to orchestrate recovery. From an infrastructure point of view, our back solution is in place and covers the VMware environment, and we use a variety of tags within the estate. For example, one tag ensures that backups are not taken of a VM assuming it the tag is applied.

 

What I have found is that our DR site also has backups running, by design, but it seems to be picking items up that are VM placeholders. They were being excluded by configuring the backup solution to exclude certain resource groups, but VM's are now falling through that approach.

 

I would like to know if there is a way to add a custom tag to a VM as part of vSphere Replication or SRM, so that anything configured within these areas is tagged automatically?

 

Maybe even from a datastore level - add a tag to anything that is homed on a specific datastore? That should accomplish the same outcome.

 

Appreciate the help as always!

 

Cheers


Unable to find resourceID with DeploymentId

$
0
0

We are using vRA7.6 and external vRO 7.6.

 

I am trying to find the complete deployment data with the following code.

 

EBS is configured to start the workflow when "catalog request is completed" (tried with deployment action completed as well). The following code search the resources to match the deployment ID with resourceId and get the deployed data. This is working for sometime, but when sometimes it wasn't able find deployment ID even after trying few mins of deployment gets completed. I am scratching my head any help appreciated.

 

function getResource(deploymentId) {

     const PAGE_LIMIT = 100; 

     var resourceService = vCACHost.createCatalogClient().getCatalogConsumerResourceService(); 

     var query = vCACCAFEOdataQuery.query();

     query.setTop(PAGE_LIMIT); 

     query.setSkip(0); 

     var oDataRequest = new vCACCAFEPageOdataRequest(query); 

 

 

     var resources = []; 

            do { 

              var resourcesList = resourceService.getResourcesList(oDataRequest); 

              resources = resources.concat(resourcesList); 

              System.log("Found Resources: " + resourcesList.length); 

              query.setSkip(resources.length); 

              oDataRequest = new vCACCAFEPageOdataRequest(query); 

               } while (resourcesList.length > 0);

 

 

          for each(resource in resources) {

               if (resource.providerBinding.bindingId == deploymentId) {

               return resource.id;

               }

          }

throw 'Could not find resource with binding to deploymentId: ' + deploymentId;

}

 

 

function parseData(rawData) {

var data = rawData.replace(/\\"/g, "'");

    return JSON.parse(data.replace(/\\/g, ''));

}

 

 

 

//Main

var tempData = [];

var client = vCACHost.createCatalogClient();//vCACCAFE:vCACHost

var deploymentId = payload.get('deploymentId');

System.debug('DeploymentID: ' + deploymentId);

var resourceId = getResource(deploymentId);

System.debug('Resource ID: ' + resourceId);

//check whether any backslash

var checkSlash = client.get('/consumer/resources/' + resourceId);

//System.log('Check: ' + checkSlash);

var bodyAsString = checkSlash.getBodyAsString();

var removedSlash = bodyAsString.replace(/\\/g, "");

 

//System.log('Removed slash: ' + removedSlash);

var requestId = JSON.parse(removedSlash).requestId;

System.debug('Request ID: ' + requestId);

 

//with request and resourceId get all data and dump into tempData

tempData.push(parseData(client.get('/consumer/requests/' + requestId).getBodyAsString()));

var resourceData = parseData(client.get("/consumer/resources/?$filter=(parentResource eq '" + resourceId + "')&limit=100").getBodyAsString());

for each(item in resourceData.content) {

tempData.push(parseData(client.get('/consumer/resources/' + item.id).getBodyAsString()));

}

unable to deploy application to tvos Apple TV 4k

$
0
0

We are in the process of deploying Apple TV's and need to install an application, I have assigned a smart group and the group see the app is assigned.

 

The issue is when i assign the group in APPS in purchased  and publish it, it does not show the devices yet in the smart group it shows devices.

the app is a tvos app, I also tested another app to prove it was not the app being the issue.

 

Any advice would be great as i need to deploy 100 by the end of the week.

CPU contention % Calculation

$
0
0

Hi,

 

How we can calculate the CPU contention % in Vrops 6.7, what are the matrix we require to do the same.

vCenter Server Appliance versus vCenter

$
0
0

Hello,

 

I am getting an alert in vCenter that is giving me a memory alert with Reading: 2.  However, VCSA says the health is good.  Which should I trust?

 

I have been out of using VMware for a few years and am getting back into it so please disregard my ignorance.

 

thanks for any help,

Reezie

How to enable hibernation in a Win 10 VM

$
0
0

I have VMWare WS Pro 15.5.1 build-15018445

I need to simulate the state of Hibernation in a Win 10 VM.

But I understand that there is no such option because WS does not provide support for this function.

How can I do?

Thanks in advance for the suggestions.

invoke-command_usage

$
0
0

 

hi Luc ,

 

can you suggest if we can reslolve above error if the destination server has port 5986 open (for https communication)

right now only http(5985)is open .

Are policies cumulative?

$
0
0

I'm getting up to speed with vROPS and making some steady progress. One thing I can't find information on, though, is if policies are cumulative or if attaching a new policy to an object replaces any previously attached policy. Our hope is that we can create very specific policies which might apply to a handful of VMs, but also apply a general policy that applies to a broader range of VMs.

 

-Mathew


Screen flashing with Windows 10 and Fusion 11.15.1

$
0
0

I have just upgraded from Windows 7 to Windows 10 on my iMac with retina display. Once the upgrade was complete, I un-installed the VMWare tools, and then re-installed them for Windows 10. Once the tools were installed, I rebooted Windows 10, but all I get now is a flashing Windows 10 screen. If I click on the Start button to try and shut Windows down, I just get a black screen with a flashing cursor. I am unable to un-install the VMWare tools in Windows due to the screen problems.

Has anybody else seen this problem, and do you have a resolution?

No new templates with v 2.18

$
0
0

Hello;

We just upgraded our AppVol Managers to 2.18.0.  As with previous upgrades we also updated the templates.  However this time we noticed that the templates included with 2.18 seem to be version 2.16.  Is this correct?  I have tried tracing back to what VMDK files are contained on the AppVol Manager servers and they are stamped with the correct date when we did the upgrade so I think everything is working.  It was more of a curiosity question on whether VMware updated the templates since 2.16 or not.  Anybody know???

Thanks!

Looking for a Cluster Test Plan

$
0
0

Hi,

 

Anyone can share any documentation/test plan that can be used to proof that a cluster (with vSAN) is resilient.

 

An example would be: (It does not need to be as detailed as long as test and expected outcome are clear)

vTestPlans/vTestPlansAll.pdf at master · VirtualgUK/vTestPlans · GitHub

 

I want to manually introduce failures, observe outcome and compare with expected behaviour.

 

 

Thanks

UNRECOVERABLE ERROR: NOT_REACHED bora\lib\disklib\sparse.c:7081

$
0
0

Hi Guys! I´m having a problem with my VM is based in Win8 (x86). Does anybody know how to solved it?

 

Unable to log in to Skyline Collector

$
0
0

I updated my collector to version 2.3.0.2 and I after the upgrade I cannot log in to the collector (http://skyline/login) as admin.

 

The admin password that was working before the upgrade didn't work, so reset it to 'default' and still doesn't work.  When I type the username and password I don't get any errors or warnings at all.

 

Also, when I log in to Skyline Advisor my collector shows as "inactive".  I've verified IP settings, DNS, and made sure the appliance has network connectivity.

 

Thanks

Edge Chromium template

$
0
0

Hello,

 

I have created a rough Edge Chromium template for the new released Edge browser based on the Chromium engine.

Edge Chromium.ini.zip

 

This should capture all settings, but might need some exclusions to prevent the ZIP file growing too large.

Please leave your comments and experiences so we can improve this template over time.

 

Cheers

Duplicate Application

$
0
0

I'm pushing out Adobe Reader update to a bunch of Macs. These Macs already had Adore Reader on them just an older version. When I push them out they install fine but I see 2 Adobe Reader's in the Application list for the Mac. One is the AW pushed file and the other is the original install. The only difference I see is the Application ID is different. AW seems to change it to com.vnw......


Nested ESX(i) Geneve Overlay Tunnel Status is down

$
0
0

Hello Everyone!

 

I've faced with issue that Overlay tunnel is down in Nested ESXi lab.

 

My infrastructure:

NSX Manager 2.5.1

2 Nested ESXi hosts. Each hosts have 2 Network adapter: management and overlay.

ESXi hosts hardware:

Screenshot_1.png

Management network has internet access and connects with NSX Manager and hosts. Overlay network is isolated and has connection only with hosts.

N-VDS assigned to overlay network.

(vm hardware and physical adapters look the same for both hosts)

 

I set IP pool for overlay network

So while I connect VM (that resides on Nested ESXi) to Logical Switch I got

and obviously traffic doesn't go.

 

Any idea what the problem is?

 

Thanks in advance!

Multiple Hosts down evaluation

$
0
0

Hi,

 

I need to evaluate if possible to bring down 2 hosts out of a cluster at a time and keep the vSAN healthy and in recommended availability (Default storage policy) in case of a host failure which would bring the cluster to just 3 out of 6

 

I tried to run vsan.whatif_host_failures -n2 but getting “Only simulation of 1 host failure has been implemented“

 

Are there any other commands or considerations I should consider as I want to upgrade these hosts 2x at a time.

 

 

Thanks

GPU Problems With Ubuntu/Windows 10 Dualboot

$
0
0

Im going to explain as detailed as possible my issue but the problem is this:

I have 2 SSD disks, in one i have installed Windows 10 Pro and in other Ubuntu 18.04 freshly installed

If i open VMware workstation from windows10 and i open a windows 7 x64 virtual machine, everything works fine and GPU aceleration + VMware tools works fine so i can play a game inside(BDO)

 

But from ubuntu 18.04 i cannot, for some reason 3d acceleration or vmware tools are not correctly installed and game dosnt run

 

Is the same virtual machine and same hardware, the only thing that changes is the Host, in Windows10 works fine, in ubuntu dosnt

 

Maybe i need to install Something ?

 

On Both Host i use vmware workstation 15.5 pro

 

Im pretty noob here i can do something for check im not doing anything bad in ubuntu or install something?

Booting to an ESXi install iso from UEFI/grub2

$
0
0

I am converting our hardware and application from legacy/extlinux to UEFI/grub2.

 

I am using/tried the following menuentries:

 

insmod all_video
menuentry 'ESXi 6.5U2 (10884925) Install' {
    linux16 /memdisk iso  <== I also tried to add 'raw'
    initrd16 /ESXi-6.5u2-mycompany-HCI-v1.iso
}

menuentry 'ESXi 6.7u1 loop Install' {
    set isof="/ESXi-6.7u1-mycompany-HCI-v2.iso"
    loopback loop $isof
    linux (loop)/mboot.c32 <also tried (loop)/efi/boot/bootx64.efi> ignoreHeadless=TRUE <== I also tried findiso=, boot=live, and other
}

The first one comes the closest in that it boots the iso but then hangs at "Relocating modules and starting up the kernel ...". From online research it seems I need to add the ignoreHeadless=TRUE but it doesn't like it when I add it to the initrd16 line.

 

The second one gives me either bad magic or invalid filename.

 

This same hardware works with the extlinux menu entry of:

    LABEL ESX65

        MENU LABEL 6.5U2 (10884925)

        KERNEL extlinux/memdisk iso

        INITRD ESXi-6.5u2-mycompany-HCI-v1.iso

 

 

Any help and pointers would be appreciated!

Re-Tag VMs and after SRM Migration

$
0
0

• We have two sites, Site1 and Site2.

• We have vCenters in Enhanced Linked Mode

• We have Cross-Site NSX (Active/Active same SSO domain)

• VM Tags defined on one vCenter are propagated to both Sites due to Enhanced Linked Mode.

• SRM failover of a VM does not bring the VMs tag assignment with it.

 

When we failover VMs using SRM, say from Site1 to Site2, the VM Tags don't come with them. This is the normal behavior of SRM using vSphere Replication. VM Tag Assignment is held in the vCenter Server and is not a part of VM metadata.

 

This means that after DR event, when we have run our SRM Recovery Plan, VMs that have been failed over, for example, to Site2, don't have their original tags.

 

Is there a powershell script to use during the Post Power On Steps to re-assign those tags on the vms in the Recovery Plan once the servers are failed over?

Viewing all 176760 articles
Browse latest View live


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