Complete implementation of UMDS on RHEL - Including Postgres installation
searchcancel
Complete implementation of UMDS on RHEL - Including Postgres installation
book
Article ID: 311390
calendar_today
Updated On: 05-28-2025
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
Unable to completely install UMDS on an RHEL based on the VMware Documentation.
During installation UMDS getting the error:
[28000][unixODBC]FATAL: Ident authentication failed for user "vcadmin"
Environment
VMware vSphere ESXi 6.5 VMware vCenter Server Appliance 6.5.x VMware Update Manager 6.5 VMware vCenter Server 6.5.x
Resolution
Below is the whole installation process, including the deployment and configuration of Postgres, and testing of ODBC connection to it:
Mount the VCSA ISO on the RHEL: mount /dev/cdrom /mnt/
Copy the installer to the /tmp folder (or any other location if you want to persist it after a reboot): cp /mnt/umds/VMware-UMDS-6.5.0.-<build_number>.tar.gz /tmp
Un-archive the files: tar -zxvf /tmp/VMware-UMDS-6.5.0-4540462.tar.gz -C /tmp
We need to download the 9.2 PostgreSQL for the corresponding distribution, in this case RHEL 7.0, you have 2 options:
Or, download it directly from the shell: wget https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-7-x86_64/pgdg-redhat92-9.2-3.noarch.rpm -P /tmp
Install the repository: rpm -ivh /tmp/pgdg-redhat92-9.2-3.noarch.rpm
Install the PostgreSQL: yum groupinstall "PostgreSQL Database Server 9.2 PGDG"
Make sure the following packages are installed: perl, tar, sed, psmisc, unixODBC, postgresql, postgresql-contrib, and postgresql-odbc; you can do with: yum list installed | grep -i <package_name>
If not, you can install with: yum install <package-name>
Let's enable the PostgreSQL service on the system: systemctl enable postgresql-9.2
Initialize the PostgresSQL: su - postgres -c /usr/pgsql-9.2/bin/initdb
Start the postgres service: systemctl start postgresql-9.2
Check it's indeed running: systemctl status postgresql-9.2
Let's create the UMDS database, and user:
su - postgres
createdb umdsdb
createuser -d -e -r vcadmin -P
Confirm the db and user are indeed created:
psql
\l
\du
Once confirmed, go back to the shell:
\q
exit
Now let's configure the pg_hba.conf properly:
vi /var/lib/pgsql/9.2/data/pg_hba.conf
Add the line: local <database_name> <database_username> md5
*****Right above the line: local all all peer.
Restart the PostgreSQL service for the changes to take effect: systemctl restart postgresql-9.2
Modifying the odbcinst.ini file:
vi /etc/odbcinst.ini
I had to comment-out the "MySQL" section, and left only the Driver64 information. My file looks like the attachment: odbcinst.ini
Create the odbc.ini file: touch /etc/odbc.ini
Modifying the odbc.ini file:
vi /etc/odbc.ini
Make sure it looks like the attachment: odbc.ini
Since the socket file is already in the /tmp directory there is NO need to create the symlink.
Test the ODBC connection works:
isql -v UMDS_DSN vcadmin vcadmin
quit
If it fails with Ident error: [28000][unixODBC]FATAL: Ident authentication failed for user "vcadmin"
vi /var/lib/pgsql/9.2/data/pg_hba.conf
Make sure the IPv4 and IPv6 all connections Method is set to trust.
If the pg_hba.conf file is changed, then restart the postgres for it to take effect: systemctl restart postgresql-9.2
Once the ODBC test works, run the installer:/tmp/vmware-umds-distrib/vmware-install.pl EULA_AGREED=yes