Manually migrating the Web Administration Tool
You can manually migrate the Web Administration Tool.
Before you begin
On AIX®, the migration commands are similar to the commands on Linux®, except the path /opt/ibm/ldap should be replaced by /opt/IBM/ldap.
Procedure
-
For Windows, add the WebSphere® Application
Server service using following command:
"[WAS_home]\bin\WASService.exe" -add TDSWebAdmin-V6.4.0 -serverName server1 -profilePath "[WAS_home]\profiles\TDSWebAdminProfile" -startType automatic - Back up the Web Administration Tool files from the previous
release.
- On Windows, find
these files under the directory:
orC:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\ WEB-INF\classes\C:\Program Files\IBM\LDAP\V6.3.1\appsrv\installedApps\DefaultNode \IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes - On Linux, find these
files under the following directory:
or/opt/ibm/ldap/V6.3.1/appsrv/profiles/TDSWebAdminProfile/installedApps /DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/opt/ibm/ldap/V6.3.1/appsrv/installedApps/DefaultNode /IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes
Copy only the following five files from the directories:- security\console_passwd
- IDSConfig\IDSSessionConfig\IDSSessionMgmt.xml
- IDSConfig\IDSServersConfig\IDSServersInfo.xml
- IDSConfig\IDSAppReg\IDSAppReg.xml
- IDSConfig\IDSSearchSettings\IDSSearchMgmt.xml
copy "C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes\ security\console_passwd" c:\BackUp copy "C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes\ IDSConfig\IDSSessionConfig\IDSSessionMgmt.xml" c:\BackUp copy "C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes\ IDSConfig\IDSServersConfig\IDSServersInfo.xml" c:\BackUp copy "C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes\ IDSConfig\IDSAppReg\IDSAppReg.xml" c:\BackUp copy "C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\classes\ IDSConfig\IDSSearchSettings\IDSSearchMgmt.xml" c:\BackUp - On Windows, find
these files under the directory:
- Uninstall the war file from the previous release.
- On Windows, the command
is present under the following directory:
orC:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\bin\wsadmin.batC:\Program Files\IBM\LDAP\V6.3.1\appsrv\bin\wsadmin.bat - On Linux, the command
is present under the following directory:
or/opt/ibm/ldap/V6.3.1/appsrv/profiles/TDSWebAdminProfile/bin/wsadmin.sh/opt/ibm/ldap/V6.3.1/appsrv/bin/wsadmin.sh
For example:wsadmin.bat -conntype NONE -c "$AdminApp uninstall IDSWebApp.war""C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\bin\wsadmin.bat" -conntype NONE -c "$AdminApp uninstall IDSWebApp.war" - On Windows, the command
is present under the following directory:
- If the server of the previous WebSphere Application
Server is running, then stop the application server.
- On Windows, the command
is present under the following directory:
orC:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\bin\ stopServer.batC:\Program Files\IBM\LDAP\V6.3.1\appsrv\bin\stopServer.bat - On Linux, the command
is present under the following directory:
or/opt/ibm/ldap/V6.3.1/appsrv/profiles/TDSWebAdminProfile/bin/stopServer.sh/opt/ibm/ldap/V6.3.1/appsrv/bin/stopServer.sh
For example:"C:\Program Files\IBM\LDAP\V6.3.1\appsrv\profiles\TDSWebAdminProfile\bin\ stopServer.bat" server1 - On Windows, the command
is present under the following directory:
- Check for the existence of the profile on the new WebSphere Application
Server. If the profile does not exist, create a new profile.
- On Windows, run the following command to create new
profile:
"[WAS_home]\bin\manageprofiles.bat" -create -profileName TDSWebAdminProfile -profilePath "[WAS_home]\profiles\TDSWebAdminProfile" -templatePath "[WAS_home]\ profileTemplates\default" -nodeName DefaultNode -hostName localhost -cellName DefaultNode -isDefault -portsFile "C:\Program Files\IBM\LDAP\V6.4\idstools \TDSWEBPortDef.props" - On Linux, run the following command to create new
profile:
[WAS_home]/bin/manageprofiles.sh -create -profileName TDSWebAdminProfile -profilePath "[WAS_home]/profiles/ TDSWebAdminProfile" -templatePath "[WAS_home]/ profileTemplates/default" -nodeName DefaultNode -hostName localhost -cellName DefaultNode -isDefault -portsFile "/opt/ibm/ldap/V6.4/idstools /TDSWEBPortDef.props"
- On Windows, run the following command to create new
profile:
- Copy the new war file into the new WebSphere Application
Server directory.
- On Windows, run the following
command:
copy "C:\Program Files\IBM\LDAP\V6.4\idstools\IDSWebApp.war" "[WAS_home]\profiles\TDSWebAdminProfile\ installableApps" - On Linux, run the following
command:
cp "/opt/ibm/ldap/V6.4/idstools/IDSWebApp.war" "[WAS_home]/profiles/TDSWebAdminProfile/installableApps"
- On Windows, run the following
command:
- Install the new WAR file into the new WebSphere Application
Server product.
- On Windows, run the following
command:
"[WAS_home]\profiles\TDSWebAdminProfile\bin \wsadmin.bat" -conntype NONE -c "$AdminApp install {[WAS_home]\profiles\TDSWebAdminProfile\installableApps\ IDSWebApp.war} {-configroot \"[WAS_home]\config\" -node DefaultNode -usedefaultbindings -nodeployejb -appname IDSWebApp.war -contextroot \"IDSWebApp\"}" - On Linux, run the following
command:
"[WAS_home]/profiles/TDSWebAdminProfile/bin/wsadmin.sh" -conntype NONE -c "\$AdminApp install {[WAS_home]/ profiles/TDSWebAdminProfile/installableApps/IDSWebApp.war} {-configroot \"[WAS_home]/config\" -node DefaultNode -usedefaultbindings -nodeployejb -appname IDSWebApp.war -contextroot \"IDSWebApp\"}"
- On Windows, run the following
command:
- Restore the Web Administration Tool configuration files
that were saved previously.
- On Windows, replace following files with the backup
copy
files:
[WAS_home]\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\ classes\security\console_passwd [WAS_home]\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\ classes\IDSConfig\IDSSessionConfig\IDSSessionMgmt.xml [WAS_home]\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\ classes\IDSConfig\IDSServersConfig\IDSServersInfo.xml [WAS_home]\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\ classes\IDSConfig\IDSAppReg\IDSAppReg.xml [WAS_home]\profiles\TDSWebAdminProfile\ installedApps\DefaultNode\IDSWebApp.war.ear\IDSWebApp.war\WEB-INF\ classes\IDSConfig\IDSSearchSettings\IDSSearchMgmt.xml - On Linux, replace following files with the backup
copy
files:
[WAS_home]/profiles/TDSWebAdminProfile/installedApps/ DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/security/ console_passwd [WAS_home]/profiles/TDSWebAdminProfile/installedApps/ DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/IDSConfig/ IDSSessionConfig/IDSSessionMgmt.xml [WAS_home]/profiles/TDSWebAdminProfile/installedApps/ DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/IDSConfig/ IDSServersConfig/IDSServersInfo.xml [WAS_home]/profiles/TDSWebAdminProfile/installedApps/ DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/IDSConfig/ IDSAppReg/IDSAppReg.xml [WAS_home]/profiles/TDSWebAdminProfile/installedApps/ DefaultNode/IDSWebApp.war.ear/IDSWebApp.war/WEB-INF/classes/IDSConfig/ IDSSearchSettings/IDSSearchMgmt.xml
- On Windows, replace following files with the backup
copy
files:
- On Windows, start
the service that was added.
"[WAS_home]\bin\WASService.exe" -start TDSWebAdmin-V6.4.0 - On Linux, start
the server.
[WAS_home]/profiles/TDSWebAdminProfile/bin/startServer.sh server1