Windspirit's Posts

You can now use LCM 8.12+ to manage certificates and updates for vRO (vra and standalone
HI all, I'm a bit confused. The Architecture tells me I can add a dedicated Log Forwarder to collect (e.g.) from the DMZ.  HOWEVER: I can not find anywhere how you go about installing one. I assum... See more...
HI all, I'm a bit confused. The Architecture tells me I can add a dedicated Log Forwarder to collect (e.g.) from the DMZ.  HOWEVER: I can not find anywhere how you go about installing one. I assume: its a standalone (not cluster) install of Aria operations for logs that you configure log forwarding on that instance to your main cluster QUESTIONS: (that I can't find answers for) Size?   You just add a new environment in LCM for that? I would have assumed it would be a lightweight little appliance as its only FWing...but thats seams to be not the case. Thanks  
Code Extract: var spec = new VcVirtualMachineConfigSpec(); spec.guestId = "rhel7_64Guest"; var task = vm.reconfigVM_Task(spec);
GET API Version: goto https://[vra FQDN]/iaas/api/swagger/ui/ the API version is in the top right: for 8.10.1 it was 2021-7-15 Run REST Call PATCH : /iaas/api/configuration-properties?apiVersion=... See more...
GET API Version: goto https://[vra FQDN]/iaas/api/swagger/ui/ the API version is in the top right: for 8.10.1 it was 2021-7-15 Run REST Call PATCH : /iaas/api/configuration-properties?apiVersion=2021-07-15 {"key":"PREVENT_COMPUTE_MEMORY_OVERALLOCATION","value":"true"} {"key":"DEFAULT_MAX_ALLOWED_COMPUTE_MEMORY_ALLOCATION_PERCENT","value":"150"}
YAP! me too.  BUT it works with true. Tested and working. What surprises me is that this is NOT a Global (visible in the GUI) setting. Quite a lot of my customers use vRA for DEV and in DEV Overprov... See more...
YAP! me too.  BUT it works with true. Tested and working. What surprises me is that this is NOT a Global (visible in the GUI) setting. Quite a lot of my customers use vRA for DEV and in DEV Overprovisioning is what you want. But then this hasn't come up yet as they have BEASTS of Servers (2TB, 128 Cores).
VMware support just came back with this: https://docs.vmware.com/en/vRealize-Automation/SaaS/Using-and-Managing-Cloud-Assembly/GUID-56164B07-796D-4B6D-9937-1E973C44E9F7.html?hWord=N4IghgNiBcILYFM4Hs... See more...
VMware support just came back with this: https://docs.vmware.com/en/vRealize-Automation/SaaS/Using-and-Managing-Cloud-Assembly/GUID-56164B07-796D-4B6D-9937-1E973C44E9F7.html?hWord=N4IghgNiBcILYFM4HsBOBPABMgbg1kEyAxmAC4CWyAdiAL5A however: the no entries in  /iaas/api/configuration-properties to start with setting PREVENT_COMPUTE_MEMORY_OVERALLOCATION = false -> No Change Setting DEFAULT_MAX_ALLOWED_COMPUTE_MEMORY_ALLOCATION_PERCENT = 150 -> No Change The solution is to set : PREVENT_COMPUTE_MEMORY_OVERALLOCATION = true Either I'm reading this wrong or I dont know....anyway. SOLVED. THANKS Support 
The only way I found so far is a workaround.   I query the resource I want and wait till it's there. run=true; do { System.sleep(60000) //wait a minute jsonObj=vraOperation("GET","/iaas/api/fa... See more...
The only way I found so far is a workaround.   I query the resource I want and wait till it's there. run=true; do { System.sleep(60000) //wait a minute jsonObj=vraOperation("GET","/iaas/api/fabric-computes/$filter=name%20eq%20'"+hostShort+"*'",null,false); if (jsonObj.content.length>0){ if (jsonObj.content[0].type == "Host"){ run=false; } } } while (run);  
good call! thanks just tested with Resource Quota and Deployment Limit. Sadly both don't work for the problem. They affect the max limit for something ...but vRA seems to check beforehand the availa... See more...
good call! thanks just tested with Resource Quota and Deployment Limit. Sadly both don't work for the problem. They affect the max limit for something ...but vRA seems to check beforehand the available Mem and then just quits. I just wonder why overprovisioning would not be allowed via vRA...that's the whole idea (and COST BENEFIT) of Virtualization!
So...I did a lot of experiments. And it turns out vRA doesn't support overprovisioning.  Neither as a Cluster nor as a single ESXi.  A ESXi host with 16GB can only have 16GB - ESXi Overhead, and a ... See more...
So...I did a lot of experiments. And it turns out vRA doesn't support overprovisioning.  Neither as a Cluster nor as a single ESXi.  A ESXi host with 16GB can only have 16GB - ESXi Overhead, and a cluster 16GB - overhead - vCLI VM memory This sucks quite hard, as the point of virtualization IS overprovisioning.     ----- formatVersion: 1 inputs: {} resources: Cloud_vSphere_Machine_1: type: Cloud.vSphere.Machine properties: image: dl-test cpuCount: 2 totalMemoryMB: 16384 constraints: - tag: test networks: - network: ${resource.Cloud_vSphere_Network_1.id} assignment: dynamic Cloud_vSphere_Network_1: type: Cloud.vSphere.Network properties: networkType: existing constraints: - tag: ProdNetwork ----- Not selected because: flavor filter: not enough memory, requested '17,179,869,184' but only '12,312,379,392' is available    
I would have expected that a 0 (zero) would ignore ALL limitations./..looks like it doesn't.
Hi all, when provisioning a new VM from Cloud Template I get "No placement exists that satisfies all of the request requirements" if I choose more mem then the ESXi (not Cluster) has left. in 7.x I ... See more...
Hi all, when provisioning a new VM from Cloud Template I get "No placement exists that satisfies all of the request requirements" if I choose more mem then the ESXi (not Cluster) has left. in 7.x I could just set the reservation policy higher and then have no issue with overprovisioning. I fail to find anything in vRA 8...Basically, I would like to tell vRA to IGNORE any CPU and Mem constraints of the Infra below.  Its properly strait forward...but I just cant find it. Daniel
OK...so here is a "solution"....its not brilliant but works: in vRO controlcenter, enable local execution get the AuthKey from vROPS write the curl command for downloading into a local file on /v... See more...
OK...so here is a "solution"....its not brilliant but works: in vRO controlcenter, enable local execution get the AuthKey from vROPS write the curl command for downloading into a local file on /var/run/vco make file executable 775 execute file get return delete temp file That way you can get a CSV Sting from the report into vRO
(something is wrong with the communities...this is the third time I'm typing this) The URLs given do not work, and neither are they in the Swagger. 
Thanks that helps a lot. Reports...l looked at that. However, the issue was that I vRO can do (ATM..as far as I know) a binary download and the Download Plugin can not (ATM..I asked for it) take Hea... See more...
Thanks that helps a lot. Reports...l looked at that. However, the issue was that I vRO can do (ATM..as far as I know) a binary download and the Download Plugin can not (ATM..I asked for it) take Headers (authorization token). So I was looking at running a CMD command on shell instead. I do hope I can get to the views data as JSON..I will give it a test. regards Daniel
Hi, would it be possible to inject a header (for authentication) into this plugin? I would like to download an report from vROPS which needs a token in the header. regards Daniel
HI all, accessing REST etc is easily done. But I can not find in the REST docu  (https://developer.vmware.com/apis/vrealize-operations) any point to get VIEWS.  I like to use vRO to get the data of... See more...
HI all, accessing REST etc is easily done. But I can not find in the REST docu  (https://developer.vmware.com/apis/vrealize-operations) any point to get VIEWS.  I like to use vRO to get the data of a view so I can do some fun stuff with it. Regards D
OK..so one part I could now figure out. The Error about the disk comes from the Attach that I run DRIECTLY after the AddDisk. But it seams that even as the Request is finished the disk is not really... See more...
OK..so one part I could now figure out. The Error about the disk comes from the Attach that I run DRIECTLY after the AddDisk. But it seams that even as the Request is finished the disk is not really done and the attach does something funny. A 60sec WAIT will work wonders. Still not clear HOW I can get a Cloud.vSphere.Disk instead of a Cloud.Volume?  @VMware the attach wants the UnitNumber as Sting...should be a Number.
https://developer.vmware.com/apis/657#/Deployment%20Actions as well as : https://developer.vmware.com/docs/14701/vrealize-automation-8-6-api-programming-guide?h=vRealize%20Automation in vRO: INPU... See more...
https://developer.vmware.com/apis/657#/Deployment%20Actions as well as : https://developer.vmware.com/docs/14701/vrealize-automation-8-6-api-programming-guide?h=vRealize%20Automation in vRO: INPUTS:vraHost,action,path,payload var restClient = vraHost.createRestClient(); var request = restClient.createRequest(action, path, payload); var response = restClient.execute(request); asString=response.contentAsString; System.log(asString); jsonObjct=JSON.parse(asString)  
vRA 8.9 the existing vRA Action "Add Disk" will create an Cloud.vSphere.Disk, however I need to do it via vRO. (I know I could call the API to trigger the Action etc...sure...but not what I'm after)... See more...
vRA 8.9 the existing vRA Action "Add Disk" will create an Cloud.vSphere.Disk, however I need to do it via vRO. (I know I could call the API to trigger the Action etc...sure...but not what I'm after). The Libary has a Workflows called Ïnfrastructure/Disks/Create Disk" and "Infrastructure/Machines/Disks/Attach Machine Disk" and they work. They will create in the deployment a new Disk and attach it. HOWEVER: there are certain problems I have using the workflows: Disk get created in own folder (not with the VM) Attach Workflow sais that : The Unit Number to be assigned (Deprecated). The SCSI controller to be assigned (Deprecated). Disk created is of type Cloud.Volume When deploying the disk is usable and good in vSphere, HOWEVER when deleting the Deployment I get an error "Only disk with status AVAILABLE can be deleted, as it is not attached to any VM" and it deletes everything BUT the disk in the deployment. In vSphere the vmdk gets destroyed all fine. I attached the REST return for the disks to show the difference. Any idea what REST API function the UI call triggers?
The error said you haven't used the right encryption...check that Did you get ur cert signed? Did you put all the certs in the right order? Host cert (the one you got signed) any intermediate ce... See more...
The error said you haven't used the right encryption...check that Did you get ur cert signed? Did you put all the certs in the right order? Host cert (the one you got signed) any intermediate certs root cert (of your domain that signed the cert) Private Key (I think it needs to go to the end of the PEM file...may have that wrong in the description