3 Replies Latest reply on Nov 22, 2013 12:58 PM by Curtis Martin

    Upgrading VMware Tools for Linux with BSA

    Curtis Martin

      I am looking for a way to automate the VMware tools deployment/upgrade for our Linux servers.  I am aware that I can upload the RPM's manually to the BSA depot, but we manage a number of different Linux builds and it will be difficult to determine which modules are required for each server.


      Can BSA be configured to connect to the VMware repository (http://packages.vmware.com/tools/esx), download packages, analyze the servers and resolve dependencies similarly to Linux patches?

        • 1. Re: Upgrading VMware Tools for Linux with BSA
          Bill Robinson

          bsa cannot be configured to directly pull from this url.  however you can try the following:


          - using mrepo, reposync, rsync,etc make a local mirror of that site.

          - using the instructions here: https://docs.bmc.com/docs/display/public/bsa83/Migrating+patch+repositories+for+Red+Hat+Enterprise+Linux run the offline downloader against the downloaded files to generate the required metadata for bsa

          - create an offline patch catalog and point at the directory from above


          use this catalog for analysis/install.

          1 of 1 people found this helpful
          • 2. Re: Upgrading VMware Tools for Linux with BSA
            Akbar Aziz

            Found this on google:


            CentOS 5/6

            First, import the keys to RPM:

            rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

            Add the repository to yum by creating file /etc/yum.repos.d/vmware-tools.repo:

            cat <<EOT > /etc/yum.repos.d/vmware-tools.repo [vmware-tools] name=VMware Tools #baseurl=http://packages.vmware.com/tools/esx/5.0u1/rhel5/\$basearch baseurl=http://packages.vmware.com/tools/esx/5.0u1/rhel6/\$basearch enabled=1 gpgcheck=1 EOT

            Then, install using:

            # for non-PAE kernel: yum -y install vmware-tools-esx-kmods vmware-tools-esx  # for PAE kernel: #yum -y install vmware-tools-esx-kmods-pae vmware-tools-esx

            For no X windows:

            yum -y install vmware-open-vm-tools-nox

            Now you could make this part of your standard linux build and have it called with a post-provisioning or nsh script job.

            • 3. Re: Upgrading VMware Tools for Linux with BSA
              Curtis Martin

              I opted to retrieve the tar file from the VMware ISO and package and distribute it.  Then I scripted the extraction, installation, and removal of the installer files.  It worked well.  Thanks for your suggestions.