VMware Power CLI: Could not establish trust relationship for the SSL/TLS secure channel with authority

With the Newer version of Power CLI, the Connect-ViServer fails with message: This can easily be worked around by Importing The VMCA trusted root Certificate Use Set-PowerCLIConfiguration to ignore certs Importing The VMCA trusted root Certificate to windows Trusted Root Store Launch a browser and head to https://vcenter.FQDN  (or https://vc.FQDN/certs/download.zip) Click on Download trusted root CA certificates Extract […]

Replacing vmdir certificates on vCenter 6.0

vmdir is a vCenter component that Listens on port 389 and 636(LDAPs/LDAP) We will start creating a new configuration file called vmdir.cfg with the below content: (replace the contents under v3_req with the fields appropriate to your environment) using openssl, create a new CSR file with the above configuration: If the solution user certificates are […]

web client service crashes java.lang.OutOfMemoryError: PermGen space and java.lang.OutOfMemoryError

vSphere web client refused to start with memory errors log location: Cause: insufficient  Web-client heap size/Insufficient PermGen space?configuration change Scenario 1:  Heap-size Resolution: Ensure there is sufficient free memory on the vCenter Review and Increase (double) the heap size of the web client Appliance: windows: start vsphere-client and observe if this still crashes. Scenario 2: PermGen […]

Connecting to VMware appliance postgres/PSQL instance from an external computer/pgadmin

By default, the postgres instance on vCenter/vSphere replication..etc.. are configured to not accept connections from a computer on the network. On this  post, I will show you how to re-configure this to allow connections from an external box for tools like PGadmin etc. Note: Depending on the appliance, the postgres, configuration files/paths might be different. […]

vCenter Pre-upgrade fails

Error: Internal error occurred during execution of upgrade process. Resolution: Send upgrade log files to VMware technical support team for further Assistance. Upgrade logs say: Now look at the source appliance. Run /opt/vmware/share/vami/vami_get_network  less returns an dependency error: To resolve this, re-create the link to dependency by running the below commands. Re-run the command to confirm […]

Deploy A VM using OVFtool

Syntax: Example: Note: VM Network = the vmnetwork of the ovf at the time of export If you are not too sure of the original network, Run the below to query: Link to download OVFtool  https://my.vmware.com/web/vmware/details?productId=614&downloadGroup=OVFTOOL420

Registering replication appliance to vCenter fails with “no element found: line 1, column 0”

Registering replication appliance to vCenter fails with “no element found: line 1, column 0” Cause: Corrupt/missing ovfenv.xml Log on to the vR appliance console session and run the below command: f the ovfenv.xml is 0, power down the replication appliance and power (do not perform a guest restart) this back up using the web client (must be […]