Cloning of IaaS (VCAC) reservations of the VCO

Is there a way to do it?

We examined the solution proposed here: https://communities.vmware.com/message/2396310

Who does not have a reserve, but it is not the configuration storage, tag paths network, assign network profiles, etc..  There is an option to clone in the GUI that allows to set a name and selecting a group of companies.  The clone keeps everything who had chosen the reservation of the source.

I was not able to find where that could be exposed and did not have much success in collaboration with VCACEntity type and script object VCACEntityManager.

Thank you for your consideration.

Hardly have all done from start to finish.

Decided to:

1. use a reserve Base as the "gold reserve".

2 create a vRO element to contain the reservation Base ID.

3 linking to a workflow that makes an application/json REST GET data and returns a string variable that contains the response.

4. create another workflow that calls first and add a Script task that takes a ReservationName and BusinessGroupID (subtenantRefId) input and replaces the output response of the previous workflow with a new output variable.

5. run a different newly created workflow that takes an input string and passes to booking-service/api/bookings as a POST (serialized).

In this way, the reserve Base can be changed and when the clone workflow runs, it will be able to take values of gold supply versus providing each of them as inputs.

I guess I would call it functional... but I still prefer having a direct Plugin API to the reservation service.  Give me a businessGroup.createReservationFromTemplate (reservationTypeObject) and life would be easy.

Tags: VMware

Similar Questions

  • Endpoints of IaaS host in the vCO under a Distributed Installation vCAC

    I have a question about the possible configurations of a system of vCAC under a "distribured facility", as shown in this part of the "Installation and Configuration" document .


    My question is if there would always be a case where an instance of vCO would have more than one end point "vCAC Infrastructure Administration"?  I'm trying to understand the architecture of this distributed installation and whether or not it has implications for this issue.  At this point, it seems to me he's still only going to be a unique IaaS associated with an instance given vCAC. I understand that there may be several IaaS components, but the scheme suggests that the load balancer creates a single point of entry, it would involve a single end point in the vCO.


    Details of welcome points.

    Yes that's correct.  When you add an endpoint IaaS to vCO as long as you use the name of the load balancer to have it then just that.  Yes same also distributed all IaaS components (MGR or Web) would be grouped together behind that load balanced name, so even if you had the IaaS web component installed on 5 VM they would all be behind that load balanced name.

  • vCAC vCO plugin - get vCACCAFECsResourceType for resource type internal 'IaaS VC VirtualMachine' in the workflow?

    HI -.

    I'm in vCO using the 6.0.1 plugin vCO for vCAC, trying to create a resource vCAC action ADS face a VC:VirtualMachine. When I manually register my process of action in the UI vCAC, he finds the parameter of VC:VirtualMachine and maps to a resource type 'IaaS VC VirtualMachine', and action shows and works against the VMS selected in the user interface elements vCAC.

    Now, in a workflow to create the action for the resource, I try to use createResourceActionFromWorkflow() from the package com.vmware.library.vcaccafe.asd.resourceaction , which requires a vCACCAFECsResourceType (i.e. VCACCAFE:CustomResource) object. I would like to point to the same resource type "Infrastructure.Virtual" that uses the vCAC UI, but I can't seem to find in a safe way.

    If I get a VCACCAFE:ResourceAction created previously and look at his getInputParameter () .getResourceType () in a workflow, I can see an object that looks like:

    [2014-08-11 16:14:50.094] [I] type.id = eaba1f37-6154-4 ch. 17-94ae-ea419cb9e14e

    [2014-08-11 16:14:50.095] [I] type.name = IaaS VC VirtualMachine

    [2014-08-11 16:14:50.095] [I] type.externalTypeId = Infrastructure.Virtual

    [2014-08-11 16:14:50.095] [I] type.vcoType = VC:VirtualMachine

    [2014-08-11 16:14:50.095] [I] type.vcoId = null

    [2014-08-11 16:14:50.095] [I] type.providerId = asd.external

    [2014-08-11 16:14:50.096] [I] type.tenantId = _internal

    and if I make a new vCACCAFECsResourceType() and manually set the values (especially the id) in this object and use it in createResourceActionFromWorkflow(), it works. But he feels unsure and hardcode the type.id in my workflow - is that work on the other vCAC installs?

    Also, I was to get the corresponding vCACCAFEResourceType via:


    vCACCAFEHost.createAdvancedDesignerClient () .getAdvancedDesignerCsResourceTypeService () .getResourceType ('_internal', 'Infrastructure.Virtual');

    but it's a different object class and I do not see how to get the vCACCAFECsResourceTypecorrespondent.

    I also tried to do a com.vmware.library.vcaccafe.asd.customresources.createCustomResourceFromInventoryType ("VC:VirtualMachine"), then using this vCACCAFECsResourceType to create the resource action. It creates and publishes very well, but the action never shows in the vCAC UI (using the same rights as when using Infrastructure.Virtual).

    Any ideas? Thank you

    Greg

    This turns out to be just a question in 6.0.

    When I switched to 6.1, the entries in the 'Resources mappings' tab in the show of the interface user upward into the folder "ASD Custom Resources" in the inventory of the vCACCAFEHost and vCACCAFEEntitiesFinder.findCustomResources (host), returns with the mapped to 'VC:VirtualMachine' have good guid. This same method in 6.0 returns an empty array.

  • How to obtain the list of the vCAC host attached to the VCO in the VCO workflow

    Is it possible to get a list of all host vCAC attached to vCenter Orchestrator in the VCO workflow?

    Yes:

    vcacHosts = Server.findAllForType("VCACCAFE:VCACHost");
    
  • VCAC designer can work after the installation of the vCO customizations?

    I created a few customizations of the initial workflow using the VCAC Designer.  A BuildingMachine who called a couple vCO workflows with certain properties, while the MachineProvisioned stub uses the InvokePowershell action to manage some SCCM after provisioning tasks for Windows machines.  Now I work with VCAC plugin and you have run the customization of the vCO Install workflow and I run the workflow to assign a workflow to vCO for a detailed plan and a workflow state change.  The workflow is triggered, so I know that the integration works.  However, when I use the VCAC Designer to load the workflow MachineProvisioned stub, I expected to see a new heel of workflow for MachineProvisioned with an incremented revision number, but I still see the old workflow I created with the invokePowerShell action.

    I see anything in the designer VCAC?  I was half expecting to see some sort of Invoke vCO workflow wrapper, but since he's not here, I'm not sure how my workflow of vCO is getting called.

    Until I get a replacement solution to call powershell, I think I'll have to uninstall the customization and then just use invoke vCO with VCAC Designer workflows.  Or consider creating a server of vCO on a Windows Server instead of using the device (so I can run powershell vCO if necessary).

    So, the answer is, vCO inserts a 'wrapper' that can be seen in the VCAC Designer.  What was confusing to me, it's that install vCO customization workflow does not change the description, review, or the Created Date time fields VCAC designer.  I had to open the last stub of workflow in the VCAC designer to see than this vCO indeed updated it.

    VCAC development is a bumpy road. Can't wait for VCAC.next and further stabilization of the API, documentation and best practices.

  • IaaS Service failed on the device vCAC.

    When I check my vCAC device in the services tab, I see that says service iaas is not as shown in the screenshot below.

    When I try to load the endpoints tab in the portal vCAC it says error 503. Someone knows how to fix this?

    IaaS Service error.jpg

    IaaS Service error 1.jpg

    I ended up reinstalling the server IaaS. It was a new Setup and I was stuck with this problem. Because of the constraint of time, I had to go forward with the re-installation.

    Thank you for your response.

  • citing the vCO vCAC blueprint workflow

    We have a system including vCAC 6.0, an external vCO and a 5.5 endpoint for vCenter/vSphere cluster. We have created a few blue vCAC and vCO workflows. Our goal is by asking a vCAC plan to deploy a virtual computer and also invoke a vCO workflow at the same time. The problem is "successful in the deployment of a virtual machine, but having failed invoking the vCO workflow. The workflow of vCO is wired to the vCAC action plan using workflow "assign a workflow to change in a plan of action. My questions are: 1) is our goal attainable? (2) if feasible, what is the correct procedure linking the workflow vCO vCAC plan so that the workflow can be called automatically when asking the EHR Architecture?


    Thank you.

    Lili


    "Before you run the"assign a workflow to change in a plan of action"did you run the workflow" customization of the vCO Install '?  That's really all I had to do.  You have added also a right of orchestration endpoint?  There is a good video here vCAC-extensibility-package on how to use the extensibility.  He did for 5.2 but as far I can tell everything works the same with 6.0 and now part of the official plugin.

  • No visible reserves in the menu of the Infrastructure

    Hello

    We have deployed an environment to test stuff all vCAC 6. We have created groups of tissues, groups of enterprises, the items in the catalog and so on. But we can not create reserves because the menu item is missing (we tried with enough of all the roles that we met).

    Is this something of Bachelor degree (we do not have the license of the company level)?

    Best regards, Patrick

    OK, with specifications myself here.

    The problem was due to a bug in vCAC6 won't be able to resolv AD groups specified in 'Fabric administrators' for a group of fabric. When we put in the actual AD user names, the missing menu entries appeared.

  • No memory available only appearing in of VDC in vCAC Reservations

    We assess vCloud Suite and want to connect vCAC vCloud Director to be able to deploy vApps in vCAC.  It seems that endpoint is configured correctly and the data collection has been completed successfully. However when I go to reservations in the vCAC enterprise administrator to install a new booking section, it does not matter what VDC I select, it displays 0 available memory.  It displays the correct values for the disk and network, but not for the memory.  If I go to vCloud Director and discovers the pool resource for the VCC allocatiions there are a lot of available memory.  Can someone tell me please in the right direction to get this working?

    VMware vCloud® Automation Center™
    Version 5.1.1 Build 56
    VMware, Inc. VMware vCloud Director®
    5.1.1.868405
    5.1.0,838463 ESXi

    Hi Van

    Is it a VCC of Pay as you go? vCAC does not support the model talk of VCC and according to me, this is a symptom of the lack of support. For Support info for the model Pay as you go will appear in a future release.

  • Error number reserved for the user

    Dear Sir

    In my sweet, I use the cluster of error defined by LabVIEW

    Y at - it a series of numbers reserved for the user.

    Thank you

    Massive

    Help:

    Error codes 5000 to 9999 and-8999-8000

    http://zone.NI.com/reference/en-XX/help/371361B-01/lvhowto/creating_user_defined_erro/

    And als

    500 000 to 599 999

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=410869&query.ID=3477275#M410869

    Felix

  • TMS (driver) reserves of the current CTC of resources for future conferences

    Hi all

    Can someone confirm how the CTC works with TMS regarding the control and booking resources? There are also some questions long to answer...

    From my experience, after you have created a conference TMS is communicating to the CTC.  CTC verifies resources (log messages: "device.query";) "participant.enumerate") and reserves (all the time: since the moment of creation until the Conference ends). This period reservation comes from problems we have with the planning of future conferences (not all logs or statistical).

    Is it possible to control the resources reserved on the CTC? How to enable the CTC to oversubscribe? How do resources reserve TMS - CTC ONLY for the period of time conference planned and not to the creation period time up to the end of the Conference?

    I read in the documentation, that if the MCU is dedicated only for the scheduled conferences, then resources are reserved ONLY for a regular conference time (no this time, it was created). If anyone can confirm?

    How to divide microcontrollers for a group of 3 MCU for scheduled conferences and one for Ad-hoc?

    Thanks inn advance for the replies and advice!

    Without specifying ports content dedicated to the conductor, when a content port is used at a conference, conductor will see that as a video port use when the MCU actually uses a dedicated content port.

    Ports to limit the number of regular participants, deadline just the Conference to allow than those that have been planned in SFT, others who might try to join will not be able to.

  • FRM - 40603:Records is no longer reserved for the update. Query for changes

    Hi I have a form that has been developing 6i and upgraded to 11g form work well in 6i, but when I try to do the same function in 11g get this error

    FRM - 40603:Records is no longer reserved for the update. Query for changes
    When I commit this execute_query (for_update); It is the form to clear values when it loads, the error comes when I try to delete

    How can I do this

    Action: If you want to change the block, you will need to re - interview.

    Captureerror3.PNG

    I use When-Timer-Expired (WTE) trigger

    You have a 'relationship' defined between the blocks of your master and detail? If so, simply update your master block and the block of details will automatically be re-interviewed. If you cannot use a relationship, then you can use can create a timer in the trigger that updates the database, then in the trigger When-Timer-Expired (WTE) you can go to the retail block and run a query. For example: / * the sample on change trigger * /.

    DECLARE
      timer_id  TIMER;
    BEGIN
    ....your code here that performs the update....
      /* Now create an instance of a timer */
      timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
    END;/* Sample Form Level When-Timer-Expired trigger */
    DECLARE
      timer_id  TIMER;
    BEGIN
      -- Find the timer first
      timer_id := FIND_TIMER('upd_detail');
      IF NOT ID_NULL(timer_id) THEN
          GO_BLOCK('DETAIL_BLOCK');
          Execute_Query;
      END IF;
    END;
    
  • Access to the VCO rest api vsphere Client Web plugin

    Hello

    I want access to vco rest api vsphere Web Client plugin. I know I can find key holder in UserSession object but I failed generate the Authorization (especially the signature part) header. I'm trying to generate the authorization as described in the message header . But still get the signature verification failed. I can't use java sdk to rest because the user credentials not available for the plugin.

    Could someone help?

    Hello

    Here are a few snippets of the existing plugin that communicates with the vCO using the REST API.

    Please let me know if that is enough or you need something more.

    import java.security.PrivateKey;
    import com.vmware.vim.sso.http.AuthCalculator;
    import com.vmware.vim.sso.http.AuthCalculatorFactory;
    import com.vmware.vim.sso.http.SignatureAlgorithm;
    import com.vmware.vise.vim.security.sso.SsoService;
    
    httpRequest.addHeader("Accept-Language", locale.toString().replace('_', '-'));  // Not sure if this is related
    
    PrivateKey keyPair = ssoService.getHokPrivateKey();  // You should have this already
    SamlToken samlToken = ... // You should have this already
    String currentToken = samlToken.toXml();
    
    String[] token = null;
    if (keyPair != null && currentToken != null) {
       AuthCalculator calc = AuthCalculatorFactory.instance(SignatureAlgorithm.RSA_SHA256);
       token = calc.computeToken(request, keyPair, currentToken);
    }
    
    if (token != null) {
       for (int i = 0; i < token.length; i++) {
          httpRequest.addHeader("Authorization", token[i]);
       }
    }
    

    Try it and let me know if you have any questions.

  • With the help of ASD Blueprints call blue IaaS on behalf of the user

    We currently have a mixture of ASD and IaaS blueprints. I want to spend all our plans of IaaS be blue ASD that call the underlying IaaS plans. Right now my plugin vRO vRA uses a service account to connect to AVP. I have ASD plans that use the action of "requestCatalogItemOnBehalfOf". It does not work very well because the IaaS point catalogue im running on behalf of the user needs to have right at the same time the I present on behalf of the user and the service account making the request. This means that the user will see IaaS as ASD plans in the catalog. We want users to only see the plans of the ASD.

    My thought was to entitle the IaaS just the service account and plans of ASD for users. I would then just run the "requestCatalogItem" action that would provide the element of IaaS in the service business group account was in and owned by the service account. During the "stocked" stage, I would like to change the Group and the owner of the item for applicants. I see how to change the owner and group quite easily, but I do not see the link for the part storage.

    Did he do that? Any suggestions on how to approach this or just the method for updating the associated storage of the im group pass ownership of the item put into service to?

    In the event that someone comes looking, here's what I ended up doing.

    I added a service account for each of my business (the same service account for all groups) groups and he the right to all my plans of IaaS. I deleted the IaaS customers model rights so that they are entitled to the ASD plans calling plans IaaS. I configured a workflow from vRO to every IaaS model which has just one custom script to fill in the data form and the workflow "ask for a catalog item. The entries for workflows are mosly compared to your situation, however remember to ask the user name of the owner and ensure that its formatted USER@DOMAIN.

    The sauce only secret (which is not really a secret) had to pass the user name as the value of the property 'supplier - VirtualMachine.Admin.Owner '.

    It is done:

    1. The user submits an ASD plan

      1. ASD EHR Architecture has a hidden text field that has the default value field > application Info > Business Group > name
    2. The vRO workflow looks up all the catalog items that are entitled to the service named something account and checks each game to see if his right to the business of the issuer of the Group and ask for at this point in the specific catalogue. It then compiles a table of properties by using the contributions of the shape of the DSA
    3. The vRO workflow then submits a request to run the appropriate element of the IaaS catalog as service account.

    When the machine is built, it will be built in the appropriate group and the user specified in the owner field will be set as the owner. This user will have all of their normal rights.

    Its interesting that I tried to use the service account as a member of a unique group that runs the workflow "ask an article to catalogue the username". I wasn't able to get that to properly move the object in the correct business group. There may be a way to do it, but I wasn't able to find it. If you have a bit of luck with that, please feel free to comment on your success!

    Number code 2 (entries: vCACCAFE:VCACHost, everything else is only the channels)

    var items = vCACCAFEEntitiesFinder.getCatalogItems(host);
    for each (var item in items) {
      if (item.name == "Custom Template") {
      if (item.organization.getSubtenantLabel().indexOf(group) > -1) {
      System.log("Found catalog item named Custom Template entitled for " + group + ": " + item);
      break;
      }
      }
    }
    
    cpu = cpu.toString();
    memory = memory.toString();
    
    inputs = new Array();
    var jsObj = {name: "provider-custom.hostname", value: machineName};
    inputs.push(jsObj);
    var jsObj = {name: "provider-Infoblox.IPAM.defaultDnsSuffix", value: domainName};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VirtualMachine.Memory.Size", value: memory};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VirtualMachine.CPU.Count", value: cpu};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VirtualMachine.Disk0.StorageReservationPolicy", value: storage};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VirtualMachine.Network0.Name", value: network};
    inputs.push(jsObj);
    var jsObj = {name: "provider-Vrm.DataCenter.Location", value: location};
    inputs.push(jsObj);
    var jsObj = {name: "provider-custom.template", value: vm};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VMware.VirtualCenter.Folder", value: folder};
    inputs.push(jsObj);
    var jsObj = {name: "provider-VirtualMachine.Admin.Owner", value: user};
    inputs.push(jsObj);
    
  • Where to find logs vCO in the vCO device, how to view live Windows machine?

    I've seen several links that those refer to vCO installed on a windows machine, but for the device, which is the path?  Another question, how do I watch live from machine windows Notepad as a log analyzer ++.

    The vCO device server log files are located in

    / var/log/VCO/App-Server / (for the vCO 5.5 and later)

    / opt/vmo/app-server/server/vmo/log / (for the vCO 5.1 and higher)

    How to display files usually depends on the client that you use to connect to the device. For example, you can connect with WinSCP and open the logs with an editor like Notepad ++.

Maybe you are looking for