Restoring the VMM setup with a federated file repository
If your business changes or your user registry configuration is inoperable, run the wp-restore-default-repository-configuration task to restore the default VMM setup with a federated file repository. Then, reconfigure your user registry. The task deletes all existing repositories, creates a realm, and configures a file repository in VMM. The task also creates a user and group, which is set to the HCL Digital Experience administrator.
-
Before you configure security, use the IBM® WebSphere® Application Server backupConfig task to create and store a backup of the HCL Portal configuration. Read backupConfig command for information.
-
Go to the wp_profile_root/ConfigEngine/properties directory.
-
Open the wkplc.properties file with a text editor.
-
Enter a value for the following parameters under the VMM Federated repository properties heading:
Note
Go to the properties file for specific information about the parameters.
- federated.primaryAdminId
- federated.realm
- federated.serverId
- federated.serverPassword
-
Open a command prompt.
-
Change to the wp_profile_root/ConfigEngine directory.
-
Run the following task to restore the default repository:
- AIX® HP-UX Linux™ Solaris: ./ConfigEngine.sh wp-restore-default-repository-configuration -DWasPassword=password
- IBM i: ConfigEngine.sh wp-restore-default-repository-configuration -DWasPassword=password
- Windows™: ConfigEngine.bat wp-restore-default-repository-configuration -DWasPassword=password
- z/OS®: ./ConfigEngine.sh wp-restore-default-repository-configuration -DWasPassword=password
-
Stop and restart the appropriate servers to propagate the changes. For instructions, go to Starting and stopping servers, deployment managers, and node agents.
-
Run the following task to restore the default repository group member:
- AIX HP-UX Linux Solaris: ./ConfigEngine.sh wp-restore-default-repository-add-group-member -DgroupUniqueName=value -DmemberUniqueName=value -DWasPassword=password
- IBM i: ConfigEngine.sh wp-restore-default-repository-add-group-member -DgroupUniqueName=value -DmemberUniqueName=value -DWasPassword=password
- Windows: ConfigEngine.bat wp-restore-default-repository-add-group-member -DgroupUniqueName=value -DmemberUniqueName=value -DWasPassword=password
- z/OS: ./ConfigEngine.sh wp-restore-default-repository-add-group-member -DgroupUniqueName=value -DmemberUniqueName=value -DWasPassword=password
-
Stop and restart the appropriate servers to propagate the changes.