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:     Connect-VIServer : 28-04-2018 11:41:42 Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option to Prompt if you’d like to connect once or to add a permanent exception for this server. Additional Information: Could not establish […]

Read More

Replacing vmdir certificates on vCenter 6.0

vmdir is a vCenter component that Listens on port 636 and 389 (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 enveronment) [ req ] distinguished_name = req_distinguished_name encrypt_key = no prompt = no string_mask = nombstr […]

Read More

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

vSphere web client refused to start with memory errors log location: Windows: c:\programdata\VMware\vCenter\Logs\vsphere-client Appliance: /var/log/vmware/vsphere-client   wrapper.log INFO | jvm 1 | 2018/04/03 15:34:25 | Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.scheduling.timer.TimerFactoryBean#0” INFO | jvm 1 | 2018/04/03 15:34:33 | INFO | jvm 1 | 2018/04/03 15:34:33 | Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler […]

Read More

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 […]

Read More

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: less /var/log/vmware/upgrade/bootstrap.log 2018-03-23T20:14:34.11Z ERROR transport.guestops Invalid command: “/bin/bash” –login -c ‘/opt/vmware/share/vami/vami_get_network eth0 1>/tmp/vmware-root/exec-vmware47- stdout 2>/tmp/vmware-root/exec-vmware235-stderr’ None 2018-03-23T20:14:34.12Z ERROR upgrade_commands Unable to execute pre-upgrade checks on host 10.1.0.209 Traceback (most recent […]

Read More