Friday, March 18, 2016

VCSA vmware-vpxd Service Won't Restart After Upgrading to 6.0 U2

You navigate to the VMware Web Client and you get this 503 Error:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x7fe4a805cc90] _serverNamespace = / _isRedirect = false _pipeName =/var/run/vmware/vpxd-webserver-pipe)

Cause: (SSL Certificates wouldn’t issue automatically after reboot for service vmware-vpxd

Compounded Problem: (Clearing logs under ~/.* **root**) – Specifically, clearing ~/.pgpass 

(Lesson Learned: NEVER EVER CLEAR FILES UNDER ~/. Except .bash_history on templates creation only!!!)

Fix: Kill all the services running vpxd

1. ps -ef | grep vpxd
2. kill ###
3. Re-add the ~/.pgpass file with the PostGreSQL password
4. vi /et c/vmware-vpx/embedded_db.cfg
5. Copy the password you see between PGUSER_PASSWORD=’password here
6. Put the password back in ~/.pgpass

localhost:5432:VCDB:postgres: password here
localhost:5432:postgres:postgres: password here
localhost:5432:VCDB:vc: password here

7. Check /etc/hosts and make sure config is there. 10.10.10.10 hostname.domain.com hostname 

8. service vmware-vpxd status (make sure it’s not running)

9. service vmware-vpxd start

hostname:~ # service vmware-vpxd start
vmware-vpxd: VC SSL Certificate does not exist, it will be generated by vpxd
Waiting for the embedded database to start up: success
Executing pre-startup scripts...
vmware-vpxd: Starting vpxd by administrative request.
success
vmware-vpxd: Waiting for vpxd to start listening for requests on 8089
Waiting for vpxd to initialize: ...success
vmware-vpxd: vpxd has initialized.

hostname:~ # service vmware-vpxd status
vmware-vpxd is running

10. That's it!!!

Reference:


Thursday, March 10, 2016

How to Convert a CD/DVD to an ISO File

Do you need to convert a CD or DVD to an ISO file for a virtual environment, etc?

Windows:

1. Download InfraRecorder (Be aware of Junkware for FOSS Software on Windows). IR is on the GPL: http://infrarecorder.org/?page_id=5

2. Install the InfraRecorder Software (Next...Next...Done)



3. Launch the Application



4. Click on "Read Disc"



5. Select your location to save the .ISO file



6. Let it finish....it's baking! =)



7. Click Ok. Upload, Save or do whatever with the ISO! You can also create a bootable USB. (I use Rufus...it's reliable and fast: http://rufus.akeo.ie/ )

Ubuntu Linux or Mac: Refer to this Article on HowToGeek

http://www.howtogeek.com/228886/how-to-create-iso-files-from-discs-on-windows-mac-and-linux/