Portal上删除ldap服务器的配置
此文档是用于在Portal服务器上切换Ldap服务器的配置时必需要走的这步:
1).去除Ldap服务器与Portal之间的配置信息。
在除去了Ldap服务器的配置之后Portal服务器会恢复原来的用户和密码(即:Portal安装的时候使用的用户和密码)。具体的操作步骤:
1).修改wkplc.properties配置文件(/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties目录下)。
2).在/opt/IBM/WebSphere/wp_profile/ConfigEngine/目录下执行以下的恢复操作命令:
Windows:
ConfigEngine.batwp-restore-default-repository-configuration -DWasPassword=password.
Linux/Unix:
./ConfigEngine.sh wp-restore-default-repository-configuration –DwasPassword=password。
1. 修改配置wkplc.properties文件的属性:
restore.file.realm
restore.file.primaryAdminId
restore.file.primaryAdminPassword
restore.file.primaryPortalAdminGroup
注:
restore.file.realm:
是指在回滚的时候,设置一个回滚的名称。
restore.file.primaryAdminId:
管理员名称。
restore.file.primaryAdminPassword:
管理员密码。
restore.file.primaryPortalAdminGroup:
是指管理员组的名称,一定要在系统中存在。
修改完成保存。
2. 在/opt/IBM/WebSphere/wp_profile/ConfigEngine/目录下执行以下的恢复操作命令:
./ConfigEngine.shwp-restore-default-repository-configuration –DwasPassword=password
3. 执行成功之后,在/opt/IBM/WebSphere/wp_profile/bin目录下面执行以下的命令:
./startServer.sh WebSphere_Portal
4.使用tail –f/opt/IBM/WebSphere/wp_profile/logs/WebSphere_Portal/SystemOut.log动态查看日志,如果在开启服务器期间没有出现错误并且在浏览器上打:http://localhost:10039/wps/portal,可以正常登录系统,说明恢复数据成功了。