VMware Horizon Community
konhuynh
Contributor
Contributor

unable to install Horizon Agent 2212 rpm on RHEL 8 physical server as un-managed

Hello,

I'm trying to install VMware-horizonagent-linux-2212-8.8.0-21071111.el8.x86_64.rpm on my RHEL 8.7 physical server and after installing with the command #rpm -ivh VMware-horizonagent-linux-2212-8.8.0-21071111.el8.x86_64.rpm and rebooting, I can't use the commands to upgrade to un-managed. 

#/usr/lib/vmware/viewagent/bin/viewSetup.sh -M no -b <connection server> -d <domain> -n <server name> -u <AD username>

I get the error

Warning: Machine config file detected,
refreshing installation for pre-existing machine registration.
The installation will upgrade VMware Horizon Agent on your computer.
Warning: Don't support managed agent upgrade to unmanaged VM
Usage: viewSetup.sh [OPTION]... [VALUE]...

If the Horizon agent rpm installs using the default options, how do I install Horizon Agent with the rpm installer as un-managed? I tried adding '-M no' to the rpm command, but it's not recognized. Thank you.

0 Kudos
1 Reply
songkai
VMware Employee
VMware Employee

Hi konhuynh

Horizon Linux Agent doesn't support to upgrade from managed VM to unmanaged VM official. There is a workaround : You can to delete /etc/vmware/viewagent-config.txt and  /etc/vmware/viewagent-machine.cfg file, then run "/usr/lib/vmware/viewagent/bin/viewSetup.sh -M no -b -d -n -u " again

0 Kudos