Configure the target DP instance
Update the Knox SSO settings.
-
After the containers are started on the target, log in with Super Administrator credentials configured in the source host and navigate to the Admin / Users page.
https://<target.hostname>/sign-in - Click Edit to modify the LDAP setup. Enter the LDAP Administrator password and click Save.
-
On the target host, execute the following to copy the Knox SSO topology file out of the running container.
docker cp knox:/usr/hdp/current/knox-server/conf/topologies/knoxsso.xml . -
Open
knoxsso.xmland change theknoxsso.redirect.whitelist.regexentry as follows to include target host in Knox whitelist.<param> <name>knoxsso.redirect.whitelist.regex</name> <value>^https?:\/\/(<target.hostname>|localhost|127.0.0.1|0:0:0:0:0:0:0:1|::1)(:[0-9])*.*$</value> </param> -
Copy the Knox SSO topology file into the running container:
docker cp knoxsso.xml knox:/usr/hdp/current/knox-server/conf/topologies/knoxsso.xml -
Log in to the target host as usual and verify everything is working fine.
https://<target.hostname>/sign-in

