How To Reset VMware Cloud Builder to Rerun Bringup for Cloud Foundation
search cancel

How To Reset VMware Cloud Builder to Rerun Bringup for Cloud Foundation

book

Article ID: 316088

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article provides instructions for resetting the VMware Cloud Builder such that it can be re-used to go through the Cloud Foundation bring-up process multiple times.

Environment

Vmware Cloud Foundation 5.1
VMware Cloud Foundation 3.x
VMware Cloud Foundation 4.x

Resolution

1. Connect to the VMware Cloud Builder appliance using Putty and login as the admin user.

2. Connect to the Postrgres database and remove the ‘execution’ and ‘Resource’ tables by executing the following commands:
VCF 3.7
sudo psql -U postgres -d bringup -h /home/postgresql/
delete from execution;
delete from "Resource";
\q

VCF 3.8 and later
sudo psql -U postgres -d bringup -h localhost
delete from execution;
delete from "Resource";
\q
VCF 4.x 
sudo psql -U postgres -d bringup -h localhost
delete from execution;
delete from "Resource";
\q
3.  Refresh the browser and you will be returned to the Checklist window

Note: "For VCF 5.1, please use the full path /usr/pgsql/13/bin/psql to invoke the psql command"