Six Million Ways To…
  • About
vRA

vRA : API : Submit a request

by Axel October 22, 2019 No Comments

Several steps : 1 – Get the entitled catalog item id https://{{fqdn}}/catalog-service/api/consumer/entitledCatalogItems?limit=500&$filter=name eq ‘NAME OF CATALOGITEM’ 2 – Get the entitled catalog item request template https://{{fqdn}}/catalog-service/api/consumer/entitledCatalogItems/9190b30d-9198-4508-aec7-e4f691e69c15/requests/template { “type”: “com.vmware.vcac.catalog.domain.request.CatalogItemProvisioningRequest”, “catalogItemId”: “9190b30d-9198-4508-aec7-e4f691e69c15”, “requestedFor”: “USER UPN”, “businessGroupId”: “ea74cead-ccad-425a-84c1-9fe2ae52220c”, “description”: null, “reasons”: null, “data”: {} } 3 – Create the request https://{{fqdn}}/catalog-service//api/consumer/entitledCatalogItems/9190b30d-9198-4508-aec7-e4f691e69c15/requests add json formatted data as per […]

Orchestrator

vRO: Setting constants for workflows

by Axel March 15, 2019 No Comments

Hi guys, This new post aims at describing one of my favourites stuff about vRO : The use of constants that I can call in all my workflows. Just imagine that you defined some variables (like a folder to store log files, result files etc…) in several workflows and you have to change them. What […]

ESXi , Powercli

VM : Quickly delete one or more VM

by Axel March 11, 2019 No Comments

Hi guys, In my labs I often have to provision a lot of “trashable” VMs and I wanted to run a single command to remove them easily. From this idea I wrote a small script : From your powercli console, if not already done, connect to your vCenter/ESX and run the script

Orchestrator , vRA

vRO: Using vRA REST API to get all vCAC VMs

by Axel March 8, 2019 No Comments

Hi there !! It’s been a very long timmmmmeee since my last post. As usual, just a post to help in saving time. Today we’ll deal with REST API and mainly how to get information registered vCAC VMs in a huge number of pages. When we want to query your CAFE host and obtain the […]

Orchestrator

vRO : Workflow to Get Restarted VMs by HA

by Zakaria March 2, 2019 No Comments

Hello, Today, i wanted to share with you a vRO workflow helping me to get the list of restarted virtual machine by HA on a vCenter. This Workflow can be called by any monitoring tool when an snmp trap is sent by vCenter : Inputs & Outputs Workflow Schema Source Code for Used on Scriptable Task

Orchestrator

vRO : Reminder : How to call or initialize objects, actions.

by Axel March 13, 2018 No Comments

Using objects:   Using actions      

Powercli , Scripts

vCenter : Remove orphaned VMs

by Axel September 28, 2017 No Comments

A VM appears as  orphaned  in the vCenter inventory when it has been directly deleted from the inventory of the host (in a vSphere-client session) instead of the vCenter one. If the VM is not needed anymore the inventory must be cleaned so the vCenter database can be up-to-date.Manually remove an object  is simple but it […]

CLI , vSphere

ESXi : Configuring network via CLI

by Axel September 28, 2017 No Comments

Hi folks ! After a recent fresh installation, I had to configure the host networking and confirm that the physical switchs of our ESXi hosts were connected to were properly configured. I could have done that by many ways (ESXi UI and Sphere client) but I though it could be nice to use some CLI […]

CLI

Nutanix : Create a three nodes cluster

by Axel September 28, 2017 No Comments

Hi, Just start working with Nutanix. Even if you can create a cluster directly from the foundation VM, it can be just cool to know I to create a cluster with a single command line. Here it is : From a CVM (you can open a SSH session, default credential are nutanix and nutanix/4u), run […]

Powercli , Scripts

vCenter : Add permissions

by Axel September 28, 2017 No Comments

This time, I just wanted to troubleshoot an issue with a script supposed to set permissions on vCenter. The initial idea was to set permissions at the vCenter level and propagate them to the child objects. Note that  in order to use this script you will need to know the netbios name of your domain. […]

Menu

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Posts

  • vRA : API : Submit a request
  • vRO: Setting constants for workflows
  • VM : Quickly delete one or more VM
  • vRO: Using vRA REST API to get all vCAC VMs
  • vRO : Workflow to Get Restarted VMs by HA

Archives

  • October 2019
  • March 2019
  • March 2018
  • September 2017

Categories

  • CLI (2)
  • ESXi (1)
  • Orchestrator (4)
  • Scripts (3)
    • Powercli (3)
  • vRA (2)
  • vSphere (1)

Tags

API (1) CLI (1) HA (1) Nutanix (1) PowerCLI (1) Reminder (1) REST (1) REST API (1) vCenter (3) VRA (2) VRO (3) vSphere (4)
2023 Six Million Ways To…. Donna Theme powered by WordPress