• Configure Artifactory for use with VMware vRBT

    Link to configure vRBT Workstation instructions – https://www.brianmacinnes.com/configure-vrbt-for-vrealize-vra-vro-8-x Deploy the Bitnami Artifactory OVA Passwords Enable SSH (optional) Configure a Static IP Configure the Artifactory Web Certificate Initial Login to Artifactory Enable Anonymous Access Create a new Local Repository for the vRBT Artifacts Add the vRBT Repository to the Virtual libs-release Repository Add the vRBT Repository…

  • Configure vRealize/Aria Build Tools for vRealize vRA/vRO 8.x

    Questions? : vRBT/ABT Slack: http://build-tools-vmw-aria.slack.com/ Operating System for Developer Host/Workstation Java Maven vRBT Repository NodeJS Create Keystore for vRO package signing Configure Artifactory Generate the Private Key and Certificate for vRO Package Signing Create Maven Settings.xml Trust Artifactory Certificate (Optional, for self-signed Artifactory certificate only) Method 1: Use Git Bash to download the self-signed certificate…

  • Script to Automatically Upgrade Minecraft Server Jar

    I got tired of upgrading my son’s minecraft server manually so I wrote these scripts so that he could upgrade the server himself. There are two scripts. One shell script to make a backup of his old server configuration and a simple python script to download the latest jar The shell script assumes the minecraft…

  • vRA 8 and Code Stream 8 Monitor Services

    After rebooting the vRA 8 Appliance, you may want to monitor or check service status. Run the following command: “watch kubectl -n prelude get pods” Each service should have a status of Ready 1/1 or Ready 2/2 (with the exception of ui-toggles which will have a status of Completed)

  • Commands to watch the Code Stream 8 Logs

    Commands to tail the Code Stream logs: Run “kubectl -n prelude logs -lapp=codestream” Run “kubectl -n prelude get pods | grep code” Copy the unique name of the pod. Ex: ‘codestream-app-dfcf468cd-l6djt’ Run “kubectl -n prelude logs <unique pod name> -f “

  • Code Stream 8 – How to Create a GitHub Endpoint

    First you will need an API Key from Github for Code Stream to authenticate Log in to GitHub or Github Enteprise Click on your Avatar in the upper right corner Choose Settings On the left navigation, choose ‘Developer Settings’ On the left, choose ‘Personal access tokens’ Click ‘Generate new token’ Enter a meaningful description Select…

  • How to search Active Directory using vRealize Orchestrator

    Variable adHost is set to the AD:adHost you want to search Or use “Server.findAllForType(“AD:AdHost”)” and use a loop to search each domain. Search for Computer Name vmName = “NST-CORE-01”; adComputers = ActiveDirectory.search(“ComputerAD”,vmName,adHost); System.log(adComputers.length); Search for Organizational Unit ouName = “Finance”; adOUs = ActiveDirectory.search(“Organizational Unit”, ouName, adHost); System.log(adOUs.length); Search for User user = “bmacinnes”; adUsers =…

  • Find vc:virtualmachine by uuid

    vCenterVm = sdkConnection.searchIndex.findByUuid(null, vmuuid, true, true);

  • OVFTOOL Examples

    cd “C:\Program Files\VMware\VMware OVF Tool” List all VM on ESXi server ovftool “vi://” Export a VM called NST-VRA-01 to a thin-provisioned ovf with the same name on Y: ovftool -dm=thin “vi://” y:\NST-VRA-01 IMPORTANT, unmount any ISOs from the VM. If you don’t unmount them they will get exported as part of the OVF Export…

  • Different ways to use odata searches for VCAC:VirtualMachine and VCAC:Entity

    Get Entities from vcac:virtualmachine object: Use findAllforType (scroll right for full code): Using readModelEntitiesByCustomFilter (scroll right for full code):