Upgrading Likewise on vMA

The version of Likewise-Open that ships with VMware’s vMA is a bit old, and for one reason or another, it may need to be upgraded outside the normal window for upgrading the vMA bits. So… here goes the update:

Checking the Current Install

You can check the currently installed version with an rpm -qa:

$ sudo rpm -qa | grep likewise
likewise-domainjoin-5.1.0-1.35051.5267
likewise-sqlite-5.1.0-1.35051.5267
likewise-base-5.1.0-1.35051.5267
likewise-openldap-5.1.0-1.35051.5267
likewise-pstore-5.1.0-1.35051.5267
likewise-mod-auth-kerb-5.1.0-1.35051.5267
likewise-base-32bit-5.1.0-1.35051.5267
likewise-rpc-5.1.0-1.35051.5267
likewise-netlogon-5.1.0-1.35051.5267
likewise-lsass-5.1.0-1.35051.5267
likewise-lsass-32bit-5.1.0-1.35051.5267
likewise-libxml2-5.1.0-1.35051.5267
likewise-krb5-5.1.0-1.35051.5267
likewise-passwd-5.1.0-1.35051.5267
likewise-eventlog-5.1.0-1.35051.5267

Downloading New Likewise Bits

You’ll need go to the Likewise site here, provide an e-mail address and download the bits:

image

They’ll then send you a download link for the new bits.

Uninstalling Likewise

Like checking the install, this can be done with sudo and a one liner:

$ sudo rpm -e `rpm -qa | grep likewise`
warning: /etc/likewise/lsassd.conf saved as /etc/likewise/lsassd.conf.rpmsave

and… done.

Installing the New Version

You’ll need to SCP the new Likewise files to vMA, make the installer executable, and then execute the installer using sudo:

$ chmod 755 LikewiseOpen-6.0.0.8289-linux-x86_64-rpm.sh
$ sudo ./LikewiseOpen-6.0.0.8289-linux-x86_64-rpm.sh
Password:
Creating directory LikewiseOpen-6.0.0.8289-linux-x86_64-rpm
Verifying archive integrity… All good.
Uncompressing LikewiseOpen-6.0.0.8289-linux-x86_64-rpm…………………………….
Checking setup environment…
Likewise Open is provided under the terms of the GNU General
Public License (GPL version 2) and the GNU Library General
Public License (LGPL version 2.1). The additional components
listed below are covered under separate license agreements:

    MIT Kerberos – MIT Kerberos 5 and other licenses
    OpenLDAP – OpenLDAP Public License
    Likewise DCE-RPC – BSD
    LibXML2 – BSD
    libuuid from e2fsprogs – BSD
    libiconv – LGPLv2
    OpenSSL – BSD

For more details and for the full text for each of these
licenses, read the LICENSES and COPYING files included with
this software.
Do you accept the terms of these licenses? (yes/no) yes

License accepted.

Would you like to install now? (yes/no) yes
Would you like to install 32-bit compatibility libraries? (auto/yes/no)
Install started

Preparing…                ########################################### [100%]
   1:likewise-krb5          ########################################### [  4%]
   2:likewise-openldap      ########################################### [  9%]
   3:likewise-sqlite        ########################################### [ 13%]
   4:likewise-pstore        ########################################### [ 17%]
   5:likewise-mod-auth-kerb ########################################### [ 22%]
   6:likewise-domainjoin    ########################################### [ 26%]
   7:likewise-libxml2       ########################################### [ 30%]
   8:likewise-base-32bit    ########################################### [ 35%]
   9:likewise-reskit        ########################################### [ 39%]
  10:likewise-netlogon      ########################################### [ 43%]
  11:likewise-base          ########################################### [ 48%]
  12:likewise-lwreg         ########################################### [ 52%]
  13:likewise-lwio          ########################################### [ 57%]
  14:likewise-rpc           ########################################### [ 61%]
  15:likewise-lsass         ########################################### [ 65%]
  16:likewise-eventlog      ########################################### [ 70%]
  17:likewise-srvsvc        ########################################### [ 74%]
  18:likewise-lwupgrade     ########################################### [ 78%]
  19:likewise-lwnetapi      ########################################### [ 83%]
  20:likewise-lwtools       ########################################### [ 87%]
  21:likewise-lwconfig      ########################################### [ 91%]
  22:likewise-passwd        ########################################### [ 96%]
  23:likewise-lsass-32bit   ########################################### [100%]
error: Failed dependencies:
    libglade2 is needed by likewise-domainjoin-gui-6.0.0-1.52019.8289.x86_64
Optional rpm likewise-domainjoin-gui failed to install. This is okay.
Stopping lwsmd:                                            [  OK  ]
Starting lwsmd:                                            [  OK  ]
Install complete

Latest product documentation is available online at the following URL:
  
http://www.likewise.com/resources/documentation_library/manuals/open/likewise-open-guide.html
A PDF version of the documentation is also installed here:
   /opt/likewise/docs/likewise-open-guide.pdf

As root, run domainjoin-cli to join a domain so you can log on
with Active Directory credentials. Example:
domainjoin-cli join likewisedemo.com ADadminAccount

6 thoughts on “Upgrading Likewise on vMA

  • very nice manual, thanks a lot
    i dont know why but the word “unsupported” flows continuously through my mind as i am reading this 😉

  • (darn beta browsers…) I’m curious as to the motivation for upgrading Likewise. Like Rothb, I’d not just upgrade for the sake of it, as future “appliance” upgrades may break whatever I put in.

    I must admit I’m very thin on Likewise functionality. What would the upgrade add/fix?

  • In this particular case, the upgrade was done as a step in the troubleshooting process. I was running into a bug that seemed to be specific to the older version of code. There are various other reasons for upgrading along the way, additional features, security patches, etc. That said, it is an appliance, and you should be cautious when upgrading it… perhaps take a clone first, or otherwise backup/record any changes you make.

  • Pingback: vMA vSphere Management Assistant » vg5000.org

Comments are closed.