Update of booking for VRA storage size

Hi all

After the addition of data store to a cluster need to increase the reserve of VRA storage as shown below. My requirement is increase VRA storage reservation through a workflow.

Reservation.png

I tried the following

var entity = System.getModule("com.vmware.library.vcac").getReservationEntityByName (vcacHost, reservationName);

attrNewProperties = new Properties ();

attrNewProperties ['ReservationStorageSizeGB'] = '778.

System.getModule("com.vmware.library.vcac").updateEntity (entity,attrNewProperties , links);

The workflow runs without error, but no updates is visible on the portal of the VRA.

Interestingly, VRO watch property update.

vroReservation.png

No idea how to upgrade the booking in the VRA?

Thank you

I could make it work.

hostReservationEntity = System.getModule("com.vmware.library.vcac").getReservationEntityByName (iaasHost, computeClusterReservation);

var reservStorages = hostReservationEntity.getLink (iaasHost, "HostReservationToStorages");

var storage = reservStorages [0] .getLink (iaasHost, "HostToStorage") [0];

var hostReservationToStoragesEntities = storage.getLink (iaasHost, "HostReservationToStorages");

var HostReservationToStoragesEntity = hostReservationToStoragesEntities [0];

var currentCapacity = HostReservationToStoragesEntity.getProperties (['MaxCapacity']);

System.log("currentCapacity:"+currentCapacity);

var newCapacity = currentCapacity + 1000;

var attrNewProperties = new Properties ();

attrNewProperties ["MaxCapacity"] = newCapcity;

System.log("newCapcity:"+newCapcity);

System.getModule("com.vmware.library.vcac").updateEntity (HostReservationToStoragesEntity, attrNewProperties, null);

Tags: VMware

Similar Questions

  • Imitate the option "Change booking" in vRA with vCO/vRO workflow?

    Hello

    I'm trying to find how to change programmatic policy booking and the storage policy on vCAC:Virtualmachine as part of a 'class of Service change' day 2 vRA Action via vCO. This should include Storage vMotion to a different cluster DTS/store data and/or reassign VM in a storage policy different vSphere (similar to market Cloud management |) Solution Exchange).

    I had a quick glance at various approaches, including Cloud Management Marketplace | Solution Exchange but the result does not change policy of booking of virtual machines, and in most of the scenarios after the migration to alternative storage VC:VirtualMachine, there are differences when displaying or changing the properties of the VM in vCAC (e.g. to change the VM - can not see the drive to edit). Is there understood after forcing an update of the synchronization/inventory vCAC.

    I can see there are a number of properties VM vCAC needed change, and - assuming it's possible - I understand the best way to achieve the above, keeping the vCAC model compatible with the new location of storage/VM compute in vSphere:

    for example

    __reservationPolicyID = 15DE50B9-3740-4EA3-8440-387F4F58FA93

    VirtualMachine.Storage.Cluster.ExternalReferenceId = group-p15722

    VirtualMachine.Storage.Cluster.Name = ATCA_ITaaS_QATD_Gold001

    VirtualMachine.Storage.Name = ATCA_ITaaS_QATD_Gold001

    (same for each drive)

    This looks like it might provide a way

    http://d-fens.ch/2014/02/16/vcac52-change-virtualmachine-reservation-and-storagepath-revisited/

    ... but the context is at the time of commissioning and I want to assure you that I'm going down a path supported...

    So the question is there there a supported method of upgrading all the properties required on a vCACVM individually, or is it a single call to change policy vCACVM reservation policy/storage for example which emulates the GUI features?

    vRA team?

    Many thanks for any help

    Justin

    If you're wondering how I would do...

    I like simple. Simple is easy to administer, troubleshoot, update and change in the future. With this in mind:

    1. turn all possible storage levels in the reserve.

    2. set a custom property for the layer 'by default'.

    3. set the action two days to allow a change of 'service level' and attach it to a policy on approval so that it has not used willy nilly.

    Grant

  • My book for Mac "preparing backup".

    Hi all

    I've updated to Sierra this morning and since then my WD My Book for Mac has been slain in the backup of the preparation for about 10 hours. My backup before the upgrade went through without a problem. Is the amount of time the backup takes to be expected with the upgrade or it's just stuck in limbo?

    Thanks in advance.

    Hello, Huss417!

    Thank you for using communities Support from Apple. Congrats on the update to Mac OS Sierra! It's a great new operating system. From your post, I'm seeing that you have problems with your Time Machine backup since the update, even though - he was slain on "Preparing" for a lot longer than expected. I know the importance of these backups and want absolutely to make your passes by. I'd be happy to help you!

    The following article will give you more information about what might happen.

    macOS Sierra: If Time Machine still at the stage of the "preparation".

    You can also see the following article for further assistance.

    macOS Sierra: Time Machine troubleshooting

    Enjoy the new macOS Sierra!

  • iAuthor question for iBooks text size and PDF print

    I get confused messages. It seems that my default iAuthor text 18 Baskerville - is the best font size to prepare my manuscript? It looks great. Average size printed book is 10-12 points. I also intend to use PDF files to make a 100 printed copies. If I stick with 18 p can I completely reformat the book for this version?

    Just export a copy of your book in PDF and see if you like it or not.

    iBA is not really intended for the production of printed books, so you should check that the PDF files that you get from it are not suitable for this.  Normally, for printing, use an app like Pages designed for that.

  • Equium A100-027 - driver for mass storage controller

    Hello

    After installing Windows 7 32 bit, multimedia card reader does not. All drivers and updates are installed, except the driver for mass storage controller, I can't find this driver anywhere.

    Help, please

    Thank you

    Hello

    Mass storage controller means normally only the card reader so you have to install this driver.

    Have you tried to install the 32-bit driver for Vista? Normally, the Vista drivers also work on Windows 7.

  • Re: update of firmware for Satellite Pro L500 PSLS4E 00C00HIT

    I just recived this report...

    FTP - URL frmwre - 20091217163803.html

    Data di ultima changes 05/26/10
    Ragione social Toshiba
    Tipo Firmware update
    Sottotipo TS-L633C / TS-L633Y
    Size - Super (Kb) 2
    Versione TO03 - TF03
    Universal lingua
    a World Wide
    TF03/TO03 Description: it has been updated for the countermeasure against the audio sound problem distorted on playback of the CD in Windows 7
    TF02/TO02: It has been updated for the countermeasure against the question that the recovery disk cannot be created correctly with Toshiba Recovery CD creator.
    Model Satellite L500, Satellite L555, Satellite L550, Satellite Pro L550, Satellite L505, Satellite Pro L500
    Operating system Windows 7-32 bit

    What means? Do you offer any upgrade?
    Thank you

    > Do you offer upgrade?
    N ° if everything works well don t change anything.

  • Problem installing update of security for Microsoft Works 9 (KB2092914)

    Update of security for Microsoft Works 9 (KB2092914)

    Download size: 2.0 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A vulnerability of security in Microsoft Works 9 that could allow arbitrary code to run when opening a file modified for malicious purposes. This update resolves this vulnerability.

    More information:
    http://www.Microsoft.com/technet/security/bulletin/MS10-056.mspx

    Help and Support:
    http://support.Microsoft.com/kb/2092914

    See this thread:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/0c397230-26c6-4214-a5d1-3c99d2b2ef47>

    Please let us know if that helps.

  • Error message every time I try to download the update of security for Microsoft Office System 2007 (KB976321)

    Update of security for Microsoft Office System 2007 (KB976321)

    Download size: 1.4 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A 2007 Microsoft Office System security vulnerability could allow arbitrary code to run when opening a file modified for malicious purposes. This update resolves this vulnerability.

    More information:
    http://support.Microsoft.com/kb/976321

    Help and Support:
    http://support.Microsoft.com/?ln=en-us

    http://www.Microsoft.com/downloads/en/default.aspx

    Put the KB numbers in the search at the above link > download them manually.

    If this does not solve it:

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon

    Mick Murphy - Microsoft partner

  • I try to install the update of security for Microsoft Office System 2007 (KB972581), but if failed and I get the error code Code 57A__

    I try to install the update of security for Microsoft Office System 2007 (KB972581), but if failed and I get the error code Code 57A

    I have install the 2007 Microsoft Office Suite Service Pack 2

    I bet that if you check the size of the file that has been downloaded it will be probably very small, indicating that it was not downloaded correctly.

    I don't think you have another computer at hand, or a friend with a USB key which may be able to download and copy it for you?  Maybe burn it to a CD or something.

    I could download it and save it to my desktop so I am confident that it is not a problem with the link itself or the file is available for download with success.

    I know this isn't a very good suggestion, but the only other option would be to challenge support and see if a technician can take control of your machine and see if they can solve the problem of internet explore.

    If you find my answer was what you're looking for, remember to click on the box "mark as answer" below!

  • I SPENT HOURS AND HOURS ON A BOOK FOR MY PARENTS. NOW, IT'S GONE! MY PROJECT IS EMPTY.

    Once again, I've spent many hours much to do a book for my parents.  Find old photos of my parents, their parents and other family members.  Together with my mother long distance to get the right information on each photo and on and on.  I had two left images in ID and I when he's in MY PROJECTS with HP PHOTO CREATIONS, and my PROJECT is GONE!   I look everywhere on my hard drive and nothing.  At no time was there EVER the information provided by HP when PHOTO CREATIONS has BEEN updated to PROGRAM I'd lose all my hard work.

    I can't even begin to tell you how angry I am right now.  My mother is very sick and very probably the book will not never started all over again.  Please, I beg... if HP could help me find my project.  The name of the book was Zuhlke family.

    Furthermore I really learned to say I own portable computers HP, printers etc. that I like the quality.  I bought my care mandate (or whatever it is called and never used), but trying to be able to simply ASK a QUESTION is such an ordeal with HP.  I really have to go with another company, simply because other companies are affordable and HP is NOT. It is so you have to pass it's ridiculous.  Each new set of issues and what is the serial number and where did you purchase your article only adds to the frustration people feel already.  So by the time we can actually get to a place where a question can be asked the frustration level has increased 10 times.  Just something for you to think.

    Hi Berlee,

    We apologize for the difficulty you are experiencing.  We appreciate how much time and effort you have invested and the value of this project.

    We would be happy to help you with this.  If you can please e-mail our customer support center at [email protected]. We will be sure to have one of our technical support specialists contact you immediately.

    Thank you

    HP Photo Creations customer support

  • Update high priority for Windows XP several times offered

    original title: update of high priority for Windows XP (file with 0 KB)

    I have a family high priority for Microsoft Windows XP Edition update. Every time I install the file everything works OK and shows, it was installed after that I get the same update each time and each time I install it I keep going around and with the same file.

    The file is KB2539631:
    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP x 86 (KB2539631).

    I found that MS file size is 0 KB as in the line below so how can I install a file size '0 '?

    Download size: 0 KB 0 minutes (downloaded; ready to install)

    A security issue has been identified that could allow a malicious user to compromise your Windows system that is running the Microsoft .NET Framework and gain access to information. You can protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.

    Can anyone help re this file and what I can do?

    Thank you

    Steve

    Open Add/Remove programs and make sure that the show updates at the top box is checked. Now scroll down & tell me if KB2478658 is listed? [1]

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    See the section "How to get help" of http://support.microsoft.com/kb/2539631

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    For enterprise customers, support for security updates is available through your usual support contacts.

    =======================================================
    [1] KB2539631 overrides (replaces) KB2478658 (June 14-11).

  • Book update error: book is not auto-coherente

    Hello

    I use FM2015, and I have a big book informal with about 70 chapters. I've updated the book and saw an error message I've never seen before: "the book is not auto-coherente." I tried the obvious places to try to understand than that outside, but could not find any information. The book seems to work very well.

    Does anyone know what this message means?
    Thank you!
    Alexandra Duffy

    Senior technical editor

    VectorWorks, Inc..

    Hi all

    There is a new update of FM this morning - 13.03.495. This solved the problem for me... no error message more "book is not auto-coherente" during the updating of the book.

    Thank you, team Adobe Tech Comm!
    Alexandra

  • support the bundle for vRA IaaS components 7

    How to take the beam of support for vRA IaaS components 7?

    Create a support group for vRealize Automation

    According to the documentation centre, the log collection utility is appropriate receive support for IaaS component beam.

    However, this tool appears to not be updated for vRA7 as follows:

    I tried to use this utility collection of the newspaper for vRA 7, but the newspapers did collect supposed.


    What follows may be solution for this?

    http://pubs.VMware.com/VRA-70/topic/com.VMware.vrealize.Automation.doc/GUID-55EE2826-D4C9-4017-9DBD-20ADC784CA58.html

    Yes, do it through the VAMI. This is the appropriate approach.

    Grant

  • I can't get the page numbers in my table of contents to update when I update the book.


    I use Framemaker 11 and I have two tables of contents in my book: one in English and French. Each table of contents to links to various documents in the same book. The reference page for each table of contents is defined and properly displays the positions 1 and 2, I said that it appears, but numbers not updated when the contents of my document files change to another page. I checked the settings of conditional text in my document files; they are correct. When I update the book, I choose to update the numbers, all the cross-references, all text inserts, OLE links, generate a Table of contents, lists, and indexes. What I am doing wrong? Thank you.

    If they are not knocked down, then they are certainly not generated files. See the example in the help of FM11: http://help.adobe.com/en_US/FrameMaker/11.0/Using/images/bk_hier_books.png

    The 'K' is a TOC file that FM recognizes a generated file.

    Because you have created your table of the contents of the French with the help of another structure of the book, you could import reference this TOC file in another file of FM (for example to create an inset text) in the main book you want. However, you need to make updates in two steps. First update the French book to revise the table of contents. Then update the main book to get the rest of the correct pages (and given that the table of french contents are imported by reference, FM always uses the most recent version).

  • purchase classroom in a book for Adobe pre 12 cannot open lessons

    bought in the classroom in a book for Adobe premiere elements 12

    I downloaded the lessons, but it is impossible to open with Adobe premiere elements 12

    Adobe first elements 12 is new to me not sure what needs to be

    made to open the lessons.

    Jack

    Jack

    There are problems with the samples offered in class in a series of books for Premiere Elements known.

    Your problem is extended to some or all of the lesson files.

    Please contact the editor of the book of lessons files issues correction... There was a lot.

    You should see the editor of coordinates in the book somewhere.

    How you try to open a file in first 12 items, add Media/then what?

    And what is the name of a specific file in these lessons you are trying to open in the first 12 items?

    No doubt, most important and to the point, can you import your own photos or videos without problems in

    First 12 items?

    Update the 12 to 12.1 update if you don't have it already. See Help Menu/implementation to date of an open project.

    For any question or need more information, feel free to ask.

    Thank you.

    RTA

Maybe you are looking for