Any step-by-step guide to switching CLM 5.0.2 from Tomcat to WAS?
![]()
Are we lucky enough to be pointed to a step-by-step guide to switching CLM 5.0.2 from Tomcat to WAS, stumbled upon by a member of our community?
After the 8-day-7-night long saga ( post 220347) we maxed out the memory at 32GB allowed by Windows Server 2008 on a VM. Thus far, we have been advised "More Memory! More Memory!....more Resources! More Resources" with every occurence of interruption/issue. We are now looking at upgrading our hardware/VM to beyond the 32GB limit. We are also looking at switching to WAS for more stability.
Found instructions Switching from Apache Tomcat to WebSphere Application Server led:
This would be our first installation of WAS, our questions:
|
Accepted answer
![]()
You can use the same JVM heap size settings in WAS.
After you switch from Tomcat to WebSphere, you should stop using the server.startup script. That script is used for starting up the bundled application server (previously Tomcat, and now WAS Liberty in 6.0.x). Starting up WAS is very simple, just run <was_profile>/bin/startServer <server_name>. If you follow the instructions for configuring the WAS server, all necessary environment variables (such as JVM heap size) are already stored within WAS, and you don't need to pass them on with a script. Stopping WAS is equally simple just run <was_profile>/bin/stopServer <server_name> -username <wasadmin> -password <userpassword>. There are no direct method to migrate the user repository though, if you're not aware of. If you are switching from Tomcat User Management to WAS Federated Repository, you simply have to create each single user manually. If you are using LDAP, you have to configure LDAP in WAS from scratch. EDIT: Read your post again and found something wrong. You should not skip any steps in "Deploying applications for CLM on WAS". WAS does not use anything in the existing "tomcat" directory. long TRUONG selected this answer as the correct answer
Comments Thx Don,
Was hoping the user repo issue only a non-LDAP one: an LDAP user repo just magically hopping into place. Or rather unconciously swept unpleasant thoughts to the back of my mind.
From scratch, you meant to import users again one by one from LDAP? Still an unpleasant (minor?) requirement, even though that will clean up the hundreds of invalid, non-LDAP users somehow made their way to our register. Wonder if there is an import in bulk facility.
What will we do with the archived (&departed) users no longer on LDAP? We have to tap into WAS (apparent?) ability of having concurrent LDAP and non-LDAP users?
If CLM is to be deployed anew, how will the backed up war and teamserver.properties files be incorporated into the new install area? And we will have to do either a full reindex or copy a sync'ed appSide index over to new install area?
Also, as 6.0.x is bundled with Liberty, would the upgrade include procedures to migrate the user repo and appSide index? By "from scratch", I mean that you cannot "migrate" the LDAP configuration from Tomcat to WAS - the steps for setting up LDAP in WAS have nothing to do with Tomcat, whether you previously used Tomcat or not.
Thx Don Don,
Reread&reread your last comments, still not understand all.
From "let keep it simple", in our case LDAP to LDAP: if have to re-import existing users under Tomcat, one-by-one from LDAP, when switch to WAS: Then how can we accommodate those archived users who are no longer in LDAP.
Could we have read your answer wrong: actually the users imported from LDAP are kept in CLM DBs. Hence once switched to WAS, we could still use the users repo on the CLM DBs, as long as we set up WAS properly to use LDAP? In that case we need not to worry about re-import one-by-one nor should we be worry about archived users.
And in the first case, where we need to rebuild the user repo, can we use the repotools command to export users to a csv file while Tomcat is in effect. Then when switched to WAS, we again use the repotools command to import users (including archived ones) from that same csv file? (https://jazz.net/forum/questions/169021/any-api-or-command-line-interface-cli-in-clm-which-will-help-us-to-do-user-management-like-user-import-and-license-assigne)
You don't need to do anything on the CLM side when switching from Tomcat to WAS, if there are no changes on the LDAP server. As long as you correctly configure LDAP in WAS, everything should just work.
Thx Don,
Ah! I had a completely wrong picture of the authentication process: import from LDAP ==> user repo on CLM DBs, and authentication was just a black box (not thinking any further! ) and it picks up the infos from this user repo to authenticate.
Now though not yet completely clear, I perceived that:
Thx Don
We are on our way now without any apprehension.
showing 5 of 9
show 4 more comments
|
Comments
Did find Post 12361: How migrate from tomcat to was? but it does not answer our questions.