Endeca Workbench - How to Export and Import Users across environments?

Export Users:
1) Update export_users.properties

 /opt/app/endeca/ToolsAndFrameworks/11.1.0/admin/conf$

Example:

source.version = 11.1.0
source.workbench.host=localhost-DEV
source.workbench.port=8006
destination.directory=/opt/app/endeca/ToolsAndFrameworks/11.0

2) Run Export USER command
/opt/app/endeca/ToolsAndFrameworks/11.1.0/admin/bin$
export_users.bat|sh --config ..\conf\export_users.properties

Import Users:
1) Update import_users.properties
 /opt/app/endeca/ToolsAndFrameworks/11.1.0/admin/conf$

Example:
dest.workbench.host=localhost-UAT
dest.workbench.port=8006
abort.on.duplicate.users=false
convert.ldap=true

Run the import_users script with the following parameters:

•--admin-user — Required.The administrator user name in Workbench.
•--admin-password — Required.The administrator password in Workbench.
•--input-Required. The path to the user data file.
•--config-Requred. The path to the import_users.properties file.
•--default-user-password — The password value for any users that do not have a password set in the exported users file.
•--single-app — Optional. A single application for which to import users.

/opt/app/endeca/ToolsAndFrameworks/11.1.0/admin/bin$
 ./import_users.bat|sh --admin-user admin --admin-password admin123 --input user_20131201.json --config ..\conf\import_users.properties --default-user-password CHANGEME --single-app Discover

1 comment: