Before making any changes, please take a no memory snapshot of vRLCM appliance VM.
Scenario 1: Change in vRLCM FQDN
/etc/hosts
etc.curl -k -X POST “https://currentLcmFQDN/lcm/authzn/api/updlcmhostwithprovider” -H “accept: application/json” -H “Content-Type: application/json” -H 'authorization: Basic <token>=’ -d “{\“lcmHostname\“:\“currentLcmFQDN\“,\“lostHostUri\“:\“http://currentLcmFQDN\“,\“lcmCatalogAppName\“:null}”
Note:
The above solution will not change the catalog app data in vIDM, it does update the vRLCM OAuth client details in vIDM.
The curentLcmFQDN value should be replaced with the current LCM FQDN value.
The authorization: Basic <token>
. To form the authorization header user have to do Base64encode(username:password
). And here the user name would be admin@local
and the password would be the appropriate password that they have set for the admin@local
user.
Scenario 2: Change in vIDM FQDN
/usr/local/horizon/conf/flags/sysconfig.hostname
, /etc/hosts
to reflect the new updated FQDN on all the nodes.curl -X POST "https://vrlcm-hostname/lcm/authzn/api/updproviderhostwithlcm" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"vidmAdminPassword\": \"password\", \"vidmHostname\": \"vidm-hostname\"}"
Note:
vidm-hostname is the new updated vidm fqdn.
“authorization: Basic <token>
. To form the authorization header user have to do Base64encode(username:password
). And here the user name would be “admin@local
” and the password would be the appropriate password that they have set for the “admin@local
” user.
From 8.1 Patch1 remediation to reset authentication provider is available as part of swagger API.