Friday, November 15, 2013

UCS Director : How to avoid VNC connection failure on 64 bit UCSD via HTTPS connection

Symptom


VNC may fail with 64 bit UCSD 4.0.1.1. It exhibits the Server Disconnected (1006) error when ssl secure connection is being used between web browser and 64 bit UCSD.

Conditions

VNC client connection failure only occurs with 64 bit UCSD 4.0.1.1 when ssl connection is made. It always works with http connection.


Workaround

This should be addressed via CSCul23446 . In brief,  64 bit UCSD 4.0.1.1 is delivering 32 bit SSL module for 64 bit environment for web_proxy. So a tempoary workaround before the patch 4.0.1.2 is available as follow :

- Contact BU to get 64 bit SSL library (i.e. __init__.py, __init__.pyc and _ssl2.so).
- Copy these to the following location: /usr/lib64/python2.4/site-packages/ssl/_ssl2.so
- After coping these, run web_proxy service from "/opt/infra/web_cloudmgr/apache-tomcat/webapps/cloupia/cloudmgr/vnc/utils/

[root@localhost utils]# ./startwebsock.sh
[root@localhost utils]# ./statuswebsock.sh
 websock                 RUNNING       32332
[root@localhost utils]#

Note : The file for web_proxy service is "startwebsock.sh"