To use SmartSate analysis with VMWare (vCenter 6.0, MiQ botvinnik), I installed VMWare VDDK. More or less, only .so from lib64 subdirectory are required. So the usual way of “installing” was:
cat /etc/ld.so.conf.d/vmware-vddk.conf
/opt/vmware-vix-disklib-distrib-5.5.3/lib64
ldconfig -v # VDDK libs are listed
# restart appliance etc.
My problem is, that VDDK has libs which are also default system libs - just a different version.
So for example, now the sssd doesnt start any more (I guess it was stopped, possibly due to logrotate):
Starting sssd: /usr/sbin/sssd: error while loading shared libraries: libglib-2.0.so.0: failed to map segment from shared object: Permission denied
ldconfig -v
/opt/vmware-vix-disklib-distrib-5.5.3/lib64
libglib-2.0.so.0 -> libglib-2.0.so.0
/lib64:
libglib-2.0.so.0 -> libglib-2.0.so.0.2800.8
[root@manageiq sssd]# ll /lib64/libglib-2.0.so.0.2800.8
-rwxr-xr-x. 1 root root 1142944 okt 15 2014 /lib64/libglib-2.0.so.0.2800.8
[root@manageiq sssd]# ll /opt/vmware-vix-disklib-distrib-5.5.3/lib64/libglib-2.0.so.0
-rw-r--r--. 1 root root 986352 jun 18 2014 /opt/vmware-vix-disklib-distrib-5.5.3/lib64/libglib-2.0.so.0
Installing VDDK on my desktop, and afterwards, I wasn’t able to run kate text editior.
So how could I make sure that VDDK libs are available to MiQ, and its subprocesses? Its actually used only for some very specific tasks - SSA, maybe some other. Alter LD_LIBRARY_PATH at some point? Or did I “install” VDDK the wrong way from the start?
BTW, it seems that (at least with botvinnik), VDDK 5.5.3 is ok, but 5.5.5 or 6.0.1 are not - after creating snapshot, it just couldn’t connect to remote host.
BTW2, I had problem with ruby ffi searching for .so files - “ldconfig -v | grep vix” shoved some files, but the MiQ logged something like ‘no library found’, after trying to load various 5.x.y versions. At some point, I even added additional try to load “/opt/vmware-vix-disklib-distrib-5.5.3/lib64” + libname, if libname loading fails. At the end, SSA started to work.