Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Recall some interesting threads on this subject in May / June this year... (lobster image).
Haven't touched it in a while but recently have gotten back to working with it. Now getting some success and gaining confidence. A bit tricky to get the property files configured and to learn how to work w/all but seems to be worth it.
Working with a client now who has never rehosted before - hoping to set them up routinely using the utility and get things fairly automated for them.
So -Wondering who is using the Rehost Utillty 2.0 and any comments on it??
Note: I'm preparing some "cheat sheet" documentation for it including a few diagrams. Interested if others have done so. Happy to share them.
Please share! I'm just getting ready to tackle this myself.
Hey Mike,
I am currently rehosting my 10.1 M020 system to a test server and it has gone fairly well until we (myself and tech from PTC) cannot get my Ldap adapters that were rehosted from my production server (where they work fine) to work. Every time we add them to the wt,properties file and try to start WIndchill I get a LDAP Error code 49 which is supposed to be something to do with the mapcredentials file. We have rechecked the AD bind user and password multiple times and nothing seems to fix it....maybe you have had some experience with this or maybe not....we use our corporate AD as login for Windchill....
Buddy Hudson
Your problem sounds like it might be something to do with encrypted passwords - I see this when doing manual rehosts:
xconfmanager -t codebase/WEB-INF/mapCredentials.txt -s "mapcredentials.admin.adapters=com.ricardo.Ldap^cn=Manager^<Password>"
xconfmanager -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=com.ricardo.windchill-test.ldap-pending^cn=Manager^<Password>"
xconfmanager -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=com.ricardo.EnterpriseLdap^<username>^<Password>"
xconfmanager -p
You will need to supply your own usernames and passwords and replace the adapter names with the ones to suit your system.
Hope that helps.
Rgds
Gary
Hey Gary,
I appreciate the information. Also are you saying that there is a known issue with this occuring in 10.1?
Do you think you could tell me what the difference is in the adapters? I have listed mine below:
wt.federation.org.APACAtlasAdapter=com.atlascopco.group.apac.apacldap ( for India AD)
wt.federation.org.AtlasAdapter=com.atlascopco.group.nasa.AtlasLDAP (for US AD)
wt.federation.org.defaultAdapter=com.atlascopco.group.nasa.Ldap (????)
wt.federation.org.enterpriseAdapter=com.atlascopco.group.nasa.EnterpriseLdap (????)
I know that I have two that are corporate adapters to provide AD authentication for users here in Garland, TX and users in Bangalore, India. What do the default and Enterprise do?
Thanks,
Buddy
Buddy,
I don't think it is necessarily a problem in 10.1 - just that at this release all the passwords were encrypted so when you rehost a machine you now must re-create your encrypted passwords.
The default adapter is your Windchill DS Administrative LDAP
The enterprise adapter is an external enterprise LDAP - most likely Active Directory, I can't tell you more than that as i don't know your system configuration. If it is one you don't recognise, perhaps you have rehosted the main system before and it is left over from that.
I think we should take this offline now as this is not relevant to the original thread - pm me if you like.
Rgds
Gary
Message was edited by: Gary Mansell Edit: Corrected type of the enterprise adapter
I just finished my first attempt at using the rehost tool. Went pretty good. The first time I got it to start, it ran successfully all the way through. (It won't start if you have spaces in the path name, ex. "Rehost Tool 2.0").
Technically this might not be a totally fair test just because of the number of manual steps I took before actually running the rehost tool.
Here are the steps that I took:
At this point I started up the server. I knew there would be an issue with the remote file server (I didn't want to clone that). After everything started up I manually deleted the remote file server from the site and restarted again. Everything came up clean with no errors in any of the logs. Nowhere can I find any references to the old system, so it seems like the rehost utility did it's job.
Hey Tom,
Does your Windchill system use corporate LDAP for user authentication?
Buddy
No. Not yet. Just using the built in Windchill DS right now.
One of my next projects with the newly created test system is to figure out how to do this.
By the way, there was some discussion earlier about encrypted passwords. In my case I just chose to keep all passwords in plain text. It worked just fine.