Quantcast
Channel: VMware Communities : All Content - VMware vCloud Director
Viewing all 3544 articles
Browse latest View live

Assign a seconday IP to the Edge Gateway

$
0
0

Hi Guys

 

Where can I assign a second external IP address (same subnet) to an OrgvDC EdgeGW?

 

I can sub-allocate a secondary IP, but it doesent work. i think i have to assign the IP first to the OrgvDC. but where?

i want to have (example) 1.1.1.115 AND 1.1.1.117 AND, who knows, 1.1.1.125 on the same Edge Gateway.

vcd ip.png

 

thanks for help

 

greets


vCloud Director Extender getting "Error Code 401 Error in creating VC connection with login scheme : SAML and for user :"

$
0
0

Trying to add an on-premise 5.5 update 3b vCenter in vCloud Director Extender 1.1.0.3 and getting "Error Code 401 Error in creating VC connection with login scheme : SAML and for user :"  with every account I've tried.  The accounts are valid and they work on every 6.5 vCenter I have but all the 5.5 U3 ones give me this error when I try to add them to the on-prem vCDE appliance.  I have vCDE running and have migrated a VM successfully but only from a 6.5 vCenter.  Anyone have any ideas on this error with 5.5 U3 vCenters?  The matrix says it's supported from 5.5 U3 and newer.  The 5.5 hosts are all U3 as well.  Some U3 and some U3f.

vCD 9.5 auto-discovery failed, unable to reimport

$
0
0

Our vCD 9.5.0.1 environment is still rather basic as far as customers are concerned, and all VMs are automatically discovered by adding them to the appropriate Org VDC resource pool in vCenter.

 

One import failed, with the error:

The operation could not be performed because the object is in an invalid state.

vCenter Server task (moref: task-5205193) failed in vCenter Server 'vcenter.razorblue.net.uk' (bfa93e99-ff0e-4ec7-86c2-60306f038e67).

- The operation is not allowed in the current state.

 

This is also the same error on the task in vCenter. I cleaned up the Discovered vApp by removing permissions from the VM for the vCD service account per Tom Fojta's blog and simply deleting the vApp, which appears to have left the VM in a somewhat stale state as far as vCD is concerned.

 

When running debug-auto-import in the cell-management-tool I am advised:

1) Virtual machine is already imported in vCD or is managed by vCD.

2) Virtual machine is not present in a vCD managed resource pool.

The second point only shows up when the VM is not a member of the resource pool, after I've manually moved it back to the cluster root. The first point remains whether it is part of the resource pool or not.

 

The vcloud-container-debug.log shows:

 

2019-03-12 15:33:32,335 | WARN     | VC-bfa93e99-ff0e-4ec7-86c2-60306f038e67Listener (948) | ComputeFabricImpl              | Resource-Pool change of VM [vcId=bfa93e99-ff0e-4ec7-86c2-60306f038e67, moref=vm-152522] from [vcId=bfa93e99-ff0e-4ec7-86c2-60306f038e67, moref=resgroup-86937] to [vcId=bfa93e99-ff0e-4ec7-86c2-60306f038e67, moref=resgroup-929496] in VC is not supported because the source and destination resource pools are not part of same elastic PVDC |

 

...however I'm not sure I actually want to make them part of the elastic PVDC, given resgroup-86937 is the "Resources" pool of the cluster and resgroup-929496 is the Org VDC pool

 

Can anybody advise how to clean up the VM from VCD, given it is currently not part of a vApp? Presumably I need to edit the database to remove references of the VM (which I can do comfortably, given instructions), but trying to piece together various blogs online relating to changing morefs etc is proving challenging!

 

Many thanks

vCloud director || Tenant portal CPU/Memory/Storage customization

$
0
0

Hi Guys,

 

vCloud director || Tenant portal CPU/Memory/Storage customization

 

I logged in as a organization administrator in tenant portal "https://myvcd/tenant/test"

 

I have few doubt on new HTML5 interface of vcloud director.While creating a VM in new HTML5 tenant interface,i could not able to customize the CPU/memory.storage size.For example,i need to enter 10 GB for linux VM which is not available to enter.

 

 

 

However in the old Flash interface,i see the option to enter whatever i want(for example 10 GB HD for test VM). Is there any options available to do this in HTML5 tenant interface ?

 

 

Thanks,

Manivel RR

vCD Extender first config error on ip/ui/mgmt/

$
0
0

Kia Ora,

 

Deploying 1.0.3 vCD Extender as an OVA using vCenter 6.5. Enter the appropriate details during Deploy from OVA Q&A, deploy, power on. Console directs you to hit ip/ui/mgmt/ url.

 

When i go to this URL it immediately provides a response screen in the browser with "Internal Error: Please Contact the Administrator".

 

Anybody else experience this or solved it ?

 

thanks.

Different processor types in vAPP

$
0
0

Hello!

 

I have 2 clusters of hosts with two different type of CPU. 2.6 GHz and 3.0 GHz (2670 and 2690v2)

 

My client want a bunch of VMs with 2.6 GHz and some VMs with 3.0 GHz in the same vAPP

 

Organization vDC is "Pay as you go"

vCloud 9.5.0

 

vCPU limit is set to 2.6 GHz in the client vDC.

 

I dont understand how to do that. Help me please, what should i configure to solve this?

Where can we find vCloud Director 9.5 SDK for .NET?

$
0
0

Hi all,

 

Where can we find vCloud Director 9.5 SDK for .NET? Last one we could source is for vCD 8.10 which is unfortunately deprecated for 9.5. I found libraries from PowerCLI but there is no samples how to use it:

 

C:\Program Files\WindowsPowerShell\Modules\VMware.VimAutomation.Cloud

 

Thanks,

Matt

REST API - Struggling to customise a VM at point of deployment

$
0
0

Hi folks. I'm trying to build some automation around deploying new VMs and vApps etc. I have an existing vApp, and would like to deploy a new VM into it from a Catalog Item. So far, that seems to work if I only specify the bare minimum <source> element, and I end up with a clone of the template VM with the same name.

 

If I want to specify a new name however, I get a 400 BAD_REQUEST response with the error "The parameter is not supported in the current context: VmGeneralParamsType".

 

For example, this works and deploys a vanilla VM from the Catalog:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<RecomposeVAppParams

xmlns="http://www.vmware.com/vcloud/v1.5"

xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"

    xmlns:environment_1="http://schemas.dmtf.org/ovf/environment/1">

    <SourcedItem>

        <Source href="https://api.vcd.local/api/vAppTemplate/vappTemplate-b1490f4a-86e0-4095-b258-2e7062ee0335" />

    </SourcedItem>

</RecomposeVAppParams>

 

But this one fails with the error:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<RecomposeVAppParams

xmlns="http://www.vmware.com/vcloud/v1.5"

xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"

    xmlns:environment_1="http://schemas.dmtf.org/ovf/environment/1">

    <SourcedItem>

    <Source href="https://api.vcd.local/api/vAppTemplate/vappTemplate-b1490f4a-86e0-4095-b258-2e7062ee0335" />

        <VmGeneralParams>

            <Name>new-vm-name</Name>

            <Description>New VM Description</Description>

            <NeedsCustomization>true</NeedsCustomization>

        </VmGeneralParams>

    </SourcedItem>

</RecomposeVAppParams>

 

As far as I can determine from the docs, the elements are correct and even in the correct order.

 

As it may be relevant, I get my Source href by:

 

  1. Call /api/catalogs/query to find the CatalogRecord for the desired catalog, and getting the href
  2. Call the href from #1 to find the CatalogItem for the version I need.
  3. Call the href from #2 to find the template Entity

How to get rid of failed "Datacenter Groups"

$
0
0

Hi,

i'm playing around with the new datacenter group feature.

Finaly i got it working, but i have several failed "datacenter groups" left which cannot be deleted.

I already restarted all cells, but they are visible...

Datacenter Group | Cross-VDC NSX | AS of Edge Gateway

$
0
0

Hello

i'm playing around with the Cross-VDC Feature. After some issues it works fine, but i have a question regarding the AS# of the Edge.

My Edge is already connected to a External Network and exchanging routes via BGP. So i had an AS# configured.

After enabeling the datacenter group feature, this AS# is replaced by something else.

 

Is this fixed, or can i configure this?

 

Kind Regards,

 

Marcel

Two factor authentication for vCloud director provider URL

$
0
0

Hi Team,

 

I have a doubt on "Two factor authentication for vCloud director provider URL"

 

Right now,my provider URL also accessible from public internet "https://mycloud.com/cloud"(via system administrator) and like to secure the URL using some third party security like "DUO security"

 

Do we have any Duo guide to setup this with vCloud director ?   or any other ways available to secure from vCloud director(Federation) ?

 

Please suggest the bet possible options to secure this.

 

Thanks,

Manivel RR

VCD networking

$
0
0

Hi Team,

 

I have a small confusion here about VCD networking.

 

1) We have completed the vCloud director setup the without any NSX components(edge gateway--->NAT,VPN,etc..).I mean, We have used NSX manager appliance only to attach VCD with vCenter server.

2) We are using external network only from Organization VDCs to connect the customer VMs to outside world. Assume my external network CIDR range is 10.10.10.0/24.We are using other firewall/LB appliances at outside of VCD to provide some features(like NSX edge gateway-->VPN,DHCP,NAT etc..) to customer.

3) Suppose if want to connect any other VMs from the same subnet(CIDR range is 10.10.10.0/24) or wants to connect the external world(public internet),i will use the same external network to achieve this.

 

Doubts on this. 

 

Suppose if i want to use this below option from customer VDC "Create an isolated network within this virtual data center" I need to create a new network pool either with VXLAN backed or VLAN based or vsphere port group-backed.and then needs to attach this network pool in the respective Organization VDCs.

 

To achieve this task "Create an isolated network within this virtual datacenter"(for example VLAN based or vsphere port group-backed),NSX components are mandatory(edge gateway) and without NSX components we cannot do this ? Am i right?

 

Please suggest.

 

,

Thanks,

Manivel RR

Container Services Extension (CSE) Cluster deployment fails with "VM is not ready to execute scripts"

$
0
0

Hi

 

For the last few days, I have tried to set up CSE on vCD. And all in all it has been quite straight forward.

 

I am running into an issue though I was hoping someone has seen before .

 

We are using CSE 1.2.7 and vCD9.5

 

 

 

Cluster and master node is being created - but fails in the "initializing cluster" part where it aparently should run customization scripts with the error: Unable to execute scripts.

 

I looks like vmtools are running as per line 2 - but still not able to run the scripts.

 

when creating the cluster with vcd-cli :

 

Capture.JPG

 

 

From cse-debug-log:

 

19-03-27 12:14:13 | cluster:225 - wait_for_tools_ready_callback | DEBUG :: waiting for guest tools, status: vm='vim.VirtualMachine:vm-5869', status=guestToolsNotRunning

19-03-27 12:14:18 | cluster:225 - wait_for_tools_ready_callback | DEBUG :: waiting for guest tools, status: vm='vim.VirtualMachine:vm-5869', status=guestToolsRunning

19-03-27 12:14:34 | cluster:231 - wait_for_guest_execution_callback | DEBUG :: waiting for process 1224 on vm 'vim.VirtualMachine:vm-5869' to finish (1)

19-03-27 12:14:40 | cluster:231 - wait_for_guest_execution_callback | DEBUG :: process [0, <Response [200]>, <Response [200]>] on vm 'vim.VirtualMachine:vm-5869' finished, exit code: 0

19-03-27 12:14:40 | cluster:363 - execute_script_in_nodes | DEBUG :: about to execute script on mstr-bu7s (vm='vim.VirtualMachine:vm-5869'), wait=False

19-03-27 12:14:40 | cluster:390 - execute_script_in_nodes | DEBUG :: [1230]

19-03-27 12:14:40 | cluster:391 - execute_script_in_nodes | DEBUG ::

19-03-27 12:14:40 | cluster:392 - execute_script_in_nodes | DEBUG ::

19-03-27 12:14:40 | cluster:352 - execute_script_in_nodes | DEBUG :: will try to execute script on mstr-bu7s:

#!/usr/bin/env bash

set -e

while [ `systemctl is-active docker` != 'active' ]; do echo 'waiting for docker'; sleep 5; done

kubeadm init --kubernetes-version=v1.10.11 > /root/kubeadm-init.out

mkdir -p /root/.kube

cp -f /etc/kubernetes/admin.conf /root/.kube/config

chown $(id -u):$(id -g) /root/.kube/config

kubectl apply -f /root/weave.yml

 

 

19-03-27 12:14:40 | cluster:358 - execute_script_in_nodes | DEBUG :: waiting for tools on mstr-bu7s

19-03-27 12:14:40 | cluster:225 - wait_for_tools_ready_callback | DEBUG :: waiting for guest tools, status: vm='vim.VirtualMachine:vm-5869', status=guestToolsRunning

19-03-27 12:14:42 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:14:47 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:14:51 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:14:55 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:14:59 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:04 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:07 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:11 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:16 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:20 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:24 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:29 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:33 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:37 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:42 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:45 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:50 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:54 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:15:59 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:02 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:07 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:12 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:16 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:20 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:24 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:28 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:32 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:37 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:41 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:45 | cluster:331 - wait_until_ready_to_exec | INFO :: VM is not ready to execute scripts, yet

19-03-27 12:16:47 | broker:535 - create_cluster_thread | ERROR :: Traceback (most recent call last):

  File "/home/cseadmin/.local/lib/python3.6/site-packages/container_service_extension/broker.py", line 479, in create_cluster_thread

    init_cluster(server_config, vapp, template)

  File "/home/cseadmin/.local/lib/python3.6/site-packages/container_service_extension/cluster.py", line 282, in init_cluster

    script, nodes)

  File "/home/cseadmin/.local/lib/python3.6/site-packages/container_service_extension/cluster.py", line 361, in execute_script_in_nodes

    wait_until_ready_to_exec(vs, vm, password)

  File "/home/cseadmin/.local/lib/python3.6/site-packages/container_service_extension/cluster.py", line 334, in wait_until_ready_to_exec

    raise CseServerError('VM is not ready to execute scripts')

container_service_extension.exceptions.CseServerError: VM is not ready to execute scripts

cannot power on newly deployed vCD 9.5 appliance

$
0
0

when attempting to power on a newly deployed vCD 9.5 receive the following in vCenter error:

 

attempting to power on vcd appliance error cannot initialize property 'vami.netmask0.VMware vCloud Director'. Network '' has no associated network protocol pool

 

a Google search reveals that this error proports to be due to no network pool.  however there is one created on the nsx logical switch. but also the cell is statically assigned an IP address

What is best way to migrate vApps to new vCloud Director.

$
0
0

Hi All,

 

I have two vCloud Director infrastructures as you can see at below.

 

I created same configuration on new vCloud Director. ( External Network, Organization, OrgVDC, OrgVDC Network bla bla..). Configuration is exactly the same,

 

I added old vCenter to new vCloud Director and i imported vm using "Import from vSphere" option.

 

But, is this best way or is there another way to migrate this ? Just i wanted to learn what is best way to migrate existing vApp to new vCloud Director.

 

* You can think that both environment isolated. There is only 1 Gbit network communication in same datacenter.

 


Migration to vCD 9.7 appliance

$
0
0

I've been fearing them doing this for a while...while I love the idea of a VA for running vCD I always knew it would be a pain to migrate from an existing CentOS deployment to a VA.

 

Is this going to be possible with the 9.7 release? Is there a workaround? Seems completely rebuilding and then migrating customers over is just going to be a pain.

The parameter is not supported in the current context: VmGeneralParamsType

$
0
0

I'm tryng creating VM on the more simple way, but the body below is throwing this error: "The parameter is not supported in the current context: VmGeneralParamsType"

 

 

If I remove VmGeneralParams node, I can create a VM, BUT the name of new VM is the same of vappTemplate (public catalogs).

 

 

 

Body:

<RecomposeVAppParams name="Test vApp Gold" xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1">

    <Description>Test vApp</Description>

 

    <SourcedItem>

        <Source name="devel" href="https://vmware.XXXXXX.com.br/api/vAppTemplate/vappTemplate-42d3a075-0e47-4093-a76d-40a5d96ba5d9"/>

       

            <VmGeneralParams>

                <Name>AppServer-01a</Name>

                <Description>Internal Access</Description>

                <NeedsCustomization>true</NeedsCustomization>

            </VmGeneralParams>

       

    </SourcedItem>

    <AllEULAsAccepted>true</AllEULAsAccepted>

</RecomposeVAppParams>

 

 

 

Thanks,

ale,

Configuring blocking tasks notifications vCD9.1 + vRO 7.3.1

$
0
0

Hi,

I've been searching and searching to find how to configure blocking tasks to provide email notifications using vCD9.1 and vRO 7.3.1. I've managed to connect vRO to vCD using the vRO plugin and both are talking as they should be. I'm not sure on the next steps. Most documents I find are related to vCD 5.5 and don't seem complete. Has anyone managed to successfully do this on vCD9.1?

 

Thanks.

Use media from Catalog in VCD

$
0
0

Hi

 

I am trying to import few OVFs into the VCD's catalog. These OVFs are sharing same media file. Is it possible to upload the media file in advance and then try to upload the OVFs? Will it speed up the process of importing the OVFs and creation of vAPP templates in the catalog?

 

Please confirm.

 

We are using VCD 8.20.

 

Thanks.

 

Best regards

Kuldeep Sharma

Billing and Usage Reporting with vCD

$
0
0

Hello,

we are currently evaluation vCD. We are a bit confused what's VMware strategy if it comes to billing / usage reporting.

There are a lot of differenty ways (vCenter Chargeback, vRealize Business, vROPs PlugIn...) and no one seems to be the golden way.

Our requirement is to gerenate usage reports for each org / org vdc.

We don't need different pricing models because this will be done in our ERP software.

 

We'd like to report only the usage of the customers based on "service offerings

Possible service offerings

"1GB RAM/hour in PVDC A"

"VPN Uptime/hour in PVDC B"

"Flash Storage used GB/hour im PVDC C"

...

...

 

What would be the best solution for this requirement?

 

Kidn Regards,

 

Marcel

Viewing all 3544 articles
Browse latest View live


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