Skip to main content

Posts

Showing posts from February, 2024
  vRA 8.x – Quick Tip – How to access embedded PostgreSQL DB Here is another one in our Quick Tip series:  accessing the Embedded PostgreSQL Database in vRealize Automation 8.x . SSH  to your vRA appliance as  root Once logged in, run the following command vracli dev psql <db-name> Examples: vracli dev psql catalog-db vracli dev psql vco-db This will automatically log you in as the postgres user I the pod hosting the specified postgres db. vracli dev psql <db-name > *NOTE*  The Execution of the ‘vracli dev psql’ command is  recorded  on the system. Type  ‘ yes ‘ if you would like to continue. Show all tables in this database with:  \dt Run a query e.g. (do  not forget ‘;’ ) :  select * from cat_catalogitem; You can turn on expanded display to show output a bit better:  \x To exit type  \q An example can be found below: Please use at your own risk! Modifying the embedded PostgreSQL DB content is not support...
  Create Global Custom Naming for deployed resources in Aria Automation Assembler (VMware Cloud Assembly)   The Global Custom Naming feature is introduced in  Aria Automation (vRealize Automation)  to provide options for the customers to generate the name for Aria Automation resource types based on the Custom Naming template in the organization or projects Available in following vRA/Aria Automation versions vRealize Automation version above 8.6.1 and above vRealize Automation Cloud Generating Custom name with custom properties to adopt the naming standards of the customer To use custom properties in a speific Global Custom Name they needs to be defined in a property group to have a flexibility to gererate the names in required pattern NOTE: A custom property value in the Aria Automation Templates (VMware Cloud Templates) take precedence over the same property value in the custom name. The Project-level custom names take precedence over organization-level names Limita...
  Part -1 Troubleshooting vRA & vRO – Troubleshooting Services and PODs The vRA and vRO Services and POD’s running on Kubernetes and use Kubectl  commands for getting information and troubleshooting. Handling Namespaces Listing the Namespaces 1. To get list of all the namespaces and their status below command can be used Kubectl get namespaces Handling Services The vRA and vRO run under namespace called “prelude” PODs 1. To get list of all the PODs and their status below command can be used Kubectl get pods -n prelude 2. To get filtered list of all the PODs and status below command can be used Syntax : Kubectl get pods -n prelude | grep -i podname Kubectl get pods -n prelude | grep -i vco Restarting Services 1. The Specific Service can be restarted using below command Syntax : Kubectl delete pods -n prelude < Service Name> Kubectl delete pods -n prelude vco-app-xxxxxxxxxxxxx While its getting deleted the POD, it goes to terminating state and new POD for service will ...
  Here’s a List of Docker Commands docker run – Runs a command in a new container. docker start – Starts one or more stopped containers docker stop – Stops one or more running containers docker build – Builds an image form a Docker file docker pull – Pulls an image or a repository from a registry docker push – Pushes an image or a repository to a registry docker export – Exports a container’s filesystem as a tar archive docker exec – Runs a command in a run-time container docker search – Searches the Docker Hub for images docker attach – Attaches to a running container docker commit – Creates a new image from a container’s changes Check out the complete list of commands in the Docker documentation.